From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#71896: shell-resync-dirs hang Date: Mon, 08 Jul 2024 20:42:11 +0300 Message-ID: <86zfqrzsp8.fsf@gnu.org> References: <03321175-1a92-4b82-a0cc-d6977b6a733a@Spark> <83b035dd-1ba4-4016-8ba4-cf9bde800175@Spark> <86tth24zbr.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28313"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71896@debbugs.gnu.org To: Troy Hinckley Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 08 19:46:11 2024 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 1sQsRG-00076A-MS for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 08 Jul 2024 19:46:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sQsR6-0003Ur-4e; Mon, 08 Jul 2024 13:46:00 -0400 Original-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 1sQsR3-0003Mn-KH for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2024 13:45:57 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sQsR3-0001VM-BN for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2024 13:45:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sQsR8-0003DQ-9L for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2024 13:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Jul 2024 17:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71896 X-GNU-PR-Package: emacs Original-Received: via spool by 71896-submit@debbugs.gnu.org id=B71896.172046071112299 (code B ref 71896); Mon, 08 Jul 2024 17:46:02 +0000 Original-Received: (at 71896) by debbugs.gnu.org; 8 Jul 2024 17:45:11 +0000 Original-Received: from localhost ([127.0.0.1]:51445 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sQsQJ-0003CI-1e for submit@debbugs.gnu.org; Mon, 08 Jul 2024 13:45:11 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45534) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sQsQH-0003C0-8I for 71896@debbugs.gnu.org; Mon, 08 Jul 2024 13:45:09 -0400 Original-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 1sQsNx-0000tG-OD; Mon, 08 Jul 2024 13:42:47 -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=3fUK9qwR0tml9ftuAmZKb5gDO/ODY2Z5abK+9Iea5tw=; b=c71/lPmxnY/u5wa4f9Km 5vpplY1DzK1P1mAJU8MKELS2NwAraLxHkRza2EMHN8U+ph2MEbKabgJQxVeM+c/q3w99RukUCyXfc NdqyGsO4eWfpbfA9tRviyrzjZ6xY1k69ugheN3dC1ESv5hf+sDYTTnAMhzB/Nbbu1doRqHYcLi3/P 9qbr8Egv1q2M/B6ugbBrh3tb9WRoDcJ+aLmMNUwRDYWaRKAiZOI0uyiGOcxjToK9FqVWOHXvQ26jp lPrDPiueJ/EZMHQhK+MnACTLFC8fWcKOepeT0WGIBWL8SoXU4uC0I9OSehQw2nwLc876BoMCDJyev 7JDIzslKvvjPYg==; In-Reply-To: (message from Troy Hinckley on Mon, 8 Jul 2024 12:04:07 -0500) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:288604 Archived-At: > Date: Mon, 8 Jul 2024 12:04:07 -0500 > From: Troy Hinckley > Cc: 71896@debbugs.gnu.org > > The proposed patch throws an error when `last’ is “” because (substring “” -1) produces (args-out-of-range “” - > 1 nil). Is that the only problem with the patch? That is, if this is trivially fixed, does all the rest work correctly and fixes the problems?