From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: face vs. mouse-face text property Date: Tue, 24 Jan 2012 10:01:04 -0500 Message-ID: References: <87pqegeluf.fsf@web.de> <87y5t2f7q0.fsf@web.de> <83vco52wph.fsf@gnu.org> <87bopv8jla.fsf@web.de> <883D91EC-D57E-4A97-A1F9-B3C37F74EF49@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1327417311 17338 80.91.229.12 (24 Jan 2012 15:01:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 Jan 2012 15:01:51 +0000 (UTC) Cc: Emacs developers To: chad Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 24 16:01:47 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RphsG-0001K5-5f for ged-emacs-devel@m.gmane.org; Tue, 24 Jan 2012 16:01:28 +0100 Original-Received: from localhost ([::1]:45696 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RphsC-0002Dy-Kr for ged-emacs-devel@m.gmane.org; Tue, 24 Jan 2012 10:01:24 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:41569) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rphs5-000294-5k for emacs-devel@gnu.org; Tue, 24 Jan 2012 10:01:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rphrv-0004yK-Mp for emacs-devel@gnu.org; Tue, 24 Jan 2012 10:01:17 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:48117) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rphrv-0004y5-HR for emacs-devel@gnu.org; Tue, 24 Jan 2012 10:01:07 -0500 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q0OF15r2020266; Tue, 24 Jan 2012 10:01:05 -0500 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 14119B4431; Tue, 24 Jan 2012 10:01:05 -0500 (EST) In-Reply-To: <883D91EC-D57E-4A97-A1F9-B3C37F74EF49@gmail.com> (chad's message of "Mon, 23 Jan 2012 10:47:02 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4110=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4110> : streams <722611> : uri <1052852> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:147880 Archived-At: >>> Therefore, I think if we want to be able to display selectable >>> newlines, we need to have a special way to display such newlines, >>> e.g. "" or some such. >> I'd suggest \n rather than , since it's already used at many other >> places in Emacs (tho it's not often visible to the "end user"). > Maybe =E2=90=A4 and =E2=87=A5 would be useful here? Maybe, but I think not: I don't think "=E2=90=A4" is more commonly recogniz= ed as newline than "\n", so it's not worth the trouble of having to deal with cases where that char can't be displayed. Same thing for =E2=87=A5 (which on my current setup displays as something barely recognizable): I actually wondered what you intended to use it for, so it's not obvious enough. I think for TAB and SPC, the problem is only when they're at the beginning/end of the completion element (or when the element is made of nothing else than TABs and SPCs), so I think that adding quotes around the element will be more clear. Stefan