GNU bug report logs - #10224
24.0.92; M-w inhibits echoing of prefix arguments

Previous Next

Package: emacs;

Reported by: Stephen Berman <stephen.berman <at> gmx.net>

Date: Mon, 5 Dec 2011 20:29:02 UTC

Severity: minor

Tags: moreinfo

Found in version 24.0.92

Done: Stephen Berman <stephen.berman <at> gmx.net>

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 10224 in the body.
You can then email your comments to 10224 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#10224; Package emacs. (Mon, 05 Dec 2011 20:29:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stephen Berman <stephen.berman <at> gmx.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 05 Dec 2011 20:29:02 GMT) Full text and rfc822 format available.

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

From: Stephen Berman <stephen.berman <at> gmx.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.92; M-w inhibits echoing of prefix arguments
Date: Mon, 05 Dec 2011 21:27:19 +0100
1. emacs -Q
2. Type `C-u' => in the echo area you see "C-u-"
3. Set the mark (e.g. by typing `C-SPC') and then type `M-w'.
4. Type `C-u' => in the echo area you see nothing, for this and
subsequent prefix arguments.  `M-x' is, however, echoed.

The above recipe did not work in my previous build from 2011-12-03,
which may implicate this change:

2011-12-05  Chong Yidong  <cyd <at> gnu.org>

	* keyboard.c (process_special_events): New function.
	(swallow_events, Finput_pending_p): Use it (Bug#10195).

However, in my build from 2011-12-03, if I disabled transient-mark-mode
before step 3 above, then `M-w' has the same inhibiting effect on prefix
arguments, so if the above change is involved, then only to expose the
bug in transient-mark-mode.  Yet this is a recent bug, since I did not
observe it in builds prior to 2011-12-03.


In GNU Emacs 24.0.92.2 (i686-suse-linux-gnu, GTK+ Version 2.24.7)
 of 2011-12-05 on escher
Windowing system distributor `The X.Org Foundation', version 11.0.11004000
configured using `configure  '--without-toolkit-scroll-bars' 'CFLAGS=-g''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=local
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10224; Package emacs. (Tue, 06 Dec 2011 01:55:02 GMT) Full text and rfc822 format available.

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

From: Chong Yidong <cyd <at> gnu.org>
To: Stephen Berman <stephen.berman <at> gmx.net>
Cc: 10224 <at> debbugs.gnu.org
Subject: Re: bug#10224: 24.0.92; M-w inhibits echoing of prefix arguments
Date: Tue, 06 Dec 2011 09:53:52 +0800
Stephen Berman <stephen.berman <at> gmx.net> writes:

> 1. emacs -Q
> 2. Type `C-u' => in the echo area you see "C-u-"
> 3. Set the mark (e.g. by typing `C-SPC') and then type `M-w'.

I don't understand what you are trying to say.

After typing C-u, if I immediately type C-SPC, Emacs says "No mark set
in this buffer".  That is to be expected, since C-u C-SPC is supposed to
move point to the mark.

Could you repeat with the *exact* recipe?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10224; Package emacs. (Tue, 06 Dec 2011 07:32:02 GMT) Full text and rfc822 format available.

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

From: Stephen Berman <stephen.berman <at> gmx.net>
To: Chong Yidong <cyd <at> gnu.org>
Cc: 10224 <at> debbugs.gnu.org
Subject: Re: bug#10224: 24.0.92; M-w inhibits echoing of prefix arguments
Date: Tue, 06 Dec 2011 08:30:54 +0100
On Tue, 06 Dec 2011 09:53:52 +0800 Chong Yidong <cyd <at> gnu.org> wrote:

> Stephen Berman <stephen.berman <at> gmx.net> writes:
>
>> 1. emacs -Q
>> 2. Type `C-u' => in the echo area you see "C-u-"
>> 3. Set the mark (e.g. by typing `C-SPC') and then type `M-w'.
>
> I don't understand what you are trying to say.
>
> After typing C-u, if I immediately type C-SPC, Emacs says "No mark set
> in this buffer".  That is to be expected, since C-u C-SPC is supposed to
> move point to the mark.
>
> Could you repeat with the *exact* recipe?

Sorry for the confusion.  Step 2 was only meant to demonstrate the usual
echoing of prefix arguments; it's not a necessary step to get the bug.
Step 3 is really the entire recipe: after setting the mark (in any way)
and then typing M-w, all subsequent interactively typed prefix arguments
are no longer echoed.  (Under conditions I haven't yet been able to
determine, the echoing sometimes returns after a while, but immediately
vanishes again upon typing M-w (if the mark is set).)

Steve Berman




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10224; Package emacs. (Tue, 06 Dec 2011 08:19:02 GMT) Full text and rfc822 format available.

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

From: Chong Yidong <cyd <at> gnu.org>
To: Stephen Berman <stephen.berman <at> gmx.net>
Cc: 10224 <at> debbugs.gnu.org
Subject: Re: bug#10224: 24.0.92; M-w inhibits echoing of prefix arguments
Date: Tue, 06 Dec 2011 16:17:53 +0800
Stephen Berman <stephen.berman <at> gmx.net> writes:

> Sorry for the confusion.  Step 2 was only meant to demonstrate the usual
> echoing of prefix arguments; it's not a necessary step to get the bug.
> Step 3 is really the entire recipe: after setting the mark (in any way)
> and then typing M-w, all subsequent interactively typed prefix arguments
> are no longer echoed.  (Under conditions I haven't yet been able to
> determine, the echoing sometimes returns after a while, but immediately
> vanishes again upon typing M-w (if the mark is set).)

I can't reproduce any unexpected behavior.  Are you sure you're not just
seeing the usual effect of echo-keystrokes (which specifies a 1 second
pause before echoing)?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10224; Package emacs. (Tue, 06 Dec 2011 09:02:02 GMT) Full text and rfc822 format available.

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

From: Stephen Berman <stephen.berman <at> gmx.net>
To: Chong Yidong <cyd <at> gnu.org>
Cc: 10224 <at> debbugs.gnu.org
Subject: Re: bug#10224: 24.0.92; M-w inhibits echoing of prefix arguments
Date: Tue, 06 Dec 2011 10:00:25 +0100
On Tue, 06 Dec 2011 16:17:53 +0800 Chong Yidong <cyd <at> gnu.org> wrote:

> Stephen Berman <stephen.berman <at> gmx.net> writes:
>
>> Sorry for the confusion.  Step 2 was only meant to demonstrate the usual
>> echoing of prefix arguments; it's not a necessary step to get the bug.
>> Step 3 is really the entire recipe: after setting the mark (in any way)
>> and then typing M-w, all subsequent interactively typed prefix arguments
>> are no longer echoed.  (Under conditions I haven't yet been able to
>> determine, the echoing sometimes returns after a while, but immediately
>> vanishes again upon typing M-w (if the mark is set).)
>
> I can't reproduce any unexpected behavior.  Are you sure you're not just
> seeing the usual effect of echo-keystrokes (which specifies a 1 second
> pause before echoing)?

It's definitely not a normal delay.  But your failure to reproduce it
(it's 100% reproducible for me) made me suspicious, so I switched to
another desktop environment, and sure enough, the echoing behavior after
M-w was normal.  So this appears to be a problem just with LXDE, which I
used for the first time a few days ago.  I have no idea what is causing
it: M-w has no desktop function in LXDE AFAICT and aside from the
no-echo problem works as usual in Emacs; moreover, I just determined
that the no-echo problem does not happen with emacs -q -nw started from
the LXTerminal.  Anyway, I guess this is not an Emacs bug (and I guess
I'll have to switch desktop environments again...).  Sorry for the
noise.

Steve Berman




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10224; Package emacs. (Fri, 09 Dec 2011 05:54:02 GMT) Full text and rfc822 format available.

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

From: Chong Yidong <cyd <at> gnu.org>
To: Stephen Berman <stephen.berman <at> gmx.net>
Cc: 10224 <at> debbugs.gnu.org
Subject: Re: bug#10224: 24.0.92; M-w inhibits echoing of prefix arguments
Date: Fri, 09 Dec 2011 13:52:29 +0800
Stephen Berman <stephen.berman <at> gmx.net> writes:

> It's definitely not a normal delay.  But your failure to reproduce it
> (it's 100% reproducible for me) made me suspicious, so I switched to
> another desktop environment, and sure enough, the echoing behavior after
> M-w was normal.  So this appears to be a problem just with LXDE, which I
> used for the first time a few days ago.  I have no idea what is causing
> it: M-w has no desktop function in LXDE AFAICT and aside from the
> no-echo problem works as usual in Emacs; moreover, I just determined
> that the no-echo problem does not happen with emacs -q -nw started from
> the LXTerminal.

I have no idea what LXDE could be doing that could cause this.  If you
add the (redisplay t) line discussed earlier in this thread, does the
problem go away on LXDE?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10224; Package emacs. (Sun, 11 Dec 2011 17:55:02 GMT) Full text and rfc822 format available.

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

From: Stephen Berman <stephen.berman <at> gmx.net>
To: Chong Yidong <cyd <at> gnu.org>
Cc: 10224 <at> debbugs.gnu.org
Subject: Re: bug#10224: 24.0.92; M-w inhibits echoing of prefix arguments
Date: Sun, 11 Dec 2011 18:52:48 +0100
On Fri, 09 Dec 2011 13:52:29 +0800 Chong Yidong <cyd <at> gnu.org> wrote:

> Stephen Berman <stephen.berman <at> gmx.net> writes:
>
>> It's definitely not a normal delay.  But your failure to reproduce it
>> (it's 100% reproducible for me) made me suspicious, so I switched to
>> another desktop environment, and sure enough, the echoing behavior after
>> M-w was normal.  So this appears to be a problem just with LXDE, which I
>> used for the first time a few days ago.  I have no idea what is causing
>> it: M-w has no desktop function in LXDE AFAICT and aside from the
>> no-echo problem works as usual in Emacs; moreover, I just determined
>> that the no-echo problem does not happen with emacs -q -nw started from
>> the LXTerminal.
>
> I have no idea what LXDE could be doing that could cause this.  If you
> add the (redisplay t) line discussed earlier in this thread, does the
> problem go away on LXDE?

Do you mean this (from Bug#10195)?

=== modified file 'lisp/simple.el'
*** lisp/simple.el	2011-11-19 19:49:56 +0000
--- lisp/simple.el	2011-12-04 02:25:33 +0000
***************
*** 3251,3256 ****
--- 3251,3257 ----
  	      ;; Swap point and mark.
  	      (set-marker (mark-marker) (point) (current-buffer))
  	      (goto-char other-end)
+ 	      (redisplay t)
  	      (sit-for blink-matching-delay)
  	      ;; Swap back.
  	      (set-marker (mark-marker) other-end (current-buffer))

If so, then no, adding the redisplay line does not prevent inhibiting
echoing of prefix arguments after setting the mark and then typing M-w.
(I tested by starting Emacs with -Q, copying the source code of
kill-ring-save into *scratch*, adding the redisplay line, evalling, then
setting the mark and typing M-w.)

Steve Berman




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10224; Package emacs. (Sun, 26 Feb 2012 10:04:02 GMT) Full text and rfc822 format available.

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

From: Chong Yidong <cyd <at> gnu.org>
To: Stephen Berman <stephen.berman <at> gmx.net>
Cc: 10224 <at> debbugs.gnu.org
Subject: Re: bug#10224: 24.0.92; M-w inhibits echoing of prefix arguments
Date: Sun, 26 Feb 2012 18:00:40 +0800
> I switched to another desktop environment, and sure enough, the
> echoing behavior after M-w was normal.  So this appears to be a
> problem just with LXDE, which I used for the first time a few days
> ago.  I have no idea what is causing it

I recently made a change to the way X selections requests are processed
by Emacs, which might have fixed this problem if LXDE has a clipboard
manager.  If you still have LXDE installed, could you see if the problem
is still there, or gone?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10224; Package emacs. (Sun, 26 Feb 2012 21:31:02 GMT) Full text and rfc822 format available.

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

From: Stephen Berman <stephen.berman <at> gmx.net>
To: Chong Yidong <cyd <at> gnu.org>
Cc: 10224 <at> debbugs.gnu.org
Subject: Re: bug#10224: 24.0.92; M-w inhibits echoing of prefix arguments
Date: Sun, 26 Feb 2012 22:27:14 +0100
On Sun, 26 Feb 2012 18:00:40 +0800 Chong Yidong <cyd <at> gnu.org> wrote:

>> I switched to another desktop environment, and sure enough, the
>> echoing behavior after M-w was normal.  So this appears to be a
>> problem just with LXDE, which I used for the first time a few days
>> ago.  I have no idea what is causing it
>
> I recently made a change to the way X selections requests are processed
> by Emacs, which might have fixed this problem if LXDE has a clipboard
> manager.  If you still have LXDE installed, could you see if the problem
> is still there, or gone?

I don't know whether LXDE has a clipboard manager, but I just updated
from the trunk and rebuilt, switched to LXDE, started a fresh Emacs
session and carried out the recipe of my OP: the problem stills occurs,
just as before.

Steve Berman




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10224; Package emacs. (Tue, 25 Aug 2020 12:59:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stephen Berman <stephen.berman <at> gmx.net>
Cc: 10224 <at> debbugs.gnu.org
Subject: Re: bug#10224: 24.0.92; M-w inhibits echoing of prefix arguments
Date: Tue, 25 Aug 2020 14:58:17 +0200
Stephen Berman <stephen.berman <at> gmx.net> writes:

> 1. emacs -Q
> 2. Type `C-u' => in the echo area you see "C-u-"
> 3. Set the mark (e.g. by typing `C-SPC') and then type `M-w'.
> 4. Type `C-u' => in the echo area you see nothing, for this and
> subsequent prefix arguments.  `M-x' is, however, echoed.

I tried reproducing this in Emacs 28, and I was unable to -- M-w doesn't
stop C-u happening in the echo area.

Are you still seeing this problem in recent Emacs versions?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 25 Aug 2020 12:59:02 GMT) Full text and rfc822 format available.

Reply sent to Stephen Berman <stephen.berman <at> gmx.net>:
You have taken responsibility. (Tue, 25 Aug 2020 18:03:02 GMT) Full text and rfc822 format available.

Notification sent to Stephen Berman <stephen.berman <at> gmx.net>:
bug acknowledged by developer. (Tue, 25 Aug 2020 18:03:02 GMT) Full text and rfc822 format available.

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

From: Stephen Berman <stephen.berman <at> gmx.net>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 10224-done <at> debbugs.gnu.org
Subject: Re: bug#10224: 24.0.92; M-w inhibits echoing of prefix arguments
Date: Tue, 25 Aug 2020 20:02:44 +0200
On Tue, 25 Aug 2020 14:58:17 +0200 Lars Ingebrigtsen <larsi <at> gnus.org> wrote:

> Stephen Berman <stephen.berman <at> gmx.net> writes:
>
>> 1. emacs -Q
>> 2. Type `C-u' => in the echo area you see "C-u-"
>> 3. Set the mark (e.g. by typing `C-SPC') and then type `M-w'.
>> 4. Type `C-u' => in the echo area you see nothing, for this and
>> subsequent prefix arguments.  `M-x' is, however, echoed.
>
> I tried reproducing this in Emacs 28, and I was unable to -- M-w doesn't
> stop C-u happening in the echo area.
>
> Are you still seeing this problem in recent Emacs versions?

No, I can't reproduce it in Emacs 27 or 28, so closing.  Thanks for
taking a look.

Steve Berman




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

This bug report was last modified 3 years and 208 days ago.

Previous Next


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