From unknown Fri Jun 20 18:08:34 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#2801 <2801@debbugs.gnu.org> To: bug#2801 <2801@debbugs.gnu.org> Subject: Status: 23.0.90; ls-lisp-insert-directory: Variable binding depth exceeds max-specpdl-size Reply-To: bug#2801 <2801@debbugs.gnu.org> Date: Sat, 21 Jun 2025 01:08:34 +0000 retitle 2801 23.0.90; ls-lisp-insert-directory: Variable binding depth exce= eds max-specpdl-size reassign 2801 emacs submitter 2801 "Drew Adams" severity 2801 normal thanks From drew.adams@oracle.com Fri Mar 27 08:13:51 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 27 Mar 2009 15:13:51 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2RFDmv3008171 for ; Fri, 27 Mar 2009 08:13:49 -0700 Received: from mail.gnu.org ([199.232.76.166]:45646 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LnDkh-0006eP-DG for emacs-pretest-bug@gnu.org; Fri, 27 Mar 2009 11:13:47 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LnDke-0003XJ-BO for emacs-pretest-bug@gnu.org; Fri, 27 Mar 2009 11:13:47 -0400 Received: from acsinet12.oracle.com ([141.146.126.234]:49656) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LnDkd-0003X3-Cx for emacs-pretest-bug@gnu.org; Fri, 27 Mar 2009 11:13:43 -0400 Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by acsinet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n2RFD98S019956 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 27 Mar 2009 15:13:16 GMT Received: from acsmt705.oracle.com (acsmt705.oracle.com [141.146.40.83]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n2RFDYI3018063 for ; Fri, 27 Mar 2009 15:13:35 GMT Received: from dradamslap1 (/141.144.161.92) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 27 Mar 2009 15:13:28 +0000 From: "Drew Adams" To: Subject: 23.0.90; ls-lisp-insert-directory: Variable binding depth exceeds max-specpdl-size Date: Fri, 27 Mar 2009 08:13:28 -0700 Message-ID: <001001c9aeee$9622ead0$0200a8c0@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: Acmu7pVMhxXTGqVURUOY0qPScJXfvg== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Source-IP: acsmt705.oracle.com [141.146.40.83] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A010207.49CCED1A.00C0:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) emacs -Q C-x 4 d, then enter -alFR and the name of a directory that has a few subdirectory levels. The error message appears after a few seconds. However, using -alR works fine. The same bug is in Emacs 22.3. In GNU Emacs 23.0.90.1 (i386-mingw-nt5.1.2600) of 2009-02-01 on SOFT-MJASON Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1252 default-enable-multibyte-characters: t Major mode: Dired by name Minor modes in effect: tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-u C-x 4 d F R C O N T R I B Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. ls-lisp-insert-directory: Variable binding depth exceeds max-specpdl-size From eliz@gnu.org Fri Mar 27 11:36:53 2009 Received: (at 2801-done) by emacsbugs.donarmstrong.com; 27 Mar 2009 18:36:53 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.5 required=4.0 tests=HAS_BUG_NUMBER,RCVD_IN_NIX1 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mtaout2.012.net.il (mtaout2.012.net.il [84.95.2.4]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2RIaoLE031399 for <2801-done@emacsbugs.donarmstrong.com>; Fri, 27 Mar 2009 11:36:51 -0700 Received: from conversion-daemon.i_mtaout2.012.net.il by i_mtaout2.012.net.il (HyperSendmail v2004.12) id <0KH600L00H0CHZ00@i_mtaout2.012.net.il> for 2801-done@emacsbugs.donarmstrong.com; Fri, 27 Mar 2009 21:36:44 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.127.23.114]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KH6006M7H17I002@i_mtaout2.012.net.il>; Fri, 27 Mar 2009 21:36:44 +0300 (IDT) Date: Fri, 27 Mar 2009 21:34:41 +0300 From: Eli Zaretskii Subject: Re: bug#2801: 23.0.90; ls-lisp-insert-directory: Variable binding depth exceeds max-specpdl-size In-reply-to: <001001c9aeee$9622ead0$0200a8c0@us.oracle.com> X-012-Sender: halo1@inter.net.il To: Drew Adams , 2801-done@debbugs.gnu.org Reply-to: Eli Zaretskii Message-id: References: <001001c9aeee$9622ead0$0200a8c0@us.oracle.com> > From: "Drew Adams" > Date: Fri, 27 Mar 2009 08:13:28 -0700 > Cc: > > emacs -Q > > C-x 4 d, then enter -alFR and the name of a directory that has a few > subdirectory levels. The error message appears after a few seconds. > > However, using -alR works fine. Thanks. Fixed with the following change: 2009-03-27 Eli Zaretskii * ls-lisp.el (ls-lisp-insert-directory): Allow for a trailing '/' when looking for "." and "..". (Bug#2801) Index: lisp/ls-lisp.el =================================================================== RCS file: /cvsroot/emacs/emacs/lisp/ls-lisp.el,v retrieving revision 1.81 retrieving revision 1.82 diff -u -r1.81 -r1.82 --- lisp/ls-lisp.el 28 Jan 2009 19:01:42 -0000 1.81 +++ lisp/ls-lisp.el 27 Mar 2009 18:34:03 -0000 1.82 @@ -390,7 +390,10 @@ (setq elt (car file-alist) file-alist (cdr file-alist)) (when (and (eq (cadr elt) t) ; directory - (not (string-match "\\`\\.\\.?\\'" (car elt)))) + ;; Under -F, we have already decorated all + ;; directories, including "." and "..", with + ;; a /, so allow for that as well. + (not (string-match "\\`\\.\\.?/?\\'" (car elt)))) (setq elt (expand-file-name (car elt) dir)) (insert "\n" elt ":\n") (ls-lisp-insert-directory From unknown Fri Jun 20 18:08:34 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Sat, 25 Apr 2009 14:24:12 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator