unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: [drew.adams@oracle.com: customizing hl-line-face should reset global-hl-line-overlay to nil]
Date: Mon, 28 Aug 2006 11:03:55 -0700	[thread overview]
Message-ID: <EIENLHALHGIMHGDOLMIMIEODCKAA.drew.adams@oracle.com> (raw)
In-Reply-To: <87u03wbx6e.fsf@stupidchicken.com>

    >     > However, please see my other email about using a face instead
    >     > of a user option (variable). Wouldn't that also take
    >     > care of this problem? That is, if there is no face variable,
    >     > and users change the face itself, then that would be
    >     > immediately reflected in the overlay, no?
    >
    >     It would.  But it would break other people's
    >     customizations as well.
    >
    > Do you really think that would affect a lot of people
    > negatively? I don't. I think that most users of hl-line
    > (both of them ;-)) will appreciate having a face to customize.

    I suspect the users who care about "having a face to customize" forms
    is an even smaller subset than those that will get annoyed by having
    their existing customizations break.  Note that hl-line-mode has been
    in Emacs since 1999.

    I think Martin's patch is correct.

I disagree, obviously. The users who might have customized that variable did
so precisely because the face that was its default value was inappropriate
for them. Some might even have created a new face to use, because no
existing face was appropriate. They are quite likely to be users who do care
about having a face to customize. This was a poor design from the beginning,
and it should be corrected, giving users a better way to customize the
feature, even at the minor cost of making them change their existing,
workaround customizations.

But if others agree with you that this is a big problem, then the face
should be added but the variable still left in place, with its default value
changed to the new face, instead of `highlight'. That (including Martin's
correction) makes the code much more complex than is necessary; I hope
others do not agree with you about this.

  reply	other threads:[~2006-08-28 18:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-28  9:51 [drew.adams@oracle.com: customizing hl-line-face should reset global-hl-line-overlay to nil] Richard Stallman
2006-08-28 14:04 ` martin rudalics
2006-08-28 15:15   ` Drew Adams
2006-08-28 15:44     ` martin rudalics
2006-08-28 16:15       ` Drew Adams
2006-08-28 17:13         ` Chong Yidong
2006-08-28 18:03           ` Drew Adams [this message]
2006-08-29 11:47   ` Richard Stallman
2006-08-29 13:28     ` Chong Yidong
2006-08-29 13:42       ` [drew.adams@oracle.com: customizing hl-line-face should resetglobal-hl-line-overlay " Drew Adams

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=EIENLHALHGIMHGDOLMIMIEODCKAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).