unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Trying to set an abbreviation in a custom mode
@ 2008-12-08  2:40 Davin Pearson
  2008-12-08  6:03 ` Ian Eure
       [not found] ` <mailman.2197.1228716190.26697.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 5+ messages in thread
From: Davin Pearson @ 2008-12-08  2:40 UTC (permalink / raw)
  To: help-gnu-emacs

I tried the following code to get "sop" as an abbreviation for
"System.out.println" in a custom mode but it doesn't appear to work:

(define-abbrev global-abbrev-table "sop" "System.out.println(")

Another alternative would be for me to import java-mode-abbrev-table
into the current mode.  Any hints on how to do this?

Here is my version info (from M-x report-emacs-bug)

In GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600)
 of 2008-03-27 on RELEASE
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'



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

end of thread, other threads:[~2008-12-09 14:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-08  2:40 Trying to set an abbreviation in a custom mode Davin Pearson
2008-12-08  6:03 ` Ian Eure
     [not found] ` <mailman.2197.1228716190.26697.help-gnu-emacs@gnu.org>
2008-12-08  9:51   ` Davin Pearson
2008-12-08  9:57     ` Davin Pearson
2008-12-09 14:22       ` Kevin Rodgers

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