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.devel Subject: Re: Control help- and Info-mode buffers from other buffers Date: Thu, 01 Jun 2023 13:04:44 +0300 Message-ID: <83mt1jcxc3.fsf@gnu.org> References: <87h6ruf09e.fsf@ledu-giraud.fr> <861qixbum2.fsf@mail.linkov.net> <86wn0opgpi.fsf@mail.linkov.net> <86ilc78zc2.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34375"; mail-complaints-to="usenet@ciao.gmane.io" Cc: juri@linkov.net, manuel@ledu-giraud.fr, emacs-devel@gnu.org To: Arthur Miller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jun 01 12:04:52 2023 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 1q4fAp-0008iR-MU for ged-emacs-devel@m.gmane-mx.org; Thu, 01 Jun 2023 12:04:51 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q4fA2-0005Ob-IB; Thu, 01 Jun 2023 06:04:02 -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 1q4fA0-0005OL-Kk for emacs-devel@gnu.org; Thu, 01 Jun 2023 06:04:01 -0400 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 1q4f9z-0000BA-7B; Thu, 01 Jun 2023 06:03:59 -0400 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=v2Qr5qqJ4YKoKYHgCZrfrRPbkZV+/ENxgVhIhKHDDMY=; b=LIihQ9xOXjAx GfLALPPG4dZGH7gqwFMFK9KY/vxU55RFaekN080/Gtu1sTOMkBmfjNrdpMalLBb9/3sVBt6UNrSs9 WbPPMEWS4tHhOthHm3jyozN3UlZZ8Nt2U8+7KfnkGBcOBogiUbphZ6cRB/Tqfh3wuf6zBIsJDSaUZ 1+BV0+OlFotrEZz+MjiojpUWJlvmHIC6ENbZ8Bz1Jy1X8j4fl4t+0WwRGAh0t1HFqbvtay3gM7Y8O bGYEBY6JHv5ZWYANbWwJwS9j1UEvVOrJE2oDHmeEWDSdqLnNrbvESNIq/l/9uRcrgYM04KPguWCk/ /bydZtjlsR3W1YYzuBKcqA==; 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 1q4f9y-0001Fz-Me; Thu, 01 Jun 2023 06:03:59 -0400 In-Reply-To: (message from Arthur Miller on Thu, 01 Jun 2023 10:50:36 +0200) 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:306502 Archived-At: > From: Arthur Miller > Cc: Manuel Giraud , emacs-devel@gnu.org > Date: Thu, 01 Jun 2023 10:50:36 +0200 > > Another problem with the above is that this will work only for 'other-window' > for which Emacs has an algorithm to figure out which window it is. But what when > you have more then two windows, and wish to switch to a different window than > what Emacs considers as 'other-window'? You will have to prompt the user, to > choose one. Not necessarily: since the commands know they are about *Help* and *info* buffers, they could find the "correct" window themselves. (The case of more than one *Help* window on the same frame is rare enough to be ignored, I think.)