emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* bug: /italic/ sometimes fails
@ 2013-04-22 19:59 Bill White
  2013-04-22 20:29 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Bill White @ 2013-04-22 19:59 UTC (permalink / raw)
  To: emacs-orgmode

 - Org-mode version 8.0.1 (release_8.0.1-15-g0fff0b @ /home/billw/Dropbox/org/org-mode/lisp/)
 - GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 3.6.0) of 2013-03-11 on wri

Italicization fails when a doublequote character is adjacent to a slash.

This behavior is visible in an org-mode buffer, and is seen when
exporting the buffer to an HTML file.

These are italicized as expected:

/test/

/a test/

/a "test" a/

But these are not italicized:

/"a" test/

/a "test"/

/"test"/

/"test/

/test"/

Cheers -

bw
-- 
Bill White . billw@wolfram.com
"No ma'am, we're musicians."

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

* Re: bug: /italic/ sometimes fails
  2013-04-22 19:59 bug: /italic/ sometimes fails Bill White
@ 2013-04-22 20:29 ` Bastien
  2013-04-22 21:20   ` Bill White
  0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2013-04-22 20:29 UTC (permalink / raw)
  To: Bill White; +Cc: emacs-orgmode

Hi Bill,

Bill White <billw@wolfram.com> writes:

>  - Org-mode version 8.0.1 (release_8.0.1-15-g0fff0b @ /home/billw/Dropbox/org/org-mode/lisp/)
>  - GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 3.6.0) of 2013-03-11 on wri
>
> Italicization fails when a doublequote character is adjacent to a
> slash.

This is intended.

You might want to have a look at the variable
`org-emphasis-regexp-components'.

Do carefully check the docstring of this variable

C-h v org-emphasis-regexp-components RET

it explains how to modify it.

HTH,

-- 
 Bastien

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

* Re: bug: /italic/ sometimes fails
  2013-04-22 20:29 ` Bastien
@ 2013-04-22 21:20   ` Bill White
  0 siblings, 0 replies; 3+ messages in thread
From: Bill White @ 2013-04-22 21:20 UTC (permalink / raw)
  To: emacs-orgmode

On Mon Apr 22 2013 at 15:29, Bastien <bzg@gnu.org> wrote:

> Hi Bill,
>
> Bill White <billw@wolfram.com> writes:
>
>>  - Org-mode version 8.0.1 (release_8.0.1-15-g0fff0b @ /home/billw/Dropbox/org/org-mode/lisp/)
>>  - GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 3.6.0) of 2013-03-11 on wri
>>
>> Italicization fails when a doublequote character is adjacent to a
>> slash.
>
> This is intended.
>
> You might want to have a look at the variable
> `org-emphasis-regexp-components'.
>
> Do carefully check the docstring of this variable
>
> C-h v org-emphasis-regexp-components RET
>
> it explains how to modify it.

Well heck, that variable is right there in the docs and I missed it:

To fine tune what characters are allowed before and after the markup
characters, you can tweak ORG-EMPHASIS-REGEXP-COMPONENTS.

Thank you!

bw
-- 
Bill White . billw@wolfram.com
"No ma'am, we're musicians."

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

end of thread, other threads:[~2013-04-22 21:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-22 19:59 bug: /italic/ sometimes fails Bill White
2013-04-22 20:29 ` Bastien
2013-04-22 21:20   ` Bill White

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