emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Single quote and inline formatting
@ 2010-12-20 22:56 Michael Gauland
  2010-12-21  4:52 ` Puneeth
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Gauland @ 2010-12-20 22:56 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 520 bytes --]

Enclosing text in '=' symbols generally causes the text to be formatted as code. I've found this fails if the last character in the text is a single quote ('):

    + =This works=
    + =So does 'this=
    + =But not this'=

The text in the first two lines appears in the 'code' face (gray), and is exported to HTML in a <code> tag. The last line appears in the normal face, and is not exported in a <code> tag.

Is this expectd behavoiur? If not, where is the best place to start poking around to fix it?

Thanks,
Mike

[-- Attachment #1.2: Type: application/pgp-signature, Size: 194 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Single quote and inline formatting
  2010-12-20 22:56 Single quote and inline formatting Michael Gauland
@ 2010-12-21  4:52 ` Puneeth
  0 siblings, 0 replies; 2+ messages in thread
From: Puneeth @ 2010-12-21  4:52 UTC (permalink / raw)
  To: Michael Gauland; +Cc: emacs-orgmode

On Tue, Dec 21, 2010 at 4:26 AM, Michael Gauland <mikelygee@gmail.com> wrote:
> Enclosing text in '=' symbols generally causes the text to be formatted as code. I've found this fails if the last character in the text is a single quote ('):
>
>    + =This works=
>    + =So does 'this=
>    + =But not this'=
>
> The text in the first two lines appears in the 'code' face (gray), and is exported to HTML in a <code> tag. The last line appears in the normal face, and is not exported in a <code> tag.
>
> Is this expectd behavoiur? If not, where is the best place to start poking around to fix it?

Yes, this is expected behaviour.  Look at the variable
org-emphasis-regexp-components, for more information.

>
> Thanks,
> Mike
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>



-- 
Puneeth

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

end of thread, other threads:[~2010-12-21  4:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-20 22:56 Single quote and inline formatting Michael Gauland
2010-12-21  4:52 ` Puneeth

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