GNU bug report logs - #386
23.0.60; Different behavior in C-e and C-S-e between -nw and normal mode

Previous Next

Package: emacs;

Reported by: Paul Lussier <pll <at> permabit.com>

Date: Wed, 11 Jun 2008 17:35:03 UTC

Severity: normal

Tags: fixed, moreinfo

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.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 386 in the body.
You can then email your comments to 386 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-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#386; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Paul Lussier <pll <at> permabit.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Paul Lussier <pll <at> permabit.com>
To: emacs-pretest-bug <at> gnu.org
Cc: p.lussier <at> comcast.net
Subject: 23.0.60; Different behavior in C-e and C-S-e between -nw and normal mode
Date: Wed, 11 Jun 2008 13:26:26 -0400 (EDT)
In a buffer with text, the actions:
  C-SPC
  C-n
  C-e

with trasient-mark-mode on results only in the last line being marked.
If a rectangle is being marked out, this results only in the region
from the beginning column of the last line to the end of the last line
being marked.

C-h k C-e reports:

    C-e (translated from C-S-e) runs the command move-end-of-line, which
    is an interactive compiled Lisp function in `simple.el'.

C-h k C-S-e reports:

    C-e runs the command move-end-of-line, which is an interactive
    compiled Lisp function in `simple.el'.

Though they are both bound to move-end-of-line, they have different
behaviors.  The above sequence to mark a rectangle, if done with C-S-e
instead of C-e, works as expected with the entire region being marked
as desired.

I have invoked emacs both with and without -Q and I get the same
behavior.  Interestingly, invoking emacs with -nw causes emacs to
behave normally.  There is no difference between C-e and C-S-e, and
C-e works as expected in -nw mode.

Thanks,
Paul


In GNU Emacs 23.0.60.2 (i686-pc-linux-gnu, X toolkit)
 of 2008-04-10 on ambivalent-optimist.permabit.com
Windowing system distributor `The X.Org Foundation', version 11.0.70101000
configured using `configure  '--prefix=/usr/local' '--with-kerberos5' '--with-x' '--with-x-toolkit=athena''

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: C
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: CPerl

Minor modes in effect:
  iswitchb-mode: t
  shell-dirtrack-mode: t
  show-paren-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: (only . 1)
  abbrev-mode: t

Recent input:
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> C-S-a C-SPC <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <up> <up> <up> <up> 
<up> <up> <down> C-S-w <up> <up> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> h <backspace> t h e SPC <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> C-SPC C-S-e C-S-w f r o m SPC b u i l <escape> 
/ <escape> / ( ) <left> <left> <left> <left> <left> 
<left> <left> <left> <left> <left> C-S-x C-S-s <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <down> C-S-a <up> <down> 
C-SPC <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> C-S-h k C-e <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <down-mouse-1> <mouse-movement> 
<mouse-movement> <drag-mouse-1> <help-echo> C-S-x 1 
C-S-x k <return> <escape> x <down-mouse-2> <mouse-2> 
C-S-a C-S-d C-S-d C-S-d C-S-d <return> C-S-g <escape> 
x r e p o <tab> r t <tab> <return>

Recent messages:
Mark activated
Mark set [2 times]
Mark set [4 times]
Mark set [2 times]
Type C-x 1 to delete the help window.
Making completion list...
Quit
Making completion list...




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#386; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #10 received at 386 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Paul Lussier <pll <at> permabit.com>
Cc: 386 <at> debbugs.gnu.org
Subject: Re: 23.0.60; Different behavior in C-e and C-S-e between -nw and normal mode
Date: Mon, 28 Jul 2008 08:49:22 -0400
> In a buffer with text, the actions:
>   C-SPC
>   C-n
>   C-e
>
> with trasient-mark-mode on results only in the last line being marked.
> If a rectangle is being marked out, this results only in the region
> from the beginning column of the last line to the end of the last line
> being marked.

I can't reproduce this.  Do you still see this problem?  If so, please
provide an exact recipe, starting with emacs -Q




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#386; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Paul Lussier <pll <at> permabit.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #15 received at 386 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Paul Lussier <pll <at> permabit.com>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 386 <at> debbugs.gnu.org
Subject: Re: 23.0.60; Different behavior in C-e and C-S-e between -nw and normal mode
Date: Mon, 28 Jul 2008 09:28:48 -0400
Chong Yidong <cyd <at> stupidchicken.com> writes:

