emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] $0 replaced with ampersand (&) when invoking `org-edit-spe


From: David Maus
Subject: Re: [Orgmode] $0 replaced with ampersand (&) when invoking `org-edit-special'
Date: Sun, 27 Feb 2011 18:11:29 +0100
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

At Fri, 11 Feb 2011 10:52:29 +0100,
Bastien wrote:
>
> Hi Niels,
>
> niels giesen <address@hidden> writes:
>
> > According to [ (info "(org) Formula syntax for Calc") ], $0
> > references the current cell. Pressing C-c C-c on the #+TBLFM line
> > below does indeed work, but C-c ' (`org-edit-special') changes the
> > $0 reference into a single ampersand (&). Is this a bug?
>
> I can confirm this and I think it's a bug.
>
> Carsten, do you know what happens here?

`org-number-to-letters' does expect the number to be greater than
zero.  If it is zero (like in the $0 case) it will return the empty
string.

This can be simply fixed by not calling `org-number-to-letters' if the
is a single zero.  Or, what seems a cleaner solution, to make up a
representation of $0 in letter-notation.

Hope to have some more time to fix this one, if someone else steps in
I'm fine.

Best,
 -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... address@hidden
Email..... address@hidden

Attachment: pgpHJnOV1IpcA.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]