[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: minor-table-list-alist, once again

From: damien.thiriet77
Subject: RE: minor-table-list-alist, once again
Date: Fri, 19 Oct 2012 18:17:54 +0200

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 

> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]