* Strange "1;2600;0c" sequence in startup (message-mode?)
@ 2011-04-26 9:54 Jesse Sheidlower
2011-04-26 10:00 ` Pascal J. Bourguignon
2011-04-26 10:01 ` David Kastrup
0 siblings, 2 replies; 6+ messages in thread
From: Jesse Sheidlower @ 2011-04-26 9:54 UTC (permalink / raw)
To: help-gnu-emacs
I have recently been seeing a strange sequence of characters when I
start Emacs up to send a message, either when sending a new message, or
replying to an existing one. I believe that this started when I began to
use message-mode. Typically it will be "1;2600;0c", inserted at the
start of a message, but I have noticed other numbers close to "2600" in
the middle section.
This only happens when I have started typing before Emacs has fully
launched (usually by hitting return once or twice); if I wait for it to
load, I do not get any such sequence. But it does happen very regularly
when
It's been hard to Google for this. Does this ring a bell for anyone? I
have some hooks for message-mode, but nothing that looks like it could
cause this, although I don't know what the sequence represents.
Thanks.
Jesse Sheidlower
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Strange "1;2600;0c" sequence in startup (message-mode?)
2011-04-26 9:54 Strange "1;2600;0c" sequence in startup (message-mode?) Jesse Sheidlower
@ 2011-04-26 10:00 ` Pascal J. Bourguignon
2011-05-01 14:38 ` Thomas E. Dickey
2011-04-26 10:01 ` David Kastrup
1 sibling, 1 reply; 6+ messages in thread
From: Pascal J. Bourguignon @ 2011-04-26 10:00 UTC (permalink / raw)
To: help-gnu-emacs
jester@panix.com (Jesse Sheidlower) writes:
> I have recently been seeing a strange sequence of characters when I
> start Emacs up to send a message, either when sending a new message, or
> replying to an existing one. I believe that this started when I began to
> use message-mode. Typically it will be "1;2600;0c", inserted at the
> start of a message, but I have noticed other numbers close to "2600" in
> the middle section.
>
> This only happens when I have started typing before Emacs has fully
> launched (usually by hitting return once or twice); if I wait for it to
> load, I do not get any such sequence. But it does happen very regularly
> when
>
> It's been hard to Google for this. Does this ring a bell for anyone? I
> have some hooks for message-mode, but nothing that looks like it could
> cause this, although I don't know what the sequence represents.
It's the end of an escape sequence. You're probably using emacs in a
terminal, and there must be a discrepancy between what the terminal is
really, and what declared in the environment variable TERM. Or perhaps
there's an error in the terminfo (or termcap) database.
--
__Pascal Bourguignon__ http://www.informatimago.com/
A bad day in () is better than a good day in {}.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Strange "1;2600;0c" sequence in startup (message-mode?)
2011-04-26 9:54 Strange "1;2600;0c" sequence in startup (message-mode?) Jesse Sheidlower
2011-04-26 10:00 ` Pascal J. Bourguignon
@ 2011-04-26 10:01 ` David Kastrup
2011-04-26 11:29 ` Jesse Sheidlower
1 sibling, 1 reply; 6+ messages in thread
From: David Kastrup @ 2011-04-26 10:01 UTC (permalink / raw)
To: help-gnu-emacs
jester@panix.com (Jesse Sheidlower) writes:
> I have recently been seeing a strange sequence of characters when I
> start Emacs up to send a message, either when sending a new message,
> or replying to an existing one. I believe that this started when I
> began to use message-mode. Typically it will be "1;2600;0c", inserted
> at the start of a message, but I have noticed other numbers close to
> "2600" in the middle section.
This looks similar to cursor positioning control sequences. Are you
using Emacs on a character terminal rather than in graphical mode?
--
David Kastrup
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Strange "1;2600;0c" sequence in startup (message-mode?)
2011-04-26 10:01 ` David Kastrup
@ 2011-04-26 11:29 ` Jesse Sheidlower
2011-04-26 11:38 ` Pascal J. Bourguignon
0 siblings, 1 reply; 6+ messages in thread
From: Jesse Sheidlower @ 2011-04-26 11:29 UTC (permalink / raw)
To: help-gnu-emacs
In article <8739l51gce.fsf@fencepost.gnu.org>,
David Kastrup <dak@gnu.org> wrote:
>jester@panix.com (Jesse Sheidlower) writes:
>
>> I have recently been seeing a strange sequence of characters when I
>> start Emacs up to send a message, either when sending a new message,
>> or replying to an existing one. I believe that this started when I
>> began to use message-mode. Typically it will be "1;2600;0c", inserted
>> at the start of a message, but I have noticed other numbers close to
>> "2600" in the middle section.
>
>This looks similar to cursor positioning control sequences. Are you
>using Emacs on a character terminal rather than in graphical mode?
Yes, I am--when this happens I'm ssh'd into a Unix shell, and am
interacting with Emacs there, not in an X display.
Er, so what does this mean in terms of trying to fix it? It's a
relatively new phenomenon.
Jesse Sheidlower
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Strange "1;2600;0c" sequence in startup (message-mode?)
2011-04-26 11:29 ` Jesse Sheidlower
@ 2011-04-26 11:38 ` Pascal J. Bourguignon
0 siblings, 0 replies; 6+ messages in thread
From: Pascal J. Bourguignon @ 2011-04-26 11:38 UTC (permalink / raw)
To: help-gnu-emacs
jester@panix.com (Jesse Sheidlower) writes:
> In article <8739l51gce.fsf@fencepost.gnu.org>,
> David Kastrup <dak@gnu.org> wrote:
>>jester@panix.com (Jesse Sheidlower) writes:
>>
>>> I have recently been seeing a strange sequence of characters when I
>>> start Emacs up to send a message, either when sending a new message,
>>> or replying to an existing one. I believe that this started when I
>>> began to use message-mode. Typically it will be "1;2600;0c", inserted
>>> at the start of a message, but I have noticed other numbers close to
>>> "2600" in the middle section.
>>
>>This looks similar to cursor positioning control sequences. Are you
>>using Emacs on a character terminal rather than in graphical mode?
>
> Yes, I am--when this happens I'm ssh'd into a Unix shell, and am
> interacting with Emacs there, not in an X display.
>
> Er, so what does this mean in terms of trying to fix it? It's a
> relatively new phenomenon.
I told you. Set your TERM environment variable correctly, or correct
the terminfo database on the remote system.
--
__Pascal Bourguignon__ http://www.informatimago.com/
A bad day in () is better than a good day in {}.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Strange "1;2600;0c" sequence in startup (message-mode?)
2011-04-26 10:00 ` Pascal J. Bourguignon
@ 2011-05-01 14:38 ` Thomas E. Dickey
0 siblings, 0 replies; 6+ messages in thread
From: Thomas E. Dickey @ 2011-05-01 14:38 UTC (permalink / raw)
To: help-gnu-emacs
On Apr 26, 6:00 am, "Pascal J. Bourguignon" <p...@informatimago.com>
wrote:
> jes...@panix.com (Jesse Sheidlower) writes:
> > I have recently been seeing a strange sequence of characters when I
> > start Emacs up to send a message, either when sending a new message, or
> > replying to an existing one. I believe that this started when I began to
> > use message-mode. Typically it will be "1;2600;0c", inserted at the
> > start of a message, but I have noticed other numbers close to "2600" in
> > the middle section.
...
> It's the end of an escape sequence. You're probably using emacs in a
> terminal, and there must be a discrepancy between what the terminal is
> really, and what declared in the environment variable TERM. Or perhaps
> there's an error in the terminfo (or termcap) database.
It looks more like a response to the "Send Device Attributes" control
sequence.
If you're using gnome-terminal or some other terminal that uses vte,
that's
the likely explanation (can't google on this, since there's no useful
documentation
for vte).
Likewise, it won't be a problem with the terminal description, since
that feature's
only addressed in the (nonstandard) u8 capability, and emacs wouldn't
be using it.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-05-01 14:38 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-26 9:54 Strange "1;2600;0c" sequence in startup (message-mode?) Jesse Sheidlower
2011-04-26 10:00 ` Pascal J. Bourguignon
2011-05-01 14:38 ` Thomas E. Dickey
2011-04-26 10:01 ` David Kastrup
2011-04-26 11:29 ` Jesse Sheidlower
2011-04-26 11:38 ` 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).