From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60173 Path: news.gmane.org!not-for-mail From: Ted Stern Newsgroups: gmane.emacs.gnus.general Subject: general emacs question: advising find-file Date: Tue, 19 Apr 2005 12:11:23 -0700 Organization: Cray Inc. Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: sea.gmane.org 1113938365 15293 80.91.229.2 (19 Apr 2005 19:19:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 19 Apr 2005 19:19:25 +0000 (UTC) Original-X-From: ding-owner+M8700@lists.math.uh.edu Tue Apr 19 21:19:22 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DNyFC-0004qR-NJ for ding-account@gmane.org; Tue, 19 Apr 2005 21:18:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1DNyB6-0000Wt-00; Tue, 19 Apr 2005 14:14:32 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1DNyAy-0000Wl-00 for ding@lists.math.uh.edu; Tue, 19 Apr 2005 14:14:24 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1DNyAv-0006Pa-TM for ding@lists.math.uh.edu; Tue, 19 Apr 2005 14:14:22 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1DNyAu-0004fs-00 for ; Tue, 19 Apr 2005 21:14:20 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DNy4z-0003Bs-PI for ding@gnus.org; Tue, 19 Apr 2005 21:08:14 +0200 Original-Received: from ip-136-162-67-33.cray.com ([136.162.67.33]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Apr 2005 21:08:13 +0200 Original-Received: from stern+gnus by ip-136-162-67-33.cray.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Apr 2005 21:08:13 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 16 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ip-136-162-67-33.cray.com User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:LCKhZ3DS7AetweVbNbiQgwCq9Dk= X-Spam-Score: -4.4 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60173 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60173 Sorry, this is a general emacs question, but there are some find defadvice programmers on this list. I'll keep it short. Is there a way to change the default "C-x C-f RET" so that it re-opens the current file instead of the current directory? What I want to do is change the default find-file prompt to the current file. Ted -- Ted Stern Applications Group Cray Inc. office: 206-701-2182 411 First Avenue South, Suite 600 cell: 206-383-1049 Seattle, WA 98104-2860 FAX: 206-701-2500 Frango ut patefaciam -- I break so that I may reveal (The Paleontological Society motto, equally apropos for debugging)