all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.