emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [PATCH] Fix the single quote printed in the message printed by o


From: Paul Eggert
Subject: Re: [O] [PATCH] Fix the single quote printed in the message printed by org-table-edit-formulas
Date: Thu, 10 Mar 2016 08:05:49 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

On 03/10/2016 07:33 AM, Kaushal Modi wrote:

    Shouldn't this be handled by `substitute-command-keys' already?
    The fix
    looks like a hack.


I don't think this has anything to do with substitute-command-keys. That function simply returns a string.

Right, 'message' and 'substitute-command-keys' both turn apostrophe into right single quote, so if you really want an apostrophe you need to escape it, as Kashal's patch does.

You need to escape the output of substitute-command-keys anyway, in case it returns a string containing '%', which 'message' would incorrectly interpret as a format specifier.



reply via email to

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