all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: robert marshall <robert.marshall@tnei.co.uk>
Cc: 490@emacsbugs.donarmstrong.com
Subject: bug#490: 23.0.60; color-theme breaks input in *shell* buffer
Date: Mon, 30 Jun 2008 20:06:34 -0400	[thread overview]
Message-ID: <jtbq1ixyb9.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <8763rvdqmp.fsf@tnei.co.uk> (robert marshall's message of "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))

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.






      reply	other threads:[~2008-07-01  0:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-27 12:11 bug#490: 23.0.60; color-theme breaks input in *shell* buffer robert marshall
2008-07-01  0:06 ` Glenn Morris [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jtbq1ixyb9.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=490@emacsbugs.donarmstrong.com \
    --cc=robert.marshall@tnei.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.