all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Stefan Monnier'" <monnier@iro.umontreal.ca>
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:02:09 -0700	[thread overview]
Message-ID: <005701c8d3f2$d5676a90$0200a8c0@us.oracle.com> (raw)
In-Reply-To: <jwvzlpezfjh.fsf-monnier+emacs@gnu.org>

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

Uh, again, text properties. Period.





Here's one mail from the 2007 thread, which lists possible uses of a few
properties:

http://lists.gnu.org/archive/html/emacs-devel/2007-01/msg00807.html

However, a priori, any text properties at all. An application might add its own,
original properties and treat them in different ways. Properties can even
distinguish candidates that otherwise have the same string (Icicles uses this
possibility in some contexts). There are lots of possible uses - use your
imagination.

It's easy enough for a caller to strip properties. And it's easy enough for a
caller to strip completion candidates of properties from the outset. No reason
for `completing-read' to systematically strip properties from the result. Let
those callers that know they don't want such info throw it away - don't throw it
away for them.

The preservation of properties that are already there does not force anyone to
use properties. Just like the possibility of using properties in a buffer.





  reply	other threads:[~2008-06-21 23:02 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         ` should read-file-name not respect text properties in its input string? Stefan Monnier
2008-06-21 23:02           ` Drew Adams [this message]
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

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

  git send-email \
    --in-reply-to='005701c8d3f2$d5676a90$0200a8c0@us.oracle.com' \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.