unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: emacs-devel@gnu.org
Subject: Re: should read-file-name not respect text properties in its input string?
Date: Sat, 21 Jun 2008 16:44:30 -0400	[thread overview]
Message-ID: <jwvzlpezfjh.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <004a01c8d3d7$77c815d0$0200a8c0@us.oracle.com> (Drew Adams's message of "Sat, 21 Jun 2008 12:46:15 -0700")

>> > I already said I don't have any particular example in mind. 
>> > The logic and reasons are essentially the same as for
>> > `completing-read', however - see the
>> > referenced 2007 thread.
>> 
>> Could you sumarize it or give an URL for it?

> Irrelevant, as I said, because `read-file-name' will automatically
> work if the job is finished for `completing-read'.

I did read what you wrote, so I meant a summary about completing-readm
not about read-file-name.

>> If from the minibuffer text (the only reliable choice), what kind of
>> properties would these be, who would put them there?

> If the input text comes from choosing a candidate (e.g. mouse-2, TAB
> completion), then whatever properties the candidate has. If the input
> comes from the user yanking propertized text, then whatever properties
> that yanked text has. Even if the user uses facemenu in the minibuffer
> to change the face of text s?he inputs, and then types text with that
> face, then whatever properties that text has.

> However the input text happens to become propertized, it should retain
> its properties when it is returned from `completing-read' (and so from
> `read-file-name' also).

So, again, what kind of properties would these be?


        Stefan




  parent reply	other threads:[~2008-06-21 20:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-20 22:30 should read-file-name not respect text properties in its input string? Drew Adams
2008-06-21  2:06 ` Stefan Monnier
2008-06-21  4:59   ` Drew Adams
2008-06-21 18:13     ` Stefan Monnier
2008-06-21 19:46       ` Drew Adams
2008-06-21 20:34         ` should read-file-name not respect text properties in its inputstring? Drew Adams
2008-06-21 20:44         ` Stefan Monnier [this message]
2008-06-21 23:02           ` should read-file-name not respect text properties in its input string? Drew Adams
2008-06-22  1:41             ` Stefan Monnier
2008-06-22  3:09               ` Drew Adams
2008-06-22  7:17                 ` David Kastrup
2008-06-22  8:30                   ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvzlpezfjh.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).