From unknown Sat Jun 21 10:46:10 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2801: 23.0.90; ls-lisp-insert-directory: Variable binding depth exceeds max-specpdl-size Reply-To: "Drew Adams" , 2801@debbugs.gnu.org Resent-From: "Drew Adams" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 27 Mar 2009 15:20:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 2801 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12381668318177 (code B ref -1); Fri, 27 Mar 2009 15:20:04 +0000 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: 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 unknown Sat Jun 21 10:46:10 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: "Drew Adams" Subject: bug#2801 closed by Eli Zaretskii (Re: bug#2801: 23.0.90; ls-lisp-insert-directory: Variable binding depth exceeds max-specpdl-size) Message-ID: References: <001001c9aeee$9622ead0$0200a8c0@us.oracle.com> X-Emacs-PR-Message: they-closed 2801 X-Emacs-PR-Package: emacs Reply-To: 2801@debbugs.gnu.org Date: Fri, 27 Mar 2009 18:45:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1238179503-346-1" This is a multi-part message in MIME format... ------------=_1238179503-346-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #2801: 23.0.90; ls-lisp-insert-directory: Variable binding depth exceeds ma= x-specpdl-size It has been closed by Eli Zaretskii . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Eli Zaretskii by replying to this email. --=20 2801: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D2801 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1238179503-346-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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 ------------=_1238179503-346-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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 ------------=_1238179503-346-1--