GNU bug report logs -
#2825
23.0.91; initial-buffer-choice useless with emacs daemon
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 2825 in the body.
You can then email your comments to 2825 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2825
; Package
emacs
.
(Mon, 30 Mar 2009 14:05:06 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Damien Cassou <damien.cassou <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Mon, 30 Mar 2009 14:05:06 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
Hi,
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.
Thank you
--
Damien Cassou
http://damiencassou.seasidehosting.st
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2825
; Package
emacs
.
(Fri, 10 Apr 2009 02:30:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Chong Yidong <cyd <at> stupidchicken.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Fri, 10 Apr 2009 02:30:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 2825 <at> emacsbugs.donarmstrong.com (full text, mbox):
> 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?
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2825
; Package
emacs
.
(Sat, 11 Apr 2009 15:20:03 GMT)
Full text and
rfc822 format available.
Message #13 received at 2825 <at> emacsbugs.donarmstrong.com (full text, mbox):
Chong Yidong <cyd <at> stupidchicken.com> 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.
This situation is not equivalent with showing the startup screen when
starting emacs because we assume that emacs is not started very often.
Connecting/disconnecting to the server is a much more frequent action
for some use cases.
So changing this at this point does not sound like a good idea. If it
needs to be changed at all it can wait until 23.2. If many people don't
like it we'll generate yet another very long discussion (like all
discussions about the startup screen), and it's simply not worth it when
trying to get a release out.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2825
; Package
emacs
.
(Sat, 11 Apr 2009 18:40:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stefan Monnier <monnier <at> iro.umontreal.ca>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Sat, 11 Apr 2009 18:40:05 GMT)
Full text and
rfc822 format available.
Message #18 received at 2825 <at> emacsbugs.donarmstrong.com (full text, mbox):
>> > 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.
Stefan
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2825
; Package
emacs
.
(Sat, 11 Apr 2009 23:45:02 GMT)
Full text and
rfc822 format available.
Message #21 received at 2825 <at> emacsbugs.donarmstrong.com (full text, mbox):
Stefan Monnier <monnier <at> iro.umontreal.ca> 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.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2825
; Package
emacs
.
(Mon, 13 Apr 2009 18:00:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stefan Monnier <monnier <at> iro.umontreal.ca>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Mon, 13 Apr 2009 18:00:03 GMT)
Full text and
rfc822 format available.
Message #26 received at 2825 <at> emacsbugs.donarmstrong.com (full text, mbox):
>> 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?
Stefan
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2825
; Package
emacs
.
(Mon, 13 Apr 2009 18:20:03 GMT)
Full text and
rfc822 format available.
Message #29 received at 2825 <at> emacsbugs.donarmstrong.com (full text, mbox):
Stefan Monnier <monnier <at> iro.umontreal.ca> 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.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2825
; Package
emacs
.
(Tue, 14 Apr 2009 02:15:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stefan Monnier <monnier <at> iro.umontreal.ca>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Tue, 14 Apr 2009 02:15:03 GMT)
Full text and
rfc822 format available.
Message #34 received at 2825 <at> emacsbugs.donarmstrong.com (full text, mbox):
>> >> 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.
Stefan
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2825
; Package
emacs
.
(Tue, 14 Apr 2009 02:45:04 GMT)
Full text and
rfc822 format available.
Message #37 received at 2825 <at> emacsbugs.donarmstrong.com (full text, mbox):
Stefan Monnier <monnier <at> iro.umontreal.ca> 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.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2825
; Package
emacs
.
(Tue, 14 Apr 2009 03:55:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stefan Monnier <monnier <at> iro.umontreal.ca>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Tue, 14 Apr 2009 03:55:05 GMT)
Full text and
rfc822 format available.
Message #42 received at 2825 <at> emacsbugs.donarmstrong.com (full text, mbox):
> Will the proposed change will make
> emacsclient -t
> show the startup screen?
Of course not. We're only talking about the case where "the user
has set initial-buffer-choice to some file name".
Stefan
Severity set to `wishlist' from `normal'
Request was from
Chong Yidong <cyd <at> stupidchicken.com>
to
control <at> emacsbugs.donarmstrong.com
.
(Thu, 13 Aug 2009 14:40:05 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#2825
; Package
emacs
.
(Fri, 20 Apr 2012 10:07:01 GMT)
Full text and
rfc822 format available.
Message #47 received at 2825 <at> debbugs.gnu.org (full text, mbox):
Damien Cassou <damien.cassou <at> gmail.com> 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.
I've changed the trunk to reflect this behavior. Thanks.
bug closed, send any further explanations to
2825 <at> debbugs.gnu.org and Damien Cassou <damien.cassou <at> gmail.com>
Request was from
Chong Yidong <cyd <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Fri, 20 Apr 2012 10:07:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 18 May 2012 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 13 years and 92 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.