all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ken Brown <kbrown@cornell.edu>
To: npostavs@users.sourceforge.net, James Nguyen <jamesn@fastmail.com>
Cc: 27511@debbugs.gnu.org
Subject: bug#27511: 26.0.50; emacsclient requires file argument
Date: Thu, 29 Jun 2017 10:11:19 -0400	[thread overview]
Message-ID: <be299ec3-0aab-36a1-b74a-c25c4ff5390a@cornell.edu> (raw)
In-Reply-To: <87bmp7m0sv.fsf@users.sourceforge.net>

On 6/29/2017 8:32 AM, npostavs@users.sourceforge.net wrote> James Nguyen 
<jamesn@fastmail.com> writes:
> 
>> That snip you sent doesn’t work the way I want. It just opens the Gui
>> Emacs up without opening a new scratch buffer.
> 
> Oh you want a *new* scratch buffer?  As in, you end up with multiple
> scratch buffers if you run emacsclient several times?
> 
>> At this point, my takeaway is that we think this is 1. not a bug and
>> 2. unlikely to have the default change (emacsclient behaving similarly
>> in spirit to emacs)
>>
>> I will just have to write a bash function that wraps emacsclient and
>> check for the file arg (or lackof) myself.
> 
> Yeah, changing the defaults is tricky because you have to get a lot of
> people to agree on what the new default should be.  Although it seems to
> me that the current default of just printing an error message is not
> especially useful for anyone...

The purpose of emacsclient is to contact an emacs server and give it 
some action to perform (visit a file, open a new frame, evaluate some 
lisp, ...).  If you run emacsclient with no arguments, you're not 
specifying any action.  I can think of two possibilities for what 
emacsclient should do in that case: (a) Silently do nothing.  (b) Print 
an error message.  I would find it very surprising if emacsclient were 
to tell the server to create a new buffer when I've specified no action.

Ken






  reply	other threads:[~2017-06-29 14:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-28  2:03 bug#27511: 26.0.50; emacsclient requires file argument James Nguyen
2017-06-28 14:45 ` Noam Postavsky
2017-06-28 15:00   ` James Nguyen
2017-06-28 17:03     ` Ken Brown
2017-06-28 17:22       ` James Nguyen
2017-06-28 17:35         ` Noam Postavsky
2017-06-28 23:49           ` James Nguyen
2017-06-29  1:13             ` npostavs
2017-06-29  3:35               ` James Nguyen
2017-06-29 12:32                 ` npostavs
2017-06-29 14:11                   ` Ken Brown [this message]
2017-06-29 16:48                     ` James Nguyen
2017-06-29 18:11                       ` Ken Brown
2017-06-30  1:06                         ` James Nguyen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=be299ec3-0aab-36a1-b74a-c25c4ff5390a@cornell.edu \
    --to=kbrown@cornell.edu \
    --cc=27511@debbugs.gnu.org \
    --cc=jamesn@fastmail.com \
    --cc=npostavs@users.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.