GNU bug report logs - #4784
variable telnet-remote-echoes non-nil causes comint-previous-prompt to fail

Previous Next

Package: emacs;

Reported by: richard_sharman <at> mitel.com

Date: Thu, 22 Oct 2009 14:45:04 UTC

Severity: normal

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 4784 in the body.
You can then email your comments to 4784 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#4784; Package emacs. (Thu, 22 Oct 2009 14:45:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to richard_sharman <at> mitel.com:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Thu, 22 Oct 2009 14:45:05 GMT) Full text and rfc822 format available.

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

From: richard_sharman <at> mitel.com
To: bug-gnu-emacs <at> gnu.org
Subject: variable telnet-remote-echoes non-nil causes comint-previous-prompt to fail
Date: Thu, 22 Oct 2009 10:36:11 -0400
When running the telnet command, if variable telnet-remote-echoes is
set,  then the command comint-previous-prompt deletes the field text
property that the command comint-previous-prompt uses (assuming that
variable comint-use-prompt-regexp is nil).  It also removes the
mouse-highlighting and so mouse-2 cannot be used to re-insert that
command.

There is no need for variable telnet-remote-echoes because variable
comint-process-echoes can be used to remove the second copy, and it does
it without removing the text properties.






In GNU Emacs 22.1.2 (i686-pc-linux-gnu, X toolkit)
 of 2008-03-14 on sharmanpc.mitel.com
Windowing system distributor `The X.Org Foundation', version 11.0.60802000
configured using `configure  '--with-x-toolkit=athena' '--without-toolkit-scroll-bars''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: C
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: Telnet

Minor modes in effect:
  highlight-changes-visible-mode: t
  shell-dirtrack-mode: t
  display-time-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t

Recent input:
e <tab> <return> <return> C-y C-x C-e C-g C-a C-x b 
* T <tab> <backspace> t e <tab> <return> C-y C-x C-e 
C-c C-a C-c C-a C-k p w d <return> e c h o SPC h e 
l l o <return> d a t e <return> C-y C-x C-e C-a C-k 
C-x u C-c C-a C-c C-a C-k ( e c h o SPC C-y ) C-a c 
C-a C-x u C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f 
C-f C-f C-f e c h o SPC ' C-e ' <return> C-p C-e C-x 
C-e q C-n C-n M-p C-x u <return> C-p C-p C-p C-p C-p 
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p 
C-p C-p C-p C-p C-2 C-e M-w C-f <up> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <left> <left> 
C-f C-2 C-M-f M-w <end> <end> e c h o SPC C-y <return> 
C-p C-e C-x C-e C-n <C-return> ( s e t q SPC C-y SPC 
t ) <return> C-p C-p C-e C-x C-e C-n C-n p w d <return> 
e c h o SPC n o w SPC i t SPC i s SPC s e t <return> 
<return> <return> p w d <return> d a t e <return> C-y 
C-a C-c C-a C-e C-x C-e M-b M-b M-b ( s e t q SPC C-e 
SPC n i l ) <return> C-y M-b M-b M-b ( s e t q SPC 
C-e SPC n i L ) <backspace> <backspace> l ) C-x C-e 
C-x C-e <return> p w d <return> <help-echo> <help-echo> 
<switch-frame> <switch-frame> <switch-frame> <switch-frame> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <menu-bar> <help-menu> <re
port-emacs-bug>

Recent messages:
Undo!
Mark set [5 times]
nil
t [2 times]
Mark set
t
Mark set
nil [2 times]
Loading emacsbug...done
C-c C-p is undefined




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#4784; Package emacs. (Thu, 21 Jan 2021 16:29:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: richard_sharman <at> mitel.com
Cc: 4784 <at> debbugs.gnu.org
Subject: Re: bug#4784: variable telnet-remote-echoes non-nil causes
 comint-previous-prompt to fail
Date: Thu, 21 Jan 2021 17:28:09 +0100
richard_sharman <at> mitel.com writes:

> When running the telnet command, if variable telnet-remote-echoes is
> set,  then the command comint-previous-prompt deletes the field text
> property that the command comint-previous-prompt uses (assuming that
> variable comint-use-prompt-regexp is nil).  It also removes the
> mouse-highlighting and so mouse-2 cannot be used to re-insert that
> command.
>
> There is no need for variable telnet-remote-echoes because variable
> comint-process-echoes can be used to remove the second copy, and it does
> it without removing the text properties.

(I'm going through old bug reports that unfortunately got no response at
the time.)

I tried `M-x telnet' with `telnet-remote-echoes' set (and the other
variables also have the values described), and everything looks normal
to me.

I'm not sure what problem this bug report describes -- I have no mouse
highlight in the *telnet* buffer, and I'm not sure what that has to do
with do with `C-c C-p' (`comint-previous-point').

This is with Emacs 28, though, so perhaps what's being described here
has been fixed in the 11 years since this was reported.

-- 
(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. (Thu, 21 Jan 2021 16:29:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#4784; Package emacs. (Mon, 22 Feb 2021 15:16:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: richard_sharman <at> mitel.com
Cc: 4784 <at> debbugs.gnu.org
Subject: Re: bug#4784: variable telnet-remote-echoes non-nil causes
 comint-previous-prompt to fail
Date: Mon, 22 Feb 2021 16:15:43 +0100
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> I tried `M-x telnet' with `telnet-remote-echoes' set (and the other
> variables also have the values described), and everything looks normal
> to me.
>
> I'm not sure what problem this bug report describes -- I have no mouse
> highlight in the *telnet* buffer, and I'm not sure what that has to do
> with do with `C-c C-p' (`comint-previous-point').
>
> This is with Emacs 28, though, so perhaps what's being described here
> has been fixed in the 11 years since this was reported.

More information was requested, but no response was given within a
month, so I'm closing this bug report.  If the problem still exists,
please respond to this email and we'll reopen the bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 4784 <at> debbugs.gnu.org and richard_sharman <at> mitel.com Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 22 Feb 2021 15:16:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 23 Mar 2021 11:24:59 GMT) Full text and rfc822 format available.

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

Previous Next


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