unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: nljlistbox2@gmail.com (N. Jackson)
To: martin rudalics <rudalics@gmx.at>
Cc: 16647@debbugs.gnu.org, esabof@gmail.com
Subject: bug#16647: Imprecisions with window-resizing cursors
Date: Sat, 22 Feb 2014 14:06:47 -0400	[thread overview]
Message-ID: <87txbrrphk.fsf@moondust.localdomain> (raw)
In-Reply-To: <53086B2A.4020804@gmx.at> (martin rudalics's message of "Sat, 22 Feb 2014 10:17:30 +0100")

Hi Martin,

At 05:17 -0400 on Saturday 2014-02-22, martin rudalics wrote:

>> Okay, I have applied the patch (on top of GNU Emacs 24.3.50
>> (x86_64-unknown-linux-gnu, GTK+ Version 3.8.8) of 2014-02-19 Repository
>> revision: 116484)
>>
>> With the patch I see the same behaviour I described above.
>
> Genya - can you try once more whether the patch applies now (and, if not,
> why so) on your system and which results you get?

I'm assuming "Genya" is another name of Evgeni's? (Or perhaps the
construct of an overly busy mind?!)

>>> Evaluating this returns (8 . 0) here, the cdr of which amounts to the
>>> width of one character on my frame.  So here I have an 8 pixel-wide
>>> corridor entirely in the left window where I am "on the vertical line"
>>> (which occupies virtually the 7 right pixels of the right fringe of the
>>> window on the left).
>>
>> Here I get (6 . 0).
>
> What does M-: (frame-char-width) give on your system?

6 (#o6, #x6, ?\C-f)

>> I get (6 . 0) (with initial i = 400).
>>
>> Nevertheless, I can almost never get the <=> handle when I approach from
>> the left.
>
> You could try slowing down the movement by (1) starting with a higher
> initial value for i (so you don't have to wait too long) and (2)
> increasing the `sit-for' argument so you can see more of the cursor
> shape.  This way we would know whether the cursor is actually shown in
> the expected shape as long as it is within the grabbable width.

I had to put the sit-for immediately after the set-mouse-pixel-position
rather than immediately before it or I didn't get a <=> at all --
presumably there wasn't enough time to update the cursor the way you had
it written?

Then, with a sit-for of 0.2 seconds, I got the <=> perfectly fine,
exactly where expected, going in both directions. I still almost never
see it when I move the mouse manually, going from left to right --
possibly a defect in my trackpad?

> Anyway, in the future I recommend to use window dividers instead of the
> "vertical line overlaying the fringe" approach.

Sorry, I don't understand. Do you intend that to be advice for the user,
(In which case it is moot for me at least, as the only time I ever use a
mouse on my computer is to get around a resume-from-suspend bug in
Fedora, which locks out the keyboard until a mouse button has been
pressed.), or an implementation annotation to accompany the discussion
of the bug (in which case I can safely ignore it for the time being).

N.






  reply	other threads:[~2014-02-22 18:06 UTC|newest]

Thread overview: 72+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-05  6:05 bug#16647: Imprecisions with window-resizing cursors E Sabof
2014-02-05 10:48 ` martin rudalics
2014-02-06  9:21   ` Evgkeni Sampelnikof
2014-02-06 10:26     ` martin rudalics
2014-02-07 17:32       ` E Sabof
2014-02-07 19:14         ` martin rudalics
2014-02-13  9:46           ` E Sabof
2014-02-14 11:39             ` martin rudalics
2014-02-14 16:13               ` N. Jackson
2014-02-14 18:25                 ` martin rudalics
2014-02-14 22:53                   ` N. Jackson
2014-02-16 10:32                     ` martin rudalics
2014-02-16 18:17                       ` N. Jackson
2014-02-20  4:32                         ` N. Jackson
2014-02-21 18:53                           ` martin rudalics
2014-02-21 23:33                             ` N. Jackson
2014-02-22  9:17                               ` martin rudalics
2014-02-22 18:06                                 ` N. Jackson [this message]
2014-02-22 18:33                                   ` E Sabof
2014-02-22 18:52                                     ` martin rudalics
2014-02-22 19:07                                       ` E Sabof
2014-02-23  0:27                                         ` N. Jackson
2014-02-23 10:53                                           ` martin rudalics
2014-02-24  2:01                                             ` N. Jackson
2014-02-24  7:40                                               ` martin rudalics
2014-02-24 15:30                                                 ` N. Jackson
2014-02-24 18:12                                                   ` martin rudalics
2014-02-24 18:39                                                     ` N. Jackson
2014-02-24 18:58                                                       ` martin rudalics
2014-02-27 19:59                                               ` martin rudalics
2014-02-28  0:49                                                 ` N. Jackson
2014-02-28  6:47                                                   ` Eli Zaretskii
2014-02-28 17:30                                                     ` bug#16647: OT: window-resizing cursor for minibuffer (Imprecisions with window-resizing cursors) N. Jackson
2014-03-01  7:18                                                       ` Eli Zaretskii
2014-02-28 10:59                                                   ` bug#16647: Imprecisions with window-resizing cursors martin rudalics
2014-02-28 17:25                                                     ` bug#16647: OT: window-resizing cursor for minibuffer (Imprecisions with window-resizing cursors) N. Jackson
2014-02-28 18:24                                                       ` martin rudalics
2014-02-28 21:19                                                         ` bug#16647: Imprecisions with window-resizing cursors N. Jackson
2014-09-19  8:18                                                           ` martin rudalics
2014-02-23 10:53                                         ` martin rudalics
2014-02-23 23:29                                           ` E Sabof
2014-02-24  7:39                                             ` martin rudalics
2014-02-24 13:00                                               ` E Sabof
2014-02-24 18:12                                                 ` martin rudalics
2014-02-24 23:06                                                   ` E Sabof
2014-02-26 10:17                                                     ` martin rudalics
2014-02-26 16:45                                                       ` Eli Zaretskii
2014-02-27 20:00                                                         ` martin rudalics
2014-02-27 20:38                                                           ` Eli Zaretskii
2014-02-28 11:00                                                             ` martin rudalics
2014-02-28 11:32                                                               ` Eli Zaretskii
2014-02-28 12:47                                                                 ` martin rudalics
2014-02-28 14:29                                                                   ` Eli Zaretskii
2014-02-28 18:23                                                                     ` martin rudalics
2014-03-01  7:43                                                                       ` Eli Zaretskii
2014-02-27 19:59                                                     ` martin rudalics
2014-02-27 19:59                                             ` martin rudalics
2014-02-22 18:44                                   ` martin rudalics
2014-02-22 23:33                                     ` N. Jackson
2014-02-27 19:58                         ` martin rudalics
2014-02-28  0:39                           ` N. Jackson
2014-02-27 19:58                 ` martin rudalics
2014-02-28  0:38                   ` N. Jackson
2014-02-14 23:13               ` Drew Adams
2014-02-06 10:32     ` Eli Zaretskii
2014-02-06 13:34     ` Stefan Monnier
2014-02-07 19:14       ` martin rudalics
2014-02-27 19:58 ` martin rudalics
2014-02-27 20:33   ` Eli Zaretskii
2014-02-28 11:00     ` martin rudalics
2014-02-28 11:28       ` Eli Zaretskii
2014-02-28 12:47         ` martin rudalics

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87txbrrphk.fsf@moondust.localdomain \
    --to=nljlistbox2@gmail.com \
    --cc=16647@debbugs.gnu.org \
    --cc=esabof@gmail.com \
    --cc=rudalics@gmx.at \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).