emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug in emphasis fontification
@ 2017-12-01 18:31 Kaushal Modi
  2017-12-02 22:30 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Kaushal Modi @ 2017-12-01 18:31 UTC (permalink / raw)
  To: emacs-org list


[-- 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 --]

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

* Re: Bug in emphasis fontification
  2017-12-01 18:31 Bug in emphasis fontification Kaushal Modi
@ 2017-12-02 22:30 ` Nicolas Goaziou
  2017-12-04 16:18   ` Kaushal Modi
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2017-12-02 22:30 UTC (permalink / raw)
  To: Kaushal Modi; +Cc: emacs-org list

Hello,

Kaushal Modi <kaushal.modi@gmail.com> writes:

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

Hopefully fixed. Thank you.

Regards,

-- 
Nicolas Goaziou

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

* Re: Bug in emphasis fontification
  2017-12-02 22:30 ` Nicolas Goaziou
@ 2017-12-04 16:18   ` Kaushal Modi
  0 siblings, 0 replies; 3+ messages in thread
From: Kaushal Modi @ 2017-12-04 16:18 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-org list

[-- Attachment #1: Type: text/plain, Size: 166 bytes --]

On Sat, Dec 2, 2017 at 5:30 PM Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:

> Hopefully fixed. Thank you.
>

Yes, I confirm the fix. Thank you!
-- 

Kaushal Modi

[-- Attachment #2: Type: text/html, Size: 547 bytes --]

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

end of thread, other threads:[~2017-12-04 16:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-01 18:31 Bug in emphasis fontification Kaushal Modi
2017-12-02 22:30 ` Nicolas Goaziou
2017-12-04 16:18   ` Kaushal Modi

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