[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: display-completion-list should not strip text properties
From: |
Davis Herring |
Subject: |
RE: display-completion-list should not strip text properties |
Date: |
Tue, 4 Sep 2007 15:46:29 -0700 (PDT) |
User-agent: |
SquirrelMail/1.4.8-6.el3.2lanl |
> 1. Let's accept Johan's fix for `describe-variable'.
Of course.
> I proposed "mumble \\(...) titi". Juri proposed "mumble \\,... titi"
> instead, for consistency with query-replace. I have no problem with either
> syntax, and perhaps someone has another suggestion.
>
> I also proposed a shortcut for face application, which I expect will be a
> common use case for this feature: "mumble \\#highlight toto# titi" instead
> of "mumble \\,(propertize "toto" 'face 'highlight) titi" (using Juri's
> syntax). And I suggested that a similar shortcut might be added for image
> insertion.
I'd extend this \# syntax to support other text properties by having
\#(prop value ...) text# mean (propertize "text" 'prop 'value '...), and
of course have \#value text# imply \#(highlight value) text#. I think
with that extension so much could be handled that perhaps the hairiness of
general sexp-inclusion could be avoided, and no " need escaping. However,
I am not sure whether it would be better to eval the values when they are
given in an explicit plist: that might work better for tooltips and such.
Davis
--
This product is sold by volume, not by mass. If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.
- Re: display-completion-list should not strip text properties, (continued)
- Re: display-completion-list should not strip text properties, Richard Stallman, 2007/09/03
- Re: display-completion-list should not strip text properties, tomas, 2007/09/04
- Re: display-completion-list should not strip text properties, Juri Linkov, 2007/09/04
- Re: display-completion-list should not strip text properties, Johan Bockgård, 2007/09/04
- Re: display-completion-list should not strip text properties, Richard Stallman, 2007/09/04
- Re: display-completion-list should not strip text properties, Richard Stallman, 2007/09/04
- RE: display-completion-list should not strip text properties, Drew Adams, 2007/09/04
- RE: display-completion-list should not strip text properties,
Davis Herring <=
- Re: display-completion-list should not strip text properties, Richard Stallman, 2007/09/05
- RE: display-completion-list should not strip text properties, Drew Adams, 2007/09/05
- Re: display-completion-list should not strip text properties, Richard Stallman, 2007/09/06
- RE: display-completion-list should not strip text properties, Drew Adams, 2007/09/06
- Re: display-completion-list should not strip text properties, Edward O'Connor, 2007/09/06
- RE: display-completion-list should not strip text properties, Drew Adams, 2007/09/06
- Re: display-completion-list should not strip text properties, Robert J. Chassell, 2007/09/06
- Re: display-completion-list should not strip text properties, Davis Herring, 2007/09/06
- Re: display-completion-list should not strip text properties, Robert J. Chassell, 2007/09/07
- Re: display-completion-list should not strip text properties, Richard Stallman, 2007/09/08