From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/42491 Path: main.gmane.org!not-for-mail From: ShengHuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: problem whith abbrevs in message-mode Date: Wed, 23 Jan 2002 22:29:22 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <2n3d0wo299.fsf@zsh.cs.rochester.edu> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035177725 12025 80.91.224.250 (21 Oct 2002 05:22:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:22:05 +0000 (UTC) Cc: ding@gnus.org, emacs-devel@gnu.org Return-Path: Original-Received: (qmail 19265 invoked from network); 24 Jan 2002 03:30:14 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 24 Jan 2002 03:30:14 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16TaaJ-0008Jv-00; Wed, 23 Jan 2002 21:29:55 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 23 Jan 2002 21:29:50 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id VAA12936 for ; Wed, 23 Jan 2002 21:29:37 -0600 (CST) Original-Received: (qmail 19251 invoked by alias); 24 Jan 2002 03:29:37 -0000 Original-Received: (qmail 19244 invoked from network); 24 Jan 2002 03:29:37 -0000 Original-Received: from roc-24-58-72-167.rochester.rr.com (HELO zsh.2y.net) (@24.58.72.167) by gnus.org with SMTP; 24 Jan 2002 03:29:37 -0000 Original-Received: (from zsh@localhost) by zsh.2y.net (8.11.6/8.11.2) id g0O3TMl21239; Wed, 23 Jan 2002 22:29:22 -0500 Mail-Followup-To: ding@gnus.org, emacs-devel@gnu.org Original-To: Harry Putnam X-Attribution: ZSH X-Face: #zw9`a=vHLkn+ZH8C writes: [...] > I see an error when trying to enter a new abbrev while in message-mode > but not other modes. > > For example: > In the buffer, if I type abbrv_this and then the command `C-x a +' > > I get this error: add-mode-abbrev: No per-mode abbrev table > > Including backtrace here: > > Debugger entered--Lisp error: (error "No per-mode abbrev table") > signal(error ("No per-mode abbrev table")) > error("No per-mode abbrev table") > add-mode-abbrev(1) > call-interactively(add-mode-abbrev) > > If I temporarily change the major-mode to text, the error disappears > and the command works. > > Calling M-x edit-abbrevs I see: > > (message-mode-abbrev-table) > > "keyz" 0 "Keywords:" > "hped" 0 "[NOTE: -ed HP" I can not reproduce the bug. But maybe some settings make the difference. Your post is from oGnus and Emacs 21.1, therefore I guess you produced this bug in the setting. message-mode is defined by define-derived-mode in oGnus, but by defun in Gnus 5.9. Also, Stefan Monnier's change on 2001-11-20 could make the difference. I am not familiar with define-derived-mode, abbrev, mailabbrev, or mail-abbrevs. Help?! BTW, message-mode-abbrev-table is not (explicitly) defined in message.el. Is it a problem? ShengHuo