From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#13979: 24.3.50; NS: scroll-bar not draggable Date: Sat, 16 Mar 2013 22:43:07 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1363488223 13853 80.91.229.3 (17 Mar 2013 02:43:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Mar 2013 02:43:43 +0000 (UTC) Cc: 13979@debbugs.gnu.org To: Darren Hoo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 17 03:44:08 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 1UH3Zu-0002tJ-NY for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Mar 2013 03:44:06 +0100 Original-Received: from localhost ([::1]:38103 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UH3ZX-00054k-SY for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Mar 2013 22:43:43 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UH3ZS-00052o-SJ for bug-gnu-emacs@gnu.org; Sat, 16 Mar 2013 22:43:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UH3ZR-0002Tj-Qs for bug-gnu-emacs@gnu.org; Sat, 16 Mar 2013 22:43:38 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54174) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UH3ZR-0002Tf-NU for bug-gnu-emacs@gnu.org; Sat, 16 Mar 2013 22:43:37 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UH3ap-0000RP-1m for bug-gnu-emacs@gnu.org; Sat, 16 Mar 2013 22:45:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Mar 2013 02:45:02 +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.13634882821643 (code B ref 13979); Sun, 17 Mar 2013 02:45:02 +0000 Original-Received: (at 13979) by debbugs.gnu.org; 17 Mar 2013 02:44:42 +0000 Original-Received: from localhost ([127.0.0.1]:58278 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UH3aT-0000QS-Ko for submit@debbugs.gnu.org; Sat, 16 Mar 2013 22:44:41 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:17480) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UH3aR-0000QA-4o for 13979@debbugs.gnu.org; Sat, 16 Mar 2013 22:44:39 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EABK/CFFFxIIq/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA6R6gV6DEw X-IPAS-Result: Av8EABK/CFFFxIIq/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA6R6gV6DEw X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="5079772" Original-Received: from 69-196-130-42.dsl.teksavvy.com (HELO pastel.home) ([69.196.130.42]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 16 Mar 2013 22:43:06 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 641A467B19; Sat, 16 Mar 2013 22:43:07 -0400 (EDT) In-Reply-To: (Darren Hoo's message of "Sun, 17 Mar 2013 03:37:23 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) 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:72608 Archived-At: > 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((# > 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)? > Also with scroll-bar turned on, horizontally splitted windows can not be > resized by dragging. I can't reproduce the problem here, either. 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))))