From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#13979: 24.3.50; NS: scroll-bar not draggable Date: Sun, 17 Mar 2013 10:45:45 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1363513598 29725 80.91.229.3 (17 Mar 2013 09:46:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Mar 2013 09:46:38 +0000 (UTC) Cc: 13979@debbugs.gnu.org, Darren Hoo To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 17 10:47:03 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UHABB-0000Dt-Ib for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Mar 2013 10:47:01 +0100 Original-Received: from localhost ([::1]:57188 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHAAo-0003EN-Nv for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Mar 2013 05:46:38 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41485) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHAAm-0003EI-1H for bug-gnu-emacs@gnu.org; Sun, 17 Mar 2013 05:46:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UHAAk-0004GG-Md for bug-gnu-emacs@gnu.org; Sun, 17 Mar 2013 05:46:35 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54462) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHAAk-0004GC-JC for bug-gnu-emacs@gnu.org; Sun, 17 Mar 2013 05:46:34 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UHAC9-0006D6-K8 for bug-gnu-emacs@gnu.org; Sun, 17 Mar 2013 05:48:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Mar 2013 09:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13979 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13979-submit@debbugs.gnu.org id=B13979.136351364423803 (code B ref 13979); Sun, 17 Mar 2013 09:48:01 +0000 Original-Received: (at 13979) by debbugs.gnu.org; 17 Mar 2013 09:47:24 +0000 Original-Received: from localhost ([127.0.0.1]:58571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UHABY-0006Br-CG for submit@debbugs.gnu.org; Sun, 17 Mar 2013 05:47:24 -0400 Original-Received: from mailout.melmac.se ([62.20.26.67]:46168) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UHABV-0006BZ-ND for 13979@debbugs.gnu.org; Sun, 17 Mar 2013 05:47:22 -0400 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 7F8989BDB for <13979@debbugs.gnu.org>; Sun, 17 Mar 2013 10:45:46 +0100 (CET) Original-Received: (qmail 21727 invoked by uid 89); 17 Mar 2013 08:45:42 -0000 Original-Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 17 Mar 2013 08:45:42 -0000 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id B42947FA06C; Sun, 17 Mar 2013 10:45:45 +0100 (CET) In-Reply-To: X-Mailer: Apple Mail (2.1503) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:72626 Archived-At: Hello. 17 mar 2013 kl. 03:43 skrev Stefan Monnier : >> turn on scroll-bar mode >> (scroll-bar-mode t) >=20 > They're on by default, aren't they? >=20 >> 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((# >> vertical-scroll-bar (4 . 428) 95079520 handle) follow-link) >=20 > 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)? >=20 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. >=20 > I can't reproduce the problem here, either. >=20 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. >=20 > Stefan >=20 >=20 > =3D=3D=3D 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)))) >=20 >=20