From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Davis Herring" Newsgroups: gmane.emacs.devel Subject: RE: display-completion-list should not strip text properties Date: Tue, 4 Sep 2007 15:46:29 -0700 (PDT) Message-ID: <59207.128.165.123.18.1188945989.squirrel@webmail.lanl.gov> References: Reply-To: herring@lanl.gov NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1188946009 9740 80.91.229.12 (4 Sep 2007 22:46:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 Sep 2007 22:46:49 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 05 00:46:48 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 1IShAV-0006xo-3D for ged-emacs-devel@m.gmane.org; Wed, 05 Sep 2007 00:46:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IShAS-0004eG-Oq for ged-emacs-devel@m.gmane.org; Tue, 04 Sep 2007 18:46:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IShAL-0004dQ-5S for emacs-devel@gnu.org; Tue, 04 Sep 2007 18:46:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IShAK-0004dA-GL for emacs-devel@gnu.org; Tue, 04 Sep 2007 18:46:36 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IShAK-0004d6-Cb for emacs-devel@gnu.org; Tue, 04 Sep 2007 18:46:36 -0400 Original-Received: from mailwasher.lanl.gov ([192.65.95.54] helo=mailwasher-b.lanl.gov) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IShAJ-000762-Tq for emacs-devel@gnu.org; Tue, 04 Sep 2007 18:46:36 -0400 Original-Received: from mailrelay3.lanl.gov (mailrelay3.lanl.gov [128.165.4.104]) by mailwasher-b.lanl.gov (8.13.8/8.13.6/(ccn-5)) with ESMTP id l84MkYwx012714; Tue, 4 Sep 2007 16:46:34 -0600 Original-Received: from webmail1.lanl.gov (webmail1.lanl.gov [128.165.4.106]) by mailrelay3.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id l84MkUf4031591; Tue, 4 Sep 2007 16:46:30 -0600 Original-Received: from webmail1.lanl.gov (localhost.localdomain [127.0.0.1]) by webmail1.lanl.gov (8.12.11.20060308/8.12.11) with ESMTP id l84MkUO7028602; Tue, 4 Sep 2007 16:46:30 -0600 Original-Received: (from apache@localhost) by webmail1.lanl.gov (8.12.11.20060308/8.12.11/Submit) id l84MkTVq028599; Tue, 4 Sep 2007 15:46:29 -0700 X-Authentication-Warning: webmail1.lanl.gov: apache set sender to herring@lanl.gov using -f Original-Received: from 128.165.123.18 (SquirrelMail authenticated user 196434) by webmail.lanl.gov with HTTP; Tue, 4 Sep 2007 15:46:29 -0700 (PDT) In-Reply-To: User-Agent: SquirrelMail/1.4.8-6.el3.2lanl X-Priority: 3 (Normal) Importance: Normal X-CTN-5-MailScanner-Information: Please see http://network.lanl.gov/email/virus-scan.php X-CTN-5-MailScanner: Found to be clean X-CTN-5-MailScanner-From: herring@lanl.gov X-Detected-Kernel: Linux 2.4-2.6 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:77778 Archived-At: > 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.