all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "damien.thiriet77" <damien.thiriet77@laposte.net>
To: Doug Lewan <dougl@shubertticketing.com>,
	 "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: RE: minor-table-list-alist, once again
Date: Fri, 19 Oct 2012 18:17:54 +0200	[thread overview]
Message-ID: <1402531419.955370.1350663474604.JavaMail.www@wwinf8218> (raw)
In-Reply-To: <155DEC68569B714B86C2C7075F5EDA98269524B6@DAKIYA1.pegasus.local>

Hello Doug,


Thank you very much for your suggestions. Infortunately, it doesn’t work. When I eval
(define-abbrev-table 'polonais-mode-abbrev-table '(("ków" . "Kraków"))) I get an error message: 
Debugger entered--Lisp error: (wrong-type-argument listp "Kraków")

Anywhay, I tried also to put " in my add-to-list, and when I give
(add-to-list 'abbrev-minor-mode-table-alist 
'("polonais-mode" . "polonais-mode-abbrev-table")
)
After evaluating, I had could write anything, which might mean, that my table passes the vectorp test, but is not recognized at all. Maybe it is a bug after all?



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

> > Hello,
> > 

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



      reply	other threads:[~2012-10-19 16:17 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
2012-10-19 16:17   ` damien.thiriet77 [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=1402531419.955370.1350663474604.JavaMail.www@wwinf8218 \
    --to=damien.thiriet77@laposte.net \
    --cc=dougl@shubertticketing.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.