From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: PT Newsgroups: gmane.emacs.help Subject: Modifying a hook while it's being executed Date: Mon, 08 Aug 2005 17:32:50 +0200 Organization: Aioe.org NNTP Server Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1123515432 15574 80.91.229.2 (8 Aug 2005 15:37:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 Aug 2005 15:37:12 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 08 17:37:05 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E29eo-0002bQ-5e for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Aug 2005 17:35:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E29hp-0003JK-37 for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Aug 2005 11:38:25 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!news.glorb.com!ilaria.aioe.org!aioe.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 7 Original-NNTP-Posting-Host: T6c5InrAvflQ/EI6gm9Y6A.domitilla.aioe.org Original-X-Complaints-To: abuse@aioe.org Original-NNTP-Posting-Date: Mon, 8 Aug 2005 15:31:26 +0000 (UTC) User-Agent: Opera M2/8.01 (Win32, build 7642) Original-Xref: shelby.stanford.edu gnu.emacs.help:133032 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:28551 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28551 Is it safe? I haven't seen it anywhere stated explicitly. For example, I add a hook function to pre-command-hook or post-command-hook which removes itself from the hook when invoked. -- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/