From: Tassilo Horn <tassilo@member.fsf.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "Adam Sjøgren" <asjo@koldfront.dk>, emacs-devel@gnu.org
Subject: Re: How come emacsclient --create-frame doesn't understand -geometry?
Date: Thu, 24 Nov 2011 14:35:20 +0100 [thread overview]
Message-ID: <87pqghskx3.fsf@tsdh.uni-koblenz.de> (raw)
In-Reply-To: <E1RTXQz-0000C1-VY@fencepost.gnu.org> (Eli Zaretskii's message of "Thu, 24 Nov 2011 06:25:41 -0500")
Eli Zaretskii <eliz@gnu.org> writes:
>> > Adam Sjøgren wrote:
>>
>> >> /usr/bin/emacsclient: unrecognized option '-geometry'
>>
>> > Try --frame-parameters instead.
> [...]
>
> Emacsclient expects you to specify the geometry as an alist, not as an
> X-style geometry spec.
>
>> Anyway, that wasn't really an answer to the question.
>
> It wasn't? Why not?
Well, the more general question is, why is the command line interface of
emacsclient not consistent with the command line interface of emacs, at
least in the cases where they could?
emacs has tons of "Display options" that specify the appearance of its X
frame, while emacsclient has not.
To try to give some answer: The emacs display options affect all frames
you are going to create from that instance, i.e., emacs --reverse-video
followed by C-x 5 2 will create another X frame in reverse video. In
the emacsclient -c case, you'd probably only want to set the frame
parameters of exactly that frame. Furthermore, emacsclient has 3
different invocation styles:
1) use an existing frame: In that case, those options should probably
be ignored
2) create a new terminal frame: In that case, many options are not
applicable at all, e.g., --geometry is not, but --reverse-video is
ok
3) create a new X frame: Only here the options would be generally
applicable (but with different semantics as in the emacs case)
Well, that basically says only that it's probably quite some work to add
those options and handle all possible cases, so that nobody has
implemented it yet. :-)
Bye,
Tassilo
--
(What the world needs (I think) is not
(a Lisp (with fewer parentheses))
but (an English (with more.)))
Brian Hayes, http://tinyurl.com/3y9l2kf
next prev parent reply other threads:[~2011-11-24 13:35 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-23 22:54 How come emacsclient --create-frame doesn't understand -geometry? Adam Sjøgren
2011-11-23 23:04 ` Glenn Morris
2011-11-24 9:38 ` Adam Sjøgren
2011-11-24 11:25 ` Eli Zaretskii
2011-11-24 13:35 ` Tassilo Horn [this message]
2011-11-24 14:30 ` Eli Zaretskii
2011-11-24 18:47 ` Adam Sjøgren
2011-11-24 18:48 ` Glenn Morris
2011-11-24 19:31 ` Adam Sjøgren
2011-11-24 19:58 ` Glenn Morris
2011-11-25 7:26 ` Stephen J. Turnbull
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=87pqghskx3.fsf@tsdh.uni-koblenz.de \
--to=tassilo@member.fsf.org \
--cc=asjo@koldfront.dk \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/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.