* bug#4724: 23.1; emacsclient: Specify desired terminal type instead of using `-c'
@ 2009-10-14 20:41 Lluis
2019-10-01 13:50 ` Lars Ingebrigtsen
0 siblings, 1 reply; 4+ messages in thread
From: Lluis @ 2009-10-14 20:41 UTC (permalink / raw)
To: bug-gnu-emacs
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#4724: 23.1; emacsclient: Specify desired terminal type instead of using `-c'
2009-10-14 20:41 bug#4724: 23.1; emacsclient: Specify desired terminal type instead of using `-c' Lluis
@ 2019-10-01 13:50 ` Lars Ingebrigtsen
2019-10-03 10:57 ` Lluís
0 siblings, 1 reply; 4+ messages in thread
From: Lars Ingebrigtsen @ 2019-10-01 13:50 UTC (permalink / raw)
To: Lluis; +Cc: 4724
Lluis <xscript@gmx.net> writes:
> 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
(I'm going through old bug reports that unfortunately didn't get any
response at the time.)
I tried reproducing this in Emacs 27, but was unable to: Even with one
emacsclient, I don't get that error message. Are you still seeing this
problem on in modern Emacs versions?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#4724: 23.1; emacsclient: Specify desired terminal type instead of using `-c'
2019-10-01 13:50 ` Lars Ingebrigtsen
@ 2019-10-03 10:57 ` Lluís
2019-10-03 14:41 ` Lars Ingebrigtsen
0 siblings, 1 reply; 4+ messages in thread
From: Lluís @ 2019-10-03 10:57 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: 4724
[-- Attachment #1: Type: text/plain, Size: 374 bytes --]
On Tue, Oct 1, 2019 at 4:50 PM Lars Ingebrigtsen <larsi@gnus.org> wrote:
> I tried reproducing this in Emacs 27, but was unable to: Even with one
> emacsclient, I don't get that error message. Are you still seeing this
> problem on in modern Emacs versions?
I do not use that setup anymore, and thus cannot try to reproduce it.
Please close.
Thanks,
Lluís
[-- Attachment #2: Type: text/html, Size: 680 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#4724: 23.1; emacsclient: Specify desired terminal type instead of using `-c'
2019-10-03 10:57 ` Lluís
@ 2019-10-03 14:41 ` Lars Ingebrigtsen
0 siblings, 0 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2019-10-03 14:41 UTC (permalink / raw)
To: Lluís; +Cc: 4724
Lluís <xscript@gmx.net> writes:
> I do not use that setup anymore, and thus cannot try to reproduce it. Please
> close.
OK; done.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-10-03 14:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-14 20:41 bug#4724: 23.1; emacsclient: Specify desired terminal type instead of using `-c' Lluis
2019-10-01 13:50 ` Lars Ingebrigtsen
2019-10-03 10:57 ` Lluís
2019-10-03 14:41 ` Lars Ingebrigtsen
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.