GNU bug report logs - #7234
24.0.50; strange message after text-scale-adjust

Previous Next

Package: emacs;

Reported by: Kenichi Handa <handa <at> m17n.org>

Date: Mon, 18 Oct 2010 04:06:01 UTC

Severity: normal

Found in version 24.0.50

Done: Kenichi Handa <handa <at> m17n.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 7234 in the body.
You can then email your comments to 7234 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 owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7234; Package emacs. (Mon, 18 Oct 2010 04:06:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kenichi Handa <handa <at> m17n.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 18 Oct 2010 04:06:01 GMT) Full text and rfc822 format available.

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

From: Kenichi Handa <handa <at> m17n.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.50; strange message after text-scale-adjust
Date: Mon, 18 Oct 2010 13:09:29 +0900
When I start emacs as this:

% emacs -Q

and type:

  ESC : (text-scale-adjust 1) RET C-b

"(2)" is shown in the echo area.

With a file "~/temp" that contains only "abc\n", when I
start emacs as this:

% emacs -Q ~/temp

and type:

  ESC : (text-scale-adjust 1) RET C-f

"(6)" is shown.  When I type C-e instead of C-f above, "(5)"
is shown.  It seems that the number shown corresponds to the
character code of the last command.

This happesn both with emacs-23 and trunk branches.

---
Kenichi Handa
handa <at> m17n.org




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7234; Package emacs. (Mon, 18 Oct 2010 07:13:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Kenichi Handa <handa <at> m17n.org>
Cc: 7234 <at> debbugs.gnu.org
Subject: Re: bug#7234: 24.0.50; strange message after text-scale-adjust
Date: Mon, 18 Oct 2010 03:16:00 -0400
> From: Kenichi Handa <handa <at> m17n.org>
> Date: Mon, 18 Oct 2010 13:09:29 +0900
> Cc: 
> 
>   ESC : (text-scale-adjust 1) RET C-b
> 
> "(2)" is shown in the echo area.
> 
>   ESC : (text-scale-adjust 1) RET C-f
> 
> "(6)" is shown.  When I type C-e instead of C-f above, "(5)"
> is shown.  It seems that the number shown corresponds to the
> character code of the last command.

That's because text-scale-adjust does at its end

    (push ev unread-command-events)))

and `push' returns its first argument.




Reply sent to Kenichi Handa <handa <at> m17n.org>:
You have taken responsibility. (Mon, 18 Oct 2010 10:53:02 GMT) Full text and rfc822 format available.

Notification sent to Kenichi Handa <handa <at> m17n.org>:
bug acknowledged by developer. (Mon, 18 Oct 2010 10:53:02 GMT) Full text and rfc822 format available.

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

From: Kenichi Handa <handa <at> m17n.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 7234-done <at> debbugs.gnu.org
Subject: Re: bug#7234: 24.0.50; strange message after text-scale-adjust
Date: Mon, 18 Oct 2010 19:55:39 +0900
In article <E1P7jwu-0005UJ-KX <at> fencepost.gnu.org>, Eli Zaretskii <eliz <at> gnu.org> writes:

> > From: Kenichi Handa <handa <at> m17n.org>
> > Date: Mon, 18 Oct 2010 13:09:29 +0900
> > Cc: 
> > 
> >   ESC : (text-scale-adjust 1) RET C-b
> > 
> > "(2)" is shown in the echo area.
> > 
> >   ESC : (text-scale-adjust 1) RET C-f
> > 
> > "(6)" is shown.  When I type C-e instead of C-f above, "(5)"
> > is shown.  It seems that the number shown corresponds to the
> > character code of the last command.

> That's because text-scale-adjust does at its end

>     (push ev unread-command-events)))

> and `push' returns its first argument.

Ah, I see.  Thank you for the explanation.  I didn't realize
that when I typed C-f (or C-b), text-scale-adjust was not
yet finished.  It would be better that read-event call in
text-scale-adjust has some prompt:
 e.g. (read-event "+,-,0 for further adjustment: ")

Anyway, I'll close this bug.

---
Kenichi Handa
handa <at> m17n.org




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7234; Package emacs. (Mon, 18 Oct 2010 12:27:02 GMT) Full text and rfc822 format available.

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

From: Miles Bader <miles <at> gnu.org>
To: 7234 <at> debbugs.gnu.org
Cc: handa <at> m17n.org
Subject: Re: bug#7234: 24.0.50; strange message after text-scale-adjust
Date: Mon, 18 Oct 2010 21:30:13 +0900
For non-interactive use, you should probably also be using
`text-scale-set' or `text-scale-increase' instead.

-Miles

-- 
Ocean, n. A body of water covering seven-tenths of a world designed for Man -
who has no gills.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 16 Nov 2010 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 222 days ago.

Previous Next


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