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.

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: robert marshall <robert.marshall <at> tnei.co.uk>
Cc: 490 <at> debbugs.gnu.org
Subject: 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.




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.