bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6765: 24.0.50; Tooltip over mode-line has strange content.


From: Jan Djärv
Subject: bug#6765: 24.0.50; Tooltip over mode-line has strange content.
Date: Sun, 01 Aug 2010 10:53:27 +0200
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1

That fixes it.  Strange that it doesn't fail everytime, but only the first time.

        Jan D.


YAMAMOTO Mitsuharu skrev 2010-08-01 08.28:
On Fri, 30 Jul 2010 17:26:36 +0200, Jan Djärv<address@hidden>  said:

% emacs -q
Move mouse to (Fundamental) in the mode-line.  A tooltip pops up:

"mouse-1ode
mouse-1: Display major mode menu
mouse-2: Show help for major mode
mouse-3: Toggle minor modes'
"

The first line is strange, should be "Major mode".

mouse-fixup-help-message in mouse.el seems to have clobbered it.

                                     YAMAMOTO Mitsuharu
                                address@hidden

=== modified file 'lisp/mouse.el'
*** lisp/mouse.el       2010-01-13 08:35:10 +0000
--- lisp/mouse.el       2010-08-01 06:11:31 +0000
***************
*** 887,893 ****
       (if (and mouse-1-click-follows-link
             (stringp msg)
             (save-match-data
!              (string-match "^mouse-2" msg))
             (setq mp (mouse-pixel-position))
             (consp (setq pos (cdr mp)))
             (car pos) (>= (car pos) 0)
--- 887,893 ----
       (if (and mouse-1-click-follows-link
             (stringp msg)
             (save-match-data
!              (string-match "\\`mouse-2" msg))
             (setq mp (mouse-pixel-position))
             (consp (setq pos (cdr mp)))
             (car pos) (>= (car pos) 0)







reply via email to

[Prev in Thread] Current Thread [Next in Thread]