GNU logs - #75591, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#75591: 30.0.92; Inconsistency in Function Naming: *-open-file vs. *-find-file
Resent-From: Anush V <j@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 15 Jan 2025 18:32:01 +0000
Resent-Message-ID: <handler.75591.B.173696591024511 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 75591
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 75591 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.173696591024511
          (code B ref -1); Wed, 15 Jan 2025 18:32:01 +0000
Received: (at submit) by debbugs.gnu.org; 15 Jan 2025 18:31:50 +0000
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>
Date: Wed, 15 Jan 2025 13:29:44 -0500
Message-ID: <87frlkylpj.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
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




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Anush V <j@HIDDEN>
Subject: bug#75591: Acknowledgement (30.0.92; Inconsistency in Function
 Naming: *-open-file vs. *-find-file)
Message-ID: <handler.75591.B.173696591024511.ack <at> debbugs.gnu.org>
References: <87frlkylpj.fsf@HIDDEN>
X-Gnu-PR-Message: ack 75591
X-Gnu-PR-Package: emacs
Reply-To: 75591 <at> debbugs.gnu.org
Date: Wed, 15 Jan 2025 18:32:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 75591 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
75591: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D75591
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#75591: 30.0.92; Inconsistency in Function Naming: *-open-file vs. *-find-file
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 15 Jan 2025 20:17:01 +0000
Resent-Message-ID: <handler.75591.B75591.173697217521399 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75591
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Anush V <j@HIDDEN>
Cc: 75591 <at> debbugs.gnu.org
Received: via spool by 75591-submit <at> debbugs.gnu.org id=B75591.173697217521399
          (code B ref 75591); Wed, 15 Jan 2025 20:17:01 +0000
Received: (at 75591) by debbugs.gnu.org; 15 Jan 2025 20:16:15 +0000
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>
In-Reply-To: <87frlkylpj.fsf@HIDDEN> (message from Anush V on Wed, 15 Jan
 2025 13:29:44 -0500)
References: <87frlkylpj.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
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.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#75591: 30.0.92; Inconsistency in Function Naming: *-open-file vs. *-find-file
Resent-From: Anush V <j@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 16 Jan 2025 13:21:02 +0000
Resent-Message-ID: <handler.75591.B75591.173703362818412 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75591
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 75591 <at> debbugs.gnu.org
Received: via spool by 75591-submit <at> debbugs.gnu.org id=B75591.173703362818412
          (code B ref 75591); Thu, 16 Jan 2025 13:21:02 +0000
Received: (at 75591) by debbugs.gnu.org; 16 Jan 2025 13:20:28 +0000
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>
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-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




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 21 Jan 2025 02:27:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 20 21:27:01 2025
Received: from localhost ([127.0.0.1]:52631 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ta3ym-0004ST-Rt
	for submit <at> debbugs.gnu.org; Mon, 20 Jan 2025 21:27:01 -0500
Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]:46372)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>)
 id 1ta3yk-0004S6-98
 for control <at> debbugs.gnu.org; Mon, 20 Jan 2025 21:26:58 -0500
Received: by mail-ed1-x52c.google.com with SMTP id
 4fb4d7f45d1cf-5d0ac27b412so6903689a12.1
 for <control <at> debbugs.gnu.org>; Mon, 20 Jan 2025 18:26:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1737426412; x=1738031212; darn=debbugs.gnu.org;
 h=to:subject:message-id:date:mime-version:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=HFQw712lfvPTqqlqYdkb4X6jACBZ62sL/TiEltQKKMs=;
 b=Yw6yZIJXL4kR4p9pNNmTZUMQ8tb+TuxTg27wEEKgh7P+CaAbTlcFlxX9adCNBZp8ch
 o9esFMjdv6SL5HMomQvMPgAOqZ5jh0b+s11eS6AQnRsrccm/MZmeIoXcwRwu7Ftca0gL
 HxDPCvSL87nqsWtjIFH1rIQiJNsoyjRE4D4i5J9un1GUd9I0gsvMtbPTIX+2eLO0pW0K
 WdNvtW2VK4KNAi89f9XoQC6ZNmemOxZPtngQvKMHEPoQrykptz7iJNrWnjkm6K5yIlAJ
 zw3/MVoYIGGS3KMceLuOfowwUAvGpBt98D2zZ2QU8f9Vs4fUrDiFV4nIsn7OJtXONV3c
 M49Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1737426412; x=1738031212;
 h=to:subject:message-id:date:mime-version:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=HFQw712lfvPTqqlqYdkb4X6jACBZ62sL/TiEltQKKMs=;
 b=kX/Omn3I23J2ZoEraqu5dFekPwFPL5V4cG+KL5fu4ihHVXhESxYCM6EKU1+7h1uKDx
 to7T3e+/lEHR0mgoKL2ardfUwY+WlyTsD+1uG9O5WL77CeK2x3I7eo34MIj0GV2jKdHP
 TIlLCIF7mJ2WaGsH2J/q36zVV9vODqsCY7gbLPE8RC2ZJaJABMFVAMtFdBBEHhbcQAl0
 x6a1RmO2whCgOOiCP9fKF2HZci8rWyheITG0mg01enblg1cCwh1Uo/AX0YUkbqm8PoPS
 c6CjrROIIDVAk/LkqTWjw5eGegAeAIOQBXDQwO1oEKXZBxrTTcCn8FoevuP1ynq8kRvY
 EK8A==
