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

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

bug#17633: 24.3.91; mouse-drag-line: Symbol's function definition is voi


From: Eli Zaretskii
Subject: bug#17633: 24.3.91; mouse-drag-line: Symbol's function definition is void: mouse--remap-link-click-p
Date: Sat, 31 May 2014 16:00:55 +0300

> From: Stefan Monnier <address@hidden>
> Date: Sat, 31 May 2014 08:34:28 -0400
> 
>  2014-05-31  Stefan Monnier  <address@hidden>
>  
> +     * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
> +     clicks (bug#17633).
> +
>       * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
>       for the single comma, since ", " is *very* common in normal French text
>       (bug#17643).
> 
> === modified file 'lisp/mouse.el'
> --- lisp/mouse.el     2014-05-18 22:53:27 +0000
> +++ lisp/mouse.el     2014-05-31 12:30:47 +0000
> @@ -658,7 +658,10 @@
>           (str (posn-string pos)))
>       (or (and str
>                (get-text-property (cdr str) property (car str)))
> -         (and pt
> +            ;; FIXME: mouse clicks on the mode-line come with a position in
> +            ;; (nth 5).  Maybe we should change the C code instead so that
> +            ;; mouse-clicks don't include a position there!
> +         (and pt (not (memq (posn-area pos) '(mode-line header-line)))
>                (get-char-property pt property w))))
>      (get-char-property pos property)))

Can you explain the problem in more detail?  I'm afraid I don't
understand the problem with mouse clicks on mode line.





reply via email to

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