From: Lluis <xscript@gmx.net>
To: bug-gnu-emacs@gnu.org
Subject: bug#4724: 23.1; emacsclient: Specify desired terminal type instead of using `-c'
Date: Wed, 14 Oct 2009 22:41:08 +0200 [thread overview]
Message-ID: <20091014204108.GC3327@ginnungagap.pc.ac.upc.edu> (raw)
I use
emacsclient -e "(remember-other-frame)"
for quick note-taking.
I use this together with an advice around remember-other-frame (similar to [0]),
such that finishing or cancelling the note deletes the frame and lets me
seamlessly resume my workflow.
However, this only works in a graphical environment if there is already an
emacsclient -c ...
running, as otherwise emacs throws
*ERROR*: Unknown terminal type
Even more, running
emacsclient -c -e "(remember-other-frame)"
opens two frames: the one coming from the `emacsclient -c' and the one created
by `remember-other-frame'.
This is specially annoying, as cancelling the note (C-g) deletes both frames,
but finishing the note (C-c C-c) just deletes the remember frame.
So, could it be possible to tell `emacsclient' which terminal type to use
without instructing it to open a new frame for itself?
[0] http://emacs-fu.blogspot.com/2009/04/remember.html?showComment=1244720811729#c6063619801238280639
Thanks,
Lluis
--
"And it's much the same thing with knowledge, for whenever you learn
something new, the whole world becomes that much richer."
-- The Princess of Pure Reason, as told by Norton Juster in The Phantom
Tollbooth
next reply other threads:[~2009-10-14 20:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-14 20:41 Lluis [this message]
2019-10-01 13:50 ` bug#4724: 23.1; emacsclient: Specify desired terminal type instead of using `-c' Lars Ingebrigtsen
2019-10-03 10:57 ` Lluís
2019-10-03 14:41 ` Lars Ingebrigtsen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091014204108.GC3327@ginnungagap.pc.ac.upc.edu \
--to=xscript@gmx.net \
--cc=4724@emacsbugs.donarmstrong.com \
--cc=bug-gnu-emacs@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).