From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#72176: 30.0.60; icomplete-vertical-mode failed to work with Error Date: Thu, 18 Jul 2024 16:34:00 +0200 Message-ID: <87le1ybwh3.fsf@gmail.com> References: <86cynag9db.fsf@gnu.org> <874j8mc1b7.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23212"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72176@debbugs.gnu.org, Eli Zaretskii , Eason Huang To: Visuwesh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 18 16:36:24 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sUSF5-0005tP-3V for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Jul 2024 16:36:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sUSEj-0008L1-FA; Thu, 18 Jul 2024 10:36:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sUSEh-0008Kj-FP for bug-gnu-emacs@gnu.org; Thu, 18 Jul 2024 10:35:59 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sUSEg-0000aT-MC for bug-gnu-emacs@gnu.org; Thu, 18 Jul 2024 10:35:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sUSEk-0004It-6u for bug-gnu-emacs@gnu.org; Thu, 18 Jul 2024 10:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Jul 2024 14:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72176 X-GNU-PR-Package: emacs Original-Received: via spool by 72176-submit@debbugs.gnu.org id=B72176.172131331616487 (code B ref 72176); Thu, 18 Jul 2024 14:36:02 +0000 Original-Received: (at 72176) by debbugs.gnu.org; 18 Jul 2024 14:35:16 +0000 Original-Received: from localhost ([127.0.0.1]:37800 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sUSDz-0004Hq-NM for submit@debbugs.gnu.org; Thu, 18 Jul 2024 10:35:16 -0400 Original-Received: from mail-wm1-f51.google.com ([209.85.128.51]:51484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sUSDw-0004HZ-Mb for 72176@debbugs.gnu.org; Thu, 18 Jul 2024 10:35:15 -0400 Original-Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-4279ca8af51so3357315e9.3 for <72176@debbugs.gnu.org>; Thu, 18 Jul 2024 07:35:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721313242; x=1721918042; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=zbwgRVl3gZ+tSKc4R+vKiPS9l9qOAxe8TjUZ4cxVH+4=; b=cJUBXzVHO/BWRd/2sS1BxWUeHKtp2QUER2+yA6x1LWDDQeCKDOhF4t2kGmEyKbgtmf bC22BgAMQe8MTvR0HXXy8hAW41ArzT3nnVFqaipskg/xsJmuOiNbFJ7d/r0dkxK3gYEh JosOT8rvSxIxKlsKGKbqfFGuCFeH6sBUT/Fk9P3u4BRB4zr4Vsa+8NCKGMVrwVFtFrtV DH2ADd0M4LUVISCSr4kSREyNqIm72KTBXHBbMP+xS2JHNcZ86ldZ/d6sIAqQgG4o707R H6eeKSI2FnJUIHcjJjSqhpve+Z1NIWgokf8O87l+bLviMDOOm1mOjCp732zlHDXsuxTL wGfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721313242; x=1721918042; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zbwgRVl3gZ+tSKc4R+vKiPS9l9qOAxe8TjUZ4cxVH+4=; b=HLyX0kZWzIv2Yg1IyNpUtJPPPiZu5hR6bzQBYmr32bsEtyGyk6dGzPVYFH7+C4J4PG 6ojrTF6gpX6sDAzfaiMTHPpODSmTLvDU1iNqlItdm1uZ2zsniZQ5RGqU18b4nzYsKyDT maAFi8CJBjiv4LkgLOApmpcTGRbb212cvX9ognNVxKPvatvlqv09YJFyu4q87LmJ9gay ealUSEg0Nk9Vma5lp3zBeMHtrDKIOUPgBAleSvWq8vOOLfxbY/fTwEaRJTZqGB9o2z26 uwIZT0GkdMw08tCqFxzrYcPVkazeCYRhPzUshgtoUNVApyojQgSvaWvvEc3VRFT8xVFP 5MuA== X-Forwarded-Encrypted: i=1; AJvYcCW8eUonb8jBvFL/4oAVgoSQ/ERNGU4QtvuSvPkqyStk45E65BpXekuzpjRhwnzdUnc60uS291zZ8+z595UB1pMSCJeWLdQ= X-Gm-Message-State: AOJu0Yzwg11M2rsRw4Fgv/JimZfK34saBbhb0ujty+s/BgK5WhsynDSP +UKGsLBmPrL2NmMjsXEY7GrFieMQMcdweD3rscRzyWDJWJmynh36 X-Google-Smtp-Source: AGHT+IFRlbJoeXxMKxgZ9HxLY+kt6ZWYqxmasta9V2MyOBOKRTRym9nnI9I8XsE/FyzkmyDJ/ApLKQ== X-Received: by 2002:a05:600c:1da0:b0:426:6000:565a with SMTP id 5b1f17b1804b1-427c6c1837bmr26565105e9.16.1721313241577; Thu, 18 Jul 2024 07:34:01 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-427d2a8e436sm16737545e9.33.2024.07.18.07.34.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jul 2024 07:34:01 -0700 (PDT) In-Reply-To: <874j8mc1b7.fsf@gmail.com> (Visuwesh's message of "Thu, 18 Jul 2024 18:19:32 +0530") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:288969 Archived-At: >>>>> On Thu, 18 Jul 2024 18:19:32 +0530, Visuwesh sa= id: Visuwesh> [=E0=AE=B5=E0=AE=BF=E0=AE=AF=E0=AE=BE=E0=AE=B4=E0=AE=A9=E0=AF= =8D =E0=AE=9C=E0=AF=82=E0=AE=B2=E0=AF=88 18, 2024] Eli Zaretskii wrote: >> I cannot reproduce this, but I'm not on macOS. Visuwesh> I cannot reproduce this on Linux either. I can, on Linux: 135 xsignal2 (Qwrong_type_argument, predicate, value); (gdb) bt #0 wrong_type_argument (predicate=3Dpredicate@entry=3DXIL(0xe490), value= =3DXIL(0)) at data.c:135 #1 0x00005555555a4fc0 in CHECK_TYPE (x=3D, predicate=3DXIL(= 0xe490), ok=3D0) at /home/rpluim/repos/emacs-30/src/lisp.h:780 #2 check_number_coerce_marker (x=3D) at data.c:2682 #3 0x0000555555746ae9 in arithcompare (num1=3Dmake_fixnum(25), num2=3DXIL(= 0), comparison=3Dcomparison@entry=3DARITH_GRTR) at data.c:2695 #4 0x00005555557485f5 in arithcompare_driver (comparison=3D= , args=3D, nargs=3D) at data.c:2819 #5 Fgtr (nargs=3D2, args=3D0x7fffffffb940) at data.c:2851 #6 0x000055555575dac8 in eval_sub (form=3D) at eval.c:2570 #7 0x000055555575e8d2 in Fif (args=3DXIL(0x555556a5fad3)) at eval.c:391 #8 0x000055555575dbd7 in eval_sub (form=3D) at eval.c:2549 #9 0x000055555575fba9 in Fprogn (body=3D) at eval.c:439 #10 FletX (args=3D) at eval.c:1042 #11 0x000055555575dbd7 in eval_sub (form=3D) at eval.c:2549 #12 0x000055555575ebe1 in Fprogn (body=3D) at eval.c:439 #13 funcall_lambda (fun=3Dfun@entry=3DXIL(0x5555563a4ad5), nargs=3Dnargs@en= try=3D3, arg_vector=3Darg_vector@entry=3D0x7fffffffbc90) at eval.c:3350 #14 0x000055555575f2fc in apply_lambda (fun=3DXIL(0x5555563a4ad5), args=3D<= optimized out>, count=3Dcount@entry=3D...) at eval.c:3215 #15 0x000055555575d8cf in eval_sub (form=3D) at eval.c:2687 #16 0x000055555575ebe1 in Fprogn (body=3D) at eval.c:439 Lisp Backtrace: ">" (0xffffb940) "if" (0xffffba50) "let*" (0xffffbb80) "completion--hilit-from-re" (0xffffbc90) 0x563e4930 PVEC_CLOSURE "funcall" (0xffffbe70) "if" (0xffffbf60) "completion-lazy-hilit" (0xf0dff400) "icomplete--render-vertical" (0xf0dff280) "icomplete-completions" (0xf0dff1d0) "icomplete-exhibit" (0xf0dff188) "icomplete-post-command-hook" (0xffffc180) "read-from-minibuffer" (0xffffc5e0) which means `pos' is nil: (defun completion--hilit-from-re (string regexp &optional point-idx) "Fontify STRING using REGEXP POINT-IDX. `completions-common-part' and `completions-first-difference' are used. POINT-IDX is the position of point in the presumed \"PCM\" pattern that was used to generate derive REGEXP from." (let* ((md (and regexp (string-match regexp string) (cddr (match-data t)))) (pos (if point-idx (match-beginning point-idx) (match-end 0))) (me (and md (match-end 0))) (from 0)) (while md (add-face-text-property from (pop md) 'completions-common-part nil stri= ng) (setq from (pop md))) (if (> (length string) pos) <=3D=3D right here (add-face-text-property pos (1+ pos) 'completions-first-difference nil string)) (unless (or (not me) (=3D from me)) (add-face-text-property from me 'completions-common-part nil string)) string)) Robert --=20