GNU bug report logs - #21828
24.4; copy-abbrev-table fails

Previous Next

Package: emacs;

Reported by: Lee B <lboc.home <at> gmail.com>

Date: Wed, 4 Nov 2015 16:26:02 UTC

Severity: normal

Tags: confirmed

Found in version 24.4

Fixed in version 25.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lee B <lboc.home <at> gmail.com>
Cc: 21828 <at> debbugs.gnu.org
Subject: bug#21828: 24.4; copy-abbrev-table fails
Date: Sat, 07 Nov 2015 13:34:14 +0200
> From: Lee B <lboc.home <at> gmail.com>
> Date: Wed, 04 Nov 2015 21:34:27 +0900
> 
> Working on some tests for abbrev.el, I came across the following:
> 
> 1. Start emacs -Q
> 2. In scratch buffer, evaluate (list-abbrevs) to get abbrev tables.
> 3. Pick an abbrev table (eg. in my case awk-mode-abbrev-table) and
> evaluate it:
> 
> awk-mode-abbrev-table
> [## 0 0 0 0 0 0 0 0 0 0 0 ...]
> 
> 4. Evaluate (copy-abbrev-table awk-mode-abbrev-table). Generates error
> with backtrace:
> 
> 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 0 0 0 0 0 0 0 ...] "" nil nil)

Thanks, fixed.

(This bug was there ever since we rewrote abbrev.c in Lisp 8 years
ago.)




This bug report was last modified 9 years and 258 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.