From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Whitfield Diffie Newsgroups: gmane.emacs.help Subject: Re: Fwd: Setting mark in minibuffer prompt Date: Sun, 8 Jul 2012 10:18:56 -0700 Message-ID: References: <87mx3akysf.fsf@zigzag.favinet> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=e89a8fb1f2ca3961cb04c454b135 X-Trace: dough.gmane.org 1341767948 10984 80.91.229.3 (8 Jul 2012 17:19:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 8 Jul 2012 17:19:08 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Thien-Thi Nguyen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 08 19:19:07 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 1Snv8V-0001fv-C5 for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Jul 2012 19:19:07 +0200 Original-Received: from localhost ([::1]:55195 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Snv8U-0004xc-CM for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Jul 2012 13:19:06 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40590) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Snv8O-0004xN-J2 for help-gnu-emacs@gnu.org; Sun, 08 Jul 2012 13:19:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Snv8M-0000xY-IV for help-gnu-emacs@gnu.org; Sun, 08 Jul 2012 13:19:00 -0400 Original-Received: from mail-ob0-f169.google.com ([209.85.214.169]:64685) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Snv8M-0000xG-Ae for help-gnu-emacs@gnu.org; Sun, 08 Jul 2012 13:18:58 -0400 Original-Received: by obhx4 with SMTP id x4so16679951obh.0 for ; Sun, 08 Jul 2012 10:18:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=HgLzuYIvhFdVwa85lDmXBulb2AQ2m94+owlCTy7Rd5Q=; b=WT4Fz1HSJwYCqv5YTkFW5cEEu7nSkcop8FbjZpuh78Jllm6tcol7VIBRRjYOj8Ftbl 57E4fhk+2eO/xE6Iw6RCUS5EfS/A9gcrsAjOWdZRyCUDVgtHUuhxRvK2Q023tZAUqksn 9KhrUPbi3VZFo+HuKUtHvazgSgzVilQFkuoyowXvmEGQyYCYMYmlJ0CR3dkA/u+3gOcA vy0XH0sbDSxSc0Yg7OaVNAfXKGp4a/7cAHwI0N8RXVBM+JMxHvfZIuHVBpqM8HetfOg8 1QGGbViWWnoQFFcEjqH2aDwg08uu8A7AAXUyfCyGJg+pbUdtZMmCGuEHnsFFMSU//aX5 fYhA== Original-Received: by 10.60.22.5 with SMTP id z5mr38803882oee.2.1341767936467; Sun, 08 Jul 2012 10:18:56 -0700 (PDT) Original-Received: by 10.182.43.40 with HTTP; Sun, 8 Jul 2012 10:18:56 -0700 (PDT) In-Reply-To: <87mx3akysf.fsf@zigzag.favinet> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.214.169 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:85730 Archived-At: --e89a8fb1f2ca3961cb04c454b135 Content-Type: text/plain; charset=ISO-8859-1 > You can complete [the message] by asking a > specific question or posting code that demonstrates your efforts > to date (along with a specific question). ... > Does that make sense? I makes sens but I thought that was what I had done. 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. Certainly, I do not want to be impolite and would like to understand the list's sense of courtesy. Thanks, Whit P.S. I finished this note only because it was almost done when I got Drew Adams message, which offers an answer; I will not have a look at that. --e89a8fb1f2ca3961cb04c454b135 Content-Type: application/octet-stream; name="visit-notes.el" Content-Disposition: attachment; filename="visit-notes.el" Content-Transfer-Encoding: base64 X-Attachment-Id: f_h4edt9zl0 KGRlZnVuIHZpc2l0LW5vdGVzIG5pbAoKICAiICAgTm90ZXMgcHJvbXB0cyBmb3IgYSBmaWxlbmFt ZSBvZiB0aGUgZm9ybSBgYH4vbm90ZXMvPGRhdGU+JycsIHBsYWNpbmcKICAgcG9pbnQgaW4gdGhl IHByb21wdCBiZWZvcmUgdGhlIGRhdGUsIGZvciBleGFtcGxlOgoKICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgbG9jYXRpb24gb2YgcG9pbnQgIAogICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICB8CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFYK ICAgICAgICAgICAgICAgICAgICBEaXJlY3Rvcnk6IH4vbm90ZXMvMjAxMi4wNy4wOC8iCgogIChp bnRlcmFjdGl2ZSkKICAocmVhZC1maWxlbmFtZSAiRGlyZWN0b3J5OiAiCgkJICJ+L25vdGVzLyIK CQkgbmlsCgkJIG5pbAoJCSAoZmlsZW5hbWUtYXMtZGlyZWN0b3J5IChmb3JtYXQtdGltZS1zdHJp bmcgIiVZLiVtLiVkIgoJCQkJCQkJICAgIChjdXJyZW50LXRpbWUpKSkpKQoKCg== --e89a8fb1f2ca3961cb04c454b135--