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: Sat, 11 Apr 2009 16:34:58 -0700 (PDT) Message-ID: <200904112334.n3BNYwuE019572@godzilla.ics.uci.edu> References: <87ocv5mei7.fsf@cyd.mit.edu> <200904111513.n3BFD6fp012593@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 1239493144 30830 80.91.229.12 (11 Apr 2009 23:39:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 Apr 2009 23:39:04 +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 Sun Apr 12 01:40:22 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 1Lsmo9-0003LM-Dw for ged-emacs-devel@m.gmane.org; Sun, 12 Apr 2009 01:40:21 +0200 Original-Received: from localhost ([127.0.0.1]:52634 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lsmmk-00030d-MB for ged-emacs-devel@m.gmane.org; Sat, 11 Apr 2009 19:38:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lsmmf-0002yf-Sn for emacs-devel@gnu.org; Sat, 11 Apr 2009 19:38:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lsmmb-0002xj-8H for emacs-devel@gnu.org; Sat, 11 Apr 2009 19:38:49 -0400 Original-Received: from [199.232.76.173] (port=55679 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lsmmb-0002xQ-2Q for emacs-devel@gnu.org; Sat, 11 Apr 2009 19:38:45 -0400 Original-Received: from sallyv2.ics.uci.edu ([128.195.1.120]:36029) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1Lsmma-0006e7-Hn for emacs-devel@gnu.org; Sat, 11 Apr 2009 19:38:44 -0400 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by sallyv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n3BNYwle015621; Sat, 11 Apr 2009 16:34:59 -0700 (PDT) Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n3BNYwuE019572; Sat, 11 Apr 2009 16:34:58 -0700 (PDT) X-Debbugs-No-Ack: yes In-Reply-To: (Stefan Monnier's message of "Sat, 11 Apr 2009 14:34:56 -0400") Original-Lines: 24 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n3BNYwle015621 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:110224 Archived-At: Stefan Monnier writes: > >> > the new variable initial-buffer-choice seems useless when using emacs > >> > as a daemon and emacsclient. This variable probably sets the initial > >> > frame of the daemon, but does not affect the emacs clients. The buffer > >> > is opened but not visible, the *scratch* buffer is opened instead. > >> > >> Currently, server-create-tty-frame and server-create-window-system-frame > >> are hardcoded to display *scratch* if no emacsclient argument is given. > >> In bug #2825, Damien Cassou has argued that they should obey > >> initial-buffer-choice. > >> > >> Are there any objections? > > > Showing the startup screen every time when connecting to the server can > > be seriously annoying for the user. > > 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.