emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: display-completion-list should not strip text properties


From: Juri Linkov
Subject: Re: display-completion-list should not strip text properties
Date: Sun, 02 Sep 2007 21:52:55 +0300
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux)

> Perhaps we could allow literal doc strings to contain special syntax that
> means "replace this sexp by its (string) value". This would be akin to \\[],
> \\<>, and \\{} for key bindings. Maybe use \\(...)?
>
> Then, you could write, for example:
>
> (defun foo ()
>   "mumble \\((propertize "toto" 'face 'highlight)) titi"
>   whatever)

Or using \, like in the query-replace string to eval part of the
replacement string:

(defun foo ()
  "mumble \\,(propertize "toto" 'face 'highlight) titi"
  whatever)

-- 
Juri Linkov
http://www.jurta.org/emacs/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]