>> In a buffer with text, the actions:
>>   C-SPC
>>   C-n
>>   C-e
>>
>> with trasient-mark-mode on results only in the last line being marked.
>> If a rectangle is being marked out, this results only in the region
>> from the beginning column of the last line to the end of the last line
>> being marked.
>
> I can't reproduce this.  Do you still see this problem?  If so, please
> provide an exact recipe, starting with emacs -Q

Yes, I still see this problem.  The above recipe *was* with -Q.

 $ emacs -Q &

 M-<     ; you're in the *scratch* buffer, so move to the top, and mark
         ; the text.
 C-SPC
 C-n C-n ; See [1]
 C-e     ; See [2]


[1] Highlighted text is currently:

 ;; This buffer is for notes you don't want to save, and for Lisp evaluation.
 ;; If you want to create a file, visit that file with C-x C-f,

with cursor on line 3, col 1.

[2] Highlighted text is currently:

 ;; then enter the text in that file's own buffer.

with cursor on line 3, column 49 (just after the '.').

M-x emacs-version claims:

  GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, X toolkit) of 2008-07-07

Interestingly, this *only* seems to happen in X.  If I run emacs -nw, I
do not see the same problem.

C-h k C-e interestingly says:

  C-e (translated from C-S-e) runs the command move-end-of-line, which
  is an interactive compiled Lisp function in `simple.el'.

Whereas C-h k C-S-e saysL

  C-e runs the command move-end-of-line, which is an interactive
  compiled Lisp function in `simple.el'.

So, it *seems* somehow, that C-S-e is behaving as C-e should...
I'm not sure why C-e is "translated" from anything.  And attempts at
re-mapping in my ~/.emacs doesn't seem to work.

I was going to update my CVS today and try another build.  I'll let you
know if that does anything.

-- 
Thanks,
Paul




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#386; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #20 received at 386 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Paul Lussier <pll <at> permabit.com>
Cc: 386 <at> debbugs.gnu.org
Subject: Re: 23.0.60; Different behavior in C-e and C-S-e between -nw and normal mode
Date: Mon, 28 Jul 2008 09:52:07 -0400
Paul Lussier <pll <at> permabit.com> writes:

>> I can't reproduce this.  Do you still see this problem?  If so, please
>> provide an exact recipe, starting with emacs -Q
>
> Yes, I still see this problem.  The above recipe *was* with -Q.
>
>  $ emacs -Q &
>
>  M-<     ; you're in the *scratch* buffer, so move to the top, and mark
>          ; the text.
>  C-SPC
>  C-n C-n ; See [1]
>  C-e     ; See [2]
>
>
> [1] Highlighted text is currently:
>
>  ;; This buffer is for notes you don't want to save, and for Lisp evaluation.
>  ;; If you want to create a file, visit that file with C-x C-f,
>
> with cursor on line 3, col 1.
>
> [2] Highlighted text is currently:
>
>  ;; then enter the text in that file's own buffer.
>
> with cursor on line 3, column 49 (just after the '.').

I can't reproduce it on latest CVS.  Please try with that and see if it
still occurs.  Thanks.

> M-x emacs-version claims:
>
>   GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, X toolkit) of 2008-07-07
>
> Interestingly, this *only* seems to happen in X.  If I run emacs -nw, I
> do not see the same problem.
>
> C-h k C-e interestingly says:
>
>   C-e (translated from C-S-e) runs the command move-end-of-line, which
>   is an interactive compiled Lisp function in `simple.el'.
>
> Whereas C-h k C-S-e saysL
>
>   C-e runs the command move-end-of-line, which is an interactive
>   compiled Lisp function in `simple.el'.
>
> So, it *seems* somehow, that C-S-e is behaving as C-e should...
> I'm not sure why C-e is "translated" from anything.  And attempts at
> re-mapping in my ~/.emacs doesn't seem to work.
>
> I was going to update my CVS today and try another build.  I'll let you
> know if that does anything.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#386; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Paul Lussier <pll <at> permabit.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #25 received at 386 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Paul Lussier <pll <at> permabit.com>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 386 <at> debbugs.gnu.org
Subject: Re: 23.0.60; Different behavior in C-e and C-S-e between -nw and normal mode
Date: Mon, 28 Jul 2008 11:33:27 -0400
Chong Yidong <cyd <at> stupidchicken.com> writes:

> I can't reproduce it on latest CVS.  Please try with that and see if it
> still occurs.  Thanks.

Wow!  I just found that I was completely wrong in my recipe for
recreating this problem.  I was saying the actions for recreation were:

 M-<
 C-SPC
 C-n
 C-n
 C-e

However, what I was actuall typing to cause the problem was:

 M-<
 C-SPC
 <down>
 <down>
 C-e

In fact, using the recipe I claimed caused the problem (C-n vs. <down>)
works exactly as expected.  But using the down arrow key results in the
behavior I reported.

My apologies.  My fingers often do things my brain is unaware of :) 
-- 
Paul




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#386; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #30 received at 386 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Paul Lussier <pll <at> permabit.com>
Cc: 386 <at> debbugs.gnu.org
Subject: Re: 23.0.60; Different behavior in C-e and C-S-e between -nw and normal mode
Date: Mon, 28 Jul 2008 12:04:45 -0400
Paul Lussier <pll <at> permabit.com> writes:

> Wow!  I just found that I was completely wrong in my recipe for
> recreating this problem.
>
> what I was actuall typing to cause the problem was:
>
>  M-<
>  C-SPC
>  <down>
>  <down>
>  C-e
>
> In fact, using the recipe I claimed caused the problem (C-n
> vs. <down>) works exactly as expected.  But using the down arrow key
> results in the behavior I reported.

I still can't reproduce this.  It's likely you have some customization
that's causing this bug; try again with emacs -Q.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#386; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Paul Lussier <pll <at> permabit.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #35 received at 386 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Paul Lussier <pll <at> permabit.com>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 386 <at> debbugs.gnu.org
Subject: Re: 23.0.60; Different behavior in C-e and C-S-e between -nw and normal mode
Date: Mon, 28 Jul 2008 12:26:06 -0400
Chong Yidong <cyd <at> stupidchicken.com> writes:

> I still can't reproduce this.  It's likely you have some customization
> that's causing this bug; try again with emacs -Q.

That was with -Q.  Though not with C-n as previously reported, but
rather using the down arrow key.
-- 
Paul




Tags added: moreinfo Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> emacsbugs.donarmstrong.com. (Mon, 28 Jul 2008 20:35:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#386; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to bojohan+news <at> dd.chalmers.se (Johan Bockgård):
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #42 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: bojohan+news <at> dd.chalmers.se (Johan Bockgård)
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#386: 23.0.60; Different behavior in C-e and C-S-e between -nw and normal mode
Date: Mon, 28 Jul 2008 22:57:58 +0200
Paul Lussier <pll <at> permabit.com> writes:

> Chong Yidong <cyd <at> stupidchicken.com> writes:
>
>> I still can't reproduce this.  It's likely you have some customization
>> that's causing this bug; try again with emacs -Q.
>
> That was with -Q.  Though not with C-n as previously reported, but
> rather using the down arrow key.

Have you been playing with xmodmap?

-- 
Johan Bockgård






Added tag(s) fixed. Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 11 Sep 2011 05:38:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 386 <at> debbugs.gnu.org and Paul Lussier <pll <at> permabit.com> Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 11 Sep 2011 05:38:02 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#386; Package emacs. (Sun, 11 Sep 2011 05:40:02 GMT) Full text and rfc822 format available.

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

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#386: 23.0.60;
	Different behavior in C-e and C-S-e between -nw and normal mode
Date: Sun, 11 Sep 2011 07:30:34 +0200
bojohan+news <at> dd.chalmers.se (Johan Bockgård) writes:

>> That was with -Q.  Though not with C-n as previously reported, but
>> rather using the down arrow key.
>
> Have you been playing with xmodmap?

More information was requested three years ago, so I'm closing this
bug.  If this is still a problem, please reopen the report.

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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 09 Oct 2011 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 257 days ago.

Previous Next


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