From: Michael Heerdegen <michael_heerdegen@web.de>
To: "Everton J. Carpes" <everton.carpes@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Command line open does not use find-file anymore?
Date: Tue, 19 Sep 2017 13:38:40 +0200 [thread overview]
Message-ID: <87d16mhq9r.fsf@web.de> (raw)
In-Reply-To: <CAL2=v65uCXhTfLCZsabJu5xce7_03gwOEcZVfDVOr00JkYPgqw@mail.gmail.com> (Everton J. Carpes's message of "Mon, 18 Sep 2017 06:00:16 -0300")
"Everton J. Carpes" <everton.carpes@gmail.com> writes:
> 1. Emacs 25 doesn't use find-file anymore when opening from command line?
> 2. Which function is called now?
> 4. How can I learn more about what emacs does when opened?
Seems you are right - the code switched to `find-file-noselect' a while
ago (`find-file' is just a thin wrapper around `find-file-noselect' that
directly selects the file's buffer). You can find that argument
handling code in startup.el, `command-line-1' in particular.
Michael.
next prev parent reply other threads:[~2017-09-19 11:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-18 9:00 Command line open does not use find-file anymore? Everton J. Carpes
2017-09-18 15:47 ` Óscar Fuentes
2017-09-18 17:36 ` Everton J. Carpes
2017-09-19 11:38 ` Michael Heerdegen [this message]
2017-09-19 16:50 ` Eli Zaretskii
2017-09-20 1:16 ` Everton J. Carpes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d16mhq9r.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=everton.carpes@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).