all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Hansen <david.hansen@gmx.net>
Subject: Re: how to restore let binding variables after minibuffer keybord-quit
Date: Tue, 06 Jun 2006 12:40:29 +0200	[thread overview]
Message-ID: <87odx65zz6.fsf@robotron.kosmorama> (raw)
In-Reply-To: op.tapycraargymni@ye

On Tue, 06 Jun 2006 18:06:17 +0800 Ye Wenbin wrote:

> Hello,
> I wrote a elisp to input chinese character. I want add a command to input
> english letter when the input method activated. The function
> defined as following:
>
>   (defun eim-insert-ascii ()
>     (interactive)
>     (let (after-change-functions)
>       (insert (read-from-minibuffer ""))))
>
> But when use C-g to quit from minibuffer, the
> after-change-functions doesn't restore
> to the original value. Is there a way to restore let binding
> variables after keybord-quit?

Use `condition-case' but i would rather temporally disable
the input method than let binding `after-change-function'.

David

  reply	other threads:[~2006-06-06 10:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-06 10:06 how to restore let binding variables after minibuffer keybord-quit Ye Wenbin
2006-06-06 10:40 ` David Hansen [this message]
2006-06-06 11:20   ` Ye Wenbin

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=87odx65zz6.fsf@robotron.kosmorama \
    --to=david.hansen@gmx.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.