From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#489: marked as done (Mouse highlighting bug) Date: Mon, 22 Jun 2009 02:05:12 +0000 Message-ID: References: <87prcxdnye.fsf@stupidchicken.com> <87hcbfdgg9.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1245636312-5763-0" X-Trace: ger.gmane.org 1245637086 5925 80.91.229.12 (22 Jun 2009 02:18:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Jun 2009 02:18:06 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 22 04:18:03 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MIZ6g-0000Qr-8p for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Jun 2009 04:18:02 +0200 Original-Received: from localhost ([127.0.0.1]:36408 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MIZ6f-0004S6-JV for geb-bug-gnu-emacs@m.gmane.org; Sun, 21 Jun 2009 22:18:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MIZ6B-00048w-Fv for bug-gnu-emacs@gnu.org; Sun, 21 Jun 2009 22:17:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MIZ66-00045a-C4 for bug-gnu-emacs@gnu.org; Sun, 21 Jun 2009 22:17:30 -0400 Original-Received: from [199.232.76.173] (port=33985 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MIZ65-00045P-QD for bug-gnu-emacs@gnu.org; Sun, 21 Jun 2009 22:17:25 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:41368) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MIZ65-00046P-9s for bug-gnu-emacs@gnu.org; Sun, 21 Jun 2009 22:17:25 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5M2HMUp007878; Sun, 21 Jun 2009 19:17:23 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n5M25C1L005811; Sun, 21 Jun 2009 19:05:12 -0700 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 489 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:28891 Archived-At: This is a multi-part message in MIME format... ------------=_1245636312-5763-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sun, 21 Jun 2009 22:03:37 -0400 with message-id <87prcxdnye.fsf@stupidchicken.com> and subject line Re: Mouse highlighting bug has caused the Emacs bug report #489, regarding Mouse highlighting bug to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 489: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D489 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1245636312-5763-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.5 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 26 Jun 2008 21:43:58 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5QLhtks019271 for ; Thu, 26 Jun 2008 14:43:56 -0700 Received: from mx10.gnu.org ([199.232.76.166]:58735) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KBzFp-0004hW-Ny for emacs-pretest-bug@gnu.org; Thu, 26 Jun 2008 17:43:45 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KBzFw-0004S1-Bo for emacs-pretest-bug@gnu.org; Thu, 26 Jun 2008 17:43:54 -0400 Received: from cyd.mit.edu ([18.115.2.24]:39364) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KBzFv-0004Rn-GN for emacs-pretest-bug@gnu.org; Thu, 26 Jun 2008 17:43:51 -0400 Received: by cyd.mit.edu (Postfix, from userid 1000) id 284AA4E474; Thu, 26 Jun 2008 17:39:02 -0400 (EDT) From: Chong Yidong To: emacs-pretest-bug@gnu.org Subject: Mouse highlighting bug Date: Thu, 26 Jun 2008 17:39:02 -0400 Message-ID: <87hcbfdgg9.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) There seems to be a bug is how mouse-face highlighting handles extending faces to the end of the line: (global-set-key [f1] (lambda () (interactive) (switch-to-buffer "asdf") (erase-buffer) (insert "123456\n890") (put-text-property 4 9 'mouse-face 'highlight) (put-text-property 4 9 'face (list :underline t)))) Put the mouse over the region with mouse-highlight, then remove it. Result: the space after the first line becomes underlined. ------------=_1245636312-5763-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 489-done) by emacsbugs.donarmstrong.com; 22 Jun 2009 02:03:47 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.5 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pantheon-po33.its.yale.edu (pantheon-po33.its.yale.edu [130.132.50.94]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5M23hKO004823 for <489-done@emacsbugs.donarmstrong.com>; Sun, 21 Jun 2009 19:03:45 -0700 Received: from furry (c-71-232-13-53.hsd1.ma.comcast.net [71.232.13.53]) (authenticated bits=0) by pantheon-po33.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n5M23bNZ022701 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <489-done@emacsbugs.donarmstrong.com>; Sun, 21 Jun 2009 22:03:38 -0400 Received: by furry (Postfix, from userid 1000) id B4D32C09B; Sun, 21 Jun 2009 22:03:37 -0400 (EDT) From: Chong Yidong To: 489-done@emacsbugs.donarmstrong.com Subject: Re: Mouse highlighting bug Date: Sun, 21 Jun 2009 22:03:37 -0400 Message-ID: <87prcxdnye.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) > (global-set-key [f1] > (lambda () (interactive) > (switch-to-buffer "asdf") > (erase-buffer) > (insert "123456\n890") > (put-text-property 4 9 'mouse-face 'highlight) > (put-text-property 4 9 'face (list :underline t)))) > > Put the mouse over the region with mouse-highlight, then remove it. > Result: the space after the first line becomes underlined. I've checked a fix for this into the trunk, which involves changing x_draw_glyph_string so that the underline (and overline) is not extended into the end-of-line padding. This is similar to the behavior of strike-through. ------------=_1245636312-5763-0--