all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "K. Richard Pixley" <rich@noir.com>
To: bug-gnu-emacs@gnu.org
Subject: Re: bug#7771: 23.1; can't turn off font-lock-mode globally
Date: Mon, 03 Jan 2011 10:33:46 -0800	[thread overview]
Message-ID: <4D22168A.5090200@noir.com> (raw)
In-Reply-To: <mailman.10.1294043026.27854.bug-gnu-emacs@gnu.org>

On 20110103 00:13, Drew Adams wrote:
>> compile (and grep) require font-lock to work.
>
> They did not used to require font locking.  This is a regression, a feature
> loss, if users are deprived of the Emacs `grep' and `compile' commands if they
> simply turn off font-locking.

I concur.  This is a sad regression.

> The added benefit users get from font-lock should just be a plus, not a
> requirement.  With font-lock turned off we should just not show any font-lock
> highlighting, nothing more.

As is, it's not a plus.  It simply makes those commands difficult to 
use.  You have to switch to the buffer and manually turn font locking 
off in them each time you create a pop up in order to view the pop up's 
contents.

(I haven't tried to set up a mode-local hook to do it.)

> Font lock was finally turned on by default globally (a change I support
> strongly).  But that should just be the _default_ behavior.  Font lock should
> not be required in order to compile or grep.

I think it could be a reasonable default if it were visible in all 
cases.  Since it's clearly not, it is, in my opinion, premature to turn 
on by default.

New users and people who are ignorant of the font lock system should not 
be presented with illegible screens nor be forced to learn the details 
of this system simply in order to use emacs.

IMO, that's intolerable and extremely embarrassing.  I can't very well 
advocate for emacs use when this is such a common occurrence.

> As the person who first added regexp highlighting to the Emacs `grep' command
> (my version), I know it is a definite plus.  But the implementation of the
> `grep' and `compile' commands should not _require_ font locking for users to be
> able to use the commands for their most important purpose.

Again, I strongly concur.

As a model, assume for a moment that "font-lock" meant "white characters 
on a white background".

--rich


  parent reply	other threads:[~2011-01-03 18:33 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-02 19:17 bug#7771: 23.1; can't turn off font-lock-mode globally K. Richard Pixley
2011-01-02 22:56 ` Leo
2011-01-02 23:19   ` K. Richard Pixley
2011-01-03  8:48     ` Leo
2011-01-02 23:49 ` Stefan Monnier
2011-01-03  0:27   ` K. Richard Pixley
2011-01-03  3:55     ` Stefan Monnier
2011-01-03  5:57       ` Glenn Morris
2011-01-03  6:00         ` Glenn Morris
     [not found]         ` <mailman.4.1294035825.27854.bug-gnu-emacs@gnu.org>
2011-01-03  6:56           ` K. Richard Pixley
2011-01-03  8:13       ` Drew Adams
2011-01-03 16:42       ` Lennart Borgman
2011-01-03 17:29         ` Drew Adams
2011-01-03 17:32           ` Lennart Borgman
2011-01-03 17:40             ` Drew Adams
     [not found]       ` <mailman.1.1294073635.27149.bug-gnu-emacs@gnu.org>
2011-01-03 18:40         ` K. Richard Pixley
2011-01-03 19:52           ` Eli Zaretskii
2011-01-03 20:29             ` K. Richard Pixley
2011-01-03 20:39               ` Eli Zaretskii
2011-01-03 21:02                 ` Lennart Borgman
2011-01-03 21:30                   ` K. Richard Pixley
2011-01-03 22:04                     ` Lennart Borgman
2011-01-03 22:14                       ` K. Richard Pixley
     [not found]               ` <mailman.3.1294088031.614.bug-gnu-emacs@gnu.org>
2011-01-03 22:27                 ` K. Richard Pixley
     [not found]     ` <mailman.1.1294028628.27854.bug-gnu-emacs@gnu.org>
2011-01-03 22:23       ` K. Richard Pixley
2011-01-04  4:05         ` Eli Zaretskii
2011-01-04  4:21           ` K. Richard Pixley
2011-01-03  0:29   ` K. Richard Pixley
2011-01-03  1:55     ` Glenn Morris
2011-01-03  3:21       ` Lennart Borgman
2011-01-03 13:04         ` Eli Zaretskii
     [not found]       ` <mailman.30.1294025024.15403.bug-gnu-emacs@gnu.org>
2011-01-03  4:10         ` K. Richard Pixley
2011-01-03  5:34           ` Stefan Monnier
2011-01-03  6:52             ` K. Richard Pixley
2011-01-03  8:13       ` Drew Adams
2011-01-03 13:43         ` Eli Zaretskii
2011-01-03 16:00           ` Drew Adams
2011-01-03 18:01             ` Eli Zaretskii
2011-01-03 18:09               ` Drew Adams
2011-01-03 18:26                 ` Eli Zaretskii
     [not found]         ` <mailman.1.1294062865.25287.bug-gnu-emacs@gnu.org>
2011-01-03 18:38           ` K. Richard Pixley
     [not found]       ` <mailman.10.1294043026.27854.bug-gnu-emacs@gnu.org>
2011-01-03 18:33         ` K. Richard Pixley [this message]
     [not found]     ` <mailman.22.1294021456.15403.bug-gnu-emacs@gnu.org>
2011-01-03  4:14       ` K. Richard Pixley
2011-01-03  0:31   ` K. Richard Pixley
2011-01-03  1:20   ` K. Richard Pixley
2011-01-03  1:54     ` Glenn Morris
2011-01-03  2:08       ` Glenn Morris

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=4D22168A.5090200@noir.com \
    --to=rich@noir.com \
    --cc=bug-gnu-emacs@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.