GNU bug report logs - #17969
24.3.92; C-p does not move the cursor for some scale text

Previous Next

Package: emacs;

Reported by: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>

Date: Tue, 8 Jul 2014 02:18:01 UTC

Severity: normal

Found in version 24.3.92

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 17969 in the body.
You can then email your comments to 17969 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#17969; Package emacs. (Tue, 08 Jul 2014 02:18:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 08 Jul 2014 02:18:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.92; C-p does not move the cursor for some scale text
Date: Tue, 08 Jul 2014 11:17:25 +0900
[Message part 1 (text/plain, inline)]
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 <at> 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 <at> 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'
[cursor-motion.png (image/png, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17969; Package emacs. (Tue, 08 Jul 2014 02:49:01 GMT) Full text and rfc822 format available.

Message #8 received at 17969 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
Cc: 17969 <at> debbugs.gnu.org
Subject: Re: bug#17969: 24.3.92;
 C-p does not move the cursor for some scale text
Date: Tue, 08 Jul 2014 05:47:54 +0300
> Date: Tue, 08 Jul 2014 11:17:25 +0900
> From: YAMAMOTO Mitsuharu <mituharu <at> 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.




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Tue, 08 Jul 2014 15:16:01 GMT) Full text and rfc822 format available.

Notification sent to YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>:
bug acknowledged by developer. (Tue, 08 Jul 2014 15:16:02 GMT) Full text and rfc822 format available.

Message #13 received at 17969-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
Cc: 17969-done <at> debbugs.gnu.org
Subject: Re: bug#17969: 24.3.92;
 C-p does not move the cursor for some scale text
Date: Tue, 08 Jul 2014 18:14:57 +0300
> Date: Tue, 08 Jul 2014 11:17:25 +0900
> From: YAMAMOTO Mitsuharu <mituharu <at> 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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 06 Aug 2014 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 291 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.