[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: |
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-----
- RE: display-completion-list should not strip text properties, Drew Adams, 2007/09/01
- Re: display-completion-list should not strip text properties, Juri Linkov, 2007/09/02
- Re: display-completion-list should not strip text properties, Richard Stallman, 2007/09/03
- Re: display-completion-list should not strip text properties, Juri Linkov, 2007/09/03
- Re: display-completion-list should not strip text properties, David Kastrup, 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,
tomas <=
- 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, 2007/09/04
- 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