From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: bug#2825: 23.0.91; initial-buffer-choice useless with emacs daemon Date: Mon, 13 Apr 2009 19:35:51 -0700 (PDT) Message-ID: <200904140235.n3E2Zp0J008505@godzilla.ics.uci.edu> References: <87ocv5mei7.fsf@cyd.mit.edu> <200904111513.n3BFD6fp012593@godzilla.ics.uci.edu> <200904112334.n3BNYwuE019572@godzilla.ics.uci.edu> <200904131813.n3DIDinI026826@godzilla.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1239676688 30729 80.91.229.12 (14 Apr 2009 02:38:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Apr 2009 02:38:08 +0000 (UTC) Cc: Chong Yidong , 2825@emacsbugs.donarmstrong.com, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 14 04:39:26 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LtYYW-0005nG-BV for ged-emacs-devel@m.gmane.org; Tue, 14 Apr 2009 04:39:24 +0200 Original-Received: from localhost ([127.0.0.1]:55321 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LtYX7-0004G1-Bl for ged-emacs-devel@m.gmane.org; Mon, 13 Apr 2009 22:37:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LtYX2-0004Fo-7A for emacs-devel@gnu.org; Mon, 13 Apr 2009 22:37:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LtYWx-0004FU-P3 for emacs-devel@gnu.org; Mon, 13 Apr 2009 22:37:51 -0400 Original-Received: from [199.232.76.173] (port=37095 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LtYWx-0004FR-KE for emacs-devel@gnu.org; Mon, 13 Apr 2009 22:37:47 -0400 Original-Received: from barrelv2.ics.uci.edu ([128.195.1.114]:41781) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1LtYWx-0003bZ-64 for emacs-devel@gnu.org; Mon, 13 Apr 2009 22:37:47 -0400 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by barrelv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n3E2ZpZ5017478; Mon, 13 Apr 2009 19:35:51 -0700 (PDT) Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n3E2Zp0J008505; Mon, 13 Apr 2009 19:35:51 -0700 (PDT) X-Debbugs-No-Ack: yes In-Reply-To: (Stefan Monnier's message of "Mon, 13 Apr 2009 22:07:38 -0400") Original-Lines: 38 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n3E2ZpZ5017478 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:110254 Archived-At: Stefan Monnier writes: > >> >> I'm not sure what you mean by "the startup screen", but if a user > >> >> prefers to start with a (dired "~/") than with *scratch*, I can't think > >> >> of a good reason why we should disregard this preference when connecting > >> >> via the emacsclient. > >> > >> > The startup screen is what `display-startup-screen' displays. > >> > And that's my point too, *scratch* is a fine choice for now. > >> > >> What does this have to do with the question at hand. IIUC th question > >> at hand is: why should the server.el code show "*scratch*" when the user > >> has set initial-buffer-choice to some file name? > > > NEWS says: > > > ** New user option `initial-buffer-choice' specifies what to display > > after starting Emacs: startup screen, *scratch* buffer, visiting a > > file or directory. > > > if the code is changed so that emacsclient called with no arguments > > displays the startup screen __by default__, then we might have yet > > another long discussion if this is the right thing to do. > > I do not understand what you mean. Currently: emacs -q -f server-start emacsclient -t shows the *scratch* buffer. Will the proposed change will make emacsclient -t show the startup screen? If yes, then IMO it's not a good idea to implement such a change of behavior at this time.