From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Faredoon Irani Newsgroups: gmane.emacs.help Subject: Hook problem Date: Sat, 27 Sep 2003 21:51:34 +0530 (IST) Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1064679603 29730 80.91.224.253 (27 Sep 2003 16:20:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 27 Sep 2003 16:20:03 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 27 18:20:00 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A3Hnc-00083A-00 for ; Sat, 27 Sep 2003 18:20:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A3HlW-0003A1-Lk for geh-help-gnu-emacs@m.gmane.org; Sat, 27 Sep 2003 12:17:50 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 1A3Hkt-00031A-UN for help-gnu-emacs@gnu.org; Sat, 27 Sep 2003 12:17:11 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 1A3Hkq-00030U-G1 for help-gnu-emacs@gnu.org; Sat, 27 Sep 2003 12:17:09 -0400 Original-Received: from [196.1.114.23] (helo=jivdhan.unipune.ernet.in) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A3Hkp-0002x4-Er for help-gnu-emacs@gnu.org; Sat, 27 Sep 2003 12:17:07 -0400 Original-Received: from cs.unipune.ernet.in (IDENT:vXnPYwLExdvA5sLnAi39QOd6Qc13Nhjp@cs.unipune.ernet.in [196.1.114.3]) by jivdhan.unipune.ernet.in (8.12.9/8.12.9) with ESMTP id h8RGGuui021842 for ; Sat, 27 Sep 2003 21:46:56 +0530 Original-Received: from obelix.cs.unipune.ernet.in (obelix.cs.unipune.ernet.in [192.9.150.7]) by cs.unipune.ernet.in (8.11.6/8.11.6) with ESMTP id h8RG6cM07724 for ; Sat, 27 Sep 2003 21:36:38 +0530 Original-Received: from obelix.cs.unipune.ernet.in (obelix.cs.unipune.ernet.in [192.9.150.7]) by obelix.cs.unipune.ernet.in (8.12.8/8.12.8) with ESMTP id h8RGLYUQ020342 for ; Sat, 27 Sep 2003 21:51:34 +0530 Original-To: help-gnu-emacs@gnu.org In-Reply-To: X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:12832 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12832 Hi, I've installed a hook function for the 'after-change-functions' hook since I would like to process each and every key pressed. The problem is that I do not want to process anything through the hook function if the result of a key press accesses the minibuffer, for e.g. C-x C-f. This results in the processing of all characters displayed in the minibuffer also! I have tried to use minibuffer hooks to toggle a variable value when the minibuffer is entered and exited, but the key hook is being processed much earlier. Please help. Faredoon Irani