From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Samer Masterson Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] switch to file buffer from command line args regardless of `initial-buffer-choice' Date: Fri, 29 May 2015 01:02:46 -0700 Message-ID: <877frr95g9.fsf@f-box.i-did-not-set--mail-host-address--so-tickle-me> References: <1425283676.2563.0@mail.samertm.com> <87fv7ge61j.fsf@f-box.i-did-not-set--mail-host-address--so-tickle-me> <87oall2p4o.fsf@f-box.i-did-not-set--mail-host-address--so-tickle-me> <87wpzso07t.fsf@f-box.i-did-not-set--mail-host-address--so-tickle-me> <83mw0ovsr1.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1432886611 13822 80.91.229.3 (29 May 2015 08:03:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 May 2015 08:03:31 +0000 (UTC) Cc: monnier@IRO.UMontreal.CA, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 29 10:03:25 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YyFGH-00045E-5Z for ged-emacs-devel@m.gmane.org; Fri, 29 May 2015 10:03:25 +0200 Original-Received: from localhost ([::1]:34220 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyFGG-0002Yz-LU for ged-emacs-devel@m.gmane.org; Fri, 29 May 2015 04:03:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42520) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyFFz-0002Ww-2N for emacs-devel@gnu.org; Fri, 29 May 2015 04:03:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YyFFt-0005J6-4z for emacs-devel@gnu.org; Fri, 29 May 2015 04:03:06 -0400 Original-Received: from mx2.mailbox.org ([80.241.60.215]:51234) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyFFn-0005H8-Pc; Fri, 29 May 2015 04:02:55 -0400 Original-Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id C9EAB40046; Fri, 29 May 2015 10:02:54 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Original-Received: from smtp1.mailbox.org ([80.241.60.240]) by gerste.heinlein-support.de (gerste.heinlein-support.de [91.198.250.173]) (amavisd-new, port 10030) with ESMTP id fK2FjsFBFElP; Fri, 29 May 2015 10:02:52 +0200 (CEST) In-Reply-To: <83mw0ovsr1.fsf@gnu.org> User-Agent: Notmuch/0.19 (http://notmuchmail.org) Emacs/25.0.50.1 (x86_64-unknown-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 80.241.60.215 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:186943 Archived-At: Thank you, Eli! Patch installed as 790ffd7. -samer Patch below. diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi index d18dee3..0c39be9 100644 --- a/doc/lispref/os.texi +++ b/doc/lispref/os.texi @@ -201,10 +201,11 @@ If the @file{*scratch*} buffer exists and is empty, it inserts If @code{initial-buffer-choice} is a string, it visits the file (or directory) with that name. If it is a function, it calls the function with no arguments and selects the buffer that it returns. If one file -is given as a command line argument, the file is opened alongside -@code{initial-buffer-choice}. If more than one file is given, the -@file{*Buffer List*} buffer is shown alongside -@code{initial-buffer-choice}. +is given as a command line argument, that file is visited and its +buffer displayed alongside @code{initial-buffer-choice}. If more than +one file is given, all of the files are visited and the @file{*Buffer +List*} buffer is displayed alongside @code{initial-buffer-choice}. + @ignore @c I do not think this should be mentioned. AFAICS it is just a dodge @c around inhibit-startup-screen not being settable on a site-wide basis.