GNU bug report logs - #6107
Delete key in the trunk invokes 'backspace' command

Previous Next

Package: emacs;

Reported by: Paul Pogonyshev <p.pogonyshev <at> anakreon.net>

Date: Wed, 5 May 2010 12:06:02 UTC

Severity: normal

Done: Glenn Morris <rgm <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 6107 in the body.
You can then email your comments to 6107 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#6107; Package emacs. (Wed, 05 May 2010 12:06:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Paul Pogonyshev <p.pogonyshev <at> anakreon.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org.

Your message specified a Severity: in the pseudo-header, but the severity value major was not recognised. The default severity normal is being used instead. The recognised values are: critical, grave, serious, important, normal, minor, wishlist.

(Wed, 05 May 2010 12:06:02 GMT) Full text and rfc822 format available.


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

From: Paul Pogonyshev <p.pogonyshev <at> anakreon.net>
To: bug-gnu-emacs <at> gnu.org
Subject: Delete key in the trunk invokes 'backspace' command
Date: Wed, 5 May 2010 14:12:30 +0300
Severity: major

After recompiling Emacs from trunk, <delete> key now invokes backspace
(not in terminal, using a GTK+/X Emacs).  This breaks compatibility
with everything imaginable, including previous Emacs versions.

Paul





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6107; Package emacs. (Wed, 05 May 2010 20:52:02 GMT) Full text and rfc822 format available.

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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Paul Pogonyshev <p.pogonyshev <at> anakreon.net>
Cc: 6107 <at> debbugs.gnu.org
Subject: Re: bug#6107: Delete key in the trunk invokes 'backspace' command
Date: Wed, 05 May 2010 16:51:36 -0400
> After recompiling Emacs from trunk, <delete> key now invokes backspace
> (not in terminal, using a GTK+/X Emacs).  This breaks compatibility
> with everything imaginable, including previous Emacs versions.

I recently redefined the main function related to this, using
define-minor-mode.  But it relies on changes in macros in cl-macs and
easy-mmode, so you may need to recompile those files in the right order
to get the right result.  I.e. please recompile lisp/simple.el (and
re-dump) after compiling all other files.  Or just try bootstrapping.

Of course, maybe I did mess something up in my rewrite, so please
confirm/infirm that the above fixes your problem.


        Stefan




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6107; Package emacs. (Fri, 07 May 2010 10:05:01 GMT) Full text and rfc822 format available.

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

From: Paul Pogonyshev <p.pogonyshev <at> anakreon.net>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 6107 <at> debbugs.gnu.org
Subject: Re: bug#6107: Delete key in the trunk invokes 'backspace' command
Date: Fri, 7 May 2010 13:04:10 +0300
Stefan Monnier wrote:
> > After recompiling Emacs from trunk, <delete> key now invokes backspace
> > (not in terminal, using a GTK+/X Emacs).  This breaks compatibility
> > with everything imaginable, including previous Emacs versions.
> 
> I recently redefined the main function related to this, using
> define-minor-mode.  But it relies on changes in macros in cl-macs and
> easy-mmode, so you may need to recompile those files in the right order
> to get the right result.  I.e. please recompile lisp/simple.el (and
> re-dump) after compiling all other files.  Or just try bootstrapping.

I tried several times (after bzr pulls), but I get this error:

