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: use of `mouse-face' to delimit text zones Date: Tue, 23 Aug 2011 21:45:11 +0300 Message-ID: <8339gshsqw.fsf@gnu.org> References: <4E48D309.6050503@acdlabs.ru> <83hb5jujjs.fsf@gnu.org> <874o1j10zv.fsf@fencepost.gnu.org> <8362lyvcli.fsf@gnu.org> <83k4aasnm9.fsf@gnu.org> <838vqmx9tj.fsf@gnu.org> <87ipppjfiq.fsf@gmail.com> <87ei0cjvow.fsf@gmail.com> <77465C28555E49ACA714C9A439EA4396@us.oracle.com> <834o18hznn.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1314125138 13350 80.91.229.12 (23 Aug 2011 18:45:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 23 Aug 2011 18:45:38 +0000 (UTC) Cc: stepnem@gmail.com, drew.adams@oracle.com, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 23 20:45:33 2011 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 1Qvvye-0003y1-Ha for ged-emacs-devel@m.gmane.org; Tue, 23 Aug 2011 20:45:32 +0200 Original-Received: from localhost ([::1]:45121 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qvvyd-0007SM-MA for ged-emacs-devel@m.gmane.org; Tue, 23 Aug 2011 14:45:31 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:59444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qvvya-0007S5-G4 for emacs-devel@gnu.org; Tue, 23 Aug 2011 14:45:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QvvyY-0006bn-T6 for emacs-devel@gnu.org; Tue, 23 Aug 2011 14:45:28 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:50172) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvvyY-0006bj-JL for emacs-devel@gnu.org; Tue, 23 Aug 2011 14:45:26 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LQE00D009F5JQ00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Tue, 23 Aug 2011 21:45:11 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.126.219.41]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LQE00DP49F8IO10@a-mtaout20.012.net.il>; Tue, 23 Aug 2011 21:45:09 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.166 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:143548 Archived-At: > From: Stefan Monnier > Cc: Drew Adams , stepnem@gmail.com, emacs-devel@gnu.org > Date: Tue, 23 Aug 2011 14:34:25 -0400 > > > How is Joe R. Hacker supposed to know that adding invisible characters > > to a portion of text covered by mouse-face will break completion?? > > We're talking about a property added *by the completion code* and *for > the completion code*. I.e. an internal use. Not entirely true: when the mouse hovers above those parts of the *Completions* buffer, the candidate under the mouse gets highlighted. By contrast, a face added for internal purposed would be invisible to the user. > Joe R. Hacker doesn't need to know about it unless he actually hacks > on the code that handles minibuffer-completion-help. Guess what? he just did.