all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Andreas Röhler" <andreas.roehler@online.de>
Cc: Richard Stallman <rms@gnu.org>, emacs-devel@gnu.org
Subject: Re: define-abbrev
Date: Tue, 30 Oct 2007 16:25:34 -0400	[thread overview]
Message-ID: <jwvve8ouzlr.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <200710302104.59559.andreas.roehler@online.de> ("Andreas Röhler"'s message of "Tue, 30 Oct 2007 21:04:58 +0100")

>> I'm pretty sure I know where the error is signalled and how to fix this
>> symptom, but depending on the cause the real fix might be conmpletely
>> different, and the cause is elsewhere (the problem seems to be that
>> you're somehow using an abbrev-table that was not created by
>> make-abbrev-table).

> My Englisch-Mode? I'll remember your remark
> should I ran into trouble at this point again, thanks.

When you get a backtrace (in define-abbrev), please try things like:

   e (abbrev-table-p table) RET

and if it says nil, try

   e (list-abbrevs t) RET

to try and figure out which abbrev table this is.

> Maybe it's worthwhile to speak about. IMO behaviour as
> described by the manual is a misfeature:

Obviously, someone went through the trouble to code the feature, so
there's no point arguing to remove it just by saying it's
a "misfeature".  Try to come up with a good way for the user to choose
the behavior she likes instead.


        Stefan

      reply	other threads:[~2007-10-30 20:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-28 14:21 define-abbrev Andreas Röhler
2007-10-28 21:38 ` define-abbrev Stefan Monnier
2007-10-29  9:36   ` define-abbrev Andreas Röhler
2007-10-29 15:38     ` define-abbrev Stefan Monnier
2007-10-29 17:34       ` define-abbrev Andreas Röhler
2007-10-29 20:57         ` define-abbrev Stefan Monnier
2007-10-30 11:20           ` define-abbrev Andreas Röhler
2007-10-30 19:11             ` define-abbrev Stefan Monnier
2007-10-30 20:04               ` define-abbrev Andreas Röhler
2007-10-30 20:25                 ` Stefan Monnier [this message]

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=jwvve8ouzlr.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=andreas.roehler@online.de \
    --cc=emacs-devel@gnu.org \
    --cc=rms@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.