From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman 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 00:09:24 +0200 Message-ID: <87fvj5omej.fsf@rosalinde.fritz.box> References: <84ppiahtix.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1402870225 8643 80.91.229.3 (15 Jun 2014 22:10:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Jun 2014 22:10:25 +0000 (UTC) Cc: 17788@debbugs.gnu.org To: Andrea Rossetti Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 16 00:10:19 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 1WwId0-0004NS-Mr for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Jun 2014 00:10:18 +0200 Original-Received: from localhost ([::1]:40031 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwId0-0001Kc-9C for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Jun 2014 18:10:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38026) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwIcr-0001I6-On for bug-gnu-emacs@gnu.org; Sun, 15 Jun 2014 18:10:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WwIcl-0003VL-Sm for bug-gnu-emacs@gnu.org; Sun, 15 Jun 2014 18:10:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57388) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwIcl-0003Tr-PY for bug-gnu-emacs@gnu.org; Sun, 15 Jun 2014 18:10:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WwIcl-0003ZE-0q for bug-gnu-emacs@gnu.org; Sun, 15 Jun 2014 18:10:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Jun 2014 22:10:02 +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.140287019113690 (code B ref 17788); Sun, 15 Jun 2014 22:10:02 +0000 Original-Received: (at 17788) by debbugs.gnu.org; 15 Jun 2014 22:09:51 +0000 Original-Received: from localhost ([127.0.0.1]:48538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WwIcY-0003Yk-JZ for submit@debbugs.gnu.org; Sun, 15 Jun 2014 18:09:51 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:57388) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WwIcV-0003YR-Pg for 17788@debbugs.gnu.org; Sun, 15 Jun 2014 18:09:48 -0400 Original-Received: from rosalinde.fritz.box ([89.245.103.28]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0LlVZv-1WLrwA1gvP-00bH2R; Mon, 16 Jun 2014 00:09:41 +0200 In-Reply-To: <84ppiahtix.fsf@gmail.com> (Andrea Rossetti's message of "Sun, 15 Jun 2014 21:17:26 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.91 (gnu/linux) X-Provags-ID: V03:K0:e+DBbBZWDB9WL9DVhpAAXlz8tFCz8tVUkS7pyqDDxCANZLRUnGh irUhDkefXls+GPYv23viUjpyOVMv40Q0NkBVlzeToNE+y6lj20ozSywjIkM8xvCFqW1tHX/ qw8iy+wtg5Y4RnEloMqTriG+5O7F9q75EQl48Fx7tipl6eND7sKmCM0QIRyf7ed/wKM+xpk YbOo9YLob7iRf/OYauHkw== 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:90410 Archived-At: On Sun, 15 Jun 2014 21:17:26 +0200 Andrea Rossetti wrote: > Hello, I found a minor bug in ruler mode, here is > a recipe to reproduce it: > > - start emacs -Q > - M-x ruler-mode RET > - click S- on the column 10 of the ruler, this will set a left > margin > - you will see the ruler has two column indicators in red colour: > "#" for comment column, and "pilcrow" symbol for paragraph fill indicator > - click and hold down mouse-2 (= center mouse button) on the red "#" indicator > - drag the indicator horizontally; indicator will follow the mouse as expected > - continue dragging slightly diagonally (for example in West-South-West > direction); as soon as you drag the mouse out of the grey ruler area, > you will see that the indicator "hops" left of about 10 columns > > I realize the explanation may be hard to follow because it involves > mouse dragging, so I prepared a small explicative image, it's available > here: > > https://raw.githubusercontent.com/thesoftwarebin/the-emacs-software-bin/master/emacs-bugs/ruler-mode-diagonal-drag-issue.png > > May someone please confirm if the above recipe seems to be reproducible. > > Thanks in advance for your attention and your patience in reading, > kindest regards. > > Andrea > > > > In GNU Emacs 24.3.1 (i386-mingw-nt6.1.7600) > of 2013-03-17 on MARVIN > Windowing system distributor `Microsoft Corp.', version 6.1.7600 I can reproduce your observation on GNU Emacs 24.3.91.10 (x86_64-suse-linux-gnu, GTK+ Version 3.10.4) of 2014-06-13 on rosalinde. I can add these observations: (1) I see # jump whenever the mouse pointer is moved off the ruler while holding down mouse-2, regardless of which direction you drag in (but conditioned on the following point). (2) If you don't set the left margin, I see # jump as follows: - If you drag from # straight down (due south), # jumps three columns to the left. - If you drag from # southeast by one character, # jumps two columns to the left. - If you drag from # southeast by two characters, # jumps one column to the left. - If you drag from # southeast by more than two characters, # does not jump to the left. - If you drag from # southwest, # slides (but doesn't jump) to whatever column you stop the drag on. Moreover, once you drag # southwest, you can slide # anywhere while holding mouse-2 with the mouse pointer in the text area, just like when it is on the rule. (3) If you set the left margin, the the number of columns jumped by dragging due south equals (margin width + 3), if I'm not mistaken. Steve Berman