[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Add `notes' function to store random notes across Emacs rest
From: |
Michal Nazarewicz |
Subject: |
Re: [PATCH] Add `notes' function to store random notes across Emacs restarts. |
Date: |
Tue, 18 Jun 2013 01:47:49 +0200 |
User-agent: |
Notmuch/0.15.2+55~geb6e9d8 (http://notmuchmail.org) Emacs/24.3.50.1 (x86_64-unknown-linux-gnu) |
> On Mon, Jun 17, 2013 at 10:39 PM, Michal Nazarewicz <address@hidden> wrote:
>> I'm not certain how that's supposed to work. The binding is not in
>> global key map after all.
On Mon, Jun 17 2013, Juanma Barranquero wrote:
> Adding \\<notes-map> to the docstring should work. (elisp) "24.3
> Substituting Key Bindings in Documentation":
>
> `\<MAPVAR>'
> stands for no text itself. It is used only for a side effect: it
> specifies MAPVAR's value as the keymap for any following
> `\[COMMAND]' sequences in this documentation string.
Thanks, that worked.
>> Because kill-buffer-hook is called after kill-buffer checks whether file
>> is modified:
> Hmm. You're right. Weird to have to resort to an advice.
Yeah, I'm not happy about it either. In fact I think it would make
sense to move the check after kill-buffer-query-functions are called,
but at this point that might be too much of a change.
--
Best regards, _ _
.o. | Liege of Serenely Enlightened Majesty of o' \,=./ `o
..o | Computer Science, Michał “mina86” Nazarewicz (o o)
ooo +----<email/xmpp: address@hidden>--------------ooO--(_)--Ooo--
signature.asc
Description: PGP signature