From: Madhu <enometh@meer.net>
To: help-gnu-emacs@gnu.org
Subject: Re: colours lost
Date: Sat, 06 Jul 2019 21:03:44 +0530 [thread overview]
Message-ID: <m3a7drtbxj.fsf@leonis4.robolove.meer.net> (raw)
In-Reply-To: <CAM-tV-9rsqFrrX31dB66m=h6cfW7HrawvhUCLXMtUUqYos78=g@mail.gmail.com> (Noam Postavsky's message of "Wed, 15 May 2019 09:31:42 -0400")
* Noam Postavsky <CAM-tV-9rsqFrrX31dB66m=h6cfW7HrawvhUCLXMtUUqYos78=g@mail.gmail.com> :
Wrote on Wed, 15 May 2019 09:31:42 -0400:
> On Wed, 15 May 2019 at 09:15, Madhu <enometh@meer.net> wrote:
>
>> I haven't figured out what triggers the problem yet, but the clue is
>> it is related to global-font-lock-mode.
>>
>> When the problem described occurs, global-font-lock-mode is t.
>>
>> C-u C-x = on a piece of text which shows the bold face in the *Faces*
>> buffer shows:
>> ,----
>> | There are text properties here:
>> | button (t)
>> | category help-face-button
>> | fontified t
>> | help-args (bold)
>> | read-face-name bold
>> `----
>>
>> After setting (global-font-lock-mode -1) and reverting *Faces* restores
>> the list-faces-display as expected.
>>
>> Now C-u C-x = shows
>> ,----
>> | There are text properties here:
>> | button (t)
>> | category help-face-button
>> | face bold
>> | help-args (bold)
>> | read-face-name bold
>> `----
>>
>> So When the problem occurs all text is "fontified" and faces seem to
>> be ignored.
>
> Sounds like it could be another instance of Bug#35481. Maybe you are
> enabling some minor mode which calls font-lock-add-keywords or
> similar?
>
> See https://debbugs.gnu.org/35481 and also https://debbugs.gnu.org/35044.
I've extracted one twisted test case from my .emacs and it is something
of a mystery.
;; Put this form in a file, say f.el
(eval-after-load 'gnus-sum
'(progn
(defadvice gnus-summary-save-article (after rmail-label-prompter-advice activate)
(if (eq gnus-default-article-saver 'gnus-summary-save-in-rmail)
(message "foo")
(message "bar"))) ))
Then open a file which does not autoload org-mode but which can be
converted to org-mode. For example I use hyperbole's DEMO file:
emacs -Q -eval '(list-colors-display)' -l f.el ~/elisp/pkg/hyperbole/DEMO
Then with DEMO as the current buffer, do M-x org-mode
Then M-x list-colors-display shows my colours are gone.
(gnus-default-article-saver is a variable defined n gnus-art and may not
be defined when gnus-sum is loaded.)
[Unrelated notes]
1 Although this mailing list is being propagated to the usenet group, the
posts on the usenet group do not seem to make it to the mailing list.
2 Setting mail-user-agent to message-user-agent instead of
sendmail-user-agent drops all the References headers when replying to a
mail from a gnus summary buffer.
--
next prev parent reply other threads:[~2019-07-06 15:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-14 7:10 colours lost Madhu
2019-02-14 14:35 ` Eli Zaretskii
2019-05-15 11:28 ` Madhu
2019-05-15 13:31 ` Noam Postavsky
2019-07-06 15:33 ` Madhu [this message]
[not found] ` <mailman.339.1562429193.2688.help-gnu-emacs@gnu.org>
2019-07-14 12:27 ` Madhu
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=m3a7drtbxj.fsf@leonis4.robolove.meer.net \
--to=enometh@meer.net \
--cc=help-gnu-emacs@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 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.