From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#39280: 27.0.60; wdired-get-filename ignores first argument Date: Sun, 26 Jan 2020 11:47:06 +0100 Message-ID: <87ftg2v6j9.fsf@gmx.net> References: <87k15fpaj2.fsf@calancha-pc.dy.bbexcite.jp> <87tv4j1cjm.fsf@gmx.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="66746"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 39280@debbugs.gnu.org To: Tino Calancha Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 26 11:48:33 2020 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 1ivfSz-000HLG-4v for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Jan 2020 11:48:33 +0100 Original-Received: from localhost ([::1]:32836 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ivfSy-0003Ju-2t for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Jan 2020 05:48:32 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39316) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ivfSU-0003JZ-WE for bug-gnu-emacs@gnu.org; Sun, 26 Jan 2020 05:48:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ivfSU-0005JL-2Y for bug-gnu-emacs@gnu.org; Sun, 26 Jan 2020 05:48:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50574) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ivfST-0005Iw-S7 for bug-gnu-emacs@gnu.org; Sun, 26 Jan 2020 05:48:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ivfST-0008HV-PH for bug-gnu-emacs@gnu.org; Sun, 26 Jan 2020 05:48:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Jan 2020 10:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39280 X-GNU-PR-Package: emacs Original-Received: via spool by 39280-submit@debbugs.gnu.org id=B39280.158003563831781 (code B ref 39280); Sun, 26 Jan 2020 10:48:01 +0000 Original-Received: (at 39280) by debbugs.gnu.org; 26 Jan 2020 10:47:18 +0000 Original-Received: from localhost ([127.0.0.1]:56547 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ivfRm-0008GX-EG for submit@debbugs.gnu.org; Sun, 26 Jan 2020 05:47:18 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:32887) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ivfRk-0008GJ-5A for 39280@debbugs.gnu.org; Sun, 26 Jan 2020 05:47:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1580035628; bh=fpBBzOgfRWA3fTTU2QYTqn9/xrVB/Modl/Wt/ZxEqMI=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=J4L78sZfcoPPB3iRD4UQpAKbReHmK/C1WOLphWybr3FOGyNQjumgksYTRkTiDGKZY 9qb1YT1+4Bt41SMwo0SyCSuh7YIg+n276cICzKZVCKKCATBTWH2wW+iHXdUB/gB3No 6ZUV9Z/SqJkuFTkIFQia5hET4xB/RYJVgX98XiDE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from strobe-lfs84 ([178.6.103.189]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N6bk4-1jfLs20FBO-0185Cd; Sun, 26 Jan 2020 11:47:08 +0100 In-Reply-To: (Tino Calancha's message of "Sat, 25 Jan 2020 22:13:10 +0100 (CET)") X-Provags-ID: V03:K1:Y99AnO5/aUrB9wQbtiWB8e+zJs2bHnyUy7bzybDqVeNaINF/U6k mg1IQPM41BA4aijE5sHDtZpRBynWRnAOqNvsPphwaTVOLwf1PAnCm6t2aBZXn83SFwJXgg5 xeXDp18fwfdJ6KeSulg+2x1puW/Y0rllS/KRx7ZbgAkubBOslJsz6GU06BXJuuNlCsKOnRI 9xCN7eZcqGTsvssGvxm+Q== X-UI-Out-Filterresults: notjunk:1;V03:K0:0yejUg2AHFw=:Dsyrvgjj9FX4TTs64TvJVb 2ugJXLh5PxxxRLbxbUb/WZC7wkaTqn7BNMlQuf444oWf4enAdTnM1ohNaSY1fOEoxqXC+WJZ6 pqIj4hLtv7zwkMVR3NaS3Ds0bE0BeGdYVk9AZQzqWTpiuFfxg+6jKB2LnibXdD8GB50LxQhy/ lnzwXF6gBK8rjvjOTqRYUR2EZlcTvAlvv9+qJP7BpTmVGqaGwSbewBAlxEiR9mkuAv8KHVmux 07ZmAjGWIGDctQWrIrUme9GwJycpjvUr83SQXY2x747Vb/pPCtpxdA74G3hJEpewwWdjnEhWY JRZb6JoD77SiO3TA/EaTdnT95s4rR7FK4gEnYVqotuyWgCeAPzI4wz0tUbyvclZJ5ze0oDg8R ZMRStGhS0jAde6Hlpcazijsm3gaHkkjZ7EN55ZOz4/5MZIbf52sU1JZnap0PufSTkII+kOuOl KE5nEWgxiMBSfxH7FaLDYEbtEvanfRJYReQv8Dz7pWjuI714dTBUqEl/wWBX1K69CBlkvfTVO C46V1QhIr+zozwDGSOCo0VzjErDuf/b/EpoJPxZZA6vdhtumO+/7Tr3MmX84S/RgwgZLMf3fr Tw4yCq+wyAvab/ZcVRo22M/HRepgHXz2CXhzWiCcBdMSh4vTbt5U0lAoLpUVKKeualhOtxvig kbePYCJJMrfTBIjryCehqyc/X6JgYUNmYl1UjkwXID67LiopRxiLuF0DEPupP+lLVc0Z+4ai9 tgrLqPF7VrT/YZLWW/hGW09fcN4Kbt5KnuZfRyZhtJtg8EB/VvXuEWUCnq9XUQQRVBspLABk X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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" Xref: news.gmane.io gmane.emacs.bugs:175296 Archived-At: On Sat, 25 Jan 2020 22:13:10 +0100 (CET) Tino Calancha wrote: > On Sat, 25 Jan 2020, Stephen Berman wrote: > >> On Sat, 25 Jan 2020 21:05:05 +0100 Tino Calancha wrote: >> >>> emacs -Q /tmp >>> M-! touch foo RET >>> g >>> j foo RET >>> C-x C-q >>> M-: (wdired-get-filename 'local t) RET >>> => "/tmp/foo" >>> ;; Expected: "foo" >> >> Do you have a use case for this? > No, I don't have one. I see you do now, as a possible fix for bug#39284. >> AFAICS in wdired.el there are no uses >> of wdired-get-filename with both of its arguments non-nil. > > Right, that's why we haven't detected this bug before. > I was playing a bit with wdired this month, and when I tried > to call this function with both args non-nil I got unexpected results. Ok. Steve Berman