From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Michael Mauger <michael@mauger.com>
Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Re: Proposal: emacsclient --readonly
Date: Tue, 26 Mar 2013 22:33:41 -0400 [thread overview]
Message-ID: <jwvvc8defui.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <1364349727.76978.YahooMailNeo@web160905.mail.bf1.yahoo.com> (Michael Mauger's message of "Tue, 26 Mar 2013 19:02:07 -0700 (PDT)")
> In the C code, if there are any unrecognized options they will be sent over
> as a -custom option followed by the non-option parameters as -args
I'm not sure I understand right, but it doesn't sound like it's going
a direction I like: I'd like to reduce the difference between the
C-level command line argument vector received by emacsclient and the
list of strings received by server.el.
> On the server side, the elisp will call the handler for each -custom option
> and pass the args along with it.
The --diff and --eval options don't take just one "argument", which is
why I don't want to hardcode this idea of a "--option ARG" format.
> The other required change will be to break out some of the file processing
> so that the logic can be reused in custom options.
> * file-name generation
> * visit a file
> This will make the change more complex but won't really alter the
> behavior, just refactor it so it's more useful to custom options.
Refactoring sounds fine.
Stefan
next prev parent reply other threads:[~2013-03-27 2:33 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87zjxtq304.fsf@michael-laptop.hsd1.ma.comcast.net>
[not found] ` <jwv38vlpnpl.fsf-monnier+emacs@gnu.org>
2013-03-24 16:22 ` Proposal: emacsclient --readonly Michael Mauger
2013-03-25 13:15 ` Stefan Monnier
2013-03-26 2:56 ` Michael Mauger
2013-03-26 13:10 ` Stefan Monnier
2013-03-27 2:02 ` Michael Mauger
2013-03-27 2:33 ` Stefan Monnier [this message]
2013-03-27 13:47 ` Michael Mauger
2013-03-30 23:03 ` Michael Mauger
2013-09-27 18:22 Rüdiger Sonderfeld
-- strict thread matches above, loose matches on Subject: below --
2013-03-14 2:23 michael
2013-03-14 2:45 ` W. Greenhouse
2013-03-14 3:31 ` Stefan Monnier
2013-03-24 3:45 ` Michael Mauger
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=jwvvc8defui.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=michael@mauger.com \
/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.