X-Gm-Message-State: AOJu0YyOa/K5vo3/VILCiF6aTjIkjVZ0aHNNzpn4wl3TlBHgXtHvPqer
 Ph7AZ7F87te1KVB5aZSXyK4LLZWd+BRsvuOCQL4JctvfLrcLsXGEali7A0dNMeyYk0h0sSyVXD6
 F72daQ8RrTxlNxt7X6XbiNxgihvpjfMTp
X-Gm-Gg: ASbGncu255/0oKX8ffnPhm8eQvtMl+pPmPKQDZpV7b6out4Brp+gYvHX/VfACOdoMhu
 PMgVXXOxIiuTQshmk2Lrh2XQHtrrNWbEoeKQ8z375ibsDgmx3RMdP1A==
X-Google-Smtp-Source: AGHT+IEPVQ3hIpXaMPIu05mp8L+TdqmluRjx/v54tleVyrqDNFWS85Ks78qLE+S0uwJlsIiDFIjSuqlumwfsiDLmNA4=
X-Received: by 2002:a05:6402:34d2:b0:5d0:e410:468b with SMTP id
 4fb4d7f45d1cf-5db7d2e3c09mr12163654a12.2.1737426412059; Mon, 20 Jan 2025
 18:26:52 -0800 (PST)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Mon, 20 Jan 2025 20:26:51 -0600
From: Stefan Kangas <stefankangas@HIDDEN>
MIME-Version: 1.0
Date: Mon, 20 Jan 2025 20:26:51 -0600
X-Gm-Features: AbW1kvZ_-MDY1eCUzOGiS_05PaCEuM3tt-Do3O_RuUf_73XL0ALhYeGKlR_fA9A
Message-ID: <CADwFkmn7GRHj9Zdr9v4Ahnt8sDkjJupaSZW0uUkwn9fNsZi27Q@HIDDEN>
Subject: control message for bug #75591
To: control <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: control
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 (-)

severity 75591 wishlist
quit




Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Eli Zaretskii <eliz@HIDDEN>
Subject: bug#75591: closed (30.0.92; Inconsistency in Function Naming:
 *-open-file vs. *-find-file)
CC: tracker <at> debbugs.gnu.org
Message-ID: <handler.75591.D75591.173779735225085.ackdone <at> debbugs.gnu.org>
References: <864j1nw8bn.fsf@HIDDEN> <87frlkylpj.fsf@HIDDEN>
X-Gnu-PR-Message: closed 75591
X-Gnu-PR-Package: emacs
Date: Sat, 25 Jan 2025 09:30:02 +0000
Content-Type: multipart/mixed; boundary="----------=_1737797402-25181-0"

This is a multi-part message in MIME format...

------------=_1737797402-25181-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8

Your message dated Sat, 25 Jan 2025 11:29:00 +0200
with message-id <864j1nw8bn.fsf@HIDDEN>
and subject line Re: bug#75591: 30.0.92; Inconsistency in Function Naming: =
*-open-file vs. *-find-file
has caused the debbugs.gnu.org bug report #75591,
regarding 30.0.92; Inconsistency in Function Naming: *-open-file vs. *-find=
-file
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@HIDDEN)


--=20
75591: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D75591
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems

------------=_1737797402-25181-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by debbugs.gnu.org; 15 Jan 2025 18:31:50 +0000
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



------------=_1737797402-25181-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 75591-done) by debbugs.gnu.org; 25 Jan 2025 09:29:12 +0000
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.


------------=_1737797402-25181-0--


Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Anush V <j@HIDDEN>
Subject: bug#75591: closed (Re: bug#75591: 30.0.92; Inconsistency in
 Function Naming: *-open-file vs. *-find-file)
Message-ID: <handler.75591.D75591.173779735225085.notifdone <at> debbugs.gnu.org>
References: <864j1nw8bn.fsf@HIDDEN> <87frlkylpj.fsf@HIDDEN>
X-Gnu-PR-Message: they-closed 75591
X-Gnu-PR-Package: emacs
Reply-To: 75591 <at> debbugs.gnu.org
Date: Sat, 25 Jan 2025 09:30:02 +0000
Content-Type: multipart/mixed; boundary="----------=_1737797402-25181-1"

This is a multi-part message in MIME format...

------------=_1737797402-25181-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your bug report

#75591: 30.0.92; Inconsistency in Function Naming: *-open-file vs. *-find-f=
ile

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 75591 <at> debbugs.gnu.org.

--=20
75591: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D75591
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems

------------=_1737797402-25181-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 75591-done) by debbugs.gnu.org; 25 Jan 2025 09:29:12 +0000
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.


------------=_1737797402-25181-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by debbugs.gnu.org; 15 Jan 2025 18:31:50 +0000
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



------------=_1737797402-25181-1--



Last modified: Sat, 25 Jan 2025 09:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.