From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Bug in mouse highlighting Date: Sat, 06 Nov 2004 11:53:56 -0500 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1099777252 29268 80.91.229.6 (6 Nov 2004 21:40:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 6 Nov 2004 21:40:52 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 06 22:40:46 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CQYIg-0004AP-00 for ; Sat, 06 Nov 2004 22:40:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CQYQx-0000Vl-1M for ged-emacs-devel@m.gmane.org; Sat, 06 Nov 2004 16:49:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CQYQq-0000Ut-8s for emacs-devel@gnu.org; Sat, 06 Nov 2004 16:49:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CQYQp-0000UG-4A for emacs-devel@gnu.org; Sat, 06 Nov 2004 16:49:11 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CQYQo-0000U7-WA for emacs-devel@gnu.org; Sat, 06 Nov 2004 16:49:11 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CQYIF-00069G-O9 for emacs-devel@gnu.org; Sat, 06 Nov 2004 16:40:19 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1CQTp6-0006Y7-B9; Sat, 06 Nov 2004 11:53:56 -0500 Original-To: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:29491 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29491 We still need someone to fix this. Could someone who has worked on the display code recently please take a look at this bug? Please respond to this message if you work on it. To: emacs-pretest-bug@gnu.org From: Stephen Berman Date: Thu, 21 Oct 2004 18:11:01 +0200 Subject: Mouse-face overlay bleeds into header line Sender: emacs-pretest-bug-bounces+rms=gnu.org@gnu.org This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Mouse-face overlays bleed into the header line when the beginning of the overlay is above (point-min). To reproduce: 1. Start Emacs with -q -no-site-file. 2. In *scratch* eval (setq ov (make-overlay 66 92)), (overlay-put ov 'mouse-face 'highlight), and (setq header-line-format "test"). 3. Drag the mouse over the string "evaluation.\n;; If you want" and notice the highlighting of only this string. 4. Now click on the down arrow in the scroll bar until the line beginning ";; If you want" is directly below the header line. 5. Drag the mouse over ";; If you want" and notice that not only it but also the header line are highlighted. I have only gotten this with mouse-face overlays; it doesn't happen with e.g. face overlays, nor with mouse-face text properties. It also happens with header lines from packages such as ruler.el and tabbar.el -- but not with Info (go to e.g. (elisp) Lisp Data Types and scroll down until line 22 "Types::.)" is at the top of the buffer, so that beginning of the mouse-face highlighting is above (point-min): dragging the mouse over "Types" highlights only it and not the header line). I don't know why the Info header line doesn't show this bleeding. I tried making a header the way the Info header line is made (as a text property), but still got the bleeding. This bleeding happens in CVS Emacs (with GTK, I haven't tested with other toolkits) but not in Emacs 21.3 (however, in Emacs 21.3 the same recipe yields a different bug: when you do step five, the header line does not get highlighted, but the highlighted ";; If you want" changes to "; If you wantt"). In GNU Emacs 21.3.50.2 (i686-pc-linux-gnu, GTK+ Version 2.2.3) of 2004-10-18 on feldmann configured using `configure '--with-x-toolkit=gtk'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C 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 locale-coding-system: iso-latin-1 default-enable-multibyte-characters: t Major mode: Help Minor modes in effect: show-paren-mode: t tabbar-mode: t auto-compression-mode: t display-time-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t global-font-lock-mode: t font-lock-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t column-number-mode: t line-number-mode: t view-mode: t Recent input: e s c x t SPC p r o p o e r t i e s SPC SPC SPC SPC SPC M-x C-g C-h f r e p o r - b e m C-h f q M-x r e p o r Recent messages: Creating customization buffer... Creating customization buttons... Creating customization items... Creating customization items ...done Creating customization setup... Creating customization buffer...done Fontifying .gnu-emacs-custom... (regexps..............) Wrote /home/steve/.gnu-emacs-custom [2 times] Making completion list... Loading emacsbug...done _______________________________________________ Emacs-pretest-bug mailing list Emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug