From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Seweryn Kokot Newsgroups: gmane.emacs.bugs Subject: bug#9360: 24.0.50; emacs-lisp-mode-abbrev-table neglected in emacs-lisp-mode Date: Thu, 25 Aug 2011 06:26:56 +0000 (UTC) Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1314253715 22392 80.91.229.12 (25 Aug 2011 06:28:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 25 Aug 2011 06:28:35 +0000 (UTC) To: 9360@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 25 08:28:31 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QwTQU-0005Ed-DA for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Aug 2011 08:28:30 +0200 Original-Received: from localhost ([::1]:46716 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwTQT-0003Nc-S2 for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Aug 2011 02:28:29 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58199) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwTQQ-0003NT-VU for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2011 02:28:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwTQP-0001P6-H1 for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2011 02:28:26 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37764) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwTQP-0001P2-Fb for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2011 02:28:25 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QwTSw-0007mB-AF; Thu, 25 Aug 2011 02:31:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Seweryn Kokot Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Aug 2011 06:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9360 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.131425384129853 (code B ref -1); Thu, 25 Aug 2011 06:31:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Aug 2011 06:30:41 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QwTSZ-0007lQ-Mk for submit@debbugs.gnu.org; Thu, 25 Aug 2011 02:30:41 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QwTRp-00072G-TZ for submit@debbugs.gnu.org; Thu, 25 Aug 2011 02:29:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwTPH-0001IQ-FM for submit@debbugs.gnu.org; Thu, 25 Aug 2011 02:27:16 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:33756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwTPH-0001IM-At for submit@debbugs.gnu.org; Thu, 25 Aug 2011 02:27:15 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58078) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwTPF-0003Kv-Se for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2011 02:27:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwTPE-0001IA-OA for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2011 02:27:13 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:58661) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwTPE-0001I6-CN for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2011 02:27:12 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QwTPC-0004k7-QD for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2011 08:27:10 +0200 Original-Received: from 139.191.131.39 ([139.191.131.39]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Aug 2011 08:27:10 +0200 Original-Received: from sewkokot by 139.191.131.39 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Aug 2011 08:27:10 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 48 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 139.191.131.39 (Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB7.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Thu, 25 Aug 2011 02:30:37 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 25 Aug 2011 02:31:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:50327 Archived-At: Glenn Morris gnu.org> writes: > > Seweryn Kokot wrote: > > > When in a buffer in emacs-lisp-mode, emacs 24 neglects > > emacs-lisp-mode-abbrev-table. It uses lisp-mode-abbrev-table only. I > > think the elisp manual should tell us more about the difference between > > the three lisp abbrev tables: > > emacs-lisp-mode-abbrev-table, lisp-interaction-mode-abbrev-table and > > lisp-mode-abbrev-table. I add that in emacs 23 > > emacs-lisp-mode-abbrev-table worked was taken into account when in > > emacs-lisp-mode buffer. > > I don't see that emacs-lisp-mode-abbrev-table has ever had an effect. > In 23.1 it is void. In 23.2 and on it is defined (by define-derived-mode) > but not used. `add-mode-abbrev' in an Emacs Lisp mode buffer adds to > lisp-mode-abbrev-table. Adding an entry to emacs-lisp-mode-abbrev-table > in abbrev_defs has no effect. > > This is because emacs-lisp-mode calls lisp-mode-variables, which > explicitly sets the abbrev-table to lisp-mode-abbrev-table. > > To me, the bug looks like the fact that emacs-lisp-mode-abbrev-table is > defined at all. If it's never going to be used, the definition of > emacs-lisp-mode should specify an :abbrev-table. I'm using msf-abbrev [1] library which uses emacs-lisp-mode-abbrev-table for emacs-lisp-mode and this mechanism worked in emacs 23.2 and not in emacs 24.0.50. Now I modified msf-abbrev settings to use lisp-mode-abbrev-table but in fact it can be misleading to see emacs-lisp-mode-abbrev-table not working with emacs-lisp-mode. It's better to remove this table or explain how to use this abbrev table in emacs and elisp manuals. Thanks, Regards, Seweryn [1] http://www.emacswiki.org/emacs/MsfAbbrev > > > In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) > > of 2011-08-22 on 3249CTO > >