unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Arthur Miller <arthur.miller@live.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 53436@debbugs.gnu.org
Subject: bug#53436: 29.0.50; org-toggle-pretty-entities- does not work when toggled off
Date: Sun, 23 Jan 2022 15:15:51 +0100	[thread overview]
Message-ID: <AM9PR09MB49778F7A1EFF2B3FBF056CA1965D9@AM9PR09MB4977.eurprd09.prod.outlook.com> (raw)
In-Reply-To: <87czkiab81.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 23 Jan 2022 13:27:26 +0100")

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Arthur Miller <arthur.miller@live.com> writes:
>
>> Yes, and it should be. My brain was elswhere when I wrote that bug repport. It
>> is not org-toggle-pretty-entities that control emphasis, it is a variable:
>>
>> 'org-fontify-emphaiszed-test'.
>
> It's spelled org-fontify-emphasized-text -- perhaps that's the problem?

:-) No, I was just typed to write here, in M-: I use completion, and Emacs would
complain about void symbol. 

>> When set to nil it text should not be rendered in italiccs, bold etc, but it
>> still is. It is still a bug. Manual says that setting this variable to nil will
>> turn fontification for marked up text:
>>
>> https://orgmode.org/manual/Emphasis-and-Monospace.html
>>
>> I appologize for the confusion, I don't know what was with me, why I looked at
>> org-togge-pretty-entities at all.
>>
>>> from "emacs -Q"?
>>
>> Yes of course, I did it in emacs -Q both in repport and now.
>
> I tried:
>
> emacs -Q
> (setq org-fontify-emphasized-text nil)
> C-x C-f a.org RET
>
Yes, indeed, I expected it to work in same session, but it requires buffer to be
reverted for the setting to take the effect. I guess it was my expection that
was off here. I misred this:

 "To turn off fontification for marked up text, you can set
  org-fontify-emphasized-text to nil."

to work as a toggle, but it does not. I tested to call org-restart-font-lock,
but it didn't do anything. The only way seems to be to restart entire org-mode,
either via change to another mode or by reverting the buffer.

But close the bug repport. I guess it is not a bug. Thanks for the help.





  reply	other threads:[~2022-01-23 14:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-22  3:42 bug#53436: 29.0.50; org-toggle-pretty-entities- does not work when toggled off Arthur Miller
2022-01-22 11:55 ` Lars Ingebrigtsen
2022-01-22 21:04   ` Arthur Miller
2022-01-23 12:27     ` Lars Ingebrigtsen
2022-01-23 14:15       ` Arthur Miller [this message]
2022-01-24  9:09         ` Lars Ingebrigtsen

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=AM9PR09MB49778F7A1EFF2B3FBF056CA1965D9@AM9PR09MB4977.eurprd09.prod.outlook.com \
    --to=arthur.miller@live.com \
    --cc=53436@debbugs.gnu.org \
    --cc=larsi@gnus.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).