[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13979: 24.3.50; NS: scroll-bar not draggable
From: |
Jan Djärv |
Subject: |
bug#13979: 24.3.50; NS: scroll-bar not draggable |
Date: |
Sun, 17 Mar 2013 10:45:45 +0100 |
Hello.
17 mar 2013 kl. 03:43 skrev Stefan Monnier <monnier@iro.umontreal.ca>:
>> turn on scroll-bar mode
>> (scroll-bar-mode t)
>
> They're on by default, aren't they?
>
>> then open a file and drag the scroll bar, it shows:
>> `mouse-on-link-p: Wrong type argument: listp, handle'
>> the stacktrace:
>> Debugger entered--Lisp error: (wrong-type-argument listp handle)
>> mouse-posn-property((#<window 0x10506e250 on *info*>
>> vertical-scroll-bar (4 . 428) 95079520 handle) follow-link)
>
> I can't reproduce it here on GNU/Linux. I'm not sure if the format of
> the posn object quoted above is correct, but can you try the patch
> below (which is either a fix, or a workaround)?
>
It may be a NS-specific error. I can reproduce it on OSX. Emacs-24.3 works
fine though, so I assume there has been some change in common code, and that
the NS code was not adjusted.
>> Also with scroll-bar turned on, horizontally splitted windows can not be
>> resized by dragging.
>
> I can't reproduce the problem here, either.
>
I can on OSX.
The patch below only changes the error message to
mouse-posn-property: Wrong type argument: integer-or-marker-p,
vertical-scroll-bar
Jan D.
>
> Stefan
>
>
> === modified file 'lisp/mouse.el'
> --- lisp/mouse.el 2013-03-09 17:14:24 +0000
> +++ lisp/mouse.el 2013-03-17 02:39:03 +0000
> @@ -709,7 +713,7 @@
> (if (consp pos)
> (let ((w (posn-window pos)) (pt (posn-point pos))
> (str (posn-string pos)))
> - (or (and str
> + (or (and (consp str)
> (get-text-property (cdr str) property (car str)))
> (and pt
> (get-char-property pt property w))))
>
>
- bug#13979: 24.3.50; NS: scroll-bar not draggable, Darren Hoo, 2013/03/16
- bug#13979: 24.3.50; NS: scroll-bar not draggable, Stefan Monnier, 2013/03/16
- bug#13979: 24.3.50; NS: scroll-bar not draggable,
Jan Djärv <=
- bug#13979: 24.3.50; NS: scroll-bar not draggable, Jan Djärv, 2013/03/17
- bug#13979: 24.3.50; NS: scroll-bar not draggable, Stefan Monnier, 2013/03/17
- bug#13979: 24.3.50; NS: scroll-bar not draggable, Jan D., 2013/03/17
- bug#13979: 24.3.50; NS: scroll-bar not draggable, Stefan Monnier, 2013/03/17
- bug#13979: 24.3.50; NS: scroll-bar not draggable, Jan Djärv, 2013/03/18
bug#13979: NS: scroll-bar not draggable, Stefan Monnier, 2013/03/19