unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>, Drew Adams <drew.adams@oracle.com>
Cc: 24594@debbugs.gnu.org, clement.pit@gmail.com
Subject: bug#24594: 24.5; `variable-pitch-mode': accept FACE arg instead of hardcoding the face
Date: Mon, 3 Oct 2016 07:51:29 -0700 (PDT)	[thread overview]
Message-ID: <f41d2c82-3ca3-4753-a395-55f5773df896@default> (raw)
In-Reply-To: <<83d1jhplmf.fsf@gnu.org>>

> > > The variable-pitch face is a very general face: it stands for a face
> > > using any variable-pitch font, of which there are gazillions.
> >
> > A single face.
> 
> Yes, a mode that was made for using a single face.  There's nothing
> wrong about that.

Your statement was not about the mode, and neither was my reply to it.
It was about your claim that the face "stands for a face using any
variable-pitch font...".

How a face stands for a face, I don't know.  But there is nothing
more general about this face than any other face.  It, like others,
is entirely customizable.

Nor is it more restrictive than other faces.  As I mentioned, you
can easily customize it to NOT be variable-pitch.

> > The face is hard-coded in the command.  You cannot use the command
> > with a different face.  Being able to customize a face is something
> > else altogether.
> 
> Yes, I understood that the first time.  Reiterating this doesn't help
> in any way.

You mentioned the ability to customize the face as somehow obviating
the command being restrictive (hardcoded to one particular face).
I replied that customizing the face is something else altogether -
irrelevant here.

> > And no, there is nothing special about face `variable-pitch'.  In
> > particular, there is nothing that prevents you from customizing it
> > to a fixed-pitch face.
> 
> Of course.  But why would one want to do that?  It's like customizing
> a color named "black" to have the same appearance as "white".

Who said that one should want to do that?

Naming a face after any of its default attributes (e.g. `red-foreground')
is misguided.

But that's not the point here.  This was in reply to your statement that
face `variable-pitch' "stands for a face using any variable-pitch font."

It doesn't stand for any particular set of faces, at least not according
to the code.  It is just a face like another - entirely customizable.

It might be interesting to have a face whose customization is limited
to variable-pitch fonts.  But (so far anyway) `variable-pitch' is not
that face.

> Anyway, looks like one more of those arguments that go nowhere, so I'm
> out.

Likewise.  You brought in extraneous stuff, to which I replied,
hoping it might help.  I should know better by now, I guess.





      parent reply	other threads:[~2016-10-03 14:51 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-03  3:22 bug#24594: 24.5; `variable-pitch-mode': accept FACE arg instead of hardcoding the face Drew Adams
2016-10-03  3:39 ` Clément Pit--Claudel
2016-10-03  3:48   ` Drew Adams
2016-10-03  7:00     ` Eli Zaretskii
2016-10-05  0:16     ` npostavs
2016-10-05  3:28       ` Drew Adams
2016-10-05 12:29         ` npostavs
2016-10-05 15:14           ` Drew Adams
2016-10-05 15:32             ` Noam Postavsky
2016-10-05 15:51               ` Drew Adams
2016-10-05 21:43                 ` Noam Postavsky
2016-10-06 16:24                   ` Drew Adams
     [not found]   ` <<587cb6c7-44f8-4546-91ee-264416c965d6@default>
     [not found]     ` <<83oa31q5mr.fsf@gnu.org>
2016-10-03 13:36       ` Drew Adams
2016-10-03 14:12         ` Eli Zaretskii
2016-12-07 20:15           ` Glenn Morris
     [not found]   ` <<<587cb6c7-44f8-4546-91ee-264416c965d6@default>
     [not found]     ` <<<83oa31q5mr.fsf@gnu.org>
     [not found]       ` <<3a104ad1-ccf9-4b54-9773-e939d74aaac1@default>
     [not found]         ` <<83d1jhplmf.fsf@gnu.org>
2016-10-03 14:51           ` Drew Adams [this message]

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=f41d2c82-3ca3-4753-a395-55f5773df896@default \
    --to=drew.adams@oracle.com \
    --cc=24594@debbugs.gnu.org \
    --cc=clement.pit@gmail.com \
    --cc=eliz@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 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).