all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: JD Smith <jdsmith@as.arizona.edu>
To: emacs-devel@gnu.org
Subject: Re: Font-lock in COMINT modes (again)
Date: Wed, 31 Jan 2007 18:06:07 -0700	[thread overview]
Message-ID: <pan.2007.02.01.01.06.04.974507@as.arizona.edu> (raw)
In-Reply-To: pan.2007.01.23.20.46.18.44709@as.arizona.edu

On Tue, 23 Jan 2007 13:46:18 -0700, JD Smith wrote:

> At the time I proposed this simple patch to fix this:
> 
> *** comint.el	28 Nov 2006 11:25:56 -0700	1.350 --- comint.el	07 Dec 2006
> 10:54:48 -0700 ***************
> *** 653,659 ****
>     (make-local-variable 'comint-accum-marker) (setq comint-accum-marker
>     (make-marker)) (make-local-variable 'font-lock-defaults)
> !   (setq font-lock-defaults '(nil))
>     (add-hook 'change-major-mode-hook 'font-lock-defontify nil t) ;; This
>     behavior is not useful in comint buffers, and is annoying (set
>     (make-local-variable 'next-line-add-newlines) nil))
> --- 653,659 ----
>     (make-local-variable 'comint-accum-marker) (setq comint-accum-marker
>     (make-marker)) (make-local-variable 'font-lock-defaults)
> !   (setq font-lock-defaults '(nil t))
>     (add-hook 'change-major-mode-hook 'font-lock-defontify nil t) ;; This
>     behavior is not useful in comint buffers, and is annoying (set
>     (make-local-variable 'next-line-add-newlines) nil))
> 
> Should I install it?  We concluded that it would not result in any
> performance penalty, and I assume (but don't know, never used it) the
> facemenu issue the original change addresses wouldn't be adversely
> affected.

This patch has now been checked in.

      reply	other threads:[~2007-02-01  1:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-23 20:46 Font-lock in COMINT modes (again) JD Smith
2007-02-01  1:06 ` JD Smith [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=pan.2007.02.01.01.06.04.974507@as.arizona.edu \
    --to=jdsmith@as.arizona.edu \
    --cc=emacs-devel@gnu.org \
    /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.