emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: emphasis crosses quotation marks [9.0.9 (release_9.0.9 @ /usr/new/share/emacs/26.0.50/lisp/org/)]
@ 2017-07-30 22:09 Mike Kupfer
  2017-08-01 16:52 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Kupfer @ 2017-07-30 22:09 UTC (permalink / raw)
  To: emacs-orgmode

In Emacs master ("GNU Emacs 26.0.50 (build 3, x86_64-pc-linux-gnu, X
toolkit, Xaw scroll bars) of 2017-07-30", git changeset c8f44e4b; Org
mode 9.0.9), I get strikeout text from "+" to "+" in

    "+" word "+"

(I also see the strikeout with "emacs -Q".)

In Emacs 25.2 (Org mode 8.2.10), that line does not get strikeout text.

I would not expect emphasis to cross quotation marks.  And it makes
sections of my MH-E Todo file pretty much unreadable, because of text
like

  So should mh-normalize-folder-name treat "+/" the same as "+", or
  should its callers special-case "+" (after normalization)?

Please restore the (single and double) quotation marks that used to be
in the "border" section of org-emphasis-regexp-components.  And perhaps
the comma should be restored, too?

thanks,
mike

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

* Re: Bug: emphasis crosses quotation marks [9.0.9 (release_9.0.9 @ /usr/new/share/emacs/26.0.50/lisp/org/)]
  2017-07-30 22:09 Bug: emphasis crosses quotation marks [9.0.9 (release_9.0.9 @ /usr/new/share/emacs/26.0.50/lisp/org/)] Mike Kupfer
@ 2017-08-01 16:52 ` Nicolas Goaziou
  2017-08-02  1:18   ` Mike Kupfer
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2017-08-01 16:52 UTC (permalink / raw)
  To: Mike Kupfer; +Cc: emacs-orgmode

Hello,

Mike Kupfer <mkupfer@alum.berkeley.edu> writes:

> In Emacs master ("GNU Emacs 26.0.50 (build 3, x86_64-pc-linux-gnu, X
> toolkit, Xaw scroll bars) of 2017-07-30", git changeset c8f44e4b; Org
> mode 9.0.9), I get strikeout text from "+" to "+" in
>
>     "+" word "+"
>
> (I also see the strikeout with "emacs -Q".)
>
> In Emacs 25.2 (Org mode 8.2.10), that line does not get strikeout text.
>
> I would not expect emphasis to cross quotation marks.

This was done because it allows to write, e.g., ~C-x "~. See
<http://permalink.gmane.org/gmane.emacs.orgmode/102191>.

> Please restore the (single and double) quotation marks that used to be
> in the "border" section of org-emphasis-regexp-components.  And perhaps
> the comma should be restored, too?

You could use \quot entity, e.g., "+\quot word \quot+".

I cannot see a generic solution that can satisfy everyone here.


Regards,

-- 
Nicolas Goaziou

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

* Re: Bug: emphasis crosses quotation marks [9.0.9 (release_9.0.9 @ /usr/new/share/emacs/26.0.50/lisp/org/)]
  2017-08-01 16:52 ` Nicolas Goaziou
@ 2017-08-02  1:18   ` Mike Kupfer
  0 siblings, 0 replies; 3+ messages in thread
From: Mike Kupfer @ 2017-08-02  1:18 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode

Nicolas Goaziou wrote:

> Mike Kupfer <mkupfer@alum.berkeley.edu> writes:

> > I would not expect emphasis to cross quotation marks.
> 
> This was done because it allows to write, e.g., ~C-x "~. See
> <http://permalink.gmane.org/gmane.emacs.orgmode/102191>.
[...]
> I cannot see a generic solution that can satisfy everyone here.

Agreed.  I'll just turn off fontification.

regards,
mike

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

end of thread, other threads:[~2017-08-02  1:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-30 22:09 Bug: emphasis crosses quotation marks [9.0.9 (release_9.0.9 @ /usr/new/share/emacs/26.0.50/lisp/org/)] Mike Kupfer
2017-08-01 16:52 ` Nicolas Goaziou
2017-08-02  1:18   ` Mike Kupfer

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