From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: tomas@tuxteam.de Newsgroups: gmane.emacs.devel Subject: Re: display-completion-list should not strip text properties Date: Tue, 4 Sep 2007 08:49:11 +0000 Message-ID: <20070904084911.GA10705@www.trapp.net> References: <877in93z6c.fsf@jurta.org> <87wsv71esh.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1188895836 26402 80.91.229.12 (4 Sep 2007 08:50:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 Sep 2007 08:50:36 +0000 (UTC) Cc: emacs-devel@gnu.org, rms@gnu.org, drew.adams@oracle.com, bojohan+news@dd.chalmers.se To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 04 10:50:35 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ISU78-00009y-TV for ged-emacs-devel@m.gmane.org; Tue, 04 Sep 2007 10:50:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ISU77-0004jh-C7 for ged-emacs-devel@m.gmane.org; Tue, 04 Sep 2007 04:50:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ISU6f-0004NQ-P8 for emacs-devel@gnu.org; Tue, 04 Sep 2007 04:49:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ISU6e-0004Lj-32 for emacs-devel@gnu.org; Tue, 04 Sep 2007 04:49:56 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ISU6d-0004LR-Ro for emacs-devel@gnu.org; Tue, 04 Sep 2007 04:49:55 -0400 Original-Received: from alextrapp1.equinoxe.de ([217.22.192.104] helo=www.elogos.de) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ISU6a-00080o-OS; Tue, 04 Sep 2007 04:49:52 -0400 Original-Received: from www.elogos.de (localhost [127.0.0.1]) by www.elogos.de (Postfix) with ESMTP id 8BF6D47996; Tue, 4 Sep 2007 08:49:11 +0000 (UTC) Original-Received: by www.elogos.de (Postfix, from userid 4000) id 80E5247995; Tue, 4 Sep 2007 08:49:11 +0000 (UTC) Content-Disposition: inline In-Reply-To: <87wsv71esh.fsf@jurta.org> User-Agent: Mutt/1.5.9i X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:77730 Archived-At: -----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. >=20 > I proposed only a new syntax for this feature, but now after thinking m= ore > 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=C3=A1s -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFG3RwHBcgs9XrR2kYRAu5RAJ9C9ySJ6iTHrW5DDUkcqvBl2NftRQCfXbeT Zl2k6NCLHbDsArh+fHw1K40=3D =3DcS+V -----END PGP SIGNATURE-----