From: Noam Postavsky <npostavs@gmail.com>
To: starback@stp.lingfil.uu.se (Per Starbäck)
Cc: 32356@debbugs.gnu.org
Subject: bug#32356: 26.1; --file visits file later than expected
Date: Fri, 03 Aug 2018 06:04:49 -0400 [thread overview]
Message-ID: <87in4rzry6.fsf@gmail.com> (raw)
In-Reply-To: <sa5y3dnlqve.fsf@haplologi.lingfil.uu.se> ("Per \=\?utf-8\?Q\?Sta\?\= \=\?utf-8\?Q\?rb\=C3\=A4ck\=22's\?\= message of "Fri, 03 Aug 2018 11:51:49 +0200")
starback@stp.lingfil.uu.se (Per Starbäck) writes:
> If this behavior is intended, I think something could be added to
> "(emacs) Action Arguments" about it. I think this text about "--insert" there
> gives the impression that action arguments are processed in the order
> they are given:
>
>> Usually, this is the
>> ‘*scratch*’ buffer (*note Lisp Interaction::), but if arguments
>> earlier on the command line visit files or switch buffers, that
>> might be a different buffer.
The buffer is set by then, e.g., try
emacs -Q --file=test.txt --eval '(princ (cons (current-buffer) (frame-selected-window)))'
and you get (test.txt . #<window 3 on *scratch*>). So it's just that
window selection doesn't happen immediately.
next prev parent reply other threads:[~2018-08-03 10:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-03 9:51 bug#32356: 26.1; --file visits file later than expected Per Starbäck
2018-08-03 10:04 ` Noam Postavsky [this message]
2018-08-03 10:16 ` Per Starbäck
2018-08-03 11:06 ` Noam Postavsky
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87in4rzry6.fsf@gmail.com \
--to=npostavs@gmail.com \
--cc=32356@debbugs.gnu.org \
--cc=starback@stp.lingfil.uu.se \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.