From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "damien.thiriet77" Newsgroups: gmane.emacs.help Subject: RE: minor-table-list-alist, once again Date: Fri, 19 Oct 2012 18:17:54 +0200 Message-ID: <1402531419.955370.1350663474604.JavaMail.www@wwinf8218> References: <2010685431.403539.1350658896062.JavaMail.www@wwinf8312> <155DEC68569B714B86C2C7075F5EDA98269524B6@DAKIYA1.pegasus.local> Reply-To: "damien.thiriet77" NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1350663508 23914 80.91.229.3 (19 Oct 2012 16:18:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Oct 2012 16:18:28 +0000 (UTC) To: Doug Lewan , "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 19 18:18:36 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TPFHI-0003vC-DR for geh-help-gnu-emacs@m.gmane.org; Fri, 19 Oct 2012 18:18:28 +0200 Original-Received: from localhost ([::1]:44492 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPFH8-0006wx-Dq for geh-help-gnu-emacs@m.gmane.org; Fri, 19 Oct 2012 12:18:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45584) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPFGu-0006vP-GV for help-gnu-emacs@gnu.org; Fri, 19 Oct 2012 12:18:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TPFGo-0007WC-4W for help-gnu-emacs@gnu.org; Fri, 19 Oct 2012 12:18:04 -0400 Original-Received: from smtpout8.laposte.net ([193.253.67.233]:22326 helo=smtpout.laposte.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPFGn-0007Vd-Ud for help-gnu-emacs@gnu.org; Fri, 19 Oct 2012 12:17:58 -0400 Original-Received: from wwinf8218 ([10.99.54.221]) by mwinf8515-out with ME id D4Hu1k00F4mN4ju034HuTD; Fri, 19 Oct 2012 18:17:54 +0200 In-Reply-To: <155DEC68569B714B86C2C7075F5EDA98269524B6@DAKIYA1.pegasus.local> X-Originating-IP: [83.6.198.166] X-Wum-Nature: EMAIL-NATURE X-WUM-FROM: |~| X-WUM-TO: |~||~| X-WUM-REPLYTO: |~| X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 193.253.67.233 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:87331 Archived-At: Hello Doug, Thank you very much for your suggestions. Infortunately, it doesn=E2=80=99t= work. When I eval (define-abbrev-table 'polonais-mode-abbrev-table '(("k=C3=B3w" . "Krak=C3= =B3w"))) I get an error message:=20 Debugger entered--Lisp error: (wrong-type-argument listp "Krak=C3=B3w") Anywhay, I tried also to put " in my add-to-list, and when I give (add-to-list 'abbrev-minor-mode-table-alist=20 '("polonais-mode" . "polonais-mode-abbrev-table") ) After evaluating, I had could write anything, which might mean, that my tab= le passes the vectorp test, but is not recognized at all. Maybe it is a bug= after all? > Damien, >=20 > 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=C3=B3w" . "Krak=C3= =B3w"))) >=20 > I think your use of (add-to-list) is right. >=20 > Let me know if this helps. >=20 > ,Doug >=20 >=20 > > Hello, > >=20 > > So, I have set my table polonais-mode-abbrev-table > > (define-abbrev-table 'polonais-mode-abbrev-table '(("k=C3=B3w" "Krak=C3= =B3w"))), > > 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 > >=20 > > I am sure polonais-mode is non-nil (returns t when evaluated). Is it a > > bug, then? Une messagerie gratuite, garantie =C3=A0 vie et des services en plus, =C3= =A7a vous tente ? Je cr=C3=A9e ma bo=C3=AEte mail www.laposte.net