From: Michal Nazarewicz <mina86@mina86.com>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: Ted Zlatanov <tzz@lifelogs.com>,
Stefan Monnier <monnier@iro.umontreal.ca>,
Emacs developers <emacs-devel@gnu.org>
Subject: Re: [PATCH] Add `notes' function to store random notes across Emacs restarts.
Date: Tue, 18 Jun 2013 01:47:49 +0200 [thread overview]
Message-ID: <xa1tli68nvtm.fsf@mina86.com> (raw)
In-Reply-To: <CAAeL0SQOJgYwgEERmP8v7ftZtjEx2h8wy3hrL9UnoOJgZmrKxg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1215 bytes --]
> On Mon, Jun 17, 2013 at 10:39 PM, Michal Nazarewicz <mina86@mina86.com> 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: mpn@google.com>--------------ooO--(_)--Ooo--
[-- Attachment #2.1: Type: text/plain, Size: 0 bytes --]
[-- Attachment #2.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 835 bytes --]
next prev parent reply other threads:[~2013-06-17 23:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-17 16:13 [PATCH] Add `notes' function to store random notes across Emacs restarts Michal Nazarewicz
2013-06-17 16:44 ` Stefan Monnier
2013-06-17 20:24 ` Michal Nazarewicz
2013-06-17 17:00 ` Juanma Barranquero
2013-06-17 20:39 ` Michal Nazarewicz
2013-06-17 21:06 ` Juanma Barranquero
2013-06-17 23:47 ` Michal Nazarewicz [this message]
2013-06-18 7:20 ` martin rudalics
2013-06-18 12:24 ` Michal Nazarewicz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xa1tli68nvtm.fsf@mina86.com \
--to=mina86@mina86.com \
--cc=emacs-devel@gnu.org \
--cc=lekktu@gmail.com \
--cc=monnier@iro.umontreal.ca \
--cc=tzz@lifelogs.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.