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: tomas
Subject: Re: display-completion-list should not strip text properties
Date: Tue, 4 Sep 2007 08:49:11 +0000
User-agent: Mutt/1.5.9i

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Sep 04, 2007 at 02:48:28AM +0300, Juri Linkov wrote:
> >     Or using \, like in the query-replace string to eval part of the
> >     replacement string:
> >
> >     (defun foo ()
> >       "mumble \\,(propertize "toto" 'face 'highlight) titi"
> >       whatever)
> >
> > That is a clean feature.
> 
> I proposed only a new syntax for this feature, but now after thinking more
> about the whole idea, I see that this feature is too ad-hoc.  Allowing to
> eval arbitrary expressions while printing the doc string in the Help
> buffer is too fragile approach.  There is no guarantee that after all
> interacting evaluations there will a readable result in the Help buffer.

Right, but it could be Limited By Convention (TM). And Lisp even makes
it easy to check those limits...

> I think a better approach is to use a markup language in doc strings,
> be it XHTML or even TexinfoML.  Then using a style sheet it can be
> formatted nicely in the Help buffer.  Example of a doc string:

My gut reaction is "Oh, no. Not Yet Another *ML". It's not very
constructive, but gut reactions ain't fair or constructive -- sorry for
that :-(

(maybe those angle brackets just hurt my tummy too much ;)

Thanks
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFG3RwHBcgs9XrR2kYRAu5RAJ9C9ySJ6iTHrW5DDUkcqvBl2NftRQCfXbeT
Zl2k6NCLHbDsArh+fHw1K40=
=cS+V
-----END PGP SIGNATURE-----





reply via email to

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