Using load-path (/home/developer/bzr/emacs/lisp /home/developer/bzr/emacs/lisp/emacs-lisp /home/developer/bzr/emacs/lisp/language /home/developer/bzr/emacs/lisp/international /home/developer/bzr/emacs/lisp/textmodes)
Loading emacs-lisp/byte-run (source)...
Loading emacs-lisp/backquote (source)...
Loading subr (source)...
Loading version.el (source)...
Loading widget (source)...
Loading custom (source)...
Loading emacs-lisp/map-ynp (source)...
Loading cus-start (source)...
Loading international/mule (source)...
Loading international/mule-conf (source)...
Loading env (source)...
Loading format (source)...
Loading bindings (source)...
Loading /home/developer/bzr/emacs/lisp/files.el (source)...
Symbol's function definition is void: define-minor-mode
make[1]: *** [bootstrap-emacs] Error 255
make[1]: Leaving directory `/home/developer/bzr/emacs/src'
make: *** [src] Error 2

No .elc files appear, so this apparently happens on the very first
.el compilation.

Paul




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6107; Package emacs. (Fri, 07 May 2010 15:07:01 GMT) Full text and rfc822 format available.

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

From: Paul Pogonyshev <p.pogonyshev <at> anakreon.net>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 6107 <at> debbugs.gnu.org
Subject: Re: bug#6107: Delete key in the trunk invokes 'backspace' command
Date: Fri, 7 May 2010 18:06:12 +0300
close 6107
thanks

I wrote:
> Stefan Monnier wrote:
> > > After recompiling Emacs from trunk, <delete> key now invokes backspace
> > > (not in terminal, using a GTK+/X Emacs).  This breaks compatibility
> > > with everything imaginable, including previous Emacs versions.
> > 
> > I recently redefined the main function related to this, using
> > define-minor-mode.  But it relies on changes in macros in cl-macs and
> > easy-mmode, so you may need to recompile those files in the right order
> > to get the right result.  I.e. please recompile lisp/simple.el (and
> > re-dump) after compiling all other files.  Or just try bootstrapping.
> 
> I tried several times (after bzr pulls), but I get this error: [...]

Now seems to work.  The bug was apparently because I didn't delete
.elc files.

Paul




bug closed, send any further explanations to Paul Pogonyshev <p.pogonyshev <at> anakreon.net> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 07 May 2010 17:23:02 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6107; Package emacs. (Sat, 08 May 2010 15:55:02 GMT) Full text and rfc822 format available.

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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Paul Pogonyshev <p.pogonyshev <at> anakreon.net>
Cc: 6107 <at> debbugs.gnu.org
Subject: Re: bug#6107: Delete key in the trunk invokes 'backspace' command
Date: Sat, 08 May 2010 11:54:40 -0400
>> > After recompiling Emacs from trunk, <delete> key now invokes backspace
>> > (not in terminal, using a GTK+/X Emacs).  This breaks compatibility
>> > with everything imaginable, including previous Emacs versions.
>> 
>> I recently redefined the main function related to this, using
>> define-minor-mode.  But it relies on changes in macros in cl-macs and
>> easy-mmode, so you may need to recompile those files in the right order
>> to get the right result.  I.e. please recompile lisp/simple.el (and
>> re-dump) after compiling all other files.  Or just try bootstrapping.

> I tried several times (after bzr pulls), but I get this error:

> Using load-path (/home/developer/bzr/emacs/lisp /home/developer/bzr/emacs/lisp/emacs-lisp /home/developer/bzr/emacs/lisp/language /home/developer/bzr/emacs/lisp/international /home/developer/bzr/emacs/lisp/textmodes)
> Loading emacs-lisp/byte-run (source)...
> Loading emacs-lisp/backquote (source)...
> Loading subr (source)...
> Loading version.el (source)...
> Loading widget (source)...
> Loading custom (source)...
> Loading emacs-lisp/map-ynp (source)...
> Loading cus-start (source)...
> Loading international/mule (source)...
> Loading international/mule-conf (source)...
> Loading env (source)...
> Loading format (source)...
> Loading bindings (source)...
> Loading /home/developer/bzr/emacs/lisp/files.el (source)...
> Symbol's function definition is void: define-minor-mode
> make[1]: *** [bootstrap-emacs] Error 255
> make[1]: Leaving directory `/home/developer/bzr/emacs/src'
> make: *** [src] Error 2

> No .elc files appear, so this apparently happens on the very first
> .el compilation.

Yes, that's another problem which I introduced a bit later, but which
I (supposedly) fixed yesterday, so if you pull again, it should work.


        Stefan




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

This bug report was last modified 15 years and 72 days ago.

Previous Next


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