From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#70593: 30.0.50; Dired: buffers of renamed dirs are broken Date: Fri, 10 May 2024 14:56:08 +0200 Message-ID: <87msoxddw7.fsf@web.de> References: <87a5lguygb.fsf@web.de> <861q6syxzb.fsf@gnu.org> <87plu8xmb9.fsf@web.de> <87msozqes5.fsf@web.de> <87ikzmg50t.fsf@web.de> Reply-To: Michael Heerdegen Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23703"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 70593@debbugs.gnu.org, eliz@gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 10 14:56:27 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 1s5PnX-00061c-D9 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 May 2024 14:56:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s5PnF-0007K7-Kf; Fri, 10 May 2024 08:56:09 -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 1s5PnA-0007JX-7Q for bug-gnu-emacs@gnu.org; Fri, 10 May 2024 08:56:04 -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 1s5Pn9-0004pK-R9 for bug-gnu-emacs@gnu.org; Fri, 10 May 2024 08:56:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s5Pn8-0000ym-8x for bug-gnu-emacs@gnu.org; Fri, 10 May 2024 08:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 May 2024 12:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70593 X-GNU-PR-Package: emacs X-Debbugs-Original-Cc: "70593@debbugs.gnu.org" <70593@debbugs.gnu.org>, "Drew Adams via Bug reports for GNU Emacs, the Swiss army knife of text editors" , Eli Zaretskii Original-Received: via spool by submit@debbugs.gnu.org id=B.17153457473758 (code B ref -1); Fri, 10 May 2024 12:56:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 May 2024 12:55:47 +0000 Original-Received: from localhost ([127.0.0.1]:42143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5Pmt-0000yY-8u for submit@debbugs.gnu.org; Fri, 10 May 2024 08:55:47 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:51876) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5Pmr-0000yS-HI for submit@debbugs.gnu.org; Fri, 10 May 2024 08:55:46 -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 1s5Pmq-00078N-TS for bug-gnu-emacs@gnu.org; Fri, 10 May 2024 08:55:46 -0400 Original-Received: from mout.web.de ([217.72.192.78]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s5Pmo-0004c5-Nf; Fri, 10 May 2024 08:55:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=s29768273; t=1715345725; x=1715950525; i=michael_heerdegen@web.de; bh=WS5tM/1zxXobIMJ+lEYlaJCCcwa6u4TFBVVDVij3d30=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=vB6K+kk7p/SVD783kEY+77AhmzgAU+HLlPyjgbYPkYfzK43y/Lku0dn7P1+gfNrX vFnCVz9+u4nUtAmlWZqd5UpXk4IKyjZXuyATOHJSKOgqR/GIabfx8/CMkWqBvGBRA yfHLsmf+XYllgU1wWT8bNpZRy+JAeGp3BE+g3SH5IICoUpifTihXbXLyq01iTSq5x 5ruMBd8HnxX7PnnCWv6cze5lsDtPo00e13PSZ53PicFVUrd1TPyCOWZZ2rObynHT4 c8VeHND63NU8ZpHkydwblHGX/HzD16d8TM9JTrhxZkPbFdw+cHsqyF/EJv/z8R80x aK2iaW9wH4BHl0/c1w== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Original-Received: from drachen.dragon ([84.57.248.23]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1N30ZL-1skcgz3WEX-013RBF; Fri, 10 May 2024 14:55:24 +0200 In-Reply-To: (Drew Adams's message of "Thu, 9 May 2024 21:20:09 +0000") X-Provags-ID: V03:K1:YGaKKxm0pPllVMAA5Fy5SWYGFWSdrsQE7UhrrpZ6ST5SoGo5EkO 9gwmfupDBfYFCNcGURqzGSIXWh343mhmSWtFuOAYZ1sLX8nQGnm+KTcJWqLMvFnG4ZH4zDT q6FFVb9iJQQnE4tauCrmu0tZtsXEolSIcsxH2qC4TURt/eyYw1DVoRO3k8/LW6Jt9UnmaTl hPuzs66vg4M687q4NRlvg== UI-OutboundReport: notjunk:1;M01:P0:VyYfaWuaPnM=;RKWd9tG353TotzzaJfUaSmVFN2s S3ET1lfuX9n7tI83JxmROvj9BL4rzk12PbhvVZ6FFP1jwNNHcg/oyP9e9ZAjEHF0bJzi297gI LfcxfcO3we6XivgXt03/Y2lGTqlrZtddX/X728IzAuvKy51U1v8ol5FnoZmdMAWeD1DmDzBj/ iwyjBgNNFoEdK7kkt43trqks3dOZNCzTc8cai9kKk4hARoR6PUWHlHxQH2LsFsnFcFG2YvesY owKFm20Tqm74gnFxmBnxApCODYldr9mr462CSicqztLjBPGtdvOifQeN/AVP3iM7qy54RZbMk 2f45/bDGfPvyMR7BuwELDpCrqR7E/qaZJz1Qclmgn7kLwqRZFPqWf2aHo6gi+BvFFyVrfsmpp EJg8hIyDawr0R/WU9f2juq+7kN3tyTMqsa9NNDbZULeKFFvG93YIWeMnlrQiEl4ueknxGu5yA Fj8Qb5dQFrMj88LoOuBTRgXK3/d93CH0ZHS88veimDFzn0FsiAjkMxPvRYaICQs3MQkpx3wmq RcNwTzpjtDaSBhmpS6jvHRmRVi+gAjsjs8JYDXIq4/veu/2n5dxAxabrj/hcXn3x9p0zVqgoX WQd/rI/jjXswcm2SHZBVE4rAJJCi13kpcQBKwxePMsK9cUNl4cMaUApfDYV2HVS4hXVPtoYMP hNcAOFaHYKs9gHHJcleD6TcS2q9ynS2EUbhs6lwhBZx/TfnZ/m/b/FcubjreGUL9Jw3yi69bZ nRQMwJ9YsBh/utWIAlaxHbNxKsDY55jkSftS7xnUc2C8eePTsc9WgnH9FyxKH25rYESILe+w Received-SPF: pass client-ip=217.72.192.78; envelope-from=michael_heerdegen@web.de; helo=mout.web.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:284815 Archived-At: Drew Adams writes: > But the car of a cons `dired-directory' isn't > necessarily a directory name or any file name. > It's just a string used as the Dired buffer > name. (Often it is a directory name, but it > need not be.) That's exactly the kind of problem why I have CC'd you. Is this a documented feature, however? Heard about it (from you). But `dired-noselect' doesn't seem to handle or support this case at all, at least not specifically, although the code doesn't error in this case. I can only find places in the documentation where the car is described or referred to as "directory name". Could you please briefly refresh my knowledge about this use case? Does Vanilla Emacs somewhere make use of this case? > > Subdir insertion in cons value `dired-directory' buffers > > are not really supported currently it seems > > Not sure what you mean. Even in vanilla Emacs, > I think subdir insertion is supported. E.g.: > > M-: (dired (list "foobar" "/tata/file.txt" > "/toto/dir/" "/titi/")) Hmm, indeed, this works in -Q. Seems one of my local hacks broke this case. Thx, Michael.