emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

turning off (or enhancing) a couple of new features


From: Joe Corneli
Subject: turning off (or enhancing) a couple of new features
Date: Fri, 25 Mar 2005 19:29:18 -0600

In the NEWS file it says

  ** TeX modes:
  [...]
  *** verbatim environments are now highlighted in courier by font-lock
  and super/sub-scripts are made into super/sub-scripts.

Some people, including me, find such behavior bizarre, and prefer
to have it off.

Turning it off can be accomplished by running:

 (setq font-lock-maximum-decoration 
       '((tex-mode . 2) (latex-mode . 2) (t . t)))

However, this is not documented specifically anywhere in the manuals
or docstrings (at least not that I am aware of), and I had to ask
on help-gnu-emacs to learn how to get things back to "normal".

I would like to suggest that the documentation be adjusted to
make it more obvious how to get the "normal" (old) behavior.

(And perhaps there could be a slightly more compact way of doing it
thrown together.)


Also, the NEWS file documents changes to the `undo' mechanism,

  ** When the undo information of the current command gets really large
  (beyond the value of `undo-outer-limit'), Emacs discards it and warns
  you about it.

In fact, Emacs doesn't just warn me, I think it actually prompts me and asks if
I think it is OK to discard the information.  I always say yes, and I would like
to know how to get it to always just *silently* throw the undo information away.
According to the documentation I read, it is basically essential that the info
be jettisoned whenever we get beyond `undo-outer-limit', so I don't see why I
should be asked/told about it.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]