unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Problem with disappearing "table-cell" face.
@ 2019-03-26 21:27 Sebastian Urban
  2019-03-27  8:01 ` tomas
  2019-03-27 12:00 ` Stefan Monnier
  0 siblings, 2 replies; 7+ messages in thread
From: Sebastian Urban @ 2019-03-26 21:27 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

I'm beginner in the world of Emacs and I have a problem with
disappearing 'table-cell' face in Text-based Tables.  I'm using:
Windows 7, GNU Emacs 25.2.1 (i686-w64-mingw32) of 2017-04-24.  I did
test with '-q' option and with version 26.1 - no difference.

In 'Fundamental' or 'Text' mode when I do 'table-insert' or
'table-recognize' I end up with highlighted cells, but it does not
happen when I'm in 'Outline' mode or in *scratch* buffer - cells are
recognized, but they have 'default' face.  If I switch from 'Outline'
to 'Text' mode while being in recognized table and start "TABing",
cells will be highlighted one by one OR will lost highlight all at
once with switch in opposite direction ('Text' to 'Outline' mode).

Is this normal behaviour, do modes with syntax highlighting
override(?) faces from other environment like table?

S. U.



^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: Problem with disappearing "table-cell" face.
@ 2019-03-28 15:10 Sebastian Urban
  2019-03-29  1:55 ` Stefan Monnier
  0 siblings, 1 reply; 7+ messages in thread
From: Sebastian Urban @ 2019-03-28 15:10 UTC (permalink / raw)
  To: help-gnu-emacs

Thank you for clarifying control 'font-lock' has over faces.

As 'font-lock-face' did you mean group of faces starting with
'font-lock-*something*' for example 'font-lock-doc-face' or
'font-lock-type-face' and consequently instead of face named
'table-cell' it should be something like 'font-lock-table-cell'.
Or it is something completely different?

Because this looks like a bug from perspective of beginner, I think it
should be noted in 'GNU Emacs Manual' somewhere in chapter '11.12 Font
Lock mode'... or perhaps it is already there and I just missed it.

One more thing, what about 'hardcoded faces'? For example in 'Outline'
mode when I quote RET (C-q RET) in headline it will be described
(describe-char) by 'outline-1' face and hardcoded 'escape-glyph' but
it will be painted with the latter.  Hardcoded faces have highest
priority?

S. U.



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-03-29 15:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-26 21:27 Problem with disappearing "table-cell" face Sebastian Urban
2019-03-27  8:01 ` tomas
2019-03-27 12:00 ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2019-03-28 15:10 Sebastian Urban
2019-03-29  1:55 ` Stefan Monnier
2019-03-29 15:24   ` Sebastian Urban
2019-03-29 15:41     ` Stefan Monnier

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