GNU bug report logs - #490
23.0.60; color-theme breaks input in *shell* buffer

Previous Next

Package: notemacs;

Reported by: robert marshall <robert.marshall <at> tnei.co.uk>

Date: Fri, 27 Jun 2008 12:20:04 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.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 490 in the body.
You can then email your comments to 490 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#490; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to robert marshall <robert.marshall <at> tnei.co.uk>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

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

From: robert marshall <robert.marshall <at> tnei.co.uk>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; color-theme breaks input in *shell* buffer
Date: Fri, 27 Jun 2008 13:11:26 +0100
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:
<escape> x s h e l l <return> <escape> x l o a d - 
l i b <return> c o l o r - t h <tab> <return> <escape> 
x c o l o r - t h <tab> s <tab> e <tab> <return> <down-mouse-2> 
<mouse-2> <down-mouse-2> <mouse-2> p w d <return> <escape> 
x s e t - v a r <return> d e b u g - o n <tab> e <tab> 
<return> t <return> <return> <help-echo> <help-echo> 
<down-mouse-2> <mouse-2> <help-echo> <help-echo> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<up> <up> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar> 
<help-menu> <send-emacs-bug-report>

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




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#490; Package emacs. Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: robert marshall <robert.marshall <at> tnei.co.uk>
Cc: 490 <at> debbugs.gnu.org
Subject: Re: bug#490: 23.0.60; color-theme breaks input in *shell* buffer
Date: Mon, 30 Jun 2008 20:06:34 -0400
> 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.




bug reassigned from package `emacs' to `color-theme'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Tue, 01 Jul 2008 00:15:04 GMT) Full text and rfc822 format available.

bug reassigned from package 'color-theme' to 'notemacs'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Mon, 30 Nov 2009 21:55:08 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 490 <at> debbugs.gnu.org and robert marshall <robert.marshall <at> tnei.co.uk> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 26 Feb 2011 22:00:04 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. (Sun, 27 Mar 2011 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 145 days ago.

Previous Next


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