From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.devel Subject: derived-mode should provide default abbrev-table Date: Fri, 01 Jul 2011 10:12:24 +0200 Message-ID: <4E0D8168.80704@online.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1309508838 8467 80.91.229.12 (1 Jul 2011 08:27:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Jul 2011 08:27:18 +0000 (UTC) To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 01 10:27:14 2011 Return-path: Envelope-to: ged-emacs-devel@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 1QcZ4C-0000zw-2K for ged-emacs-devel@m.gmane.org; Fri, 01 Jul 2011 10:27:12 +0200 Original-Received: from localhost ([::1]:39131 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcZ4A-0008UG-ES for ged-emacs-devel@m.gmane.org; Fri, 01 Jul 2011 04:27:10 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcYpz-0004b6-IP for emacs-devel@gnu.org; Fri, 01 Jul 2011 04:12:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QcYpx-000127-Bh for emacs-devel@gnu.org; Fri, 01 Jul 2011 04:12:31 -0400 Original-Received: from moutng.kundenserver.de ([212.227.17.10]:53171) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcYpw-0000zo-RH for emacs-devel@gnu.org; Fri, 01 Jul 2011 04:12:29 -0400 Original-Received: from [192.168.178.27] (brln-4d0c0fc3.pool.mediaWays.net [77.12.15.195]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0M4kN3-1RU8vc2ynV-00zLFy; Fri, 01 Jul 2011 10:12:25 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110414 SUSE/3.1.10 Thunderbird/3.1.10 X-Provags-ID: V02:K0:QjtrBBgxqXXKEg0RhpKsz6JeBi9fcPBT+At2y6x2Ei2 uhSu7EDK4hZs8POx5hPeZz1I64d4XY3kyyTqkO/4+g8k8tNjIo gtY+LII2Pu3bXoGzuTWDaVgD1fgOkTZxU7ApI5+qhcMyJBwfmd Mwi/7lsZTnS9kfxU8CurLaUmg0rdIX33zK5Pkwc2Jx2ZUa751B ALRWILsZgFBetkqMNPxA6aOhzJtDYHL7FsUtizLH7k= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.17.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:141328 Archived-At: Hi, with resp. to http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8910 `define-derived-mode' says: :abbrev-table TABLE Use TABLE instead of the default. A nil value means to simply use the same abbrev-table as the parent. Two issues: - If the slot isn't served, no abbrev-table exists AFAIS. A bug IMHO: Specification should be required only for non-defaults. Ie ":abbrev-table nil" should be the default. - If a name is given which doesn't represent a valid table, the mode hook should make an empty one from it silently. Cheers, Andreas