From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Patch proposal: display symbol source code in help buffers Date: Tue, 21 Sep 2021 10:34:34 +0200 Message-ID: <3438b87f-b24a-3bc3-871f-84818868d445@gmx.at> References: <83bl4n3hys.fsf@gnu.org> <87fstz3g6z.fsf@no.workgroup> <9ada9a31-4e44-7941-e9a2-ada86ba4e36e@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40912"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Arthur Miller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 21 10:36:06 2021 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 1mSbG1-000ATs-Vb for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Sep 2021 10:36:05 +0200 Original-Received: from localhost ([::1]:57666 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSbG0-0003on-Vu for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Sep 2021 04:36:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41216) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSbEf-00025r-Vh for emacs-devel@gnu.org; Tue, 21 Sep 2021 04:34:42 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:60117) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSbEb-00047B-QD for emacs-devel@gnu.org; Tue, 21 Sep 2021 04:34:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1632213275; bh=SicgOfl8it80s20DjGj9OmuttG4XqhmCfObX9lIP00Q=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=gzKLP3FMa/7ZVZH4PASUoKjRyjAzqnJ11UzgpfXooQhfLNmrU8g60IEFwQlXRGM/6 qQStLMm/MaOpO7aWksuyeEIt62VVomVLg9S2ITkPXAkFfNfRdvzIR6y0OErZ7vA2os dZKck2wN03Wr3QxmWYv/ugI8KNfE8YMp0JTShids= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.101] ([212.95.5.162]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N79yQ-1mwF6d0YIO-017TGP; Tue, 21 Sep 2021 10:34:35 +0200 In-Reply-To: Content-Language: en-US X-Provags-ID: V03:K1:NXrKcEZivM7nNRRf6iVilrsjWD4l/14qrG8MO4YSbSPp5YT32+x tBrNA0fPNUTziRwbKPt39+H613oYf9IzBSJNQDphq7/eCLfVsWAw6HyZYDH7kMIASR9w2Ip rTxn/FyjTel1M0XgVJOcF10T4fheNRLh9KpVkBsgFMRWtt/okurIgUoGZSll9eRa/xYfhF6 Xj+jp3NfT9aZaHRkRdjLA== X-UI-Out-Filterresults: notjunk:1;V03:K0:smtnkZY8lG0=:1ifS0B6SoyYL09aO8MTYED akMiPv7v2btRB7ovI1RlgzQXkNNGNLvXhS/ZzkWKz/IAAq+DEUbxds36Y7u9fIUJXWEaB/9Yf hsCmv2ADtwS5izbx8T/2XeMSL/m/OniL8/BRcRp941ZneYUJoGCSc9nHR/u1Ck21L4/zPN940 P5Jp4Tw0+K2RJ+nNHIQo9Nz+plzfC2jF7S8mS1VWYCq22alndODh8V0+DIKnK8aSSPNJDkMbS cUjlaQyyakSCAiCPjWpvRrCxd4mJ0Yxs6aG8FcSBw6j6BCECYhZZyrZ00bpWmfTyFNBlgCnNB DPTVg6PdeqcdWIPiNDTo3F029Eu8WI9hScFPioE8F2oPCIOTFL8Ibs7ji38VCsFaDSEHnWY/t bJl/dHJCOP8wQYeHGVRA1YWV7ki8BnAsRz2Ckwb/hJ5phZluYPGzZIKQffXyVoOdDnmELVba4 9osZu2VLAX0hxl4i8kMNFKIVM7wWGb8DnIYn37tR3NjOFkzyOEhTL/63HKarDXRe3FqgVW94X Hh3uQa7raHJZRnMQl3IrCAzuC4eVslf4TnjO4Ngj4m0MosKuQJAOinC+ArxjlIgqnYnA9yESw 2+SFQ3f6PePZJC2hioe5FwTIDf+/nAUtuJ1AAau7abGj9JvGuPbsiIjP2G4qqpOnQzwtsI3U8 qkJBkg45IWy9dsls+5OuGleNOSWR3bYlIqdL2wQ3zG/i6Xf1Gb21h2L4DWF+sapzp6iuMxzHq x7Qfg8f1Idl+qKV0oteVV17fV2OtET8F+8mP8+Se8VdoHq1rOdh/R+c0bqCkLeeRcbeIXFgH Received-SPF: pass client-ip=212.227.15.18; envelope-from=rudalics@gmx.at; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:275207 Archived-At: >> If you fit the window showing *Help* to its buffer, there is no room >> left. > > It would be nice to make it fit to N lines in height, and C columns in width, > i.e. to make it fit to certain size. Who would specify that "certain size"? >> . Where to pop up the location of the source and how to get rid of >> it is a question we currently discuss in Bug#9054 and Bug#36767. > > There are so many discussions here so I wasn't following those. I really don't > know what you have discussed there. I come to this from my own needs. Similar issues like how to navigate to the source of a function or variable from the current point of the user's interest. > This shouldn't be by any mean in collision what you are saying here. What you > describe, as I understand it, is to display source on-demand, in help buffer, > which would be very nice too. What I have done is to display by global > switch. It would be still useful to have on-demand display when global switch is > off, and it would be trivial to re-build the patch to include that. I can > rebuild and send new one. I have found a bug and I need to rebuild-it anyway. I > can also refactor it and add an interactive function that can be boudn to a key > to display only sources in help buffer. And if global switch is on, and sources > are requested, it can function as a "narrow" button, i.e. fit only symbol source > to the help buffer. Would that be interesting? What we should establish first is what users want. Eli and Lars have explained their workflow in the threads I cited including how and why they want to go to the source in the first place, where to go from there and how to return to the initial state. Few others have so far. martin