From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.help Subject: Re: Fwd: Setting mark in minibuffer prompt Date: Sun, 08 Jul 2012 22:21:18 +0200 Message-ID: <87ipdyknr5.fsf@zigzag.favinet> References: <87mx3akysf.fsf@zigzag.favinet> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1341778888 21344 80.91.229.3 (8 Jul 2012 20:21:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 8 Jul 2012 20:21:28 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Whitfield Diffie Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 08 22:21:27 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Snxyx-00046g-7A for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Jul 2012 22:21:27 +0200 Original-Received: from localhost ([::1]:57788 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Snxyw-00033B-0a for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Jul 2012 16:21:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36286) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Snxyq-000332-4i for help-gnu-emacs@gnu.org; Sun, 08 Jul 2012 16:21:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Snxyn-0007xP-Rd for help-gnu-emacs@gnu.org; Sun, 08 Jul 2012 16:21:19 -0400 Original-Received: from smtp208.alice.it ([82.57.200.104]:48637) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Snxyn-0007x8-Hf for help-gnu-emacs@gnu.org; Sun, 08 Jul 2012 16:21:17 -0400 Original-Received: from zigzag.favinet (95.236.25.136) by smtp208.alice.it (8.6.023.02) id 4FEB2A3901BE9E9B; Sun, 8 Jul 2012 22:21:15 +0200 Original-Received: from ttn by zigzag.favinet with local (Exim 4.72) (envelope-from ) id 1Snxyp-0000LV-AK; Sun, 08 Jul 2012 22:21:19 +0200 In-Reply-To: (Whitfield Diffie's message of "Sun, 8 Jul 2012 10:18:56 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.104 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:85734 Archived-At: () Whitfield Diffie () Sun, 8 Jul 2012 10:18:56 -0700 Rather than writing I am trying to write an interactive function that prompts for a file name, placing point at the end of the prompt and mark somewhere earlier in the path. I had written How do I write an interactive function that prompts for a file name, placing point at the end of the prompt and mark somewhere earlier in the path? I described what I could do; code that does that is now attached. OK, that's the spirit!