From unknown Thu Jun 19 14:06:05 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#78493 <78493@debbugs.gnu.org> To: bug#78493 <78493@debbugs.gnu.org> Subject: Status: 30.1.90; dired-listing-switches "-hail --group-directories-first" fumbles filename ending with `:' Reply-To: bug#78493 <78493@debbugs.gnu.org> Date: Thu, 19 Jun 2025 21:06:05 +0000 retitle 78493 30.1.90; dired-listing-switches "-hail --group-directories-fi= rst" fumbles filename ending with `:' reassign 78493 emacs submitter 78493 Van Ly severity 78493 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon May 19 08:15:54 2025 Received: (at submit) by debbugs.gnu.org; 19 May 2025 12:15:55 +0000 Received: from localhost ([127.0.0.1]:38942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uGzPO-0007bL-7r for submit@debbugs.gnu.org; Mon, 19 May 2025 08:15:54 -0400 Received: from lists.gnu.org ([2001:470:142::17]:47040) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uGzPK-0007aR-5G for submit@debbugs.gnu.org; Mon, 19 May 2025 08:15:50 -0400 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 1uGzPD-00047K-4b for bug-gnu-emacs@gnu.org; Mon, 19 May 2025 08:15:44 -0400 Received: from mx.sdf.org ([205.166.94.24]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uGzP6-0004S0-Qm for bug-gnu-emacs@gnu.org; Mon, 19 May 2025 08:15:42 -0400 Received: from sdf.org (iceland.freeshell.org [205.166.94.5]) by mx.sdf.org (8.18.1/8.14.3) with ESMTPS id 54JCFRDu002744 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO) for ; Mon, 19 May 2025 12:15:28 GMT Received: (from van.ly@localhost) by sdf.org (8.18.1/8.12.8/Submit) id 54JCFQta021061; Mon, 19 May 2025 12:15:26 GMT From: Van Ly To: bug-gnu-emacs@gnu.org Subject: 30.1.90; dired-listing-switches "-hail --group-directories-first" fumbles filename ending with `:' Organization: SDF Public Access UNIX System Date: Mon, 19 May 2025 12:15:26 +0000 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=205.166.94.24; envelope-from=van.ly@SDF.ORG; helo=mx.sdf.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit 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: -0.1 (/) --=-=-= Content-Type: text/plain Hello, The contents of directory `plan9-4e/rc/bin' has filenames ending with `:'. This is a problem when the following setting applies. (setopt dired-listing-switches "-hail --group-directories-first") Before the setting is applied a line appears as follows. -rwxr-xr-x 1 van staff 354 Dec 25 2021 9fat: After the setting is applied the line now looks like this. /u/van/src/plan9/plan9-4e/rc/bin/11291923 -rwxr-xr-x 1 van staff 354 Dec 25 2021 9fat: I am using the `gls' gnu ls command with dired-use-ls-dired variable value being `t'. I expect the file `9fat:' to appear like `9fs', compare A and B below. [A] -> https://sdf.org/~van.ly/img/emacs-30.1.90-dired-1-before-setting.webp [B] -> https://sdf.org/~van.ly/img/emacs-30.1.90-dired-2-after-setting.webp To reproduce observed bug, 1. start, `emacs -Q' 2. dired, `C-x d plan9-4e/rc/bin/' see: [A] 3. apply, `(setopt dired-listing-switches "-hail --group-directories-first")' 4. destroy dired buffer listing `plan9-4e/rc/bin' 5. dired, `C-x d plan9-4e/rc/bin/' see: [B] 6. note the appearance on the line with filename `9fat:' --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=bug_gnu_emacs_diagnostics.text Content-Transfer-Encoding: base64 Content-Description: bug gnu emacs diagnostics SW4gR05VIEVtYWNzIDMwLjEuOTAgKGJ1aWxkIDIsIHg4Nl82NC0tbmV0YnNkLCBYIHRvb2xraXQs IGNhaXJvIHZlcnNpb24KIDEuMTguMiwgWGF3IHNjcm9sbCBiYXJzKSBvZiAyMDI1LTA1LTE5IGJ1 aWx0IG9uIGZyZXRzYXcKV2luZG93aW5nIHN5c3RlbSBkaXN0cmlidXRvciAnVGhlIFguT3JnIEZv dW5kYXRpb24nLCB2ZXJzaW9uIDExLjAuMTIxMDEwMTQKU3lzdGVtIERlc2NyaXB0aW9uOiBOZXRC U0QgZnJldHNhdyAxMC4xX1NUQUJMRSBOZXRCU0QgMTAuMV9TVEFCTEUgKEdFTkVSSUMpICMwOiBN b24gRGVjIDIzIDEyOjQyOjA0IEFFRFQgMjAyNCAgdmFuQGZyZXRzYXc6L3Vzci9vYmovdXNyL3Ny Yy9zeXMvYXJjaC9hbWQ2NC9jb21waWxlL0dFTkVSSUMgYW1kNjQKCkNvbmZpZ3VyZWQgdXNpbmc6 CiAnY29uZmlndXJlIC0tc3JjZGlyPS91L3Zhbi9zcmMvZW1hY3MtMzAuMS45MCAtLWxvY2Fsc3Rh dGVkaXI9L3ZhcgogLS1kaXNhYmxlLWF1dG9kZXBlbmQgLS13aXRoLW5hdGl2ZS1jb21waWxhdGlv biAtLXdpdGhvdXQtbnMgLS13aXRoL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ggbXVsdGktdHR5IG1vdmUtdG9vbGJhcgptYWtlLW5ldHdv cmstcHJvY2VzcyBuYXRpdmUtY29tcGlsZSBlbWFjcykKCk1lbW9yeSBpbmZvcm1hdGlvbjoKKChj b25zZXMgMTYgOTUwMjkgOTA0OCkgKHN5bWJvbHMgNDggODc4OSAwKSAoc3RyaW5ncyAzMiAyMjgx NyAzNjg4KQogKHN0cmluZy1ieXRlcyAxIDY0MDU1OCkgKHZlY3RvcnMgMTYgMTMwNzMpCiAodmVj dG9yLXNsb3RzIDggMTYyMTYyIDgxNjIpIChmbG9hdHMgOCAzNCA5MikgKGludGVydmFscyA1NiAx MjE5IDApCiAoYnVmZmVycyA5OTIgMTgpKQo= --=-=-= Content-Type: text/plain -- vl --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 19 10:49:53 2025 Received: (at 78493) by debbugs.gnu.org; 19 May 2025 14:49:53 +0000 Received: from localhost ([127.0.0.1]:41990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uH1oO-0006G7-J5 for submit@debbugs.gnu.org; Mon, 19 May 2025 10:49:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40884) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uH1oL-0006FH-0A for 78493@debbugs.gnu.org; Mon, 19 May 2025 10:49:49 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uH1oF-0000gA-Ea; Mon, 19 May 2025 10:49:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=fGBakJImaGyb2fJu7UAHPbtgLd1WVwo0igFCiMKboco=; b=p2ARRUOa19qr vbuY3dWID1uS1onxd0Ef9ysvWbrRYbzZyS/NiqHGIuJ+sWbw4EoMAXwW3KG7LrU7hufeyfgJoIsAj ocigVpN0AmJuQgThkwHoBuk1Xli5PiJwSdj7XAQgrTFp5U6Lux//OjlGahSBjzsjDKdEo58NhJxGl T1iQaM+5G10z4uX/boHne91tqqbhL3disS3MJOeXiNLfZSmKIfJk/Nc1RwUwJGNz8LUpuK9dZ/6wV VcDXh8A6I9tyNLYuuBPErYRckUJ/h2vTsjI3fPgwDXXEKxLI1yJQ3L20V5/rWLrODtNRWATgrN+gP l8MhvebSva+a4e3Xd84EDQ==; Date: Mon, 19 May 2025 17:49:40 +0300 Message-Id: <868qmsac57.fsf@gnu.org> From: Eli Zaretskii To: Van Ly In-Reply-To: (bug-gnu-emacs@gnu.org) Subject: Re: bug#78493: 30.1.90; dired-listing-switches "-hail --group-directories-first" fumbles filename ending with `:' References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 78493 Cc: 78493@debbugs.gnu.org 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 (---) > Date: Mon, 19 May 2025 12:15:26 +0000 > From: Van Ly via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > The contents of directory `plan9-4e/rc/bin' has filenames ending with `:'. > > This is a problem when the following setting applies. > > (setopt dired-listing-switches "-hail --group-directories-first") > > Before the setting is applied a line appears as follows. > > -rwxr-xr-x 1 van staff 354 Dec 25 2021 9fat: > > After the setting is applied the line now looks like this. > > /u/van/src/plan9/plan9-4e/rc/bin/11291923 -rwxr-xr-x 1 van staff 354 Dec 25 2021 9fat: > > I am using the `gls' gnu ls command with dired-use-ls-dired variable value being `t'. > > I expect the file `9fat:' to appear like `9fs', compare A and B below. > > [A] -> https://sdf.org/~van.ly/img/emacs-30.1.90-dired-1-before-setting.webp > [B] -> https://sdf.org/~van.ly/img/emacs-30.1.90-dired-2-after-setting.webp > > To reproduce observed bug, > > 1. start, `emacs -Q' > 2. dired, `C-x d plan9-4e/rc/bin/' > see: [A] > 3. apply, `(setopt dired-listing-switches "-hail --group-directories-first")' > 4. destroy dired buffer listing `plan9-4e/rc/bin' > 5. dired, `C-x d plan9-4e/rc/bin/' > see: [B] > 6. note the appearance on the line with filename `9fat:' Thanks. Please try the patch below and tell if it solves the problem. diff --git a/lisp/dired.el b/lisp/dired.el index 63d373a..95e9fb2 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -3721,7 +3721,13 @@ dired-build-subdir-alist ;; ange-ftp listings. (and (dired-switches-recursive-p switches) (string-match "\\`/.*:\\(/.*\\)" default-directory) - (concat "\\`" (match-string 1 default-directory))))) + (concat "\\`" (match-string 1 default-directory)))) + ;; Regexp that describes the beginning of line of a + ;; file/directory entry (as opposed to a subdirectory + ;; heading), including the optional mark, inoder, and size. + (file-entry-beg-re (concat dired-re-maybe-mark + dired-re-inode-size + dired-re-perms))) (goto-char (point-min)) (setq dired-subdir-alist nil) (while (re-search-forward dired-subdir-regexp nil t) @@ -3730,8 +3736,7 @@ dired-build-subdir-alist (unless (save-excursion (goto-char (match-beginning 0)) (beginning-of-line) - (forward-char 2) - (looking-at-p dired-re-perms)) + (looking-at-p file-entry-beg-re)) (save-excursion (goto-char (match-beginning 1)) (setq new-dir-name From debbugs-submit-bounces@debbugs.gnu.org Sat May 24 08:39:10 2025 Received: (at 78493) by debbugs.gnu.org; 24 May 2025 12:39:10 +0000 Received: from localhost ([127.0.0.1]:58710 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uIo9e-00030z-G6 for submit@debbugs.gnu.org; Sat, 24 May 2025 08:39:10 -0400 Received: from mx.sdf.org ([205.166.94.24]:58372) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uIo9a-00030g-GQ for 78493@debbugs.gnu.org; Sat, 24 May 2025 08:39:07 -0400 Received: from sdf.org (iceland.freeshell.org [205.166.94.5]) by mx.sdf.org (8.18.1/8.14.3) with ESMTPS id 54OCd3UG025546 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Sat, 24 May 2025 12:39:04 GMT Received: (from van.ly@localhost) by sdf.org (8.18.1/8.12.8/Submit) id 54OCd2HQ000421; Sat, 24 May 2025 12:39:02 GMT From: Van Ly To: Eli Zaretskii Subject: Re: bug#78493: 30.1.90; dired-listing-switches "-hail --group-directories-first" fumbles filename ending with `:' In-Reply-To: <868qmsac57.fsf@gnu.org> (message from Eli Zaretskii on Mon, 19 May 2025 17:49:40 +0300) Organization: SDF Public Access UNIX System Date: Sat, 24 May 2025 12:39:01 +0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78493 Cc: 78493@debbugs.gnu.org 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: -1.0 (-) Eli Zaretskii writes: > > Thanks. Please try the patch below and tell if it solves the problem. > The patch solves the problem. Thank you. I had to byte compile dired.el after applying the patch diff inside `emacs = -Q'. My experimental environment with quicklisp and ecl inferior-lisp-program co= mplained as follows: Compiling file /u/van/src/emacs-30.1.90/lisp/dired.el at Sat May 24 22:20:3= 2 2025 Entering directory =E2=80=98/u/van/src/emacs-30.1.90/lisp/=E2=80=99 dired.el:848:19: Error: Wrong number of arguments: when-let, 1 Is there a setting to tell emacs lisp to byte compile in the experimental e= nvironment? --=20 vl From debbugs-submit-bounces@debbugs.gnu.org Sat May 24 09:29:07 2025 Received: (at 78493-done) by debbugs.gnu.org; 24 May 2025 13:29:07 +0000 Received: from localhost ([127.0.0.1]:59100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uIovy-0006vA-Qf for submit@debbugs.gnu.org; Sat, 24 May 2025 09:29:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46546) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uIovw-0006uY-53 for 78493-done@debbugs.gnu.org; Sat, 24 May 2025 09:29:04 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uIovq-00005g-IN; Sat, 24 May 2025 09:28:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=4J1DY3SDUvKkhRLKAgMUGAaglpYYUd0rLF9Z95RSVls=; b=ZfiC+OsdnC0m1JJeoCgO QBSTQ8W5ttZIutASfYpmMsmny9AQb7yWw3q7JI9VWlbn56sDp7Z+s9GB/LaHHg+wh4w+eRrkn2De8 1ESCuW56jYXkRImUfKAYmmLUheZ4VolgmqPANMOFdLe7S2ZoJW52xz1WpT9tFUqGrDYKcSDKuEblE gGGtWdwlwOHtazV8osUsmKT6dU5qy/f8ySdMd9OQJ63JR/IeSvKQrm+MSF9rvHMtMCEJPxVyzj1RR 4gBkiavFD08GiviZW6YBk/MIkcT13r7CSRFM6FI1Y5xA7FTKi2PThSOQr1vqpZDp/hgL66RDPuHqw e0V1JHMOvNHV7w==; Date: Sat, 24 May 2025 16:28:54 +0300 Message-Id: <86zff2yw6h.fsf@gnu.org> From: Eli Zaretskii To: Van Ly In-Reply-To: (message from Van Ly on Sat, 24 May 2025 12:39:01 +0000) Subject: Re: bug#78493: 30.1.90; dired-listing-switches "-hail --group-directories-first" fumbles filename ending with `:' References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 78493-done Cc: 78493-done@debbugs.gnu.org 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 (---) > From: Van Ly > Cc: 78493@debbugs.gnu.org > Date: Sat, 24 May 2025 12:39:01 +0000 > > > Eli Zaretskii writes: > > > > > Thanks. Please try the patch below and tell if it solves the problem. > > > > The patch solves the problem. Thank you. Thanks, installed on the master branch, and closing the bug. > I had to byte compile dired.el after applying the patch diff inside `emacs -Q'. Yes, that's expected. > My experimental environment with quicklisp and ecl inferior-lisp-program complained as follows: > > > Compiling file /u/van/src/emacs-30.1.90/lisp/dired.el at Sat May 24 22:20:32 2025 > Entering directory ‘/u/van/src/emacs-30.1.90/lisp/’ > dired.el:848:19: Error: Wrong number of arguments: when-let, 1 I don't see such an error. > Is there a setting to tell emacs lisp to byte compile in the experimental environment? What do you mean by "experimental environment", and how does it different from the "normal" Emacs environment? From debbugs-submit-bounces@debbugs.gnu.org Sat May 24 16:02:59 2025 Received: (at 78493-done) by debbugs.gnu.org; 24 May 2025 20:02:59 +0000 Received: from localhost ([127.0.0.1]:36243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uIv59-0001yB-1I for submit@debbugs.gnu.org; Sat, 24 May 2025 16:02:59 -0400 Received: from mx.sdf.org ([205.166.94.24]:56708) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uIv55-0001y1-L5 for 78493-done@debbugs.gnu.org; Sat, 24 May 2025 16:02:56 -0400 Received: from sdf.org (iceland.freeshell.org [205.166.94.5]) by mx.sdf.org (8.18.1/8.14.3) with ESMTPS id 54OK2q4l003310 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Sat, 24 May 2025 20:02:53 GMT Received: (from van.ly@localhost) by sdf.org (8.18.1/8.12.8/Submit) id 54OK2qI2020976; Sat, 24 May 2025 20:02:52 GMT From: Van Ly To: Eli Zaretskii Subject: Re: bug#78493: 30.1.90; dired-listing-switches "-hail --group-directories-first" fumbles filename ending with `:' In-Reply-To: <86zff2yw6h.fsf@gnu.org> (message from Eli Zaretskii on Sat, 24 May 2025 16:28:54 +0300) Organization: SDF Public Access UNIX System Date: Sat, 24 May 2025 20:02:51 +0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78493-done Cc: 78493-done@debbugs.gnu.org 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: -1.0 (-) Eli Zaretskii writes: >> My experimental environment with quicklisp and ecl inferior-lisp-program= complained as follows: >>=20 >> >> Compiling file /u/van/src/emacs-30.1.90/lisp/dired.el at Sat May 24 22:2= 0:32 2025 >> Entering directory =E2=80=98/u/van/src/emacs-30.1.90/lisp/=E2=80=99 >> dired.el:848:19: Error: Wrong number of arguments: when-let, 1 > > I don't see such an error. > >> Is there a setting to tell emacs lisp to byte compile in the experimenta= l environment? > > What do you mean by "experimental environment", and how does it > different from the "normal" Emacs environment? In addition to quicklisp and ecl, the experimental environment has packages and customizations for comfort. I was able to install quicklisp from the shell's sbcl prompt, but inside the Emacs environment in slime-mode the sbcl gets stuck on calling `~/.sbclrc' whereas ecl runs to completion. The "experimental environment" has the ecl and quicklisp components loaded in slime-mode. A fragment of the customization relevant to the inferior-lisp-program conte= xt is, (setopt eshell-prefer-lisp-variables t eshell-prefer-lisp-functions t =20=20 inferior-lisp-program "/usr/local/bin/ecl --norc" common-lisp-hyperspec-root "/u/van/lib/doc/lisp/HyperSpec-7-0/HyperSpec/" common-lisp-hyperspec-symbol-table "/u/van/lib/doc/lisp/HyperSpec-7-0/HyperSpec/Data/Map_Sym.txt" =20=20 slime-lisp-implementations '((ecl ("/usr/local/bin/ecl")) (clisp ("/usr/pkg/bin/clisp")) (sbcl ("/usr/pkg/bin/sbcl") :coding-system utf-8-unix)) slime-default-lisp 'ecl slime-contribs '(slime-fancy)) =20=20 Sorry about the tangent. Maybe, I need to track down imbalanced braces in my configuration, that could be the cause for why emacs lisp byte compile complains. --=20 vl