From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 13979@debbugs.gnu.org, Darren Hoo <darren.hoo@gmail.com>
Subject: bug#13979: 24.3.50; NS: scroll-bar not draggable
Date: Sun, 17 Mar 2013 10:45:45 +0100 [thread overview]
Message-ID: <E9BAED66-9989-4D0C-AC62-C96790212CED@swipnet.se> (raw)
In-Reply-To: <jwvboaibvhs.fsf-monnier+emacs@gnu.org>
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))))
>
>
next prev parent reply other threads:[~2013-03-17 9:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-16 19:37 bug#13979: 24.3.50; NS: scroll-bar not draggable Darren Hoo
2013-03-17 2:43 ` Stefan Monnier
2013-03-17 9:45 ` Jan Djärv [this message]
2013-03-17 11:02 ` Jan Djärv
2013-03-17 13:12 ` Stefan Monnier
2013-03-17 14:41 ` Jan D.
2013-03-17 15:37 ` Stefan Monnier
2013-03-18 17:23 ` Jan Djärv
2013-03-19 12:41 ` bug#13979: " Stefan Monnier
2013-03-19 18:47 ` Jan Djärv
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E9BAED66-9989-4D0C-AC62-C96790212CED@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=13979@debbugs.gnu.org \
--cc=darren.hoo@gmail.com \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.