all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 23.0.60; c-mode advices font-lock-after-change-function?
@ 2008-03-22 16:23 Lennart Borgman (gmail)
  2008-03-22 16:32 ` Stefan Monnier
  2008-03-22 21:46 ` Richard Stallman
  0 siblings, 2 replies; 6+ messages in thread
From: Lennart Borgman (gmail) @ 2008-03-22 16:23 UTC (permalink / raw)
  To: emacs-pretest-bug

It looks like c-mode advices font-lock-after-change-function. To see this do

   emacs -Q
   ;; move to *scratch* buffer
   C-h f font-lock-after-change-function
   M-x c-mode
   C-h f font-lock-after-change-function



In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
  of 2008-03-21
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags 
-Ic:/g/include -fno-crossjumping'

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: ENU
   value of $XMODIFIERS: nil
   locale-coding-system: cp1252
   default-enable-multibyte-characters: t

Major mode: C/l

Minor modes in effect:
   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-compression-mode: t
   line-number-mode: t
   abbrev-mode: t




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 23.0.60; c-mode advices font-lock-after-change-function?
  2008-03-22 16:23 23.0.60; c-mode advices font-lock-after-change-function? Lennart Borgman (gmail)
@ 2008-03-22 16:32 ` Stefan Monnier
  2008-03-22 23:11   ` Alan Mackenzie
  2008-03-22 21:46 ` Richard Stallman
  1 sibling, 1 reply; 6+ messages in thread
From: Stefan Monnier @ 2008-03-22 16:32 UTC (permalink / raw)
  To: Lennart Borgman (gmail); +Cc: emacs-pretest-bug, Alan Mackenzie

> It looks like c-mode advices font-lock-after-change-function. To see this do

Indeed, see http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=13


        Stefan




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 23.0.60; c-mode advices font-lock-after-change-function?
  2008-03-22 16:23 23.0.60; c-mode advices font-lock-after-change-function? Lennart Borgman (gmail)
  2008-03-22 16:32 ` Stefan Monnier
@ 2008-03-22 21:46 ` Richard Stallman
  1 sibling, 0 replies; 6+ messages in thread
From: Richard Stallman @ 2008-03-22 21:46 UTC (permalink / raw)
  To: Lennart Borgman (gmail); +Cc: bug-cc-mode, emacs-pretest-bug

    It looks like c-mode advices font-lock-after-change-function. To see this do

       emacs -Q
       ;; move to *scratch* buffer
       C-h f font-lock-after-change-function
       M-x c-mode
       C-h f font-lock-after-change-function

It is not a good thing for parts of Emacs to advise other parts.
What is the reason for this?




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 23.0.60; c-mode advices font-lock-after-change-function?
  2008-03-22 16:32 ` Stefan Monnier
@ 2008-03-22 23:11   ` Alan Mackenzie
  2008-03-23  0:38     ` Stefan Monnier
  0 siblings, 1 reply; 6+ messages in thread
From: Alan Mackenzie @ 2008-03-22 23:11 UTC (permalink / raw)
  To: Lennart Borgman (gmail), Stefan Monnier
  Cc: emacs-pretest-bug, Richard Stallman

Hi, Lennart and Stefan,

On Sat, Mar 22, 2008 at 12:32:21PM -0400, Stefan Monnier wrote:
> > It looks like c-mode advices font-lock-after-change-function.

It does.  However, it needn't, at least not in Emacs >= 22.  The right
thing seems to be font-lock-extend-after-change-region-function here.
I'll get it done soon, well before Emacs 22.3.

[A point of English usage, Lennart:  "advice" is a noun; the
corresponding verb is "to advise".]

>         Stefan

-- 
Alan Mackenzie (Nuremberg, Germany).




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 23.0.60; c-mode advices font-lock-after-change-function?
  2008-03-22 23:11   ` Alan Mackenzie
@ 2008-03-23  0:38     ` Stefan Monnier
  2008-04-06 21:47       ` Alan Mackenzie
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan Monnier @ 2008-03-23  0:38 UTC (permalink / raw)
  To: Alan Mackenzie
  Cc: emacs-pretest-bug, Lennart Borgman (gmail), Richard Stallman

>> > It looks like c-mode advices font-lock-after-change-function.

> It does.  However, it needn't, at least not in Emacs >= 22.  The right
> thing seems to be font-lock-extend-after-change-region-function here.
> I'll get it done soon, well before Emacs 22.3.

Thank you,


        Stefan




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 23.0.60; c-mode advices font-lock-after-change-function?
  2008-03-23  0:38     ` Stefan Monnier
@ 2008-04-06 21:47       ` Alan Mackenzie
  0 siblings, 0 replies; 6+ messages in thread
From: Alan Mackenzie @ 2008-04-06 21:47 UTC (permalink / raw)
  To: Stefan Monnier
  Cc: emacs-pretest-bug, Lennart Borgman (gmail), Richard Stallman

Hi, Stefan

On Sat, Mar 22, 2008 at 08:38:13PM -0400, Stefan Monnier wrote:
> >> > It looks like c-mode advices font-lock-after-change-function.

> > It does.  However, it needn't, at least not in Emacs >= 22.  The right
> > thing seems to be font-lock-extend-after-change-region-function here.
> > I'll get it done soon, well before Emacs 22.3.

DONE, both in the Emacs 22 branch and the trunk.

> Thank you,

>         Stefan

-- 
Alan Mackenzie (Nuremberg, Germany).




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-04-06 21:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-22 16:23 23.0.60; c-mode advices font-lock-after-change-function? Lennart Borgman (gmail)
2008-03-22 16:32 ` Stefan Monnier
2008-03-22 23:11   ` Alan Mackenzie
2008-03-23  0:38     ` Stefan Monnier
2008-04-06 21:47       ` Alan Mackenzie
2008-03-22 21:46 ` Richard Stallman

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.