From: Kaushal Modi <kaushal.modi@gmail.com>
To: emacs-org list <emacs-orgmode@gnu.org>
Subject: Bug in emphasis fontification
Date: Fri, 01 Dec 2017 18:31:20 +0000 [thread overview]
Message-ID: <CAFyQvY0UChHOatFkuhhbj+KChb=rTUHxDaeWz_t4o9fioC_oFw@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 681 bytes --]
Hello,
I believe that the recent fontification rules still need tweaking.
Here's a MWE:
=====
*bold*
=====
Here's a more detailed version:
=====
*bold*
^ above does not work
*bold* this works at the time of typing.
But on saving and doing =revert-buffer=, the fontification goes away.
This *bold* fontification stays (starting emph char *and* ending emph char
not at BOL/EOL).
Looks like fontification is lost if emphasis chars are at BOL or EOL.
=====
It looks like this (attached).. notice that the *bold* fontification works
only when the emph chars are neither at BOL nor at EOL. The same issue is
with all emphasis variants: italics, code, verbatim.
--
Kaushal Modi
[-- Attachment #1.2: Type: text/html, Size: 959 bytes --]
[-- Attachment #2: image.png --]
[-- Type: image/png, Size: 23848 bytes --]
next reply other threads:[~2017-12-01 18:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-01 18:31 Kaushal Modi [this message]
2017-12-02 22:30 ` Bug in emphasis fontification Nicolas Goaziou
2017-12-04 16:18 ` Kaushal Modi
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.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAFyQvY0UChHOatFkuhhbj+KChb=rTUHxDaeWz_t4o9fioC_oFw@mail.gmail.com' \
--to=kaushal.modi@gmail.com \
--cc=emacs-orgmode@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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.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).