* bug#4784: variable telnet-remote-echoes non-nil causes comint-previous-prompt to fail
@ 2009-10-22 14:36 richard_sharman
2021-01-21 16:28 ` Lars Ingebrigtsen
0 siblings, 1 reply; 3+ messages in thread
From: richard_sharman @ 2009-10-22 14:36 UTC (permalink / raw)
To: bug-gnu-emacs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#4784: variable telnet-remote-echoes non-nil causes comint-previous-prompt to fail
2009-10-22 14:36 bug#4784: variable telnet-remote-echoes non-nil causes comint-previous-prompt to fail richard_sharman
@ 2021-01-21 16:28 ` Lars Ingebrigtsen
2021-02-22 15:15 ` Lars Ingebrigtsen
0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2021-01-21 16:28 UTC (permalink / raw)
To: richard_sharman; +Cc: 4784
richard_sharman@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
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#4784: variable telnet-remote-echoes non-nil causes comint-previous-prompt to fail
2021-01-21 16:28 ` Lars Ingebrigtsen
@ 2021-02-22 15:15 ` Lars Ingebrigtsen
0 siblings, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2021-02-22 15:15 UTC (permalink / raw)
To: richard_sharman; +Cc: 4784
Lars Ingebrigtsen <larsi@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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-02-22 15:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-22 14:36 bug#4784: variable telnet-remote-echoes non-nil causes comint-previous-prompt to fail richard_sharman
2021-01-21 16:28 ` Lars Ingebrigtsen
2021-02-22 15:15 ` 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.