all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Davin Pearson <davin.pearson@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Trying to set an abbreviation in a custom mode
Date: Mon, 8 Dec 2008 01:51:25 -0800 (PST)	[thread overview]
Message-ID: <0ceb4bf4-55c5-4015-98df-748d8f99dfe8@w39g2000prb.googlegroups.com> (raw)
In-Reply-To: mailman.2197.1228716190.26697.help-gnu-emacs@gnu.org

On Dec 8, 7:03 pm, Ian Eure <i...@digg.com> wrote:
> C-x a l - `add-mode-abbrev' (define abbrev for sexp at point)
> C-x a i l - `inverse-add-mode-abbrev' (define expansion for sexp at  
> point)

This is not helpful because I want to add the abbreviation
programmatically, that is to say automatically every time I run Emacs.

C-h f add-mode-abbrev says:

Don't use this function in a Lisp program; use `define-abbrev'
instead.

I am stuck because I don't know how to get java-mode-abbrev-table into
my custom mode.

Please help me!



  parent reply	other threads:[~2008-12-08  9:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2008-12-08  9:57     ` Davin Pearson
2008-12-09 14:22       ` Kevin Rodgers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0ceb4bf4-55c5-4015-98df-748d8f99dfe8@w39g2000prb.googlegroups.com \
    --to=davin.pearson@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.