From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Opening file with is in killring Date: Fri, 31 Oct 2008 08:16:05 -0700 Message-ID: <001901c93b6b$985e34e0$0200a8c0@us.oracle.com> References: <89c6d6fb-811d-419e-9fa1-33d7fd5b4015@r36g2000prf.googlegroups.com><87skqd54om.fsf@gmail.com><001001c93b65$6125c250$0200a8c0@us.oracle.com> <87hc6s6d63.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1225466211 16301 80.91.229.12 (31 Oct 2008 15:16:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Oct 2008 15:16:51 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "'Paul R'" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 31 16:17:53 2008 connect(): Connection refused 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 1Kvvl0-0001Lq-CJ for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Oct 2008 16:17:51 +0100 Original-Received: from localhost ([127.0.0.1]:40446 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kvvjq-0003wd-PU for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Oct 2008 11:16:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KvvjZ-0003wW-HB for help-gnu-emacs@gnu.org; Fri, 31 Oct 2008 11:16:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KvvjW-0003wK-4w for help-gnu-emacs@gnu.org; Fri, 31 Oct 2008 11:16:21 -0400 Original-Received: from [199.232.76.173] (port=52272 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KvvjW-0003wH-11 for help-gnu-emacs@gnu.org; Fri, 31 Oct 2008 11:16:18 -0400 Original-Received: from rgminet01.oracle.com ([148.87.113.118]:48677) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KvvjV-0002hj-6Q for help-gnu-emacs@gnu.org; Fri, 31 Oct 2008 11:16:18 -0400 Original-Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m9VFG4UX018970; Fri, 31 Oct 2008 09:16:05 -0600 Original-Received: from acsmt702.oracle.com (acsmt702.oracle.com [141.146.40.80]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m9VFG4li030450; Fri, 31 Oct 2008 09:16:04 -0600 Original-Received: from dradamslap1 (/24.23.165.218) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 31 Oct 2008 15:16:03 +0000 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <87hc6s6d63.fsf@gmail.com> Thread-Index: Ack7ZuazjpHFp0L9QpWwviIiVYE3dgAA2Ilg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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:59294 Archived-At: > Drew> If a relative file name (e.g. `foo.el') is in the kill ring, then > Drew> I know of nothing quicker than clearing the minibuffer and then > Drew> yanking. > > But in such a case, it would try to expand the relative file name from > default-directory, which is precisely the one printed by > default in the prompt, isn't it ? In this case, why remove the > default prompt ? Just yanking after should yield to the same result > with fewer keystrokes. Yes. If you want a different directory (which is presumably why one would clear the minibuffer), then you need to insert (type or yank) that directory, in addition to the relative file name. I interpreted the OP as wanting to replace the default directory, to use a different one, since he said "delete the current path". But from his reply that's apparently not the case. (?)