GNU bug report logs - #4724
23.1; emacsclient: Specify desired terminal type instead of using `-c'

Previous Next

Package: emacs;

Reported by: Lluis <xscript <at> gmx.net>

Date: Wed, 14 Oct 2009 20:50:04 UTC

Severity: wishlist

Tags: moreinfo

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lluis <xscript <at> gmx.net>
To: bug-gnu-emacs <at> 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
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




This bug report was last modified 5 years and 291 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.