emacs-devel
[Top][All Lists]
Advanced

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

why does occur depropertize matching lines?


From: Drew Adams
Subject: why does occur depropertize matching lines?
Date: Tue, 5 Oct 2004 16:45:35 -0700

Don't want to start a holy war. Just a question.

Occur now depropertizes the matching lines it copies to the occur buffer.
Why?

Previously (at least in Emacs 20), this wasn't done, and font-lock
highlighting from the source buffer could often provide visual info in the
occur buffer. For example, with font-lock on in Emacs Lisp mode, it's a lot
easier to see that a line is commented-out by its color than by checking to
see if the line starts with ";".

Imagine several similar lines, some of which are commented out. I wager that
with the depropertized occur buffer you will spend more time clicking and
checking which line is which -- or at least spend more time checking for the
";" at the beginning of a line. If the highlighting is transferred to the
occur buffer, you have a lot more visual feedback to go on.

My 2 cents. I'm sure there are good reasons for the change.

 - Drew





reply via email to

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