From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.devel Subject: Re: Control help- and Info-mode buffers from other buffers Date: Thu, 01 Jun 2023 11:16:50 +0200 Message-ID: References: <87h6ruf09e.fsf@ledu-giraud.fr> <861qixbum2.fsf@mail.linkov.net> <86wn0opgpi.fsf@mail.linkov.net> <86ilc78zc2.fsf@mail.linkov.net> <834jnrek7w.fsf@gnu.org> <86v8g77iof.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29321"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , manuel@ledu-giraud.fr, emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jun 01 11:49:24 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 1q4evq-0007M2-BL for ged-emacs-devel@m.gmane-mx.org; Thu, 01 Jun 2023 11:49:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q4etr-0005IX-SL; Thu, 01 Jun 2023 05:47:19 -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 1q4eQT-0006GM-Fa for emacs-devel@gnu.org; Thu, 01 Jun 2023 05:16:57 -0400 Original-Received: from mail-am6eur05olkn2080.outbound.protection.outlook.com ([40.92.91.80] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q4eQR-000438-5H; Thu, 01 Jun 2023 05:16:57 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H08KJWcmnRBZQkgPBypt9HVehPU1IJxDGVpF5fZcvVp7m//K5n1mT2uqGJS81OC8RMiQ8z5aCgGs+qw/7d9ghVJfgQxnT+a+S/HjW86I0Z5u6eJ541tSKBW0p04WTUF7IHBo4QQ1xIBxlFz0J3a0Ml48fIEg943UoUXIAOlpxoGIJNAUwW7Jp32M19rm56u3EIpVQu0J204pJGsHDxahEDEYpd+vr41e/zZhsA2Kij3NY0qwiIc1Gom4h7hUCv8ntyEb234Qnfmf7II+vX31NgYPEw0hWGAajmkKRxTDHo1fSyUnjvBHjk/cupFl6JZ2xvEIz2KAtx16Bi8r2C1VDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=k1tGpe3zGiMHyOYSofH5HExLf0gkOikalXpqAu/cnwI=; b=nhoeYtLVBRXAI8WfV0ZbxSzrxzfAuosL3T6PSRl4FL04pk/bY9uTwXyklXDxAMCSX9z4N5y5L7exR8z6Xvb7Xs4cNSo7i0Km9BI08dGES7TWYGcJsQzkQH944zEgDKQxI5ayaM5BG/+LejubjFXikTBLQqXN7+xmc97cDejUdgKWtrAlakCzAMczOP46wQ1DsClmUV6hq3OOpoHaUfUls8I9WXzsXt4qV5w//dxYVsy+jEfW3JVG7pcPVbJFtJ/FPUoVinrdbSfZzXqVT7TzC0iRjvTsoyDh9oJSJTrT1/qUTwqCsVFM2LnnDuX9sb6DpX6u1bE6LSUwHzFx1zKoUw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=k1tGpe3zGiMHyOYSofH5HExLf0gkOikalXpqAu/cnwI=; b=ohFsRSJ+i5BwjXiTz6oBzkbe/IlAaCiPc97RJwPw2Rny4Gshsehfk1uSLBVnVnafMXjlAOt9qvN92tXoP5ouPxshjF9tgTVdHfeGaOqqR/o8yCmN6ANDeTa5X+2qT1NDyJWN3Nh4uUrS1th+1VVe0pwFqSlXVYZ3gXK7Ad/IbU1/Z0ck4zHhWDSfCCiiuTW6gYtoAPUxMmazoAizDhQ2iagIYCZDbHUmiVA+Y0MEBbV1ja43uDDFJOzGOWoMBGodgSeoW85cfgm9nyKwiGJfYmI6I8z+GQl0NDE2ZtJUl+LO4Q0oV+bAPizIeOEW5qnpTWvD0I6z3MNcdOq1l+mXbg== Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) by PAVPR09MB6425.eurprd09.prod.outlook.com (2603:10a6:102:306::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.24; Thu, 1 Jun 2023 09:16:52 +0000 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::6983:1def:fb14:21bf]) by AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::6983:1def:fb14:21bf%6]) with mapi id 15.20.6455.020; Thu, 1 Jun 2023 09:16:52 +0000 In-Reply-To: <86v8g77iof.fsf@mail.linkov.net> (Juri Linkov's message of "Thu, 01 Jun 2023 10:20:16 +0300") X-TMN: [8CooGgMTFkKfeCHW2Qrj+qoEjuxi7rtw] X-ClientProxiedBy: BE1P281CA0103.DEUP281.PROD.OUTLOOK.COM (2603:10a6:b10:79::20) To AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) X-Microsoft-Original-Message-ID: <82r0qviltp.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR09MB4977:EE_|PAVPR09MB6425:EE_ X-MS-Office365-Filtering-Correlation-Id: c4d98fe1-1e07-40cc-f024-08db6280ef65 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: B/bB+MWa02JijefMBZdI9y74KysPXADQWnpGDbM2ND2uPBr7HQcYkMTlZLugKgb9VHNYTw6GPYVTFlNfmZGuIDMrQU0qsmq3COi7G9+AwEDDmOO5XufnODyLEyMsTrnl7FCAMExVGxyYuRX3aPWltJsaOGihpUjjhnRpNwbgHfDrdbZEE+oa7DMwhHBdxc+JoDauaLSQZBkBW3kzAmyQVq6+3A9HJ0FUD3PR8gLg+ThUBY9SdqMXuPNDi0qPicZzPq3S/mmOd4sISmSzDLHqFw6VEJAkCTPchkcTw3TUqAzuRNXZRCN2aiTQsUll8vKvEYN3XNOsisosblVw1pHsvRqaozpT7M15BRCowVIM830PmcN2rCsum35gnYbIYlkpZBqDxOyMN1pF3rQifQtCLZx3eBya/GBif81Je7u+8hNH5/vrszRrhYEwkkzczjroxbtbB/5TDx3SkpiZc2SqhpzR5Z0/w/cOnK0ukgfRYRoYDh+bvKr81cihwtTky21NSXmNUiyhrk7r74g8YP/ooH1MBQFf9399yMHkV6rqDtJdlORLI05dR4XAj6VaHsxAU4YyeoR5iOQmLIzzhTfk/22cOxhCr490wZpghaZ5VLIG1dpAg6z7jzMbxsuLtQok X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?gb2312?B?NHh4cHd5L202aGx3SXJRZXlhRFpmSWExM1dJc0tjMk1uRXlUK0NCdmJyeDB3?= =?gb2312?B?RXprdktSSUx3SDJ1N2FCbUZvNUV5QlZqMk9rZGdXMnIvVkVXZUd2MDhiTEE5?= =?gb2312?B?eDB1S2hoemcydTNodW5WcDhsZHE2Y0pwejlKWFJwQ3hHZmZ5NHoyQTVESEZq?= =?gb2312?B?NFlTSWdCN29jaTdFbWw1UXMwdktleE9aUENrMzFIbnB3TzRTcndzMnFYdUtl?= =?gb2312?B?WlVpbFBIUm15ZGZhVTBVNnlkaU03bWZreXJXaldBempQM1R1MXlaclVSbTFI?= =?gb2312?B?LytQdWIwS1o2OWxOY0czNU1sSnV1dk1oTUNDVE9VODg5M0FTMUtNakptRTk2?= =?gb2312?B?RllyNlJRMFY0bllYWURoeTBPdnd1WWxyMVFFMFNZREgrczdVdVhnSlNGSUxk?= =?gb2312?B?eGVodGd3Mm5aWkprbkVUVysyRXdWZkhUcmN6U0hKQ1BlZnJiWkZVdEt0MXIv?= =?gb2312?B?dHpQOEJjVENyTVlYNFVTSG5Ia21pL21vNjBvSHlRSEFNSU5CU1QxYUtiSWZP?= =?gb2312?B?Vi9oWlBBVmxhU2VJekg2WDNaRXBEVnVvMmxmTGZvQzNxWlBQY3V4N1VwclBt?= =?gb2312?B?dWJTdks1V1lHV21uWHFJVUUydlAvRGdmcXNOZjNlYmwwSlZRdzU2N3Z1bU9X?= =?gb2312?B?WFFNdSs4OEJITjBLTTNVQXhIbU X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-64da6.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: c4d98fe1-1e07-40cc-f024-08db6280ef65 X-MS-Exchange-CrossTenant-AuthSource: AM9PR09MB4977.eurprd09.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jun 2023 09:16:52.0483 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAVPR09MB6425 Received-SPF: pass client-ip=40.92.91.80; envelope-from=arthur.miller@live.com; helo=EUR05-AM6-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 01 Jun 2023 05:47:17 -0400 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:306499 Archived-At: Juri Linkov writes: >> What about using the "C-x 4" prefix? We could define a new prefix map >> bound to "C-x 4 h", then have all the bindings in *Help* be in the map >> prefixed by "C-x 4 h". For example, "C-x 4 h I" will run a command >> which will produce the same effect as help-goto-lispref-info, using >> the current *Help* window as its starting point. >> >> We could support "C-x 5 h" prefixed key sequences in a similar manner, >> for people who have Info buffers or *Help* buffers in another frame. >> >> WDYT? > > 'C-x 4 h' and 'C-x 5 h' are quite mnemonic and convenient to type. > What I tried to do is to adapt this to windmove to support a window > in any direction, but in any case they all could use the same > internal general function. > > So this allow to support more commands than the currently limited set of > scroll-other-window, scroll-other-window-down, recenter-other-window, > beginning-of-buffer-other-window, end-of-buffer-other-window. I forgott to type in previous mail: In general, (I think) that allow to support commands that are available in selected-window, to be executed in other-window, but does not have access t= o commands defined in other-window, and naturally we can't executed commands = from selected-window if they are not supported in other-window. With other words= , if set of commands from selected window is S and set of commands in other-wind= ow is O, than this will work in on the intersect of those commands, S=A1=C9O. Per= haps there is more to it, but I think that is the minimal requirement (the commands ha= s to work on both buffers). Potentially it can also result in many bug repports and /r/Emacs threads wh= ere people wonder why it does not work some command Foo in other buffer.