unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Andreas Röhler" <andreas.roehler@online.de>
To: emacs-devel@gnu.org
Cc: Stefan Monnier <monnier@iro.umontreal.ca>,
	Richard Stallman <rms@gnu.org>
Subject: Re: define-abbrev
Date: Tue, 30 Oct 2007 12:20:37 +0100	[thread overview]
Message-ID: <200710301220.38394.andreas.roehler@online.de> (raw)
In-Reply-To: <jwvir4pzll9.fsf-monnier+emacs@gnu.org>

Am Montag, 29. Oktober 2007 21:57 schrieb Stefan Monnier:
> > emacs -q
> > cursor after "Welcome" at startscreen
> > M-x add-global-abbrev wo RET
> > M-x edit-abbrevs
> > Kill just inserted line "wo" 0 "Welcome"
> > C-c C-c
> > then described error occurs.
> > apply: Wrong type argument: number-or-marker-p, nil
>
> Hmm... works fine for me.  Can you try it with "emacs -Q" (in case it
> depends on some change in your site-init file(s))?
>
>
>         Stefan
>
>


With emacs -Q sometimes it's gone, sometimes
not. Strange enough: with -q sometimes also. Maybe the
daylight or the moon have influence too? :)

Error occurs at nearly the last line 898

      (apply 'define-abbrev table elt))))

BTW having a closer look at the code, I see abbrevs
still downcased.

What means, I still can't have different abbrevs "Te"
"te" "tE" "TE".

So for me the whole issue isn't tackled.

Can you tell me an example where this downcasing is
useful, why it's introduced once?

Why not simply render a string as is?:

genannt London Bridge

M-x 3 add-mode-abbrev

is called London Bridge


For me both GNU and Xemacs abbrev.c codes look much
simpler than new abbrev.el. I'd prefer little changes
there than having a complete new thing.

Grüße

Andreas Röhler

  reply	other threads:[~2007-10-30 11:20 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           ` Andreas Röhler [this message]
2007-10-30 19:11             ` define-abbrev Stefan Monnier
2007-10-30 20:04               ` define-abbrev Andreas Röhler
2007-10-30 20:25                 ` define-abbrev Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=200710301220.38394.andreas.roehler@online.de \
    --to=andreas.roehler@online.de \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --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 public inbox

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

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