Received: (at 75591-done) by debbugs.gnu.org; 25 Jan 2025 09:29:12 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 25 04:29:12 2025 Received: from localhost ([127.0.0.1]:48506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tbcTY-0006WX-AU for submit <at> debbugs.gnu.org; Sat, 25 Jan 2025 04:29:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59432) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tbcTV-0006WA-VY for 75591-done <at> debbugs.gnu.org; Sat, 25 Jan 2025 04:29:11 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1tbcTQ-0007ei-HJ for 75591-done <at> debbugs.gnu.org; Sat, 25 Jan 2025 04:29:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=GHuA23nIsmhnCjvrIcROL+RpoMKi112Wwfyt85kOTdQ=; b=J/ZtPcPPAmZN O+4zLBEN5G1z57N9XD0T4+VxFtuQOxJoJRMJmHdeSGp2Xe+Ts6DnSclvwnECMm77igicZftHr4/9F 3AZIccwx/M60bE54O1ihEnqxtoZpgqbXYOlNdrVusgazn+0m1vmjYcmDRja1TUZ67RnJ02RANQXOv NXi2+v8U3KXZzcb23eFCJCwEeaHDxMvclxdEpRWN/KmsBL/vIiRiz2Wq4Y2eQEhpmtz8L90BHhu57 fmtPsgdTpyLMM/Ugau6TV0beIy6APvGtvpqh1PL5AzgYDRZeMHIklWtdPFMG6aLKWNzh5cMkhnrnK QBFUzXmrIQbFkmNHxDSXIg==; Date: Sat, 25 Jan 2025 11:29:00 +0200 Message-Id: <864j1nw8bn.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Anush V <j@HIDDEN> In-Reply-To: <87y0zasxnw.fsf@HIDDEN> (message from Anush V on Thu, 16 Jan 2025 08:20:19 -0500) Subject: Re: bug#75591: 30.0.92; Inconsistency in Function Naming: *-open-file vs. *-find-file References: <87frlkylpj.fsf@HIDDEN> <86a5brkf3w.fsf@HIDDEN> <87y0zasxnw.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 75591-done Cc: 75591-done <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Anush V <j@HIDDEN> > Cc: 75591 <at> debbugs.gnu.org > Date: Thu, 16 Jan 2025 08:20:19 -0500 > > > From: Eli Zaretskii <eliz@HIDDEN> > > Date: Wed, 15 Jan 2025 22:16:03 +0200 > > > >> From: Anush V <j@HIDDEN> > >> Date: Wed, 15 Jan 2025 13:29:44 -0500 > >> > >> I noticed an inconsistency in the naming conventions of certain Emacs > >> functions that I find confusing. Specifically, some functions use > >> *-open-file(s), while others use *-find-file. > >> > >> Functions such as eww-open-file and recentf-open-files use 'open-file' > >> or 'open-files' in their naming. In contrast, many other functions, > >> including dired-find-file, find-file, project-find-file, and > >> ido-find-file, use the 'find-file' format. > >> > >> I am curious about the rationale behind this difference. Is there > >> a specific reason that some functions prefer 'open-file' over > >> 'find-file' even though they seem to perform similar actions? > > > > I think just personal preferences of whoever implemented these > > functions, and the many years that passed between the "find" names > > were introduced and the time the "open" names weer introduced. > > Nothing more. > > Thank you for clarifying. I had wrongly assumed that "find-file" might > be the standard, as those seemed to have been introduced first. It's true that find-* where introduced first, but we nowadays use both. So I'm now closing this bug.
Anush V <j@HIDDEN>
:Eli Zaretskii <eliz@HIDDEN>
:Stefan Kangas <stefankangas@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 75591) by debbugs.gnu.org; 16 Jan 2025 13:20:28 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 16 08:20:28 2025 Received: from localhost ([127.0.0.1]:60448 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tYPnQ-0004mu-4M for submit <at> debbugs.gnu.org; Thu, 16 Jan 2025 08:20:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60626) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <j@HIDDEN>) id 1tYPnO-0004mi-LY for 75591 <at> debbugs.gnu.org; Thu, 16 Jan 2025 08:20:27 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <j@HIDDEN>) id 1tYPnJ-00068P-B5 for 75591 <at> debbugs.gnu.org; Thu, 16 Jan 2025 08:20:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=eVPV3yZvHmXgB/70Uv7g/jo5ad4JuFXvYO6AbK7TE0Q=; b=IVjv1dH5lKwk3xZRSqXA zEzqETYp7nyMI7gzt6TzF+V4m0kNg7CoPB1MZ1Icvyk450XYyzR8yyOX0Wo2Rv5/w7WPQXuyUfS/T kr2/NR7ZHymLkwHCKBUx1A6NorS5KHk6vTd8Snl1gIJ9Ofvw+QONoxHeliCO3TKRYNWdHEOnqeJ69 rZpds9Mt/IdPPyqHB23/B7DUq6surnjD/8iFSfuy5pYxLjEXiMcsJp/y+5OLgJlTA0owZ0QPK798w OdT9jM8/nTGo1rRiyvIeBD736aDPNSIIKBD+WDkRiDsMufHGgIXXzIAVZ3s/F3oCsZTf1C3x9rbuF jPPtmHetDdJ7Hg==; From: Anush V <j@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#75591: 30.0.92; Inconsistency in Function Naming: *-open-file vs. *-find-file In-Reply-To: <86a5brkf3w.fsf@HIDDEN> (Eli Zaretskii's message of "Wed, 15 Jan 2025 22:16:03 +0200") References: <87frlkylpj.fsf@HIDDEN> <86a5brkf3w.fsf@HIDDEN> Date: Thu, 16 Jan 2025 08:20:19 -0500 Message-ID: <87y0zasxnw.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 75591 Cc: 75591 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Eli Zaretskii <eliz@HIDDEN> > Date: Wed, 15 Jan 2025 22:16:03 +0200 > >> From: Anush V <j@HIDDEN> >> Date: Wed, 15 Jan 2025 13:29:44 -0500 >> >> I noticed an inconsistency in the naming conventions of certain Emacs >> functions that I find confusing. Specifically, some functions use >> *-open-file(s), while others use *-find-file. >> >> Functions such as eww-open-file and recentf-open-files use 'open-file' >> or 'open-files' in their naming. In contrast, many other functions, >> including dired-find-file, find-file, project-find-file, and >> ido-find-file, use the 'find-file' format. >> >> I am curious about the rationale behind this difference. Is there >> a specific reason that some functions prefer 'open-file' over >> 'find-file' even though they seem to perform similar actions? > > I think just personal preferences of whoever implemented these > functions, and the many years that passed between the "find" names > were introduced and the time the "open" names weer introduced. > Nothing more. Thank you for clarifying. I had wrongly assumed that "find-file" might be the standard, as those seemed to have been introduced first. Regards, Anush
bug-gnu-emacs@HIDDEN
:bug#75591
; Package emacs
.
Full text available.Received: (at 75591) by debbugs.gnu.org; 15 Jan 2025 20:16:15 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 15 15:16:15 2025 Received: from localhost ([127.0.0.1]:58850 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tY9oF-0005Yl-9n for submit <at> debbugs.gnu.org; Wed, 15 Jan 2025 15:16:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41280) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tY9oC-0005JZ-H3 for 75591 <at> debbugs.gnu.org; Wed, 15 Jan 2025 15:16:13 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1tY9o7-0007PJ-7v for 75591 <at> debbugs.gnu.org; Wed, 15 Jan 2025 15:16:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=uH9hibEjB4VFKRqXNKqKVNPivHSgUU+kMoA6BJJOgWA=; b=IuPvf4Yubtu9 3pN94jhryYUMysR4PzRCOFqtwGE3MU2iT9igBuoVbtUrkrhiVsc/MjTBif5WXS94Nm/9WsSl7bW0E EE0ZaqHrrHbJ/VO1A4LXjFiZOPF8sLsZsQ6hg9Alng2vw9y/tGOGvZhAe23MiEfqKqERICI5UCgHp Qb3EW4NTX7U8S8tuzBLUU8KkujYkk79UvjD0AquRJt9+aI7LC6dWoVSVSKN/rDk/sD8e2mUJ8fLrN eJovb6Ujan7j7Q9dg6yA/8RCh66uPmMTr/Xmu66lLehcS7xCHanjZUl0KSKe8FXdQfhFnQz0qCf9/ F4erHYGsgm7R9R8esyYjvw==; Date: Wed, 15 Jan 2025 22:16:03 +0200 Message-Id: <86a5brkf3w.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Anush V <j@HIDDEN> In-Reply-To: <87frlkylpj.fsf@HIDDEN> (message from Anush V on Wed, 15 Jan 2025 13:29:44 -0500) Subject: Re: bug#75591: 30.0.92; Inconsistency in Function Naming: *-open-file vs. *-find-file References: <87frlkylpj.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 75591 Cc: 75591 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Anush V <j@HIDDEN> > Date: Wed, 15 Jan 2025 13:29:44 -0500 > > I noticed an inconsistency in the naming conventions of certain Emacs > functions that I find confusing. Specifically, some functions use > *-open-file(s), while others use *-find-file. > > Functions such as eww-open-file and recentf-open-files use 'open-file' > or 'open-files' in their naming. In contrast, many other functions, > including dired-find-file, find-file, project-find-file, and > ido-find-file, use the 'find-file' format. > > I am curious about the rationale behind this difference. Is there > a specific reason that some functions prefer 'open-file' over > 'find-file' even though they seem to perform similar actions? I think just personal preferences of whoever implemented these functions, and the many years that passed between the "find" names were introduced and the time the "open" names weer introduced. Nothing more.
bug-gnu-emacs@HIDDEN
:bug#75591
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 15 Jan 2025 18:31:50 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 15 13:31:50 2025 Received: from localhost ([127.0.0.1]:58676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tY8BB-0006NG-WB for submit <at> debbugs.gnu.org; Wed, 15 Jan 2025 13:31:50 -0500 Received: from lists.gnu.org ([2001:470:142::17]:47856) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <j@HIDDEN>) id 1tY8B6-0006Mr-Vd for submit <at> debbugs.gnu.org; Wed, 15 Jan 2025 13:31:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <j@HIDDEN>) id 1tY8Aw-0005jn-Gj for bug-gnu-emacs@HIDDEN; Wed, 15 Jan 2025 13:31:34 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <j@HIDDEN>) id 1tY8Aw-0001ZL-8S for bug-gnu-emacs@HIDDEN; Wed, 15 Jan 2025 13:31:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=IeKIaWTqRgrC2R4Nwii1xqBq2w0Be45b7SHm5ItaaD0=; b=a4b07Bdpr/CXlu 3MYz62oRO2cXrTE3u8zT2y7kM+5p4dI5XtcbyQWVVxJRG0sm2yDIJZnWHiVnLpbYAaf9adUGk51AA HXy+NOLD3GLh8njZlzIyLkLOPsab8gHTWiTtx2J1eLQADe/+n9FNe4dUyvrPNGOc9bIGgV7I13WLD p4NuStrjNaoBOuMvwy0TvN31uYSaLtU4o+s7gqNpYXsBmlg/sF+ZnojFlCrnPrOIqDnIWRkF0WUfo iLvkx6z1joR2s0yz2/XjNONBC/HrM0U8OTmZ6IQ6nFlw+0cG0gG+tNuGX4BupL5YhWnLcv//owN7q l3tBIT1UbpOLw1gCsCmw==; From: Anush V <j@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 30.0.92; Inconsistency in Function Naming: *-open-file vs. *-find-file Date: Wed, 15 Jan 2025 13:29:44 -0500 Message-ID: <87frlkylpj.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) X-Debbugs-Cc: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hello Emacs Maintainers, I noticed an inconsistency in the naming conventions of certain Emacs functions that I find confusing. Specifically, some functions use *-open-file(s), while others use *-find-file. Functions such as eww-open-file and recentf-open-files use 'open-file' or 'open-files' in their naming. In contrast, many other functions, including dired-find-file, find-file, project-find-file, and ido-find-file, use the 'find-file' format. I am curious about the rationale behind this difference. Is there a specific reason that some functions prefer 'open-file' over 'find-file' even though they seem to perform similar actions? Thank you for your time! * * * In GNU Emacs 30.0.92 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0) Windowing system distributor 'The X.Org Foundation', version 11.0.12101014 System Description: Guix System Configured using: 'configure CONFIG_SHELL=/gnu/store/6nqyia3ra10sgd1ppzk2047ncbzjwhff-bash-minimal-5.1.16/bin/bash SHELL=/gnu/store/6nqyia3ra10sgd1ppzk2047ncbzjwhff-bash-minimal-5.1.16/bin/bash --prefix=/gnu/store/ml6xyl3py6hqfdps2sypdi7s212y7k02-emacs-next-30.0.92-0.881d593 --enable-fast-install --with-cairo --with-modules --with-native-compilation=aot --disable-build-details' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB -- Regards, Anush
Anush V <j@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#75591
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.