From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: read-buffer-function exists, read-file-name-function doesn't Date: Sat, 18 May 2002 18:38:48 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <200205182238.g4IMcmf14102@rum.cs.yale.edu> References: <5x3cwp9hi9.fsf@kfs2.cua.dk> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1021761544 12971 127.0.0.1 (18 May 2002 22:39:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 18 May 2002 22:39:04 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 179Cqu-0003N6-00 for ; Sun, 19 May 2002 00:39:04 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 179D45-0004XB-00 for ; Sun, 19 May 2002 00:52:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 179CrD-0003nH-00; Sat, 18 May 2002 18:39:23 -0400 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 179Cqh-0003mI-00 for ; Sat, 18 May 2002 18:38:52 -0400 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id g4IMcmf14102; Sat, 18 May 2002 18:38:48 -0400 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: storm@cua.dk (Kim F. Storm) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:4103 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4103 > Since we allow lisp code to override the built-in read-buffer > function by setting read-buffer-function, I was wondering why > there is no equivalent read-file-name-function variable to > override read-file-name. Maybe because you can simply redefine read-file-name-internal ? Admittedly, it's not quite the same (it only influences the completion behavior), but it works 100% in the sense that this function is never directly called from C. Stefan