all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#17969: 24.3.92; C-p does not move the cursor for some scale text
@ 2014-07-08  2:17 YAMAMOTO Mitsuharu
  2014-07-08  2:47 ` Eli Zaretskii
  2014-07-08 15:14 ` Eli Zaretskii
  0 siblings, 2 replies; 3+ messages in thread
From: YAMAMOTO Mitsuharu @ 2014-07-08  2:17 UTC (permalink / raw)
  To: 17969

[-- Attachment #1: Type: text/plain, Size: 1151 bytes --]

Steps to reproduce:

1. $ emacs -Q -D &
2. Type the following expression and hit C-j in the *scrath* buffer.

  (progn
    (text-scale-set 6)
    (insert (make-string 9 ?\t) "aaaa\n"))

   In my environment, the screen looks like the attached screenshot.

3. Hit C-p twice.

Result:

The first C-p moves the cursor upward, but for the second one (the
cursor stays at the same position).

Unfortunately, some adjustment seems to be necessary for the
reproducing recipe depending on the environment.  The above one is for
the GTK+ build with the xft font backend on OS X 10.9.  For the Mac
port, I had to use the following one, for example:

  (progn
    (text-scale-set 5)
    (insert (make-string 10 ?\t) "aaaaaa\n"))

				     YAMAMOTO Mitsuharu
				mituharu@math.s.chiba-u.ac.jp

In GNU Emacs 24.3.92.1 (x86_64-apple-darwin13.2.0, GTK+ Version 3.12.2)
 of 2014-07-07 on YAMAMOTO-no-iMac.local
Repository revision: 117359 rgm@gnu.org-20140706235852-o9oxnu7jb525f42v
Windowing system distributor `The X.Org Foundation', version 11.0.11406000
Configured using:
 `configure --without-imagemagick LDFLAGS=-L/opt/local/lib
 CPPFLAGS=-I/opt/local/include'

[-- Attachment #2: cursor-motion.png --]
[-- Type: image/png, Size: 31722 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#17969: 24.3.92; C-p does not move the cursor for some scale text
  2014-07-08  2:17 bug#17969: 24.3.92; C-p does not move the cursor for some scale text YAMAMOTO Mitsuharu
@ 2014-07-08  2:47 ` Eli Zaretskii
  2014-07-08 15:14 ` Eli Zaretskii
  1 sibling, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2014-07-08  2:47 UTC (permalink / raw)
  To: YAMAMOTO Mitsuharu; +Cc: 17969

> Date: Tue, 08 Jul 2014 11:17:25 +0900
> From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
> 
> 1. $ emacs -Q -D &
> 2. Type the following expression and hit C-j in the *scrath* buffer.
> 
>   (progn
>     (text-scale-set 6)
>     (insert (make-string 9 ?\t) "aaaa\n"))
> 
>    In my environment, the screen looks like the attached screenshot.
> 
> 3. Hit C-p twice.
> 
> Result:
> 
> The first C-p moves the cursor upward, but for the second one (the
> cursor stays at the same position).
> 
> Unfortunately, some adjustment seems to be necessary for the
> reproducing recipe depending on the environment.  The above one is for
> the GTK+ build with the xft font backend on OS X 10.9.  For the Mac
> port, I had to use the following one, for example:
> 
>   (progn
>     (text-scale-set 5)
>     (insert (make-string 10 ?\t) "aaaaaa\n"))

I cannot reproduce this with either of the 2 recipes.  So please step
through vertical-motion and see what's going on there.

Thanks.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#17969: 24.3.92; C-p does not move the cursor for some scale text
  2014-07-08  2:17 bug#17969: 24.3.92; C-p does not move the cursor for some scale text YAMAMOTO Mitsuharu
  2014-07-08  2:47 ` Eli Zaretskii
@ 2014-07-08 15:14 ` Eli Zaretskii
  1 sibling, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2014-07-08 15:14 UTC (permalink / raw)
  To: YAMAMOTO Mitsuharu; +Cc: 17969-done

> Date: Tue, 08 Jul 2014 11:17:25 +0900
> From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
> 
> 1. $ emacs -Q -D &
> 2. Type the following expression and hit C-j in the *scrath* buffer.
> 
>   (progn
>     (text-scale-set 6)
>     (insert (make-string 9 ?\t) "aaaa\n"))
> 
>    In my environment, the screen looks like the attached screenshot.
> 
> 3. Hit C-p twice.
> 
> Result:
> 
> The first C-p moves the cursor upward, but for the second one (the
> cursor stays at the same position).

I eventually succeeded in reproducing this, and fixed the bug in
revision 117363 on the emacs-24 branch.

Thanks.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-07-08 15:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-08  2:17 bug#17969: 24.3.92; C-p does not move the cursor for some scale text YAMAMOTO Mitsuharu
2014-07-08  2:47 ` Eli Zaretskii
2014-07-08 15:14 ` Eli Zaretskii

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.