unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* abbrevs are not expanded with <SPC> in debugger(gud) mode
@ 2007-07-11 16:14 Pawel
  2007-07-11 16:22 ` Pawel
  0 siblings, 1 reply; 2+ messages in thread
From: Pawel @ 2007-07-11 16:14 UTC (permalink / raw)
  To: emacs mailing list

Hallo group members.
I added the following abbrev to debugger (gud) mode.

(define-abbrev gud-mode-abbrev-table "ir" "info reg ")

It is expanded using C-x a e, so it got "installed" properly.

Unfortunatelly <SPC> does not expand it.

Just to compare, I added the same abbrev to c-mode and expansion with <SPC> works fine there.

In both the modes, <SPC> key is handled by:
self-insert-command

In both the modes, <SPC> belongs to " " class ( Command:(string (char-syntax ?\ )), returns " " for both the modes).

Have You got idea what is the reason?

Regards,
Pawel.

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

* abbrevs are not expanded with <SPC> in debugger(gud) mode
  2007-07-11 16:14 abbrevs are not expanded with <SPC> in debugger(gud) mode Pawel
@ 2007-07-11 16:22 ` Pawel
  0 siblings, 0 replies; 2+ messages in thread
From: Pawel @ 2007-07-11 16:22 UTC (permalink / raw)
  To: emacs mailing list

Pawel writes:
 > Hallo group members.
 > I added the following abbrev to debugger (gud) mode.
 > 
 > (define-abbrev gud-mode-abbrev-table "ir" "info reg ")
 > 
 > It is expanded using C-x a e, so it got "installed" properly.
 > 
 > Unfortunatelly <SPC> does not expand it.
 > 
 > Just to compare, I added the same abbrev to c-mode and expansion with <SPC> works fine there.
 > 
 > In both the modes, <SPC> key is handled by:
 > self-insert-command
 > 
 > In both the modes, <SPC> belongs to " " class ( Command:(string (char-syntax ?\ )), returns " " for both the modes).
 > 
 > Have You got idea what is the reason?
 > 
 > Regards,
 > Pawel.
 > 
 > 
 > _______________________________________________
 > help-gnu-emacs mailing list
 > help-gnu-emacs@gnu.org
 > http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

I just got the reason.
abbrev-mode was set to nil in *gud*
Sorry for bothering
Regards,
Pawel

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

end of thread, other threads:[~2007-07-11 16:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-11 16:14 abbrevs are not expanded with <SPC> in debugger(gud) mode Pawel
2007-07-11 16:22 ` Pawel

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