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

> (...) I think maybe the only manual change needed is in the Elisp
> manual (...)

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?  This is why Emacs
Manual, not Elisp, not Elisp introduction etc., needs a simply written
line about it.  Patch for Elisp manual is nice, but for advanced
users.  Maybe something like (11.12(PDF) or 14.12(info) Font Lock mode
- 1st paragraph):

(...)
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.
    Font Lock mode is enabled by default.  To toggle it in the current
(...)

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

> 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.
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.

S. U.





  parent reply	other threads:[~2019-04-22 20:03 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 [this message]
2019-04-22 20:59     ` Noam Postavsky
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=e088307d-07ec-3a05-cc5b-5282080714e3@gmail.com \
    --to=mrsebastianurban@gmail.com \
    --cc=35044@debbugs.gnu.org \
    --cc=npostavs@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.