From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michal Newsgroups: gmane.emacs.help Subject: Re: find-file "before" hook. Date: Thu, 30 Jul 2009 14:20:46 +0200 Organization: education Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1248959781 8470 80.91.229.12 (30 Jul 2009 13:16:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Jul 2009 13:16:21 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 30 15:16:14 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MWVUS-00050Z-Cs for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Jul 2009 15:16:12 +0200 Original-Received: from localhost ([127.0.0.1]:54317 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWVUR-0006vb-Md for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Jul 2009 09:16:11 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2.glorb.com!newsfeed00.sul.t-online.de!t-online.de!news.task.gda.pl!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: jupiter.adlex.com Original-X-Trace: news.task.gda.pl 1248956515 6183 157.25.157.162 (30 Jul 2009 12:21:55 GMT) Original-X-Complaints-To: abuse@news.task.gda.pl Original-NNTP-Posting-Date: Thu, 30 Jul 2009 12:21:55 +0000 (UTC) X-Mailer: KMail/1.7.1 User-Agent: mozilla news reader Cancel-Lock: sha1:dD+1CZ9lgAXkooqWfjsLkaDwu1U= Original-Xref: news.stanford.edu gnu.emacs.help:171323 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:66510 Archived-At: Peter Milliken writes: > Well, I am curious about what you might want to do before a file is opened. Just off the top of my head, I can't think of anything you > might want to do before it is opened that you can't do equally as well after it is open :-) > > But in answer to your later questions - have a look at ido, it must do something similar in "overloading"/hijacking the find-file > command, I haven't bothered looking at how or what it does, but I do use the mode occasionally. It definitely hijacks find-file and adds > its own functionality. > Hallo Lennart and Peter! Thank You for Your help. It looks like there is no thing in emacs that cannot be solved:) best regards, Michal