* How to read parameter from `emacscliet -t -a "" -F ""((hi . hello))"
@ 2016-04-06 2:53 Shiyao Ma
2016-04-08 11:56 ` Michael Heerdegen
0 siblings, 1 reply; 4+ messages in thread
From: Shiyao Ma @ 2016-04-06 2:53 UTC (permalink / raw)
To: help-gnu-emacs
Hi,
I start emacsclient with:
emacscliet -t -a "" -F ""((hi . hello))
But when I do:
(frame-parameter nil 'hi) inside the newly created frame, I got nil.
Regards
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to read parameter from `emacscliet -t -a "" -F ""((hi . hello))"
2016-04-06 2:53 How to read parameter from `emacscliet -t -a "" -F ""((hi . hello))" Shiyao Ma
@ 2016-04-08 11:56 ` Michael Heerdegen
2016-04-09 4:56 ` Shiyao Ma
[not found] ` <mailman.130.1460177768.7477.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 4+ messages in thread
From: Michael Heerdegen @ 2016-04-08 11:56 UTC (permalink / raw)
To: Shiyao Ma; +Cc: help-gnu-emacs
Shiyao Ma <i@introo.me> writes:
> I start emacsclient with:
>
> emacscliet -t -a "" -F ""((hi . hello))
>
> But when I do:
> (frame-parameter nil 'hi) inside the newly created frame, I got nil.
Does it work with -c?
Michael.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to read parameter from `emacscliet -t -a "" -F ""((hi . hello))"
2016-04-08 11:56 ` Michael Heerdegen
@ 2016-04-09 4:56 ` Shiyao Ma
[not found] ` <mailman.130.1460177768.7477.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 4+ messages in thread
From: Shiyao Ma @ 2016-04-09 4:56 UTC (permalink / raw)
To: Michael Heerdegen; +Cc: help-gnu-emacs
no. doesn't.
I ended up by passing envrionment variabls.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to read parameter from `emacscliet -t -a "" -F ""((hi . hello))"
[not found] ` <mailman.130.1460177768.7477.help-gnu-emacs@gnu.org>
@ 2016-04-09 8:31 ` Pascal J. Bourguignon
0 siblings, 0 replies; 4+ messages in thread
From: Pascal J. Bourguignon @ 2016-04-09 8:31 UTC (permalink / raw)
To: help-gnu-emacs
Shiyao Ma <i@introo.me> writes:
> no. doesn't.
I assume it's because only actual frame parameters can be set with -F.
One would have to check the sources of emacsclient…
> I ended up by passing envrionment variabls.
You can set directly lisp variables:
emacsclient -t -a "" -e '(setf shiyao-hi (quote hello))'
--
__Pascal Bourguignon__ http://www.informatimago.com/
“The factory of the future will have only two employees, a man and a
dog. The man will be there to feed the dog. The dog will be there to
keep the man from touching the equipment.” -- Carl Bass CEO Autodesk
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-04-09 8:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-06 2:53 How to read parameter from `emacscliet -t -a "" -F ""((hi . hello))" Shiyao Ma
2016-04-08 11:56 ` Michael Heerdegen
2016-04-09 4:56 ` Shiyao Ma
[not found] ` <mailman.130.1460177768.7477.help-gnu-emacs@gnu.org>
2016-04-09 8:31 ` Pascal J. Bourguignon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).