From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 21 00:28:58 2011 Received: (at submit) by debbugs.gnu.org; 21 Apr 2011 04:28:59 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QClVh-0005U1-Px for submit@debbugs.gnu.org; Thu, 21 Apr 2011 00:28:58 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QClVf-0005Tk-2p for submit@debbugs.gnu.org; Thu, 21 Apr 2011 00:28:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QClVY-0003ni-J4 for submit@debbugs.gnu.org; Thu, 21 Apr 2011 00:28:49 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:59424) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QClVY-0003ne-Hj for submit@debbugs.gnu.org; Thu, 21 Apr 2011 00:28:48 -0400 Received: from eggs.gnu.org ([140.186.70.92]:59218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QClVX-0008Nx-7j for bug-gnu-emacs@gnu.org; Thu, 21 Apr 2011 00:28:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QClVV-0003n0-GE for bug-gnu-emacs@gnu.org; Thu, 21 Apr 2011 00:28:47 -0400 Received: from smtpauth21.prod.mesa1.secureserver.net ([64.202.165.38]:49784) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QClVV-0003md-6g for bug-gnu-emacs@gnu.org; Thu, 21 Apr 2011 00:28:45 -0400 Received: (qmail 341 invoked from network); 21 Apr 2011 04:28:41 -0000 Received: from unknown (209.85.161.41) by smtpauth21.prod.mesa1.secureserver.net (64.202.165.38) with ESMTP; 21 Apr 2011 04:28:41 -0000 Received: by fxm18 with SMTP id 18so980522fxm.0 for ; Wed, 20 Apr 2011 21:28:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.72.132 with SMTP id m4mr2849125faj.86.1303360119363; Wed, 20 Apr 2011 21:28:39 -0700 (PDT) Received: by 10.223.93.197 with HTTP; Wed, 20 Apr 2011 21:28:39 -0700 (PDT) Date: Wed, 20 Apr 2011 21:28:39 -0700 Message-ID: Subject: 23.2; Button 'mouse-face property loses Bold and Italic properties From: PJ Weisberg To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) (defun buggy-button() (interactive) (insert-text-button "MyButton" 'face 'font-lock-function-name-face 'mouse-face 'font-lock-warning-face)) Evaluate that, then call buggy-button to insert a button. font-lock-function-name-face is blue font-lock-warning-face is red/bold The button that was inserted has a blue face, but when you hold the mouse over it it turns red, but not bold. The manual says that mouse-face is "merged with the usual button face", so I expected this: (defun buggy-button() (interactive) (insert-text-button "MyButton" 'face 'font-lock-function-name-face 'mouse-face 'bold-italic)) To result in a button that is blue, bold, and italic when the mouse is over it. Instead, I get a button that goes back to the default face when the mouse is over it. In GNU Emacs 23.2.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2010-12-11 on raven, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.10905000 configured using `configure '--build' 'i486-linux-gnu' '--build' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.2/leim' '--with-x=yes' '--with-x-toolkit=lucid' '--with-toolkit-scroll-bars' '--without-gconf' 'build_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Text Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-k C-k C-k C-k C-k C-k c u s t o m - v a r i a b l e - b u t t o n ) ) C-x C-e M-x b u g g y C-k C-x o f o n t - l o c k - w a r n i n g - f a c e C-e C-x C-e M-x b u g g y M-x r e p o r t SPC e m a c s SPC b u g Recent messages: buggy Quit buggy Making completion list... Quit Mark set buggy [2 times] Creating face editor...done Creating face editor...done Creating face editor...done buggy Load-path shadows: /usr/share/emacs/23.2/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs/23.2/site-lisp/html-helper-mode/tempo hides /usr/share/emacs/23.2/lisp/tempo /usr/share/emacs/23.2/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/23.2/lisp/textmodes/flyspell /usr/share/emacs/23.2/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/23.2/lisp/textmodes/ispell /usr/share/emacs/23.2/site-lisp/css-mode/css-mode hides /usr/share/emacs/23.2/lisp/textmodes/css-mode Features: (shadow sort mail-extr message sendmail regexp-opt ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils mailheader canlock sha1 hex-util hashcash mail-utils emacsbug pp debug multi-isearch help-mode view help-fns crm thingatpt cus-edit easymenu cus-start cus-load wid-edit tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind font-render-setting x-toolkit x multi-tty emacs) -PJ From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 21 06:06:34 2011 Received: (at 8530) by debbugs.gnu.org; 21 Apr 2011 10:06:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QCqmQ-0004bg-44 for submit@debbugs.gnu.org; Thu, 21 Apr 2011 06:06:34 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QCqmO-0004bS-84 for 8530@debbugs.gnu.org; Thu, 21 Apr 2011 06:06:33 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LJZ00100YP1FU00@a-mtaout20.012.net.il> for 8530@debbugs.gnu.org; Thu, 21 Apr 2011 13:06:22 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.124.129.240]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LJZ00MCYYQHX7F0@a-mtaout20.012.net.il>; Thu, 21 Apr 2011 13:06:19 +0300 (IDT) Date: Thu, 21 Apr 2011 13:06:56 +0300 From: Eli Zaretskii Subject: Re: bug#8530: 23.2; Button 'mouse-face property loses Bold and Italic properties In-reply-to: X-012-Sender: halo1@inter.net.il To: PJ Weisberg Message-id: <83fwpb3olb.fsf@gnu.org> References: X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 8530 Cc: 8530@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > Date: Wed, 20 Apr 2011 21:28:39 -0700 > From: PJ Weisberg > > (defun buggy-button() > (interactive) > (insert-text-button "MyButton" > 'face 'font-lock-function-name-face > 'mouse-face 'font-lock-warning-face)) > > Evaluate that, then call buggy-button to insert a button. > > font-lock-function-name-face is blue > font-lock-warning-face is red/bold > > The button that was inserted has a blue face, but when you hold the > mouse over it it turns red, but not bold. > > The manual says that mouse-face is "merged with the usual button face", > so I expected this: > > (defun buggy-button() > (interactive) > (insert-text-button "MyButton" > 'face 'font-lock-function-name-face > 'mouse-face 'bold-italic)) > > To result in a button that is blue, bold, and italic when the mouse is > over it. Instead, I get a button that goes back to the default face > when the mouse is over it. Well, "merged with the usual button face" for some value of "merge"... We never use any information from the mouse-face except its colors. So we currently don't support bold and italic attributes in that face; they are simply ignored. We could close this bug report, or we could leave it open as a wishlist. From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 21 14:39:02 2011 Received: (at 8530) by debbugs.gnu.org; 21 Apr 2011 18:39:02 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QCymM-0008CW-4W for submit@debbugs.gnu.org; Thu, 21 Apr 2011 14:39:02 -0400 Received: from p3plsmtpa01-03.prod.phx3.secureserver.net ([72.167.82.83]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QCymF-0008CA-In for 8530@debbugs.gnu.org; Thu, 21 Apr 2011 14:39:00 -0400 Received: (qmail 14312 invoked from network); 21 Apr 2011 18:38:49 -0000 Received: from unknown (209.85.161.44) by p3plsmtpa01-03.prod.phx3.secureserver.net (72.167.82.83) with ESMTP; 21 Apr 2011 18:38:49 -0000 Received: by fxm15 with SMTP id 15so18714fxm.3 for <8530@debbugs.gnu.org>; Thu, 21 Apr 2011 11:38:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.60.81 with SMTP id o17mr294633fah.48.1303411124239; Thu, 21 Apr 2011 11:38:44 -0700 (PDT) Received: by 10.223.93.197 with HTTP; Thu, 21 Apr 2011 11:38:44 -0700 (PDT) In-Reply-To: <83fwpb3olb.fsf@gnu.org> References: <83fwpb3olb.fsf@gnu.org> Date: Thu, 21 Apr 2011 11:38:44 -0700 Message-ID: Subject: Re: bug#8530: 23.2; Button 'mouse-face property loses Bold and Italic properties From: PJ Weisberg To: Eli Zaretskii Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: 8530 Cc: 8530@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.8 (---) On Thu, Apr 21, 2011 at 3:06 AM, Eli Zaretskii wrote: > Well, "merged with the usual button face" for some value of "merge"... > We never use any information from the mouse-face except its colors. > So we currently don't support bold and italic attributes in that face; > they are simply ignored. > > We could close this bug report, or we could leave it open as a > wishlist. Well, it's not *only* the colors, since the "box" property is respected. It seems odd that some properties are used and some are ignored. From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 21 15:24:30 2011 Received: (at 8530) by debbugs.gnu.org; 21 Apr 2011 19:24:30 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QCzUM-0000l9-7F for submit@debbugs.gnu.org; Thu, 21 Apr 2011 15:24:30 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QCzUL-0000kz-Do for 8530@debbugs.gnu.org; Thu, 21 Apr 2011 15:24:29 -0400 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1QCzUG-0002KV-9b; Thu, 21 Apr 2011 15:24:24 -0400 Date: Thu, 21 Apr 2011 15:24:24 -0400 Message-Id: From: Eli Zaretskii To: PJ Weisberg In-reply-to: (message from PJ Weisberg on Thu, 21 Apr 2011 11:38:44 -0700) Subject: Re: bug#8530: 23.2; Button 'mouse-face property loses Bold and Italic properties References: <83fwpb3olb.fsf@gnu.org> X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: 8530 Cc: 8530@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.5 (------) > Date: Thu, 21 Apr 2011 11:38:44 -0700 > From: PJ Weisberg > Cc: 8530@debbugs.gnu.org > > Well, it's not *only* the colors, since the "box" property is > respected. It seems odd that some properties are used and some are > ignored. Well, the font is explicitly ignored, at least in my reading of the code. Maybe that's because mouse-face was intended to _highlight_ the text, not redraw it in some entirely different face. Or maybe there are other reasons, or even no particular reason at all. I don't know. From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 21 16:05:34 2011 Received: (at 8530) by debbugs.gnu.org; 21 Apr 2011 20:05:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QD086-0001fS-3r for submit@debbugs.gnu.org; Thu, 21 Apr 2011 16:05:34 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QD082-0001fF-Vs for 8530@debbugs.gnu.org; Thu, 21 Apr 2011 16:05:31 -0400 Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p3LK5NtA014775 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 21 Apr 2011 20:05:24 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p3LK5MjH016024 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 21 Apr 2011 20:05:23 GMT Received: from abhmt002.oracle.com (abhmt002.oracle.com [141.146.116.11]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p3LK5ML6004308; Thu, 21 Apr 2011 15:05:22 -0500 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 21 Apr 2011 13:05:21 -0700 From: "Drew Adams" To: "'Eli Zaretskii'" , "'PJ Weisberg'" References: <83fwpb3olb.fsf@gnu.org> Subject: RE: bug#8530: 23.2; Button 'mouse-face property loses Bold and Italic properties Date: Thu, 21 Apr 2011 13:05:23 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-reply-to: Thread-Index: AcwAW5F/pK5m1Hu7Tpy7a/VUPxgAOwAAxibg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6090 X-Source-IP: rcsinet13.oracle.com [148.87.113.125] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090208.4DB08E04.00FB:SCFMA4539811,ss=1,fgs=0 X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 8530 Cc: 8530@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) > > Well, it's not *only* the colors, since the "box" property is > > respected. It seems odd that some properties are used and some are > > ignored. Underlining, as well. I use underlining for `mouse-face' in some buffers that have essentially tabular data (e.g. Dired, grep). I put the (underline) `mouse-face' property on the whole line, to make it easier to choose from any column and easier on visual scanning (same reason you might employ zebra striping: to be able to easily see what's in the same row/line). > Well, the font is explicitly ignored, at least in my reading of the > code. Maybe that's because mouse-face was intended to _highlight_ the > text, not redraw it in some entirely different face. Or maybe there > are other reasons, or even no particular reason at all. I don't know. >From a user point of view it is a bug, IMO. Regardless of what an Emacs developer might foresee as the only reasonable settings, a user should be able to set `mouse-face' to any face or any set of face properties and have that setting be manifested. From debbugs-submit-bounces@debbugs.gnu.org Wed May 11 11:17:17 2011 Received: (at 8530) by debbugs.gnu.org; 11 May 2011 15:17:17 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QKBA4-0002n6-Oq for submit@debbugs.gnu.org; Wed, 11 May 2011 11:17:16 -0400 Received: from smtpauth22.prod.mesa1.secureserver.net ([64.202.165.44]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QKBA3-0002mu-58 for 8530@debbugs.gnu.org; Wed, 11 May 2011 11:17:15 -0400 Received: (qmail 22959 invoked from network); 11 May 2011 15:17:09 -0000 Received: from unknown (209.85.161.44) by smtpauth22.prod.mesa1.secureserver.net (64.202.165.44) with ESMTP; 11 May 2011 15:17:09 -0000 Received: by fxm15 with SMTP id 15so458178fxm.3 for <8530@debbugs.gnu.org>; Wed, 11 May 2011 08:17:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.7.8 with SMTP id b8mr1840678fab.19.1305127027200; Wed, 11 May 2011 08:17:07 -0700 (PDT) Received: by 10.223.69.141 with HTTP; Wed, 11 May 2011 08:17:07 -0700 (PDT) In-Reply-To: References: <83fwpb3olb.fsf@gnu.org> Date: Wed, 11 May 2011 08:17:07 -0700 Message-ID: Subject: Re: bug#8530: 23.2; Button 'mouse-face property loses Bold and Italic properties From: PJ Weisberg To: Eli Zaretskii Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.7 (---) X-Debbugs-Envelope-To: 8530 Cc: "8530@debbugs.gnu.org" <8530@debbugs.gnu.org>, PJ Weisberg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.6 (---) On Thursday, April 21, 2011, Eli Zaretskii wrote: > Well, the font is explicitly ignored, at least in my reading of the > code. =A0Maybe that's because mouse-face was intended to _highlight_ the > text, not redraw it in some entirely different face. =A0Or maybe there > are other reasons, or even no particular reason at all. =A0I don't know. > FWIW, as a user I consider adding bold and/or italic properties a more subtle change than changing the color, even though as a developer I know that they're implemented as separate fonts. (Which is why I have the magit-item-highlight face customized to bold+italic, and therefore noticed when adding it as a mouse-face to a section didn't have the same effect as highlighting the section by moving the point into it.) --=20 -PJ From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 09 17:16:36 2011 Received: (at 8530) by debbugs.gnu.org; 9 Aug 2011 21:16:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QqtfA-00025u-3v for submit@debbugs.gnu.org; Tue, 09 Aug 2011 17:16:36 -0400 Received: from vm-emlprdomr-04.its.yale.edu ([130.132.50.145]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qqtf6-00025m-V6 for 8530@debbugs.gnu.org; Tue, 09 Aug 2011 17:16:34 -0400 Received: from furball (173-9-75-145-NewEngland.hfc.comcastbusiness.net [173.9.75.145]) (authenticated bits=0) by vm-emlprdomr-04.its.yale.edu (8.14.4/8.14.4) with ESMTP id p79LFJ0r026529 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 9 Aug 2011 17:15:22 -0400 From: Chong Yidong To: Eli Zaretskii Subject: Re: bug#8530: 23.2; Button 'mouse-face property loses Bold and Italic properties References: <83fwpb3olb.fsf@gnu.org> Date: Tue, 09 Aug 2011 17:15:19 -0400 In-Reply-To: (Eli Zaretskii's message of "Thu, 21 Apr 2011 15:24:24 -0400") Message-ID: <8739hathg8.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.71 on 130.132.50.145 X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 8530 Cc: 8530@debbugs.gnu.org, PJ Weisberg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.5 (--) Eli Zaretskii writes: > the font is explicitly ignored, at least in my reading of the code. > Maybe that's because mouse-face was intended to _highlight_ the text, > not redraw it in some entirely different face. Or maybe there are > other reasons, or even no particular reason at all. Here is one reason: - Move the mouse cursor over some text with a mouse face. - Mouse face activates. - Mouse face has a smaller font, so the text shrinks in size. - The text is no longer under the mouse cursor. - Mouse face should not be active. - ???? I have added a note to the Lisp manual that the mouse-face can't be used to change the text size. From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 09 17:16:49 2011 Received: (at control) by debbugs.gnu.org; 9 Aug 2011 21:16:49 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QqtfM-00026K-Kg for submit@debbugs.gnu.org; Tue, 09 Aug 2011 17:16:49 -0400 Received: from vm-emlprdomr-06.its.yale.edu ([130.132.50.147]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QqtfK-00026D-GX for control@debbugs.gnu.org; Tue, 09 Aug 2011 17:16:47 -0400 Received: from furball (173-9-75-145-NewEngland.hfc.comcastbusiness.net [173.9.75.145]) (authenticated bits=0) by vm-emlprdomr-06.its.yale.edu (8.14.4/8.14.4) with ESMTP id p79LFZYb019895 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Tue, 9 Aug 2011 17:15:36 -0400 From: Chong Yidong To: control@debbugs.gnu.org Subject: close 8530 Date: Tue, 09 Aug 2011 17:15:35 -0400 Message-ID: <87fwla477s.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.71 on 130.132.50.147 X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) close 8530 thanks From unknown Tue Aug 19 10:03:26 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 07 Sep 2011 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator