From: Leo Liu <sdl.web@gmail.com>
To: 16138@debbugs.gnu.org
Subject: bug#16138: 24.3; skeleton-end-hook not run
Date: Sat, 14 Dec 2013 15:20:32 +0800 [thread overview]
Message-ID: <m1zjo3nbjz.fsf@gmail.com> (raw)
I had to make use of skeleton-end-hook and was surprised to find that it
actually doesn't work.
1. Emacs -q
2. (setq skeleton-pair t)
3. (global-set-key "(" 'skeleton-pair-insert-maybe)
4. (add-hook 'skeleton-end-hook (lambda () (error "bomb!!!")))
now try ( to trigger skeleton-pair-insert-maybe in some buffer and
nothing should happen.
Leo
next reply other threads:[~2013-12-14 7:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-14 7:20 Leo Liu [this message]
2013-12-18 18:39 ` bug#16138: 24.3; skeleton-end-hook not run Glenn Morris
2013-12-19 2:54 ` Leo Liu
2013-12-19 13:38 ` Stefan Monnier
2013-12-20 0:41 ` Leo Liu
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m1zjo3nbjz.fsf@gmail.com \
--to=sdl.web@gmail.com \
--cc=16138@debbugs.gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).