From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 07 16:46:38 2022 Received: (at submit) by debbugs.gnu.org; 7 Apr 2022 20:46:39 +0000 Received: from localhost ([127.0.0.1]:33513 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncZ1a-0005cp-EN for submit@debbugs.gnu.org; Thu, 07 Apr 2022 16:46:38 -0400 Received: from lists.gnu.org ([209.51.188.17]:47108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncYl9-0005CM-Kk for submit@debbugs.gnu.org; Thu, 07 Apr 2022 16:29:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncYl9-0006bz-81 for bug-gnu-emacs@gnu.org; Thu, 07 Apr 2022 16:29:39 -0400 Received: from mail-io1-xd31.google.com ([2607:f8b0:4864:20::d31]:46618) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncYl7-0002aj-8O for bug-gnu-emacs@gnu.org; Thu, 07 Apr 2022 16:29:38 -0400 Received: by mail-io1-xd31.google.com with SMTP id g21so8222872iom.13 for ; Thu, 07 Apr 2022 13:29:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.arizona.edu; s=google; h=user-agent:from:to:subject:date:message-id:mime-version; bh=grHN7CIFFjZB6/IxHFoktMnwE4IdpZv68gj+xEslipU=; b=CMHQQHSpwrADOB0WqXb3SICpnZMjPDw9iuEe9sLHkNuPVQ6EXjbMWtlJIA4E2K93N0 1+bLp/AStnqUlvGaD7CVqQjRvetrlHaKpgQJyc++vDiCKz+ol554Z9/Hxx1wRNde+GsV bIE5ZH/vSqrCgrDmJuFNRQXeNOt7MIo0JNxercY3DM/SyGT5pPSRo8nYlqUwm/1TymLc Koec6D1KL616OwR7EOmN6Xfgr1p0ZCs1ZMtZGXW2FlexRb+pwAC5joMIaT3HDxbk/t1T 4j/qgn/lWBOGh/P6VYInoHh9EbHj4Md/B5E387I6G2ufq1oTzI2gn1nY2l/FxgS+Y4Sz IKMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=grHN7CIFFjZB6/IxHFoktMnwE4IdpZv68gj+xEslipU=; b=ONGNERWhR0Eihszg0SIfAwysf9gkkrcP/drJQ2jgtnlOJm4wKMezHpVStQ4RTqId6o JGf4FJ6uM2BzOV1OYyDwaeOVejMCQjjQ9x9xLeOg2vSNHLsrHNoDWwojqogTBdwEWBl2 v3hhInxQ21JLDSn5bO507Uk/by5wcNe90pBrzse+bYMudriPNiMWng8AQabasuGU4UGj 6X8hnWpscj/H5/51sIlI1nbk5YEndjZ+9sv6O7ksGiTPwBgGBaYUyoaR9SLBSl354azK /o1Gje5Jljwy5k/Wzjc6H6Bp9rP5NtDzPM8WjlBYOcfh0SAInAoRaXPGULckXLLis4ZZ hCVA== X-Gm-Message-State: AOAM532QsSav/T0byA1cNnUfMrmmtC4PsA1E4ADOHoaO7tlLaYIuHUL8 ZUXwSV0otF1uIH+qzAOLynga/Dc2hKFFcSIyWFtIZkGixouEfuAxMFsujPHpxcilPjX3IKtC7xt OxOwyPSoN3wQ6kSOMPiQbY0R0aa6f2maVSY1gTRWqQ4YFrRCZ0nEeuXrYga4LqS2EzU0aTA== X-Google-Smtp-Source: ABdhPJyChJFBZPzC97pphbjKIi88o2VImOQBgQNdPYRtkE12dEoOra6JFkLbY4yJGx5N1lGPsgenmg== X-Received: by 2002:a05:6638:2654:b0:324:2f25:8693 with SMTP id n20-20020a056638265400b003242f258693mr1006319jat.214.1649363373383; Thu, 07 Apr 2022 13:29:33 -0700 (PDT) Received: from m606-c.math.arizona.edu (m606-c.math.arizona.edu. [128.196.224.191]) by smtp.gmail.com with ESMTPSA id q197-20020a6b8ece000000b00648d615e80csm13046082iod.41.2022.04.07.13.29.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 13:29:31 -0700 (PDT) User-agent: mu4e 1.6.8; emacs 28.1 From: "Kevin K. Lin" To: bug-gnu-emacs@gnu.org Subject: 28.1; shell-resync-dirs hangs Date: Thu, 07 Apr 2022 13:26:29 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::d31; envelope-from=klin@math.arizona.edu; helo=mail-io1-xd31.google.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 07 Apr 2022 16:46:37 -0400 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: -2.3 (--) Hi, Starting with emacs -Q I do M-x shell M-x dirs and Emacs hangs. C-g breaks the loop and puts me back at the prompt. FYI, I use /bin/tcsh, but the same thing happens in other shells I tried (zsh, bash). I'm on macOS; not sure the problem is Mac-specific. I found bug #54384 on the bug tracker, which seems to describe a similar problem in Emacs 29. Wondering if it's indeed the same issue, and if so whether the solution would be backported to 28? Thanks, Kevin In GNU Emacs 28.1 (build 1, x86_64-apple-darwin19.6.0) of 2022-04-04 built on iMac-Pro System Description: Mac OS X 10.15.7 Configured using: 'configure --disable-silent-rules --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs/28.1/share/info/emacs --prefix=/usr/local/Cellar/emacs/28.1 --with-gnutls --without-x --with-xml2 --without-dbus --with-modules --without-ns --without-imagemagick --without-selinux' Configured features: ACL GMP GNUTLS JSON LIBXML2 MODULES NOTIFY KQUEUE PDUMPER THREADS ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (help-mode pp shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail tool-bar rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map text-property-search time-date subr-x seq mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils shell pcomplete comint regexp-opt ansi-color ring term/xterm xterm byte-opt gv bytecomp byte-compile cconv iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select mouse jit-lock font-lock syntax 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 emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads kqueue multi-tty make-network-process emacs) Memory information: ((conses 16 60451 7936) (symbols 48 7359 3) (strings 32 20473 1785) (string-bytes 1 674989) (vectors 16 12526) (vector-slots 8 145293 8573) (floats 8 29 293) (intervals 56 220 54) (buffers 992 12)) From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 08 09:19:01 2022 Received: (at 54776) by debbugs.gnu.org; 8 Apr 2022 13:19:01 +0000 Received: from localhost ([127.0.0.1]:34181 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncoVw-0007c0-Ut for submit@debbugs.gnu.org; Fri, 08 Apr 2022 09:19:01 -0400 Received: from quimby.gnus.org ([95.216.78.240]:60312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncoVv-0007bl-Tb for 54776@debbugs.gnu.org; Fri, 08 Apr 2022 09:19:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=7FDfYC1vnMujsDL5nB3C+oA0Kh5noC3k7Edw4qCPaws=; b=jQ3/r1gOr9G248yXtK0E2duesn 8mWQmR80letTltl0R957AfZtg1gawcYqvCQTPSpE6csh991U0UcbvC2GilkUMIVS6s2IACVDT0LnW j9cfOSKITgT5i/WlRdTFLxzENantyIOeJH8SbkNxPFIdQS3udXBKe6o8kmHtDgQJ0WOY=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ncoVn-0003Cf-9x; Fri, 08 Apr 2022 15:18:53 +0200 From: Lars Ingebrigtsen To: "Kevin K. Lin" Subject: Re: bug#54776: 28.1; shell-resync-dirs hangs References: X-Now-Playing: Plastikman & Chilly Gonzales's _Consumed In Key_: "In Side (In Key)" Date: Fri, 08 Apr 2022 15:18:50 +0200 In-Reply-To: (Kevin K. Lin's message of "Thu, 07 Apr 2022 13:26:29 -0700") Message-ID: <875ynj90hx.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: "Kevin K. Lin" writes: > I found bug #54384 on the bug tracker, which seems to > describe a similar problem in Emacs 29. Wondering if > it's indeed the same issue, and if so whether the > solution would be backported to 28? Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54776 Cc: 54776@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 (---) "Kevin K. Lin" writes: > I found bug #54384 on the bug tracker, which seems to > describe a similar problem in Emacs 29. Wondering if > it's indeed the same issue, and if so whether the > solution would be backported to 28? It's the same issue, and we're only backporting fixes for regressions or serious bugs to Emacs 28, and I don't think this counts as either, so it won't be backported. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 08 09:19:06 2022 Received: (at control) by debbugs.gnu.org; 8 Apr 2022 13:19:06 +0000 Received: from localhost ([127.0.0.1]:34185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncoW2-0007cp-7k for submit@debbugs.gnu.org; Fri, 08 Apr 2022 09:19:06 -0400 Received: from quimby.gnus.org ([95.216.78.240]:60326) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncoW0-0007bs-GP for control@debbugs.gnu.org; Fri, 08 Apr 2022 09:19:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=zeVtEw5IO9RJwlhZ9DblQ6pbayJ9nU3NZIh9+25L22Q=; b=NiJBKWKk9AckuhOOWpUDYhP/Zf Normm3iqC7Ob0Ds1UIR5HRyKw+mxThi7t/xZgl56hdggQeaPcvCg2L8dynV8H0dsGlfVOwVookcGv wnKnE0/mzv4kfB+KIloZMZRdZbqSsbXLENeNuHtlpjduWcEUdTbg/h7L++UQed3aZE5Y=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ncoVt-0003Cp-5S for control@debbugs.gnu.org; Fri, 08 Apr 2022 15:18:59 +0200 Date: Fri, 08 Apr 2022 15:18:56 +0200 Message-Id: <874k3390hr.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #54776 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 54776 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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 (---) close 54776 29.1 quit From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 08 11:24:53 2022 Received: (at 54776) by debbugs.gnu.org; 8 Apr 2022 15:24:53 +0000 Received: from localhost ([127.0.0.1]:35632 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncqTl-0007Ee-7G for submit@debbugs.gnu.org; Fri, 08 Apr 2022 11:24:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncqTj-0007EN-QG for 54776@debbugs.gnu.org; Fri, 08 Apr 2022 11:24:52 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37190) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncqTe-0005Uc-4i; Fri, 08 Apr 2022 11:24:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=CiUNPgIqv4ZMSDV2FGIOYDtp9hWAXrjsQzFfS+UkpBo=; b=AuJ3MEspm1HPsZGJZ6xt /ebHsSwaaCiPxBL6ugqfUqZzD1iFJI7UycvkRj4J8E9y5zLos7iWpHzjmimDbGjSca9aMlcFgdhF4 svjr9SN8+cQWReh1jc+1Jnq3Nw37QfjiKUc8rsGU3tVgPNCQCHd7v9hb4PdQrS0lVQJ9S03l/KG7i fcaua1+MBNhG29fAw1RIHN3tCIOzg/QyI1l4f64XgSE2yUPNxWLxEOnNkVOm3adaX/sBi3Eq/p0lp XLwoOU0ELvyumwNR7f9aN9C2o2ycV/zqQ4twlV9DpDsRmfnDDGEL/KdYbb1/xcQJVOZ2M9HX894Yo YiXTVtIpsBhlSw==; Received: from rgm by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1ncqTc-0001EG-PC; Fri, 08 Apr 2022 11:24:44 -0400 From: Glenn Morris To: Lars Ingebrigtsen Subject: Re: bug#54776: 28.1; shell-resync-dirs hangs References: <875ynj90hx.fsf@gnus.org> X-Spook: Recall gorilla WMATA Israel industrial espionage Crash X-Ran: }4C*5huj=:`xF40PFu;K$VAu=y\.X;u#uB@zmpqTg(Me1Uy?pLVt-sHTe-k1&8)6-LZkG8 X-Hue: magenta X-Attribution: GM Date: Fri, 08 Apr 2022 11:24:44 -0400 In-Reply-To: <875ynj90hx.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 08 Apr 2022 15:18:50 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54776 Cc: "Kevin K. Lin" , 54776@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 (---) Lars Ingebrigtsen wrote: > and we're only backporting fixes for regressions or serious bugs to > Emacs 28, and I don't think this counts as either, so it won't be > backported. Are you sure this issue isn't due to the changes from https://debbugs.gnu.org/23324, which were applied in Emacs 28.1 (which would make it a regression from Emacs 27, no)? From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 09 06:12:04 2022 Received: (at 54776) by debbugs.gnu.org; 9 Apr 2022 10:12:04 +0000 Received: from localhost ([127.0.0.1]:36769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd84Z-0005mP-Un for submit@debbugs.gnu.org; Sat, 09 Apr 2022 06:12:04 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd84X-0005lt-M4 for 54776@debbugs.gnu.org; Sat, 09 Apr 2022 06:12:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Qk1MowgTJvfLav7ZDfN8qBrGfLyMYkuq+kp4Cj6e7Uo=; b=V6He9hbeuWtQvqUiqzpKuMFcSH q61kDfh2Fp1FBbHbrIYabpYPUZhqnzWsQWweodKQfSAyz/Roc33Vg8e9qM0OhijX/yX9nb8q/Psbw TqXBgygCszxP6MU1b/GnCR1lh5YL0hqdnv7UnboIhH3pCDBQ+jStZ7uNnmCMaPM6UfAo=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nd84O-0000YT-16; Sat, 09 Apr 2022 12:11:54 +0200 From: Lars Ingebrigtsen To: Glenn Morris Subject: Re: bug#54776: 28.1; shell-resync-dirs hangs References: <875ynj90hx.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAIVBMVEXh3dz7+vnU0dC0 r62BfHlsZ2OZlJLDwL7BvbuFgH3///+rjTqgAAAAAWJLR0QKaND0VgAAAAd0SU1FB+YECQksEkEY mhwAAAGZSURBVDjLfZRNS8QwEIYzXRCPMxHUY5JK9djdaFhvotSz6Pa+bd3gURG8iyAeBRd/r7Xd dqeSmh768WQy7zudRAjaDiEAQUD7rICDZhDVVLDvfIDQY6CPgBGwB2hECCg9yRbLHqgux1HhNYmX qpsnNkAcFdPf++4cekvtkoe6ICTEDzsAtV95S6gxW+TtapvkMqX9fEo76zxbCq7qYPKdXVi7yrPb oVyc7udFHRivXv/4SPTqbmC/NxjHDwYAQ7WipEyAMI04kGrWqqb4eDZI7lzZvE4qGxcM2LfrVUki iivnK83Aif9c37i59Ul57su2Jg14Py39BUSyTLyfEQMU2XVq1F690qwrb1t2aUs0T8Z5758GzSDt 3D/rOHJdADGDh5UKt0/i0mD7UOUs6x8WcXnvIATw6+xdB4HzLgyer9w0CMz3VxoCJN18a4T7kB+G BTCAZuCcSY+4jbGtpsa2GgOIBBACApud/BfAbzbo/w8o8drNeDSg024iA0ohqEh2KsWYqn+Aas+V gc/6DNK1SMCNzFYXQXP9AEtfa7vhEYvpAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA0LTA5VDA5 OjQ0OjE4KzAwOjAw1z07pwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNC0wOVQwOTo0NDoxOCsw MDowMKZggxsAAAAASUVORK5CYII= X-Now-Playing: Laura Jean's _Eden Land_: "Adam" Date: Sat, 09 Apr 2022 12:11:50 +0200 In-Reply-To: (Glenn Morris's message of "Fri, 08 Apr 2022 11:24:44 -0400") Message-ID: <87r1664lcp.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Glenn Morris writes: > Are you sure this issue isn't due to the changes from > https://debbugs.gnu.org/23324, which were applied in Emacs 28.1 (which > would make it a regression from Emacs 27, no)? Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54776 Cc: "Kevin K. Lin" , 54776@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 (---) --=-=-= Content-Type: text/plain Glenn Morris writes: > Are you sure this issue isn't due to the changes from > https://debbugs.gnu.org/23324, which were applied in Emacs 28.1 (which > would make it a regression from Emacs 27, no)? Good catch. Kevin, could you try reverting 90e65c826fa (or applying (in reverse) the attached patch) and see whether that fixes the problem? If so, we could revert the patch for Emacs 28.2. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=resync.patch commit 90e65c826fab2092ad2099d7763538194c93e021 Author: Noah Friedman AuthorDate: Wed Aug 19 15:59:59 2020 +0200 Commit: Lars Ingebrigtsen CommitDate: Wed Aug 19 15:59:59 2020 +0200 Make shell-resync-dirs handle whitespace in directory names * lisp/shell.el (shell-resync-dirs): Correctly handle whitespace in directory names (bug#23324). diff --git a/lisp/shell.el b/lisp/shell.el index 301a8cb083..9667dab2af 100644 --- a/lisp/shell.el +++ b/lisp/shell.el @@ -1035,25 +1035,41 @@ shell-resync-dirs (accept-process-output proc) (goto-char pt))) (goto-char pmark) (delete-char 1) ; remove the extra newline - ;; That's the dirlist. grab it & parse it. - (let* ((dl (buffer-substring (match-beginning 2) (1- (match-end 2)))) - (dl-len (length dl)) - (ds '()) ; new dir stack - (i 0)) - (while (< i dl-len) - ;; regexp = optional whitespace, (non-whitespace), optional whitespace - (string-match "\\s *\\(\\S +\\)\\s *" dl i) ; pick off next dir - (setq ds (cons (concat comint-file-name-prefix - (substring dl (match-beginning 1) - (match-end 1))) - ds)) - (setq i (match-end 0))) - (let ((ds (nreverse ds))) - (with-demoted-errors "Couldn't cd: %s" - (shell-cd (car ds)) - (setq shell-dirstack (cdr ds) - shell-last-dir (car shell-dirstack)) - (shell-dirstack-message))))) + ;; That's the dirlist. Grab it & parse it. + (let* ((dls (buffer-substring-no-properties + (match-beginning 0) (1- (match-end 0)))) + (dlsl nil) + (pos 0) + (ds nil)) + ;; Split the dirlist into whitespace and non-whitespace chunks. + ;; dlsl will be a reversed list of tokens. + (while (string-match "\\(\\S-+\\|\\s-+\\)" dls pos) + (push (match-string 1 dls) dlsl) + (setq pos (match-end 1))) + + ;; Prepend trailing entries until they form an existing directory, + ;; whitespace and all. Discard the next whitespace and repeat. + (while dlsl + (let ((newelt "") + tem1 tem2) + (while newelt + ;; We need tem1 because we don't want to prepend + ;; `comint-file-name-prefix' repeatedly into newelt via tem2. + (setq tem1 (pop dlsl) + tem2 (concat comint-file-name-prefix tem1 newelt)) + (cond ((file-directory-p tem2) + (push tem2 ds) + (when (string= " " (car dlsl)) + (pop dlsl)) + (setq newelt nil)) + (t + (setq newelt (concat tem1 newelt))))))) + + (with-demoted-errors "Couldn't cd: %s" + (shell-cd (car ds)) + (setq shell-dirstack (cdr ds) + shell-last-dir (car shell-dirstack)) + (shell-dirstack-message)))) (if started-at-pmark (goto-char (marker-position pmark))))) ;; For your typing convenience: --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 09 12:30:51 2022 Received: (at 54776) by debbugs.gnu.org; 9 Apr 2022 16:30:51 +0000 Received: from localhost ([127.0.0.1]:38593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndDz9-0005Sb-0d for submit@debbugs.gnu.org; Sat, 09 Apr 2022 12:30:51 -0400 Received: from mail-pf1-f174.google.com ([209.85.210.174]:47097) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndDtZ-0005HN-RO for 54776@debbugs.gnu.org; Sat, 09 Apr 2022 12:25:06 -0400 Received: by mail-pf1-f174.google.com with SMTP id p25so4243268pfn.13 for <54776@debbugs.gnu.org>; Sat, 09 Apr 2022 09:25:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.arizona.edu; s=google; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=5n91fsBuKgs/ebm4W1OVRWaPk0eBH1awUwjLklhoWXM=; b=jPF6H90S4RAQ2XlVqVGVMvIsQzR06v6LLRCxeKBRJAjSWsNaj6JEZ/9JbPd1o8CpjN N+oV03KKmlJNqFaJqQht+MXwwGbAxj2igfsaHze4yR11WnNSBCF79w7H+RygudKuNpd1 vm1o3yVmGhpw9vGMZqnO4wKeag6w8LS70JNpjaD2pHG1GnyTEMuLkU85apMPy6OiIvTW S6zc6E0IWVDJYBVy+XQRS8nORPrqTd2jylhcLwK5Cp7P0Sv7FeXf7Pkv8wDooIyBvxGP 8PA5okctMhWB76CnATi6okSqOUygZ6W8ryu4A64DCHC0XDJ4IcH+8HHZZ0US8LSwipUT cqdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version; bh=5n91fsBuKgs/ebm4W1OVRWaPk0eBH1awUwjLklhoWXM=; b=yKDLGPB/kU3KY2GRTC70g95mFy1exkXokoinRLLOKxAJp/nM4jL8Znux/2tqXwfqmI eUKIQtZ2K+7DlkaF2ZedHtahtkctmxos/5cp/9o1W0jsPhPYw+vQNt/CBNGI1iVFhU7h rGN1RRlrwsg3V/WZIwuQGHz+lGu5cttiCMyj8/cRHU5XB7Sf2bW0fNn2vCkcBr5ZPBPl 0miUqGL0bARWCod7VSxcxiGoERthSF852Rr9nmBY+04ulukwlbgrEYBTMuPH/hhZv4hq Ndyxpfuum2+v2cFUnmqgl6O7guv1njs3EceMQYb8XivcgDQhoeY8ndAKRMnvaqQ6LvVa NLEg== X-Gm-Message-State: AOAM531fZGU2Fl29+yqRGxJxn8r+GTrl7NvrPysfxl0o/+00OcJ/Mvin devu40BW6hiZUoxu5j+IqY8mRdKMrB0ZF6/wkIEDfrpNxHiogzvpz1HCk9jbreAbJD4b3bD7qwd g1iviqjZTzx8NClQIhUv1/9Hh06VOx452fbN1KYxuymaN2SGP4CtwVrK21PZ8HaHyhlBMZw== X-Google-Smtp-Source: ABdhPJy9BzCWPO8bxfFuu4BfQqN2DOiL5hRSEuxidwJnzRlnBVDw7DE7bojIQNH/aQ+s+C3GmlEHTw== X-Received: by 2002:a63:441c:0:b0:39c:f6c5:d25e with SMTP id r28-20020a63441c000000b0039cf6c5d25emr7325059pga.63.1649521499292; Sat, 09 Apr 2022 09:24:59 -0700 (PDT) Received: from godel.local (ip72-200-87-161.tc.ph.cox.net. [72.200.87.161]) by smtp.gmail.com with ESMTPSA id w13-20020a17090a5e0d00b001c7d4099670sm15384687pjf.28.2022.04.09.09.24.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Apr 2022 09:24:58 -0700 (PDT) References: <875ynj90hx.fsf@gnus.org> <87r1664lcp.fsf@gnus.org> User-agent: mu4e 1.6.8; emacs 28.1 From: "Kevin K. Lin" To: Lars Ingebrigtsen Subject: Re: bug#54776: 28.1; shell-resync-dirs hangs Date: Sat, 09 Apr 2022 09:23:48 -0700 In-reply-to: <87r1664lcp.fsf@gnus.org> Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54776 X-Mailman-Approved-At: Sat, 09 Apr 2022 12:30:49 -0400 Cc: Glenn Morris , "Kevin K. Lin" , 54776@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 (-) Hi Lars, I just tried the patch, and it works fine on my end. Thanks! Kevin From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 10 07:50:14 2022 Received: (at 54776) by debbugs.gnu.org; 10 Apr 2022 11:50:14 +0000 Received: from localhost ([127.0.0.1]:39578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndW57-0008OI-Qq for submit@debbugs.gnu.org; Sun, 10 Apr 2022 07:50:14 -0400 Received: from quimby.gnus.org ([95.216.78.240]:51928) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndW56-0008Nu-8N for 54776@debbugs.gnu.org; Sun, 10 Apr 2022 07:50:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=PrzmKdTGYsR6XiOl67as4+rHlE+U+eBfwwFMRP11yn0=; b=UnvB7y62AAL0AwGz3UGCm4LX0p LMyuGsDbTV21v60ELMh1Rw1r7s/5JXvZgNQGa6tiSF3v7xS5hYIva2l8Ds7TPiTyq+kLHMKm4y65Z nXv4FR6JOrW8gWXWvqWyO1JI9icYqD9UkyJ4DxSoIBCR2ASsbZUHb0TZYdTqufccIlxY=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ndW4w-00063L-I8; Sun, 10 Apr 2022 13:50:05 +0200 From: Lars Ingebrigtsen To: "Kevin K. Lin" Subject: Re: bug#54776: 28.1; shell-resync-dirs hangs References: <875ynj90hx.fsf@gnus.org> <87r1664lcp.fsf@gnus.org> X-Now-Playing: Arto Lindsay's _Salt_: "Personagem" Date: Sun, 10 Apr 2022 13:50:02 +0200 In-Reply-To: (Kevin K. Lin's message of "Sat, 09 Apr 2022 09:23:48 -0700") Message-ID: <878rsdrwd1.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: "Kevin K. Lin" writes: > I just tried the patch, and it works fine on my end. Thanks for testing; I've now reverted the offending change on the emacs-28 branch, so it'll be included in the Emacs 28.2 release. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54776 Cc: Glenn Morris , 54776@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 (---) "Kevin K. Lin" writes: > I just tried the patch, and it works fine on my end. Thanks for testing; I've now reverted the offending change on the emacs-28 branch, so it'll be included in the Emacs 28.2 release. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 10 07:50:19 2022 Received: (at control) by debbugs.gnu.org; 10 Apr 2022 11:50:19 +0000 Received: from localhost ([127.0.0.1]:39581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndW5D-0008OZ-1u for submit@debbugs.gnu.org; Sun, 10 Apr 2022 07:50:19 -0400 Received: from quimby.gnus.org ([95.216.78.240]:51944) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndW5B-0008O7-7l for control@debbugs.gnu.org; Sun, 10 Apr 2022 07:50:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=uJdxQdVyGtAxQ/JwDVQP9KQ+XeUCEiRteYl/zx/MzMQ=; b=DoLD0QorZYQBO4OM24liRFVInP Ae3EcoTx01Uc5YwShTPJbuEMUXt5VOmXb+CisUVW9M696oN99VqPjnFXJdiy+NUaR7VAu7cA8gT4U VP+/tZnkfkrZyiIH0IpwJR8xqSa4JRTaAa/IEqRZL/W3RinPIBELqaZPlxwdaj212X1M=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ndW53-00063S-EC for control@debbugs.gnu.org; Sun, 10 Apr 2022 13:50:11 +0200 Date: Sun, 10 Apr 2022 13:50:08 +0200 Message-Id: <877d7xrwcv.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #54776 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 54776 28.2 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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 (---) close 54776 28.2 quit From unknown Sun Jun 22 11:31:19 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 09 May 2022 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator