From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#32356: 26.1; --file visits file later than expected Date: Fri, 03 Aug 2018 07:06:28 -0400 Message-ID: <87ftzvzp3f.fsf@gmail.com> References: <87in4rzry6.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1533294308 1706 195.159.176.226 (3 Aug 2018 11:05:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 3 Aug 2018 11:05:08 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: 32356@debbugs.gnu.org To: starback@stp.lingfil.uu.se (Per =?UTF-8?Q?Starb=C3=A4ck?=) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 03 13:05:04 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1flXtH-0000Ll-PZ for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Aug 2018 13:05:03 +0200 Original-Received: from localhost ([::1]:50136 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1flXvO-00033N-6W for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Aug 2018 07:07:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54324) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1flXvH-000336-MC for bug-gnu-emacs@gnu.org; Fri, 03 Aug 2018 07:07:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1flXvC-0008MF-KE for bug-gnu-emacs@gnu.org; Fri, 03 Aug 2018 07:07:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34533) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1flXvC-0008M2-Dg for bug-gnu-emacs@gnu.org; Fri, 03 Aug 2018 07:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1flXvB-0004Bs-Uo for bug-gnu-emacs@gnu.org; Fri, 03 Aug 2018 07:07:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Aug 2018 11:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32356 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32356-submit@debbugs.gnu.org id=B32356.153329439816078 (code B ref 32356); Fri, 03 Aug 2018 11:07:01 +0000 Original-Received: (at 32356) by debbugs.gnu.org; 3 Aug 2018 11:06:38 +0000 Original-Received: from localhost ([127.0.0.1]:39551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1flXuo-0004BC-HV for submit@debbugs.gnu.org; Fri, 03 Aug 2018 07:06:38 -0400 Original-Received: from mail-it0-f41.google.com ([209.85.214.41]:35546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1flXum-0004Aq-Ui; Fri, 03 Aug 2018 07:06:37 -0400 Original-Received: by mail-it0-f41.google.com with SMTP id 139-v6so986417itf.0; Fri, 03 Aug 2018 04:06:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=0dpsbkNrDfTaQNIhsTWx9rNE3AAf0ABKOsFfN1apqCk=; b=SL/l+b2byIddan4/yf1gWCMXCH1AlqWV4fKhIg3VkRoaeJz2Rum20hx8/I6aMS6NhX mpNXXnEoojP5nxD+nR5pi5vvM0nFd6QFkTzCjjzrIPGQW3jeovTpYkF6hab1Gid2kZYv dWYqkiJ0zsdhWSYaZNBKzV+RWhW3DSZuCQP9mo3PerQbXZKg3xOikTyajN/YojhOtYT5 c0FNG/4JXDzZDh3jPiTeSVadJn/+YYMNtUh3PFC1APbiDvrsRDT/wtESbbMb8vUyo2vu VrIPrfKq2s/QnnfCJLG4FYVhdR6aLuKh+muXP6nkH1a0cGUfMB9HzB1l618KzQRw9nFo Fq7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=0dpsbkNrDfTaQNIhsTWx9rNE3AAf0ABKOsFfN1apqCk=; b=igHwRMnF/0auR1Exw3oDSrEvvyGivY/24FBdok61Nm+aShK7wPdDhLGmVa+aHwEmcN y+9ZRMq8iXMOlceqy/Me6kb0RJPzXgqTJXAn2TrVHnRHhYly5Fx9RQ8c1MbQifOCJtwL 0W3dRv4cqDpm2+7mdW8xMtVOF7ZVwnqzDUaBOMPecn+edvGDYDS9cYEUYhHajFlKz/yI DQtwGubB8eSdexf6QcPQGdoU3Bs0cGAl6DpPaOuvFV38e4t/MDV90OoSAGLyh/vMfXPd SaboNMhcSoUuDukhnpYZG1nxS114TKwzg9D2ZleGvL0nH32IEsH9Pc88o8j/Q/bmC1JH fA8A== X-Gm-Message-State: AOUpUlGQgMmOCB4tSzVfstLT5bDIoh8GT6Boak2GvSdDzExhDAdaReUM Sf5/55pZXWGCJtCDknojojuQ92jl X-Google-Smtp-Source: AAOMgpcbITjECR2j8Rjv0PPyZKoN0uujOV+tgk8DZ6d7LRthulOjA6884dqlpkzS8E5Ck9Jd1gl/rw== X-Received: by 2002:a24:ac1d:: with SMTP id s29-v6mr5741487ite.3.1533294391031; Fri, 03 Aug 2018 04:06:31 -0700 (PDT) Original-Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id i129-v6sm1999791ita.28.2018.08.03.04.06.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 03 Aug 2018 04:06:30 -0700 (PDT) In-Reply-To: ("Per \=\?utf-8\?Q\?Starb\?\= \=\?utf-8\?Q\?\=C3\=A4ck\=22's\?\= message of "Fri, 03 Aug 2018 12:16:39 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:149229 Archived-At: tags 32356 notabug close 32356 quit starback@stp.lingfil.uu.se (Per Starb=C3=A4ck) 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'.