GNU bug report logs - #58370
29.0.50; Error in vtable-insert-object when truncating column

Previous Next

Package: emacs;

Reported by: Tad Fisher <tadfisher <at> gmail.com>

Date: Fri, 7 Oct 2022 22:24:01 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Tad Fisher <tadfisher <at> gmail.com>
Cc: 58370 <at> debbugs.gnu.org
Subject: bug#58370: 29.0.50; Error in vtable-insert-object when truncating column
Date: Sat, 08 Oct 2022 15:26:12 +0200
Tad Fisher <tadfisher <at> gmail.com> writes:

> The following program causes an error due to missing "ellipsis" and
> "ellipsis-width" arguments to `vterm--insert-line`:
>
> (require 'vtable)
> (let ((table (make-vtable
> 	      :columns '((:name "A" :width 10)
> 			 (:name "B" :width 10))
> 	      :objects '(("first" "first, truncated correctly")))))
>   (vtable-insert-object table '("second", "second, causes error")))
>
> Backtrace:
>
> Lisp error: (wrong-type-argument number-or-marker-p nil)
>   #f(compiled-function (elem index) #<bytecode

Yup.  I've now fixed this in Emacs 29.




This bug report was last modified 2 years and 222 days ago.

Previous Next


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