unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: ynyaaa@gmail.com
To: Eli Zaretskii <eliz@gnu.org>
Cc: 39247@debbugs.gnu.org
Subject: bug#39247: 26.3; inappropriate mouse pointer shapes
Date: Sat, 25 Jan 2020 12:00:19 +0900	[thread overview]
Message-ID: <867e1gw88s.fsf@gmail.com> (raw)
In-Reply-To: <83wo9grigo.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 24 Jan 2020 17:18:31 +0200")

Eli Zaretskii <eliz@gnu.org> writes:

>> From: ynyaaa@gmail.com
>> Cc: 39247@debbugs.gnu.org
>> Date: Fri, 24 Jan 2020 22:36:05 +0900
>> 
>> >> (1)'text shape on mode-line.
>> >>    Move the mouse pointer onto the line number in the mode-line
>> >>    at the bottom of the emacs frame.
>> >>    Move the pointer to the right SPC.
>> >>    Then the pointer shape is 'text.
>> >>    (With (setq resize-mini-windows nil), this does not occur.)
>> >
>> > This part seems reasonable to me, not a bug: when resize-mini-windows
>> > is nil, you can resize the mini-window by dragging the mode line with
>> > the mouse, and that's what the mouse pointer shows you when it's over
>> > that area of the mode line.  When resize-mini-windows is non-nil, you
>> > cannot resize the mini-window.
>> 
>> If the pointer is moved onto the SPC area directly from outside of the
>> mode-line, the pointer shape is a north-west arrow.
>
> I cannot reproduce this (if you mean this happens when
> resize-mini-windows is nil).

When resize-mini-windows is nil, there is no problem.

When resize-mini-windows is non-nil and minibuffer is not active,
the problem is that the pointer shape on the same place changes
depending on where it comes from.

When the pointer moved onto the SPC right to the line number,
the pointer shape is
  'text if it comes from the left,
  a north-west arrow if it comes from the right.
This does not heppen on other SPCs in the same mode-line.

If the pointer comes from the upper side or the lower side, the shape
keeps same as just before it gets onto the SPC right to the line number.

If 'pointer property is put on the text displayed just above the SPC,
the specified shape is kept after it gets onto the SPC.
Evaluating the form below and moving the mouse pointer, the pointer
shape on the mode-line can be 'hdrag.

(let ((buf (get-buffer-create "tmp"))
      (str (propertize (make-string ?a 100) 'pointer 'hdrag)))
  (switch-to-buffer buf)
  (setq truncate-lines t)
  (delete-other-windows)
  (dotimes (i (window-height)) (insert str ?\n))
  (goto-char (point-min)))





  reply	other threads:[~2020-01-25  3:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-23  2:25 bug#39247: 26.3; inappropriate mouse pointer shapes ynyaaa
2020-01-23 14:48 ` Eli Zaretskii
2020-01-24 13:36   ` ynyaaa
2020-01-24 15:18     ` Eli Zaretskii
2020-01-25  3:00       ` ynyaaa [this message]
2020-01-25  8:44         ` martin rudalics
2020-01-25 10:23           ` Eli Zaretskii

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=867e1gw88s.fsf@gmail.com \
    --to=ynyaaa@gmail.com \
    --cc=39247@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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).