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 06:04:49 -0400 Message-ID: <87in4rzry6.fsf@gmail.com> References: 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 1533290592 6752 195.159.176.226 (3 Aug 2018 10:03:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 3 Aug 2018 10:03:12 +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 12:03:08 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 1flWvI-0001dM-AZ for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Aug 2018 12:03:04 +0200 Original-Received: from localhost ([::1]:49976 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1flWxP-0004Ip-3K for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Aug 2018 06:05:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1flWxG-0004HQ-Ij for bug-gnu-emacs@gnu.org; Fri, 03 Aug 2018 06:05:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1flWxC-0000HX-OF for bug-gnu-emacs@gnu.org; Fri, 03 Aug 2018 06:05:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34512) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1flWxC-0000Gt-JT for bug-gnu-emacs@gnu.org; Fri, 03 Aug 2018 06:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1flWxC-0002LH-9t for bug-gnu-emacs@gnu.org; Fri, 03 Aug 2018 06:05:02 -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 10:05:02 +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.15332906988988 (code B ref 32356); Fri, 03 Aug 2018 10:05:02 +0000 Original-Received: (at 32356) by debbugs.gnu.org; 3 Aug 2018 10:04:58 +0000 Original-Received: from localhost ([127.0.0.1]:39530 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1flWx8-0002Ku-6L for submit@debbugs.gnu.org; Fri, 03 Aug 2018 06:04:58 -0400 Original-Received: from mail-it0-f54.google.com ([209.85.214.54]:35453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1flWx6-0002Kf-90 for 32356@debbugs.gnu.org; Fri, 03 Aug 2018 06:04:56 -0400 Original-Received: by mail-it0-f54.google.com with SMTP id 139-v6so790764itf.0 for <32356@debbugs.gnu.org>; Fri, 03 Aug 2018 03:04:56 -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=98HWSApl94WJQs8aWLnr+QWWjdalX5QGoYeRzGQ4sJ4=; b=FinaA+2N7/ceRGZo9SdPwbvbTHjSd3J1rC/P7ElRQeRPoQQeGwC83moB7Xk7Or7Ue9 ZpLvnOLOvWFfuvKj24WxOwmcHlnvYjDNiYFGSDQP2ReM1AfbsMlsHz7yv5+/9ESFQ0Qm esvL4BqHu8o8Hf1VJFwyNrt3XsU2OSwUL18Sw5WPIztGRFsfBILV49sM3G1nJxFvY3rY vzazGQpuJc5Hx1fN6mkfb1O8xcJfHyyXWQuBDmu/JaWU5Iirk0/OJgUJjKeExPJrn0UC O/42Al1QXElsWZ7WcBrmf759pLBo32OoAaV9oQ7GKeFOV5xzVYYEXL9i1p3141YjI2EF m/7g== 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=98HWSApl94WJQs8aWLnr+QWWjdalX5QGoYeRzGQ4sJ4=; b=QskZjeYHZAuN/FEydZweDbkMGYBR9AxgA9KtTBCeojLLZr00EaGsRlQ8Vvu7r2Hr0v 1RgJpUrFInx8+eTMchasNSSM+4rnR5GeJhiH+eYD6stNcnBDEiQT1xFEqvVZLBLloQJG KNh30SXi1+WCpJlozJrBu+06YKgzyYHsjJqQdp5ic+uWTtVJX0jxxJ2qhlbRCdZ2sxHI 9t4DvghVxLWzjuDKpDa8APICEB+bwVBrV7ig/bTCIBMXPoEiIL115tuBG8MaKUXpvRJ2 T7Z8PAV7e0tIKcrGQvehiBHFGhORtLiSfJhMwPat2Jm1huPnYRM6d4xlMeVjXlowYQmx CQnQ== X-Gm-Message-State: AOUpUlHFQg0FL4OOnBqvoDnljRip2XNulMCZA7b8+exXCUUtnwORuRlT 3bVu+Cu1juIQR+DF/uyB3Z42cu1r X-Google-Smtp-Source: AAOMgpc9ryiwgBq8YWDNVI1U3tDvxMtRQuDoZTxDjH3PnpU9lIndYWdSDH3VRUAJDamWbYxkg1iFOQ== X-Received: by 2002:a24:4ecb:: with SMTP id r194-v6mr5795219ita.39.1533290690557; Fri, 03 Aug 2018 03:04:50 -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 v82-v6sm1572292iod.14.2018.08.03.03.04.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 03 Aug 2018 03:04:50 -0700 (PDT) In-Reply-To: ("Per \=\?utf-8\?Q\?Sta\?\= \=\?utf-8\?Q\?rb\=C3\=A4ck\=22's\?\= message of "Fri, 03 Aug 2018 11:51:49 +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:149227 Archived-At: starback@stp.lingfil.uu.se (Per Starb=C3=A4ck) writes: > If this behavior is intended, I think something could be added to > "(emacs) Action Arguments" about it. I think this text about "--insert" t= here > gives the impression that action arguments are processed in the order > they are given: > >> Usually, this is the >> =E2=80=98*scratch*=E2=80=99 buffer (*note Lisp Interaction::), but i= f 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=3Dtest.txt --eval '(princ (cons (current-buffer) (frame= -selected-window)))' and you get (test.txt . #). So it's just that window selection doesn't happen immediately.