all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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 07:06:28 -0400	[thread overview]
Message-ID: <87ftzvzp3f.fsf@gmail.com> (raw)
In-Reply-To: <sa5a7q3hi0o.fsf@numerus.lingfil.uu.se> ("Per \=\?utf-8\?Q\?Starb\?\= \=\?utf-8\?Q\?\=C3\=A4ck\=22's\?\= message of "Fri, 03 Aug 2018 12:16:39 +0200")

tags 32356 notabug
close 32356
quit

starback@stp.lingfil.uu.se (Per Starbäck) writes:

> For what I was actually trying to do I needed that window, and I also
> tried (redisplay t) and other stuff in between to make it display before
> my code continued, to no avail. Visiting the file explicitly with
> find-file instead works for me. I just thought I found something strange
> on the way, but evidently not, so this can be closed.

Ah, it's because --file only sets the buffer, displaying it in a window
only happens later, when initial-buffer-choice is processed (i.e., after
all command line arguments have been processed).

(elisp) Startup Summary:

     24. [...]
         If one file is given as a command line argument, that file is
         visited and its buffer displayed alongside `initial-buffer-choice'.





      reply	other threads:[~2018-08-03 11:06 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
2018-08-03 10:16   ` Per Starbäck
2018-08-03 11:06     ` Noam Postavsky [this message]

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=87ftzvzp3f.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.