On 2015-08-21 13:05:39 +0200, Vincent Lefevre wrote:
> On 2015-08-20 19:53:36 -0700, Kevin J. McCarthy wrote:
> > Vincent Lefevre wrote:
> > > In "<save-message>=INBOX.Trash<enter>", the "=INBOX.Trash" will be
> > > saved to the history, and it is not possible to temporarily disable
> > > the history (e.g. for such macros). So, indeed, this would be very
> > > annoying.
> > 
> > I believe adding a leading space will keep it from being added to
> > history:
> >      "<save-message> =INBOX.Trash<enter>"
> 
> No, this doesn't work as expected for mailboxes and patterns: the
> space (and the following text) is appended to the last entry.

I've found a workaround. For my limit-to-all macro:

macro index \CA "<limit>~<backspace> ~A\r" "limit to all"

The problem is that the space is a special character, which doesn't
clear the suggested entry. So, one needs a normal character first
to clear the entry and enter this character, then one removes this
character, then we can enter the space.

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to