GNU bug report logs -
#13979
24.3.50; NS: scroll-bar not draggable
Previous Next
Reported by: Darren Hoo <darren.hoo <at> gmail.com>
Date: Sat, 16 Mar 2013 19:40:02 UTC
Severity: normal
Found in version 24.3.50
Done: Jan Djärv <jan.h.d <at> swipnet.se>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 13979 <at> debbugs.gnu.org (full text, mbox):
Hello.
17 mar 2013 kl. 03:43 skrev Stefan Monnier <monnier <at> 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))))
>
>
This bug report was last modified 12 years and 69 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.