From unknown Sun Jun 22 07:54:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#58370: 29.0.50; Error in vtable-insert-object when truncating column Resent-From: Tad Fisher Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Oct 2022 22:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58370 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 58370@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16651814348232 (code B ref -1); Fri, 07 Oct 2022 22:24:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Oct 2022 22:23:54 +0000 Received: from localhost ([127.0.0.1]:37624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogvl3-00028h-QK for submit@debbugs.gnu.org; Fri, 07 Oct 2022 18:23:54 -0400 Received: from lists.gnu.org ([209.51.188.17]:52722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogvl1-00028W-NA for submit@debbugs.gnu.org; Fri, 07 Oct 2022 18:23:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60206) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogvl1-0000gm-Hd for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2022 18:23:51 -0400 Received: from mail-pg1-x534.google.com ([2607:f8b0:4864:20::534]:40915) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ogvkz-00069B-PR for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2022 18:23:51 -0400 Received: by mail-pg1-x534.google.com with SMTP id 2so5784535pgl.7 for ; Fri, 07 Oct 2022 15:23:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=Hi86SNIx1H3UcE7m5oDs98I3HxM0Unrb/Xx3DrVM1cg=; b=i71RAmdARIbQQq8moDmc76gHfgV7U21prWpEMvGibHMkNoK+/PNmhkUjtA+WBQiqWU jO5xn4DZETgn7mDrrIhnoS0C2f4JHBjp1gfOd45vaCkoh+wiuAFnrbKxUNr9hX7ViyXN Td6pqUmoSmi5ucxD8zpCi2Un5TZBHa4RfjBmUtMdzp2vG4UdfaKfYDXFmgcDpSmSZq8G WOyacczQahpe6P5YUod2H0b3LUYgteWFpM/qCf67rv5fSkA9xzYTMDsF83lb/KrqKhx2 tYfk5AY8T/395CoO54Z995eScds0pWn/185UH3O9OrScgV8y1L7Z+IyCm/62wV4tWIQV gVNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Hi86SNIx1H3UcE7m5oDs98I3HxM0Unrb/Xx3DrVM1cg=; b=P5CfgcKklfUX9Ye3h7TO07791/pBr+UhGnOvVuiqKQYVSg01bh0krcpPOxj9S0RxtO 2TyZ08YfDjAFkmUKtebh/4u/JCOi0/Q8613382ImWWv/4wflUhZvg706IMwWBl3Thaga HfkHMM4aB//durBeH2PB3c5kCOUvF1AQW5M8f2bEcMFZUfGZfweD8gyGcZHCPB565KYR 8RTzmE/vcrjzKDKLi/gZIk5LOKJfAA+r0FJNWoRUozDKnshl6GmYLJfurMjOTZWveOAx aqNHzvHim4YYJR0GVJ/MTJPHAbeNLjdz/ee4FJBynudgLqGRE8IvrfP+USaXLdzC5Y3z pd/g== X-Gm-Message-State: ACrzQf0nct8TUT9+jfQDkK4FJXmctaM3yoZLJdY0nPyLPM10dyxbWPdR UxHmc3ODTqFBpyVog3KWcPLqLOCvbSZl98x/GaDu7cLy X-Google-Smtp-Source: AMsMyM6+XMLUDPzGM1YUDnFYOC/WiZ4Yw78Io7ErdEo0yCXp4PFCX2PLEAKbL6+o0HzkImoJWDEnK5PcQeSPPgDQyPA= X-Received: by 2002:a63:5c5b:0:b0:45f:d7ff:4a7f with SMTP id n27-20020a635c5b000000b0045fd7ff4a7fmr1503852pgm.293.1665181427403; Fri, 07 Oct 2022 15:23:47 -0700 (PDT) Received: from 723958793001 named unknown by gmailapi.google.com with HTTPREST; Fri, 7 Oct 2022 15:23:46 -0700 From: Tad Fisher MIME-Version: 1.0 Date: Fri, 7 Oct 2022 15:23:46 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::534; envelope-from=tadfisher@gmail.com; helo=mail-pg1-x534.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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) #)((,"second, causes error" 152 #("(, second, causes error)" 0 24 (face vtable))) 1) #f(compiled-function (elt) #)((,"second, causes error" 152 #("(, second, causes error)" 0 24 (face vtable)))) mapc(#f(compiled-function (elt) #) (("second" 46 #("second" 0 6 (face vtable))) (,"second, causes error" 152 #("(, second, causes error)" 0 24 (face vtable))))) seq-do(#f(compiled-function (elt) #) (("second" 46 #("second" 0 6 (face vtable))) (,"second, causes error" 152 #("(, second, causes error)" 0 24 (face vtable))))) seq-do-indexed(#f(compiled-function (elem index) #) (("second" 46 #("second" 0 6 (face vtable))) (,"second, causes error" 152 #("(, second, causes error)" 0 24 (face vtable))))) vtable--insert-line(# (("second" ,"second, causes error") ("second" 46 #("second" 0 6 (face vtable))) (,"second, causes error" 152 #("(, second, causes error)" 0 24 (face vtable)))) 0 [80 80] 8) vtable-insert-object(# ("second" ,"second, causes error")) (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"))) (progn (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")))) elisp--eval-last-sexp(t) eval-last-sexp(t) eval-print-last-sexp(nil) funcall-interactively(eval-print-last-sexp nil) command-execute(eval-print-last-sexp) In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.16.0) Repository revision: f3769bc32a3d32377a83b33d416205f80814e422 Repository branch: master System Description: NixOS 22.11 (Raccoon) Configured using: 'configure --prefix=/nix/store/h7vymh8xmwp22gdapx1gdcyigrvsizkv-emacs-pgtk-native-comp-20221007.0 --disable-build-details --with-modules --with-x-toolkit=gtk3 --with-cairo --with-native-compilation --with-pgtk' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS XIM GTK3 ZLIB Important settings: value of $EMACSLOADPATH: value of $EMACSNATIVELOADPATH: /nix/store/xlkgnswx40nwhvkkw53lwp4kbx7s9nq5-emacs-packages-deps/share/emacs/native-lisp:: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix From unknown Sun Jun 22 07:54:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#58370: 29.0.50; Error in vtable-insert-object when truncating column Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Oct 2022 13:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58370 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Tad Fisher Cc: 58370@debbugs.gnu.org Received: via spool by 58370-submit@debbugs.gnu.org id=B58370.16652355849295 (code B ref 58370); Sat, 08 Oct 2022 13:27:01 +0000 Received: (at 58370) by debbugs.gnu.org; 8 Oct 2022 13:26:24 +0000 Received: from localhost ([127.0.0.1]:38627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oh9qS-0002Pr-Gd for submit@debbugs.gnu.org; Sat, 08 Oct 2022 09:26:24 -0400 Received: from quimby.gnus.org ([95.216.78.240]:34290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oh9qP-0002Pc-Pf for 58370@debbugs.gnu.org; Sat, 08 Oct 2022 09:26:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Mc3yQGB4zCBvJMMgdEZrY9UMnfsY0nPGnIeplQV0Faw=; b=PuUh3PEnlu+MV+Z2ULTaw+IXFf BDZRAFy2FJpd+Tfvu+eMiJakaPtRKFzL/hELwkbHYMSIiRHnzqHU0HDvUTDgFr9gXIXvz6ItAUAkW mOr64/O4fSeWDMEswDu9QYBtqwr2Ore+wwV04ekP3sa+PN0fvVeE7IfzyebNDge1OExc=; Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oh9qH-0000C7-EK; Sat, 08 Oct 2022 15:26:15 +0200 From: Lars Ingebrigtsen In-Reply-To: (Tad Fisher's message of "Fri, 7 Oct 2022 15:23:46 -0700") References: X-Now-Playing: Joni Mitchell's _Blue_: "My Old Man" Date: Sat, 08 Oct 2022 15:26:12 +0200 Message-ID: <87v8ousayz.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Tad Fisher 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" :w [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Tad Fisher 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) #) id 1oh9qg-0002QQ-P2 for submit@debbugs.gnu.org; Sat, 08 Oct 2022 09:26:39 -0400 Received: from quimby.gnus.org ([95.216.78.240]:34304) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oh9qe-0002Q6-Rr for control@debbugs.gnu.org; Sat, 08 Oct 2022 09:26:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=bJktg0EwsFQlYPcaa2JXn0pxsTho6yWhRfTxv8chsxg=; b=HDkt3mrNdyJ1SlPBCowYXGXVhB QQPjN6xYVW/JDYWI1moxagnekhE4NviHajBOqJyPvG1S5CG/35fdNK5sleIxcstMdF22Ks7Qr0+Ke ecA8hTlnTnV4vrh7lTOe8r69AwPXX2R8mM2Bw0VEIVOwp8SV0Gk3lIxIcYRaQHXLYcX4=; Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oh9qW-0000CL-Tw for control@debbugs.gnu.org; Sat, 08 Oct 2022 15:26:31 +0200 Date: Sat, 08 Oct 2022 15:26:28 +0200 Message-Id: <87tu4esayj.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #58370 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 58370 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 58370 29.1 quit