From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas =?iso-8859-1?q?R=F6hler?= Newsgroups: gmane.emacs.devel Subject: Re: define-abbrev Date: Mon, 29 Oct 2007 10:36:21 +0100 Message-ID: <200710291036.22071.andreas.roehler@online.de> References: <200710281521.17888.andreas.roehler@online.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1193650621 16418 80.91.229.12 (29 Oct 2007 09:37:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Oct 2007 09:37:01 +0000 (UTC) Cc: Stefan Monnier To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 29 10:37:03 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ImR3N-0000UE-SH for ged-emacs-devel@m.gmane.org; Mon, 29 Oct 2007 10:37:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ImR3E-0001Oj-I0 for ged-emacs-devel@m.gmane.org; Mon, 29 Oct 2007 05:36:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ImR1o-0000Ia-VV for emacs-devel@gnu.org; Mon, 29 Oct 2007 05:35:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ImR1o-0000H7-Bf for emacs-devel@gnu.org; Mon, 29 Oct 2007 05:35:24 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ImR1n-0000Gt-Oj for emacs-devel@gnu.org; Mon, 29 Oct 2007 05:35:23 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.179]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ImR1m-0004PJ-C7 for emacs-devel@gnu.org; Mon, 29 Oct 2007 05:35:22 -0400 Original-Received: from noname (p54BE9557.dip0.t-ipconnect.de [84.190.149.87]) by mrelayeu.kundenserver.de (node=mrelayeu8) with ESMTP (Nemesis) id 0ML31I-1ImR1h3LMd-0003Tk; Mon, 29 Oct 2007 10:35:19 +0100 User-Agent: KMail/1.9.5 In-Reply-To: Content-Disposition: inline X-Provags-ID: V01U2FsdGVkX1+Mx/BkMEqb4lZwsr/i8pApUYFPEoRXJiJy70X 3ynD6lmDTyx2YrqCg+0UjW/1z0Eje6qLR9R1O4B67MmZOi6qCD xmR0LpRTaVenZnMDoSDMA== X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:82057 Archived-At: Am Sonntag, 28. Oktober 2007 22:38 schrieb Stefan Monnier: > > `define-abbrevs' signals: > > Wrong type argument: number-or-marker-p, nil > > Please give a precise test case. > > > Below the output from edebug: > > Edebug is good for debugging but is mostly useless for bug-reporting. > A good backtrace is a much better start point. > > Got two different backtraces today and yesterday Backtrace from yesterday at the end Emacs -q Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) define-abbrev([0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 hrr 0 0 0 0 0 0 0 ...] "hrr" "hier") add-abbrev([0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 hrr 0 0 0 0 0 0 0 ...] "Mode" 1) add-mode-abbrev(1) call-interactively(add-mode-abbrev) execute-extended-command(nil) call-interactively(execute-extended-command) ... In GNU Emacs 23.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.10.6) of 2007-10-28 on ... Windowing system distributor `The X.Org Foundation', version 11.0.70199902 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: de_DE.UTF-8 locale-coding-system: utf-8 default-enable-multibyte-characters: t Major mode: Debugger Minor modes in effect: show-paren-mode: t tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x C-f t e x t e / e i n . t x t s M-x a d d - l o c a b l o c l - a a d C-g C-h k C-^ M-x a d d - m o d e - a b b h r M-x e d i t - a b b C-s " h r " C-k C-k C-c C-c C-x c M-x e l e M-x c u s t o m - i C-x k M-x c u s t o m - i - v d e b u g - o n e r r 1 1 2 0 C-x b e i n . M-x h r r C-x 1 C-SPC M-w M-x r e p o r t - e m Recent messages: Creating customization setup...done Making completion list... Creating customization items... Creating customization items ...done Resetting customization items...done Creating customization setup...done To install your edits, invoke [State] and choose the Set operation [3 times] Entering debugger... Mark set Auto-saving...done ;;;;;;;;;;;;;;;;; `define-abbrevs' signals: Wrong type argument: number-or-marker-p, nil Result: vhdl-mode-abbrev-table Result: (("xor" #1="" vhdl-template-default-hook 0 nil) ("xnor" #1# vhdl-template-default-hook 0 nil) ("with" #1# vhdl-template-with-hook 0 nil) ("while" #1# vhdl-template-while-loop-hook 0 nil) ("when" #1# vhdl-template-when-hook 0 nil) ("wait" #1# vhdl-template-wait-hook 0 nil) ("variable" #1# vhdl-template-variable-hook 0 nil) ("var" #1# vhdl-template-variable-hook 0 nil) ("use" #1# vhdl-template-use-hook 0 nil) ("until" #1# vhdl-template-default-hook 0 nil) ("units" #1# vhdl-template-default-hook 0 nil) ("unaffected" #1# vhdl-template-default-hook 0 nil) ("type" #1# vhdl-template-type-hook 0 nil) ("transport" #1# vhdl-template-default-hook 0 nil) ("to" #1# vhdl-template-default-hook 0 nil) ("then" #1# vhdl-template-default-hook 0 nil) ("subtype" #1# vhdl-template-subtype-hook 0 nil) ("srl" #1# vhdl-template-default-hook 0 nil) ("sra" #1# vhdl-template-default-hook 0 nil) ("sll" #1# vhdl-template-default-hook 0 nil) ("sla" #1# vhdl-template-default-hook 0 nil) ("signal" #1# vhdl-template-signal-hook 0 nil) ("sig" #1# vhdl-template-signal-hook 0 nil) ("shared" #1# vhdl-template-default-hook 0 nil) ("severity" #1# vhdl-template-default-hook 0 nil) ("select" #1# vhdl-template-selected-signal-asst-hook 0 nil) ("ror" #1# vhdl-template-default-hook 0 nil) ("rol" #1# vhdl-template-default-hook 0 nil) ("return" #1# vhdl-template-return-hook 0 nil) ("report" #1# vhdl-template-report-hook 0 nil) ("rem" #1# vhdl-template-default-hook 0 nil) ("reject" #1# vhdl-template-default-hook 0 nil) ("register" #1# vhdl-template-default-hook 0 nil) ("record" #1# vhdl-template-default-hook 0 nil) ("range" #1# vhdl-template-default-hook 0 nil) ("pure" #1# vhdl-template-default-hook 0 nil) ("process" #1# vhdl-template-process-hook 0 nil) ("procedure" #1# vhdl-template-procedure-hook 0 nil) ("postponed" #1# vhdl-template-default-hook 0 nil) ("port" #1# vhdl-template-port-hook 0 nil) ("package" #1# vhdl-template-package-hook 0 nil) ("pack" #1# vhdl-template-package-hook 0 nil) ("out" #1# vhdl-template-default-hook 0 nil) ("others" #1# vhdl-template-default-hook 0 nil) ("or" #1# vhdl-template-default-hook 0 nil) ("open" #1# vhdl-template-default-hook 0 nil) ("on" #1# vhdl-template-default-hook 0 nil) ("of" #1# vhdl-template-default-hook 0 nil) ("null" #1# vhdl-template-default-hook 0 nil) ("not" #1# vhdl-template-default-hook 0 nil) ...) Wrong type argument: number-or-marker-p, nil