unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#6107: Delete key in the trunk invokes 'backspace' command
@ 2010-05-05 11:12 Paul Pogonyshev
  2010-05-05 20:51 ` Stefan Monnier
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Pogonyshev @ 2010-05-05 11:12 UTC (permalink / raw)
  To: 6107

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







^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#6107: Delete key in the trunk invokes 'backspace' command
  2010-05-05 11:12 bug#6107: Delete key in the trunk invokes 'backspace' command Paul Pogonyshev
@ 2010-05-05 20:51 ` Stefan Monnier
  2010-05-07 10:04   ` Paul Pogonyshev
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2010-05-05 20:51 UTC (permalink / raw)
  To: Paul Pogonyshev; +Cc: 6107

> 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






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#6107: Delete key in the trunk invokes 'backspace' command
  2010-05-05 20:51 ` Stefan Monnier
@ 2010-05-07 10:04   ` Paul Pogonyshev
  2010-05-07 15:06     ` Paul Pogonyshev
  2010-05-08 15:54     ` Stefan Monnier
  0 siblings, 2 replies; 5+ messages in thread
From: Paul Pogonyshev @ 2010-05-07 10:04 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 6107

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






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#6107: Delete key in the trunk invokes 'backspace' command
  2010-05-07 10:04   ` Paul Pogonyshev
@ 2010-05-07 15:06     ` Paul Pogonyshev
  2010-05-08 15:54     ` Stefan Monnier
  1 sibling, 0 replies; 5+ messages in thread
From: Paul Pogonyshev @ 2010-05-07 15:06 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 6107

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






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#6107: Delete key in the trunk invokes 'backspace' command
  2010-05-07 10:04   ` Paul Pogonyshev
  2010-05-07 15:06     ` Paul Pogonyshev
@ 2010-05-08 15:54     ` Stefan Monnier
  1 sibling, 0 replies; 5+ messages in thread
From: Stefan Monnier @ 2010-05-08 15:54 UTC (permalink / raw)
  To: Paul Pogonyshev; +Cc: 6107

>> > 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






^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-05-08 15:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-05 11:12 bug#6107: Delete key in the trunk invokes 'backspace' command Paul Pogonyshev
2010-05-05 20:51 ` Stefan Monnier
2010-05-07 10:04   ` Paul Pogonyshev
2010-05-07 15:06     ` Paul Pogonyshev
2010-05-08 15:54     ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).