all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@gmail.com>
To: Sebastian Urban <mrsebastianurban@gmail.com>
Cc: 35044@debbugs.gnu.org
Subject: bug#35044: 25.2; Description of "disappearing" faces (Emacs Manual)
Date: Mon, 22 Apr 2019 16:59:23 -0400	[thread overview]
Message-ID: <87a7ghsqms.fsf@gmail.com> (raw)
In-Reply-To: <e088307d-07ec-3a05-cc5b-5282080714e3@gmail.com> (Sebastian Urban's message of "Mon, 22 Apr 2019 22:03:18 +0200")

Sebastian Urban <mrsebastianurban@gmail.com> writes:

> I would like to remind that the target is someone new to Emacs or as
> I wrote before "(...) from perspective of *beginner* (...)".  Now,
> which Emacs beginner will look into Elisp manual?

> buffer’s major mode tells Font Lock mode which text to fontify; for
> instance, programming language modes fontify syntactically relevant
> -constructs like comments, strings, and function names.
> +constructs like comments, strings, and function names.  Any faces not
> +defined as font-lock-faces or by major mode will be ignored by Font
> +Lock mode, i.e. these faces will not be applied.

I'm unclear how this will help a beginner user.  It sounds like
it's describing a potential source of buggy behaviour.  But we don't
want the manual to excuse buggy behaviour, we rather want users to
report bugs.

> Maybe instead of "Any faces", "Most faces" should be used (I'm
> thinking about hardcoded faces for example).

Not sure what you mean by "hardcoded" faces.

>> If I understand correctly, this is rather a bug in table.el: it should
>> use 'font-lock-face instead of 'face, and then all this buggy
>> behaviour will go away.  Perhaps you'd like to send a patch?
>
> Wouldn't this change ('face -> 'font-lock-face) also kill main problem
> of this bug(#35044) - disappearing face?  Of course only for table.

Yes, I think so (that's what I meant by "all").

> Because if so, in addition to manual update, maybe a code update in
> table.el would be nice thing to do - kind of "2 for 1"?
>
> Unfortunately I'm last person who should do code updates right now -
> I didn't even finish first 14 chapters of Emacs manual... yet.

Jump in the deep end!  You'll learn faster that way :)







  reply	other threads:[~2019-04-22 20:59 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-29 19:43 bug#35044: 25.2; Description of "disappearing" faces (Emacs Manual) Sebastian Urban
2019-04-16 21:33 ` Sebastian Urban
2019-04-17 12:59   ` Basil L. Contovounesios
2019-04-19 20:19     ` Sebastian Urban
2019-04-17 17:03   ` Eli Zaretskii
2019-04-17 22:37     ` Noam Postavsky
2019-04-18  2:34       ` Eli Zaretskii
2019-04-19 20:32     ` Sebastian Urban
2019-04-19 21:47 ` Noam Postavsky
2019-04-20  6:23   ` Eli Zaretskii
2019-04-22 20:03   ` Sebastian Urban
2019-04-22 20:59     ` Noam Postavsky [this message]
2019-04-24 22:01       ` Sebastian Urban
2019-04-26 12:49         ` Noam Postavsky
2019-04-27 15:55           ` Sebastian Urban
2019-04-27 21:20             ` Noam Postavsky
2019-04-28 21:17               ` Sebastian Urban
2019-04-28 21:22                 ` Noam Postavsky

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=87a7ghsqms.fsf@gmail.com \
    --to=npostavs@gmail.com \
    --cc=35044@debbugs.gnu.org \
    --cc=mrsebastianurban@gmail.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 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.