From: Doug Lewan <dougl@shubertticketing.com>
To: damien.thiriet77 <damien.thiriet77@laposte.net>,
"help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: RE: minor-table-list-alist, once again
Date: Fri, 19 Oct 2012 15:31:16 +0000 [thread overview]
Message-ID: <155DEC68569B714B86C2C7075F5EDA98269524B6@DAKIYA1.pegasus.local> (raw)
In-Reply-To: <2010685431.403539.1350658896062.JavaMail.www@wwinf8312>
Damien,
You need the '.' in the items that you've created to build an association list.
See if this works:
(define-abbrev-table 'polonais-mode-abbrev-table '(("ków" . "Kraków")))
I think your use of (add-to-list) is right.
Let me know if this helps.
,Doug
> -----Original Message-----
> From: help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org
> [mailto:help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org] On
> Behalf Of damien.thiriet77
> Sent: Friday, 2012 October 19 11:02
> To: help-gnu-emacs@gnu.org
> Subject: minor-table-list-alist, once again
>
> Hello,
>
>
> My previous post had no echo, but I am really in trouble with this
> minor-table-alist variable. Google cannot show any concrete example,
> only the (VARIABLE . ABBREV-TABLE), which I obviously did not
> understand. I am just a historian trying to ease its everyday work…
>
> So, I have set my table polonais-mode-abbrev-table
> (define-abbrev-table 'polonais-mode-abbrev-table '(("ków" "Kraków"))),
> how should I write my add-to-list?
> (add-to-list 'abbrev-minor-mode-table-alist
> '(polonais-mode . polonais-mode-abbrev-table))
> does not work. I cannot write anything, it returns:
> Wrong type argument: vectorp, polonais-mode-abbrev-table
>
> I am sure polonais-mode is non-nil (returns t when evaluated). Is it a
> bug, then?
>
>
> Une messagerie gratuite, garantie à vie et des services en plus, ça
> vous tente ?
> Je crée ma boîte mail www.laposte.net
next prev parent reply other threads:[~2012-10-19 15:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-19 15:01 minor-table-list-alist, once again damien.thiriet77
2012-10-19 15:31 ` Doug Lewan [this message]
2012-10-19 16:17 ` damien.thiriet77
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=155DEC68569B714B86C2C7075F5EDA98269524B6@DAKIYA1.pegasus.local \
--to=dougl@shubertticketing.com \
--cc=damien.thiriet77@laposte.net \
--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.
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).