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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4724 in the body.
You can then email your comments to 4724 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4724; Package emacs. (Wed, 14 Oct 2009 20:50:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lluis <xscript <at> gmx.net>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 14 Oct 2009 20:50:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

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




Severity set to 'wishlist' from 'normal' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Sat, 31 Oct 2009 02:30:14 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#4724; Package emacs. (Tue, 01 Oct 2019 13:52:01 GMT) Full text and rfc822 format available.

Message #10 received at 4724 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Lluis <xscript <at> gmx.net>
Cc: 4724 <at> debbugs.gnu.org
Subject: Re: bug#4724: 23.1; emacsclient: Specify desired terminal type
 instead of using `-c'
Date: Tue, 01 Oct 2019 15:50:59 +0200
Lluis <xscript <at> 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




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 01 Oct 2019 13:52:04 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#4724; Package emacs. (Thu, 03 Oct 2019 10:58:02 GMT) Full text and rfc822 format available.

Message #15 received at 4724 <at> debbugs.gnu.org (full text, mbox):

From: Lluís <xscript <at> gmx.net>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 4724 <at> debbugs.gnu.org
Subject: Re: bug#4724: 23.1; emacsclient: Specify desired terminal type
 instead of using `-c'
Date: Thu, 3 Oct 2019 13:57:17 +0300
[Message part 1 (text/plain, inline)]
On Tue, Oct 1, 2019 at 4:50 PM Lars Ingebrigtsen <larsi <at> 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
[Message part 2 (text/html, inline)]

bug closed, send any further explanations to 4724 <at> debbugs.gnu.org and Lluis <xscript <at> gmx.net> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 03 Oct 2019 14:41:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#4724; Package emacs. (Thu, 03 Oct 2019 14:42:01 GMT) Full text and rfc822 format available.

Message #20 received at 4724 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Lluís <xscript <at> gmx.net>
Cc: 4724 <at> debbugs.gnu.org
Subject: Re: bug#4724: 23.1; emacsclient: Specify desired terminal type
 instead of using `-c'
Date: Thu, 03 Oct 2019 16:41:04 +0200
Lluís <xscript <at> 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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 01 Nov 2019 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 170 days ago.

Previous Next


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