From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: richard_sharman@mitel.com Newsgroups: gmane.emacs.bugs Subject: bug#4784: variable telnet-remote-echoes non-nil causes comint-previous-prompt to fail Date: Thu, 22 Oct 2009 10:36:11 -0400 Message-ID: <200910221436.n9MEaBMX031160@sharmanpc.mitel.com> Reply-To: richard_sharman@mitel.com, 4784@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1256224798 3032 80.91.229.12 (22 Oct 2009 15:19:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Oct 2009 15:19:58 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 22 17:19:47 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N0zRn-000108-To for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Oct 2009 17:19:28 +0200 Original-Received: from localhost ([127.0.0.1]:52808 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N0zRn-0006VT-BG for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Oct 2009 11:19:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N0ywh-0002tS-Jp for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2009 10:47:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N0ywd-0002sH-Pj for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2009 10:47:19 -0400 Original-Received: from [199.232.76.173] (port=42195 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N0ywd-0002s7-K4 for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2009 10:47:15 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:49680) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N0ywd-0000We-2F for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2009 10:47:15 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9MElDhf017026; Thu, 22 Oct 2009 07:47:13 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9MEj4OL016497; Thu, 22 Oct 2009 07:45:04 -0700 Resent-Date: Thu, 22 Oct 2009 07:45:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: richard_sharman@mitel.com Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 22 Oct 2009 14:45:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4784 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125622218415511 (code B ref -1); Thu, 22 Oct 2009 14:45:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 22 Oct 2009 14:36:24 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9MEaLtw015508 for ; Thu, 22 Oct 2009 07:36:23 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N0ym5-0007HM-Go for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2009 10:36:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N0ym0-0007Cn-Gm for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2009 10:36:20 -0400 Original-Received: from [199.232.76.173] (port=46149 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N0ym0-0007Ch-ET for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2009 10:36:16 -0400 Original-Received: from smtp.mitel.com ([216.191.234.102]:56962) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N0ym0-00079T-0n for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2009 10:36:16 -0400 Original-Received: from localhost (smtp.mitel.com [127.0.0.1]) by smtp.mitel.com (Postfix) with ESMTP id D039F2C049 for ; Thu, 22 Oct 2009 10:36:12 -0400 (EDT) X-Virus-Scanned: by amavisd-new (virusonly) at mitel.com Original-Received: from smtp.mitel.com ([127.0.0.1]) by localhost (smtp.mitel.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dsq00Pg7+lBb for ; Thu, 22 Oct 2009 10:36:12 -0400 (EDT) Original-Received: from sharmanpc.mitel.com (sharmanpc.mitel.com [10.35.21.61]) by smtp.mitel.com (Postfix) with ESMTP id AA4F12C043 for ; Thu, 22 Oct 2009 10:36:12 -0400 (EDT) Original-Received: from sharmanpc.mitel.com (localhost.localdomain [127.0.0.1]) by sharmanpc.mitel.com (8.13.1/8.13.1) with ESMTP id n9MEaCfF031163 for ; Thu, 22 Oct 2009 10:36:12 -0400 Original-Received: (from sharman@localhost) by sharmanpc.mitel.com (8.13.1/8.13.1/Submit) id n9MEaBMX031160; Thu, 22 Oct 2009 10:36:11 -0400 X-Authentication-Warning: sharmanpc.mitel.com: sharman set sender to richard_sharman@mitel.com using -f X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 22 Oct 2009 10:47:19 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:32171 Archived-At: 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 C-y C-x C-e C-g C-a C-x b * T t e C-y C-x C-e C-c C-a C-c C-a C-k p w d e c h o SPC h e l l o d a t e 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 ' C-p C-e C-x C-e q C-n C-n M-p C-x u 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 C-f C-2 C-M-f M-w e c h o SPC C-y C-p C-e C-x C-e C-n ( s e t q SPC C-y SPC t ) C-p C-p C-e C-x C-e C-n C-n p w d e c h o SPC n o w SPC i t SPC i s SPC s e t p w d d a t e 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 ) C-y M-b M-b M-b ( s e t q SPC C-e SPC n i L ) l ) C-x C-e C-x C-e p w d 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