From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rajeev Narang via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs,gmane.emacs.devel Subject: bug#47393: 27.2; hfy-invisible, hfy-face-to-style-i infinite loop due to circular list Date: Thu, 25 Mar 2021 12:08:25 -0400 Message-ID: <87a6qr2p3a.fsf@hm.sivalik.com> Reply-To: Rajeev Narang Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33722"; mail-complaints-to="usenet@ciao.gmane.io" To: 47393@debbugs.gnu.org, emacs-devel@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 25 17:15:08 2021 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 1lPSdY-0008ch-8S for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 25 Mar 2021 17:15:08 +0100 Original-Received: from localhost ([::1]:39410 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPSdX-0001e5-6d for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 25 Mar 2021 12:15:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52176) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPScV-0000yA-C2 for bug-gnu-emacs@gnu.org; Thu, 25 Mar 2021 12:14:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56078) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lPScU-0001kh-8n for bug-gnu-emacs@gnu.org; Thu, 25 Mar 2021 12:14:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lPScU-0003vW-44 for bug-gnu-emacs@gnu.org; Thu, 25 Mar 2021 12:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Rajeev Narang Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Mar 2021 16:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47393 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org, emacs-devel@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.161668879715034 (code B ref -1); Thu, 25 Mar 2021 16:14:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Mar 2021 16:13:17 +0000 Original-Received: from localhost ([127.0.0.1]:39391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPSbk-0003uP-BP for submit@debbugs.gnu.org; Thu, 25 Mar 2021 12:13:16 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:56914) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPSX7-0003ld-TJ for submit@debbugs.gnu.org; Thu, 25 Mar 2021 12:08:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPSX7-0004n8-GF; Thu, 25 Mar 2021 12:08:29 -0400 Original-Received: from vr0.sivalik.com ([104.238.130.12]:58304 helo=smtp.sivalik.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPSX4-00076H-VF; Thu, 25 Mar 2021 12:08:29 -0400 Original-Received: from localhost (unknown [96.242.220.230]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: rajeev@sivalik.com) by smtp.sivalik.com (Postfix) with ESMTPSA id 58CC45E816; Thu, 25 Mar 2021 12:08:25 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=sivalik.com; s=svlk; t=1616688505; bh=dBmuLRMcvUW1Aa4fnXPP7FZ+IP/lk0a1nimpeOvYf64=; h=From:To:Subject:Date:From; b=c+m1IZJykr+IXDTQw91qMK0C/yH45Zjkv8XSQ0QNWM/n36UIANEIC6/jjbIiTguAF YbECqEPAlPtXERgQxbi9kOlMCBTvXn0SSaxH1NzTUFELdXB8y7IuoR6BDM4x0Raee7 zon1PZ+w05Yp06iubY6rJuC+v+PyQri7eg1Kp+a0= X-No-Archive: yes Content-Disposition: inline Received-SPF: pass client-ip=104.238.130.12; envelope-from=rajeev.jnk@sivalik.com; helo=smtp.sivalik.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 25 Mar 2021 12:13:15 -0400 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" X-Gmane-Expiry: 2021-04-08 Xref: news.gmane.io gmane.emacs.bugs:203012 gmane.emacs.devel:267028 Archived-At: hfy-face-to-style-i goes into an infinite loop due to circular list when there is invisible text in the buffer. This happens because of using ncons with static list returned from hfy-invisible. see bug#47391: 27.2; static list return from function and nconc In GNU Emacs 27.2 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.24) of 2021-03-19 built on hp Repository revision: deef5efafb70f4b171265b896505b92b6eef24e6 Repository branch: emacs-27 Windowing system distributor 'The X.Org Foundation', version 11.0.12010000 System Description: Debian GNU/Linux bullseye/sid Recent messages: Hiding all blocks...done nnimap read 0k from imap.sivalik.com No more unseen articles No more unread articles Mark set [2 times] Exiting summary buffer and applying spam rules Expiring articles...done Saving /home/rajeev/.newsrc.eld... Wrote /home/rajeev/.newsrc.eld Saving /home/rajeev/.newsrc.eld...done Configured using: 'configure --prefix=/home/rajeev/tmp/build/emacs' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP Important settings: value of $LC_TIME: en_GB.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Group Minor modes in effect: cursor-sensor-mode: t global-so-long-mode: t global-auto-revert-mode: t shell-dirtrack-mode: t midnight-mode: t display-time-mode: t gnus-undo-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t transient-mark-mode: t Load-path shadows: /home/rajeev/.config/emacs/elpa/map-3.0/map hides /home/rajeev/tmp/build/emacs/share/emacs/27.2/lisp/emacs-lisp/map Features: (shadow emacsbug dired-aux tabify man cal-move sh-script smie executable smerge-mode diff vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs vc-dir ewoc vc vc-dispatcher sort gnus-cite gnus-async gnus-bcklg gnus-ml ob-ditaa ob-plantuml org-clock org-colview org-habit cl-print debug misearch multi-isearch js eieio-opt speedbar sb-image ezimage dframe hfy-cmap help-fns radix-tree htmlfontify htmlfontify-loaddefs cus-edit cus-start cus-load cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs utf-7 nnml mm-archive network-stream url-http url-gw nsm url-cache url-auth time-stamp org-duration view mule-util face-remap edmacro kmacro server cursor-sensor bbdb-gnus nnfolder pcase rx xt-mouse which-func imenu timeclock spam spam-stat gnus-uu yenc semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet org-indent reveal mailalias bbdb-message mail-extr ol-eww eww mm-url thingatpt url-queue ol-rmail ol-mhe ol-irc ol-info ol-gnus nnir ol-docview doc-view jka-compr image-mode exif ol-bibtex bibtex ol-bbdb ol-w3m icomplete so-long autorevert filenotify vc-git diff-mode bbdb-anniv cl-extra tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell ls-lisp hideshow printing ps-print ps-print-loaddefs ps-def lpr web-server web-server-status-codes el/web midnight el/cron bbdb-mua backtrace help-mode qp el/wthr el/av el/hass el/fin el/remote el/script type-break cal-iso org-id lunar solar cal-dst holidays hol-loaddefs el/calc el/loc term disp-table ehelp dirtrack dbus parsec plstore pp gnutls gnus-delay gnus-draft gnus-agent gnus-srvr gnus-score score-mode nnvirtual nntp gnus-cache gnus-msg nndraft nnmh gnus-icalendar org-capture gnus-art mm-uu mml2015 mm-view mml-smime smime dig icalendar sieve sieve-mode sieve-manage sasl sasl-anonymous sasl-login sasl-plain sendmail time ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar ox-html table ox-ascii ox-publish ox org-element avl-tree generator org-agenda org-refile org-crypt org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete comint ansi-color ring org-list org-faces org-entities noutline outline easy-mmode org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat advice org-macs org-loaddefs find-func gnus-sum url url-proxy url-privacy url-expand url-methods url-history mailcap shr url-cookie url-domsuf url-util svg xml dom gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time iso8601 gnus-spec gnus-int gnus-range message rmc puny dired dired-loaddefs format-spec rfc822 mml mml-sec epa derived epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums text-property-search time-date mail-utils mm-util mail-prsvr wid-edit el/org el/doc el/mail el/tools el/shell el/xmpp el/diary timer-list el/timer el/util bbdb-com crm mailabbrev bbdb bbdb-site timezone el/bbdb appt diary-lib diary-loaddefs cal-menu calendar cal-loaddefs el/init wombat-theme info package easymenu browse-url url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 703957 106325) (symbols 48 40836 55) (strings 32 178512 19113) (string-bytes 1 5891050) (vectors 16 78748) (vector-slots 8 1541608 175354) (floats 8 1257 2058) (intervals 56 42345 615) (buffers 1000 122))