From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Howard Melman Newsgroups: gmane.emacs.devel Subject: Re: Adding missing C-x 5 C-j and C-x t C-j commands Date: Wed, 8 Jun 2022 08:27:33 -0400 Message-ID: References: <87a6b9xs22.fsf@athena.silentflame.com> <83fsl16l5l.fsf@gnu.org> <871qwkyhfx.fsf@athena.silentflame.com> <86v8twyyx9.fsf@mail.linkov.net> <86mtenmzea.fsf@mail.linkov.net> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36186"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jun 08 14:28:55 2022 Return-path: Envelope-to: ged-emacs-devel@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 1nyunt-0009Bf-Py for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Jun 2022 14:28:53 +0200 Original-Received: from localhost ([::1]:49572 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nyuns-0005yX-Nu for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Jun 2022 08:28:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyumi-0004UD-0H for emacs-devel@gnu.org; Wed, 08 Jun 2022 08:27:40 -0400 Original-Received: from mail-qt1-x835.google.com ([2607:f8b0:4864:20::835]:34797) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nyumg-0004wP-FM for emacs-devel@gnu.org; Wed, 08 Jun 2022 08:27:39 -0400 Original-Received: by mail-qt1-x835.google.com with SMTP id c8so14757181qtj.1 for ; Wed, 08 Jun 2022 05:27:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=4KVjjsTJkNnOaHUQaOlBRr45vRtWXJ7s0LPHbYSQCm0=; b=dyziVtadl/o/BQavWqrXfNU5S0l7R7KnX/+VbaVo7xT/0ACCcerfijsruEeUXTQcja alNnQiWgTw2iBWZc2/jNSdUDv4wjneO1S/GUKW4ft1iJ0HqfohuYUwWDICz6PqFgmaQ2 oTL4OfW6bvIkoTyk3fav3SyX+YjvIssfryQ28olEpjNicXOoMIBHj9y1bJadqsH/wM1Q r2eKRJp5MyK02e3I/r1WRDe6wTxpvuhEqcdI7HdKXaRIg/t7FodzsykTmVOel8p1XZzD McFYLrNP5cvNRHavTrtfdTfjm+aIm9dwCx2/NkIDqIMCu4SPfBjkEImWTm+cPRaI/pMx bxtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=4KVjjsTJkNnOaHUQaOlBRr45vRtWXJ7s0LPHbYSQCm0=; b=J4Qs82ZAZ7uoaSnVOwjchDif+BHyji+SH2m4vQ2GTPLJsUL+5YxpQ6kgNPWO+3PiGB G0UJqRtDf0NCaUYbevGDF4WJ3pgm7Wm8Yw8RR37gQ7LdZbF6MKB2ZpEXCpy+UC7mm0wq EC/QpwsJE5TLHZZxq7uH+iStD9bLa2ARolDFkMfb70k7spXTEhLbur6xNKPNPelIn4J6 3C45LhNIOW1GOCKTsjNqJ1RXTfuODHx6OSAPVQRf9NQZmwP/IgRGgME5q2667C7t+xF3 eKIybBWj6kBj9R7FQnBAbFp3EiFkTOw24a6FWxNoMHTADnmJuO2cszHbnzBZ1zG3lVpP Kq6g== X-Gm-Message-State: AOAM533ppjqoew2jdBnHtDzywoYqzgtXAVyB70EudqRDUaggqxDSb+i/ wSX45ZEULth6FO1CG2tq1422M3RV0Es= X-Google-Smtp-Source: ABdhPJzEbJiZT3Er6CW/KGPxorS5RcSXSXf8a2L+RaQsi4hrg6zB/l2Ct9hjxhau48uIeu/mUKYhVw== X-Received: by 2002:ac8:5f91:0:b0:304:df67:c780 with SMTP id j17-20020ac85f91000000b00304df67c780mr21875891qta.248.1654691255813; Wed, 08 Jun 2022 05:27:35 -0700 (PDT) Original-Received: from smtpclient.apple (pool-71-174-239-102.bstnma.fios.verizon.net. [71.174.239.102]) by smtp.gmail.com with ESMTPSA id f9-20020a05620a408900b006a71815a45esm361275qko.95.2022.06.08.05.27.34 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jun 2022 05:27:34 -0700 (PDT) In-Reply-To: <86mtenmzea.fsf@mail.linkov.net> X-Mailer: Apple Mail (2.3654.120.0.1.13) Received-SPF: pass client-ip=2607:f8b0:4864:20::835; envelope-from=hmelman@gmail.com; helo=mail-qt1-x835.google.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 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, GAPPY_SUBJECT=0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:290920 Archived-At: On Jun 8, 2022, at 2:40 AM, Juri Linkov wrote: > >> I have a question the other way. I forgot that `C-x 5 .' >> exists and tried `C-x 5 5 M-.' and was surprised to find it >> didn't work (it opened in the same frame as if I just did >> `M-.'. Is it supposed to work or should I open a bug? > > It does the right thing after customizing > switch-to-buffer-obey-display-actions to t. Yes I see that too. > Maybe its default value should be changed to t? At least the docstring of other-frame-prefix (and friends) should be clearer about it's effect. I don't think I'm supposed to know which commands use switch-to-buffer internally. If the default value isn't changed, maybe other-frame-prefix should let bind it to t since if you're using it you presumably want a new frame. Same for the window and tab variants. project.el seems to do this in project--other-place-command which the project-other-{frame,window,tab}-commands use. Howard