all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: Mihai Bazon <mihai@bazon.net>, 4093@emacsbugs.donarmstrong.com
Subject: bug#4093: Overlay keymap and timers
Date: Sun, 9 Aug 2009 22:56:45 +0200	[thread overview]
Message-ID: <e01d8a50908091356u68ce14co6e2cec176d096dc9@mail.gmail.com> (raw)
In-Reply-To: <680d89b1d020330a6cb4001845e1e5fb@bazon.net>

Yes, this is a really bad thing - sometimes, ie when you need to do just that.

Is there any fundamental difficulty with fixing this?


On Sun, Aug 9, 2009 at 3:49 PM, Mihai Bazon<mihai@bazon.net> wrote:
> Actually, it seems it hasn't anything to do with overlays:
>
> (defun my-set-keymap-with-timer ()
>  (interactive)
>  (run-with-timer 0.5 nil (lambda()
>                            (use-local-map my-keymap)
>                            (message "Done setting keymap"))))
>
> If we eval the following and M-x my-set-keymap-with-timer, the keymap
> will only be enforced after the first keypress (i.e. first press of M-n
> says "M-n is undefined", but subsequently it works).
>
> Found another thread about this issue here:
>
>   http://www.mail-archive.com/emacs-pretest-bug@gnu.org/msg12003.html
>
> Stallman says "we should consider that a serious problem". ;-)





  reply	other threads:[~2009-08-09 20:56 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-09 13:49 bug#4093: Overlay keymap and timers Mihai Bazon
2009-08-09 20:56 ` Lennart Borgman [this message]
2009-08-09 21:23   ` Mihai Bazon
2009-08-10  4:06   ` Stefan Monnier
2009-08-10  6:55     ` Mihai Bazon
2009-08-10 16:25       ` Stefan Monnier
2009-08-10 16:30         ` Lennart Borgman
2009-08-10 17:38           ` Stefan Monnier
2009-08-10 17:42             ` Lennart Borgman
2009-08-10 18:17               ` Stefan Monnier
2009-08-10 18:32                 ` Lennart Borgman
2009-08-10 18:26         ` Mihai Bazon
2009-08-11 16:49         ` Mihai Bazon
2009-08-13 17:33           ` Stefan Monnier
2009-08-13 17:49             ` Mihai Bazon

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=e01d8a50908091356u68ce14co6e2cec176d096dc9@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=4093@emacsbugs.donarmstrong.com \
    --cc=mihai@bazon.net \
    /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.