From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrea Rossetti Newsgroups: gmane.emacs.bugs Subject: bug#17788: 24.3; ruler-mode: column indicators "hop" left if you drag them diagonally Date: Mon, 16 Jun 2014 21:03:16 +0200 Message-ID: <84ha3ku16z.fsf@gmail.com> References: <84ppiahtix.fsf@gmail.com> <87fvj5omej.fsf@rosalinde.fritz.box> <84zjhdixgw.fsf@gmail.com> <87mwddjh1w.fsf@rosalinde.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1402945472 9442 80.91.229.3 (16 Jun 2014 19:04:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Jun 2014 19:04:32 +0000 (UTC) Cc: 17788@debbugs.gnu.org To: Stephen Berman , rudalics@gmx.at Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 16 21:04:25 2014 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 1WwcCf-0005nO-25 for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Jun 2014 21:04:25 +0200 Original-Received: from localhost ([::1]:46001 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwcCc-0001He-Fs for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Jun 2014 15:04:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54631) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwcCR-0001Fk-1K for bug-gnu-emacs@gnu.org; Mon, 16 Jun 2014 15:04:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WwcCI-0000OF-Ke for bug-gnu-emacs@gnu.org; Mon, 16 Jun 2014 15:04:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58485) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwcCI-0000OB-GN for bug-gnu-emacs@gnu.org; Mon, 16 Jun 2014 15:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WwcCH-0002uG-S6 for bug-gnu-emacs@gnu.org; Mon, 16 Jun 2014 15:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Rossetti Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Jun 2014 19:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17788 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17788-submit@debbugs.gnu.org id=B17788.140294542111132 (code B ref 17788); Mon, 16 Jun 2014 19:04:01 +0000 Original-Received: (at 17788) by debbugs.gnu.org; 16 Jun 2014 19:03:41 +0000 Original-Received: from localhost ([127.0.0.1]:49635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WwcBs-0002tP-23 for submit@debbugs.gnu.org; Mon, 16 Jun 2014 15:03:40 -0400 Original-Received: from mail-we0-f171.google.com ([74.125.82.171]:45572) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WwcBl-0002sz-GD for 17788@debbugs.gnu.org; Mon, 16 Jun 2014 15:03:34 -0400 Original-Received: by mail-we0-f171.google.com with SMTP id q58so6222248wes.16 for <17788@debbugs.gnu.org>; Mon, 16 Jun 2014 12:03:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=It3cMwvKobsoi8AJihdksAZB4n+UYPiNy6vYJeoWTiY=; b=nRU10r4D/8j7/k8jHpNKn3CMrWZ4rjRtyy9nQHOw5TWHzM0bB8TkNLd+G2HqEhxNQ4 PobxT0B+Pv4FkAdgo0WZZi4TkWpk8xNonYNstYE8ut6y4injC6UntK1UtlSbiEvCGWlC gZSyg3pVLsfhIFK7nzneWrcBOIDE+jkyXSQdzymIxqQCLc4pC4ZWNhIQOHjdmvCEo/1i OyhVyoi41YVgY3BtbGdIsICyuLgEIA3lK3kGWd+JhBf7bKIFa/zrXgyOsoHDBvq0WOOB SY+br/YzcYzYsEFabA/nD0NpP+229hnnlwfm498o90iDYttAn2DkV/zDvXyzDWL9Q2au Mjiw== X-Received: by 10.180.98.163 with SMTP id ej3mr30203097wib.9.1402945402468; Mon, 16 Jun 2014 12:03:22 -0700 (PDT) Original-Received: from LAPTOP-ANDREA.laptop-andrea.trieste.it (net-93-147-218-120.cust.dsl.teletu.it. [93.147.218.120]) by mx.google.com with ESMTPSA id l49sm35762324eef.27.2014.06.16.12.03.20 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 16 Jun 2014 12:03:21 -0700 (PDT) In-Reply-To: <87mwddjh1w.fsf@rosalinde.fritz.box> (Stephen Berman's message of "Mon, 16 Jun 2014 12:16:11 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.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:90442 Archived-At: Stephen Berman writes: > I do indeed that the scroll bar on the left (it's also a non-toolkit > scroll bar, FWIW). > With your patch, I still get a jump of # when I drag the mouse pointer > down out of the ruler, but now only by two columns to the left, > regardless of whether I set the left margin or not. Hi Stephen, I confirm that left scroll bar was a relevant difference between us: if I type "M-S-; (set-scroll-bar-mode 'left) RET" in ruler-mode I get scroll-bar on left side and see the indicators "hop" exactly two columns left, same as in your setup. >> + (if (eq (posn-area start) 'header-line) > ^^^^^ > I guess this should be `start-or-end-event' (otherwise the byte compiler > warns about a free variable). Ehm... my apologies for that :) I'm now going to post another version of the patch (can you please throw away the previous one). Kindest regards, Andrea