From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#61613: 30.0.50; ffap-other-window ignores ffap-require-prefix Date: Sun, 19 Feb 2023 11:09:04 +0100 Message-ID: <2543743F-F7A4-4474-8B89-55E472577DB7@aol.com> References: <87pma6tlth.fsf.ref@aol.com> <87pma6tlth.fsf@aol.com> <837cwexb7l.fsf@gnu.org> Reply-To: Ergus Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39300"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61613@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 19 11:10:20 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 1pTgeC-000A4z-11 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Feb 2023 11:10:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pTgdx-0005Kf-PO; Sun, 19 Feb 2023 05:10:05 -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 1pTgdv-0005KE-5V for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2023 05:10:03 -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 1pTgdu-00009B-In for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2023 05:10:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pTgdu-0006ug-9E for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2023 05:10:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ergus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Feb 2023 10:10: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.167680136626513 (code B ref 61613); Sun, 19 Feb 2023 10:10:02 +0000 Original-Received: (at 61613) by debbugs.gnu.org; 19 Feb 2023 10:09:26 +0000 Original-Received: from localhost ([127.0.0.1]:45727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTgdJ-0006tY-Ke for submit@debbugs.gnu.org; Sun, 19 Feb 2023 05:09:25 -0500 Original-Received: from sonic312-20.consmr.mail.bf2.yahoo.com ([74.6.128.82]:38995) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTgdH-0006tM-Pj for 61613@debbugs.gnu.org; Sun, 19 Feb 2023 05:09:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1676801356; bh=jty2W+HGF6s1G3hA+lJOAnCn3INEaiwBx4cOAubOP/8=; h=Date:From:To:CC:Subject:In-Reply-To:References:From:Subject:Reply-To; b=BcHUTpPBetZyZp2QpzRJJgQkAONdFATAxoErsR9811kB+7dgG3BIh2yIllbmOzXmNRS6hNXzOqW4nCo0mIFnLqHMq5VE3usJF/ND91kyQlw2jq+dfz0sffrsgpHsOTJw9zNWsTQlT2+mNpBbzKyRtSN6WwAzP0cRsobG4XrexH8FpYajjza6Wdpi0YgyDWrgPWytVN3oizf1hXZKJDbOpTmj41Qm2UB5qh4TeHPnfftktRY1moRTZXWId2B4n73j8nPAIHtxUPGobQextU4bgmwwFMSInff3M8iXG/j29h6RMmxNQihgi2yRnCtqVuMm8T6coHReBWt0Q2ScdxymBA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1676801356; bh=qdqy1FeLoFLmsNImAxVdqcEcChJwL5EA6fBWi0uVj4+=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=rr9Lnq6LT37FHSkh4ycATrwawsNuflC+c83S2THt63Uk7Q1FBBXbvB5+Z1NKwwUdtDqRd/6icMQuN4O4rq/p9X7shKF58ns9x5M2XARJECA3jYBQd3ZWqFfXPxrJc8NWes12XyCDQQfJIMD3wTRqDFsAC9+umPIH+b0uF0OK+H9IHRXxhgr59d4duv3FEhNwAKZKpCF69sCG6mvGtt+XJqdTobapbDnGdlcp1fI6tr633qikHy50LQnJos4YG34RLSKQOeSWN7YoBVljufsbMO9Zu9BWmhyY//lS39Zj1qPYvX6mHLesq4RE1p9UVMFF8Eir8KWLy8ANCM6rNIqn3A== X-YMail-OSG: KDU6QpwVM1lyJ1PsjjU4YuVOgsEnmXhtpEpFLP0s0CVoURYE_6NhHPjFvmWhXLl ZYoe1xoV1vWF.pf7MjyevUs6RhK.ZqlFDkkIpK20Zmyz8tANC3q7LHOta7neJcY4njcXL1HSiHNH O5W4nlI9TM8A9XJLrYCUXs2NycdyK16EyVMGAzI6XOm.lM2n2dD1tPwFNtHGQMg16V20qOqjfIPw YblcixAeyYmjLgJDgrUoNOBLX8J2CKwgO1AyKZY7kvherCLTsH47rh5Dlty.ggC_5LRX56D8tsM_ p8KPGdLcn4ZjaG1kXI5IMpxmYhCxWYvPkuzwzp6lADsPkiayeFRVKrK52c.AZ8.BVnUzwqtBOPmW YknxL22K7jPK_a8ZTsoSmaI7PTB7rRL7M577Au_3MTd1esP4wDKwtOA6ks_STuWwWW.t7Hgif7x1 jkSitO8WkYC56PsZ6WwgZV_l3jijc8EmtSfOE93AljGwRn3vB9P9jlkS3Oc1iqylYgen2AER4g83 WN63zdFTQ3exgi3HEd9v_xdH1ismmfAPzFUNdrIgoRDLgLj.Av1ifis6kB.m8QOv8pvnFWZnf3Ew Q4fqPFWQi.MLqzfRc6y96UcTAEiylr_YxyO__mSYIZj.lW4TEn_AH7Nebf4eiXnlvi8vvvU4WRG1 Ghkq6rlTg66V71Xt1oevr6ti4xdnnU6a71P1EubJYRWvyvJRTPNQUA_ipvm2cIAUs8tNtb2vHZVd av3q8SizO_CrNB95ZIffhFOMBbwmo4dCQKxxkF_Rpz7GvM7ZfgmwV0GWP_8bDJ2swjAjTWrSQ6SN APhqeM0XY6aH0NUyMGLogxL6cmZ8vxO2CrRXCnW3JO X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.bf2.yahoo.com with HTTP; Sun, 19 Feb 2023 10:09:16 +0000 Original-Received: by hermes--production-ir2-65c64dfd66-2jlf9 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID e694009506f56173228d3ccd4da90dfc; Sun, 19 Feb 2023 10:09:10 +0000 (UTC) In-Reply-To: <837cwexb7l.fsf@gnu.org> X-Mailer: WebService/1.1.21183 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol 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:256043 Archived-At: On February 19, 2023 10:21:02 AM GMT+01:00, Eli Zaretskii = wrote: >> Date: Sun, 19 Feb 2023 03:45:30 +0100 >> From: Ergus via "Bug reports for GNU Emacs, >> the Swiss army knife of text editors" >>=20 >> I just found that ffap-other-window ignores when ffap-require-prefix is >> non-nil=2E >>=20 >> Looking at the code it seems to be that find-file-at-point has: >>=20 >> (and (called-interactively-p 'interactive) >> (if ffap-require-prefix (not current-prefix-arg) >> current-prefix-arg)) >>=20 >> but ffap-other-window calls find-file-at-point no interactively=2E Same >> for ffap-other-frame, ffap-other-tab and so on=2E=2E=2E > >What would be the point of supporting ffap-require-prefix when you >call ffap-other-window? That variable controls whether to invoke >ffap-file-finder, which is not suitable for -other-window commands, I >think? That is why, AFAIU, when not called interactively, >find-file-at-point doesn't call ffap-file-finder at all, and therefore >there's no point in heeding ffap-require-prefix=2E Right? Hi Eli: Yes, that's what I expect, but it is actually offering the completion when= using the other-window alternative=2E Just: emacs -Q M-x ffap-bindings M-: (setq ffap-require-prefix t) Write /somedir C-x C-f (you see: ~/) But=20 C-x 4 f (you see /somedir) This seems to be related with the ffap-prompter called before the switch t= hen? Best, --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E