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#61613: 30.0.50; ffap-other-window ignores ffap-require-prefix Date: Mon, 20 Feb 2023 14:50:18 +0200 Message-ID: <83r0ukv6ut.fsf@gnu.org> References: <87pma6tlth.fsf.ref@aol.com> <87pma6tlth.fsf@aol.com> <837cwexb7l.fsf@gnu.org> <2543743F-F7A4-4474-8B89-55E472577DB7@aol.com> <833572x8oa.fsf@gnu.org> <20230219213255.rhyiu44udzpgqsq2@Ergus> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13367"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61613@debbugs.gnu.org To: Ergus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 20 13:51:15 2023 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 1pU5dR-0003HF-4p for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Feb 2023 13:51:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pU5dK-0004Ny-0k; Mon, 20 Feb 2023 07:51:06 -0500 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 1pU5dG-0004Nn-Sr for bug-gnu-emacs@gnu.org; Mon, 20 Feb 2023 07:51:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pU5dG-0000Fl-Jt for bug-gnu-emacs@gnu.org; Mon, 20 Feb 2023 07:51:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pU5dG-0001iH-F4 for bug-gnu-emacs@gnu.org; Mon, 20 Feb 2023 07:51:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Feb 2023 12:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61613 X-GNU-PR-Package: emacs Original-Received: via spool by 61613-submit@debbugs.gnu.org id=B61613.16768974456556 (code B ref 61613); Mon, 20 Feb 2023 12:51:02 +0000 Original-Received: (at 61613) by debbugs.gnu.org; 20 Feb 2023 12:50:45 +0000 Original-Received: from localhost ([127.0.0.1]:50862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pU5cy-0001hg-SW for submit@debbugs.gnu.org; Mon, 20 Feb 2023 07:50:45 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39876) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pU5cx-0001hV-UL for 61613@debbugs.gnu.org; Mon, 20 Feb 2023 07:50:44 -0500 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 1pU5ck-0008Tb-W4; Mon, 20 Feb 2023 07:50:38 -0500 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=Mjs/uUxW1nuHput94lpEsE9D6gynbJCWIJ6VTN5DhKs=; b=Z7RIVptz52lo /EBe+QR4bnbGCkq+4Gj6ofU+6IONs+Z154ALTkKO9ivWeHq+RF0ah+iD6J2Puc1bXDED3FrsVjiua k+LD0qjc3NXjjueLdhciO2yaJlZTpKofCcOyRqGbOnI/69RbrJUT0ftwFNL2+O58dNAbYbPiXt/hl KXUtzmr8Apiet23m90UHqxfNHJG8LndrMKx2pUyypZTvCfi42PxX4OWO+m5nfxH7J5K8KWHBfB9l5 PJC5OBlk1H4UOVzm2QsAHVKkSe+JMwVia9bvQRivTT+nZDxYI/JdegOA3VDhLAftqcjoDCSQ25WPv AIhhk+efV9LzUmoCWRAs7A==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pU5cP-00077R-EM; Mon, 20 Feb 2023 07:50:30 -0500 In-Reply-To: <20230219213255.rhyiu44udzpgqsq2@Ergus> (message from Ergus on Sun, 19 Feb 2023 22:32:55 +0100) 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:256160 Archived-At: > Date: Sun, 19 Feb 2023 22:32:55 +0100 > From: Ergus > Cc: 61613@debbugs.gnu.org > > On Sun, Feb 19, 2023 at 12:15:49PM +0200, Eli Zaretskii wrote: > >> Date: Sun, 19 Feb 2023 11:09:04 +0100 > >> From: Ergus > >> CC: 61613@debbugs.gnu.org > >> > >> emacs -Q > >> M-x ffap-bindings > >> M-: (setq ffap-require-prefix t) > >> Write /somedir > >> > >> C-x C-f (you see: ~/) > >> > >> But > >> > >> C-x 4 f (you see /somedir) > >> > >> This seems to be related with the ffap-prompter called before the switch then? > > > >Yes, I think so. > > Hi Eli: > > So, what do you think? The fix may be to put the ffap-require-prefix > condition in ffap-read-file-or-url directly or in ffap-prompter?? I don't understand what you want to achieve by that, so please elaborate. ffap-file-finder's default value is a command that doesn't display the file in another window, so how will ffap-require-prefix help here?