From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#490: 23.0.60; color-theme breaks input in *shell* buffer Date: Mon, 30 Jun 2008 20:06:34 -0400 Message-ID: References: <8763rvdqmp.fsf@tnei.co.uk> Reply-To: Glenn Morris , 490@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1214872050 22856 80.91.229.12 (1 Jul 2008 00:27:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Jul 2008 00:27:30 +0000 (UTC) Cc: 490@emacsbugs.donarmstrong.com To: robert marshall Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 01 02:28:15 2008 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 1KDTjD-0003FL-HS for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Jul 2008 02:28:15 +0200 Original-Received: from localhost ([127.0.0.1]:43963 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KDTiN-0002nR-0q for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Jun 2008 20:27:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KDTiI-0002ml-R4 for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2008 20:27:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KDTiG-0002ka-BZ for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2008 20:27:17 -0400 Original-Received: from [199.232.76.173] (port=58130 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KDTiG-0002kX-5a for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2008 20:27:16 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:58833) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KDTiF-0008HX-MQ for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2008 20:27:15 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m610RCZK024844; Mon, 30 Jun 2008 17:27:12 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m610F368021395; Mon, 30 Jun 2008 17:15:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Glenn Morris Resent-To: bug-submit-list@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: Original-Received: via spool by 490-submit@emacsbugs.donarmstrong.com id=B490.121487081320084 (code B ref 490); Tue, 01 Jul 2008 00:15:03 +0000 Original-Received: (at 490) by emacsbugs.donarmstrong.com; 1 Jul 2008 00:06:53 +0000 Original-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 Original-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 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") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Mon, 30 Jun 2008 20:27:17 -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:18585 Archived-At: > 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.