From unknown Sat Aug 16 19:15:17 2025 X-Loop: don@donarmstrong.com Subject: bug#490: 23.0.60; color-theme breaks input in *shell* buffer Reply-To: robert marshall , 490@debbugs.gnu.org Resent-From: robert marshall Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 27 Jun 2008 12:20:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 490 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12145687056931 (code B ref -1); Fri, 27 Jun 2008 12:20:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.4 required=4.0 tests=AWL,BAYES_00,FOURLA, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 27 Jun 2008 12:11:45 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5RCBa7t006925 for ; Fri, 27 Jun 2008 05:11:37 -0700 Received: from mail.gnu.org ([199.232.76.166]:59889 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KCCnV-0007nR-Dt for emacs-pretest-bug@gnu.org; Fri, 27 Jun 2008 08:11:25 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KCCnc-0005ik-4I for emacs-pretest-bug@gnu.org; Fri, 27 Jun 2008 08:11:35 -0400 Received: from tranquility.mcc.ac.uk ([130.88.200.145]:62768) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KCCnb-0005hg-Lv for emacs-pretest-bug@gnu.org; Fri, 27 Jun 2008 08:11:31 -0400 Received: from ipsa-gw.capcis.umist.ac.uk ([130.88.144.65] helo=rajm-laptop.tnei.co.uk) by tranquility.mcc.ac.uk with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KCCnW-000LTW-2s for emacs-pretest-bug@gnu.org; Fri, 27 Jun 2008 13:11:26 +0100 Date: Fri, 27 Jun 2008 13:11:26 +0100 Message-Id: <8763rvdqmp.fsf@tnei.co.uk> From: robert marshall To: emacs-pretest-bug@gnu.org X-UoM: Scanned by the University Mail System. See http://www.itservices.manchester.ac.uk/email/filtering/information/ for details. X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) Downloaded color-theme from http://download.gna.org/color-theme/ (and added the directory to the load path and compiled the elc) If I then start a freshly built emacs from cvs and M-x shell M-x load-library color-theme M-x color-theme-select select a theme and then click the quit 'button' which takes you back to *shell* typing pwd (or indeed anything) at a shell prompt (and return) will produce no output and an error message in the echo area: comint-snapshot-last-prompt: Wrong type argument: integer-or-marker-p, nil where it is attempting: add-text-properties(nil nil (font-lock-face comint-highlight-prompt)) In GNU Emacs 23.0.60.3 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of 2008-06-27 on rajm-laptop Windowing system distributor `The X.Org Foundation', version 11.0.10400090 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: en_GB.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: shell-dirtrack-mode: t recentf-mode: t show-paren-mode: t tooltip-mode: t tool-bar-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 global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: x s h e l l x l o a d - l i b c o l o r - t h x c o l o r - t h s e p w d x s e t - v a r d e b u g - o n e t Recent messages: Cleaning up the recentf list...done (0 removed) Preparing diary... No diary entries for Friday, 27 June 2008 Loading color-theme...done Making completion list... Loading /home/rajm/elisp/color-theme-6.6.0/themes/color-theme-example.el (source)...done Loading /home/rajm/elisp/color-theme-6.6.0/themes/color-theme-library.el (source)...done comint-snapshot-last-prompt: Wrong type argument: integer-or-marker-p, nil Entering debugger... Loading vc-cvs...done From unknown Sat Aug 16 19:15:17 2025 X-Loop: don@donarmstrong.com Subject: bug#490: 23.0.60; color-theme breaks input in *shell* buffer Reply-To: Glenn Morris , 490@debbugs.gnu.org Resent-From: Glenn Morris Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 01 Jul 2008 00:15:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 490 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 490-submit@emacsbugs.donarmstrong.com id=B490.121487081320084 (code B ref 490); Tue, 01 Jul 2008 00:15:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-11.1 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 490) by emacsbugs.donarmstrong.com; 1 Jul 2008 00:06:53 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6106nir020078 for <490@emacsbugs.donarmstrong.com>; Mon, 30 Jun 2008 17:06:51 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KDTOE-0006dy-5f; Mon, 30 Jun 2008 20:06:34 -0400 From: Glenn Morris To: robert marshall Cc: 490@debbugs.gnu.org References: <8763rvdqmp.fsf@tnei.co.uk> X-Spook: SEAL Team 6 rs9512c AK-47 Uzi Steve Case AMW kibo CDMA X-Ran: jGx+#z2/*)QU:t\6b+kN\ (robert marshall's message of "Fri, 27 Jun 2008 13:11:26 +0100") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > Downloaded color-theme from http://download.gna.org/color-theme/ > (and added the directory to the load path and compiled the elc) > > If I then start a freshly built emacs from cvs and > M-x shell > M-x load-library color-theme > M-x color-theme-select > select a theme and then click the quit 'button' > which takes you back to *shell* typing pwd (or indeed anything) > at a shell prompt (and return) will produce no output and an error > message in the echo area: > > comint-snapshot-last-prompt: Wrong type argument: integer-or-marker-p, nil > > where it is attempting: > > add-text-properties(nil nil (font-lock-face comint-highlight-prompt)) This is a bug in color-theme. color-theme-install-at-point is stomping over all the overlays in a buffer. It should be more careful about which buffer it is in, and should restrict itself to goto-address overlays, eg by using goto-address-unfontify. From rgm@gnu.org Mon Nov 30 13:46:47 2009 Received: (at control) by emacsbugs.donarmstrong.com; 30 Nov 2009 21:46:47 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.7 required=4.0 tests=AWL,ONEWORD,VALID_BTS_CONTROL autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAULkjmj029601 for ; Mon, 30 Nov 2009 13:46:47 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1NFE4z-0002d6-6T; Mon, 30 Nov 2009 16:46:45 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19220.15685.127098.612370@fencepost.gnu.org> Date: Mon, 30 Nov 2009 16:46:45 -0500 From: Glenn Morris To: control Subject: control reassign 490 notemacs reassign 2488 notemacs reassign 877 notemacs reassign 3988 emacs reassign 485 notemacs reassign 1683 notemacs reassign 1763 notemacs merge 1763 1683 close 1683 reassign 1036 notemacs reassign 92 emacs,gnus reassign 4540 emacs,ns reassign 4566 emacs,ns severity 4566 minor reassign 485 notemacs severity 5069 minor From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 26 16:59:10 2011 Received: (at control) by debbugs.gnu.org; 26 Feb 2011 21:59:11 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PtSAQ-0006jv-IJ for submit@debbugs.gnu.org; Sat, 26 Feb 2011 16:59:10 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PtSAO-0006jb-K3 for control@debbugs.gnu.org; Sat, 26 Feb 2011 16:59:08 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1PtSAJ-0000Rp-JY for control@debbugs.gnu.org; Sat, 26 Feb 2011 16:59:03 -0500 Date: Sat, 26 Feb 2011 16:59:03 -0500 Message-Id: Subject: control message for bug 490 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) close 490