emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [bug] Partially disable interpretation of subscripts
@ 2013-12-20 16:00 Sebastien Vauban
  2013-12-20 20:53 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Sebastien Vauban @ 2013-12-20 16:00 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hello,

In order to be able to write names such as CODE_STATUT without STATUT
being written in subscript, I'm using the {} value for the ^ option.

--8<---------------cut here---------------start------------->8---
#+TITLE:     ECM Subscript
#+OPTIONS:   ^:{}

* Underscores in text

x_i + x^2 + x^{2} + x_{i}

| Key                  | Value |
|----------------------+-------|
| CODE_STATUT          |     1 |
| CONTRAT\_DEBUT\_DATE |     2 |
| CONTRAT_FIN_DATE     |     3 |
--8<---------------cut here---------------end--------------->8---

Though, doing so,

- a_b is interpreted as subscript
- a_{b} is left as is

In a way, the opposite of what I'm expecting.

Am I missing something?

Best regards,
  Seb

-- 
Sebastien Vauban

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

* Re: [bug] Partially disable interpretation of subscripts
  2013-12-20 16:00 [bug] Partially disable interpretation of subscripts Sebastien Vauban
@ 2013-12-20 20:53 ` Nicolas Goaziou
  2013-12-23 14:09   ` Sebastien Vauban
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2013-12-20 20:53 UTC (permalink / raw)
  To: Sebastien Vauban; +Cc: public-emacs-orgmode-mXXj517/zsQ



Hello,

"Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
writes:

> In order to be able to write names such as CODE_STATUT without STATUT
> being written in subscript, I'm using the {} value for the ^ option.
>
> #+TITLE:     ECM Subscript
> #+OPTIONS:   ^:{}
>
> * Underscores in text
>
> x_i + x^2 + x^{2} + x_{i}
>
> | Key                  | Value |
> |----------------------+-------|
> | CODE_STATUT          |     1 |
> | CONTRAT\_DEBUT\_DATE |     2 |
> | CONTRAT_FIN_DATE     |     3 |
>
> Though, doing so,
>
> - a_b is interpreted as subscript
> - a_{b} is left as is
>
> In a way, the opposite of what I'm expecting.
>
> Am I missing something?

No, I forgot a `not' in a recent patch. This should now be fixed.

Thank you for reporting it.


Regards,

-- 
Nicolas Goaziou

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

* Re: [bug] Partially disable interpretation of subscripts
  2013-12-20 20:53 ` Nicolas Goaziou
@ 2013-12-23 14:09   ` Sebastien Vauban
  0 siblings, 0 replies; 3+ messages in thread
From: Sebastien Vauban @ 2013-12-23 14:09 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hello Nicolas,

> "Sebastien Vauban" writes:
>> In order to be able to write names such as CODE_STATUT without STATUT
>> being written in subscript, I'm using the {} value for the ^ option.
>>
>> Though, doing so,
>>
>> - a_b is interpreted as subscript
>> - a_{b} is left as is
>>
>> In a way, the opposite of what I'm expecting.
>> Am I missing something?
>
> No, I forgot a `not' in a recent patch. This should now be fixed.

Confirmed!

> Thank you for reporting it.

Thank you for fixing quickly.

Best regards,
  Seb

-- 
Sebastien Vauban

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

end of thread, other threads:[~2013-12-23 14:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-20 16:00 [bug] Partially disable interpretation of subscripts Sebastien Vauban
2013-12-20 20:53 ` Nicolas Goaziou
2013-12-23 14:09   ` Sebastien Vauban

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