From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: face vs. mouse-face text property Date: Tue, 24 Jan 2012 04:11:46 -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> <8339b62lo5.fsf@gnu.org> <83zkdd222e.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1327396320 27522 80.91.229.12 (24 Jan 2012 09:12:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 Jan 2012 09:12:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: chad Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 24 10:11:57 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 1RpcQ0-0002L2-KB for ged-emacs-devel@m.gmane.org; Tue, 24 Jan 2012 10:11:56 +0100 Original-Received: from localhost ([::1]:44957 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpcPz-00064j-Qz for ged-emacs-devel@m.gmane.org; Tue, 24 Jan 2012 04:11:55 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:35492) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpcPs-00064G-K6 for emacs-devel@gnu.org; Tue, 24 Jan 2012 04:11:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpcPr-0003hJ-Nr for emacs-devel@gnu.org; Tue, 24 Jan 2012 04:11:48 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:37213) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpcPr-0003hF-L5 for emacs-devel@gnu.org; Tue, 24 Jan 2012 04:11:47 -0500 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RpcPq-0003eF-NY; Tue, 24 Jan 2012 04:11:47 -0500 In-reply-to: (message from chad on Mon, 23 Jan 2012 23:04:39 -0800) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 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:147870 Archived-At: > From: chad > Date: Mon, 23 Jan 2012 23:04:39 -0800 > Cc: emacs-devel@gnu.org > > >> The characters you propose are much less popular, so run greater risk > >> of being not covered by the console fonts. > > > > E.g., PuTTY in UTF-8 display mode shows them as empty rectangles. > > I trust your experience far more than mine these days, but I have to wonder if empty rectangle might not be good enough for the suggested use case. I doubt that. The issue at hand is how to display mouse-highlighted newline so that it is clear to the user it's a newline that (e.g.) will be inserted when she clicks on it in *Completions* buffer. Showing an empty rectangle hardly accomplishes that effect. > I assume that C-x = DTRT with those empty rectangles? You meant "C-u C-x =", I presume. This does show the name of the character, but you should have the cursor on it, which might be tricky in the *Completions* buffer. Also, at least some methods of displaying something instead of a newline (e.g., display strings) cause "C-x =" to display information about the underlying character, which may or may not explain what is being shown and why.