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: Documentation by function beyond =?utf-8?Q?elisp=C2=A0?= Date: Thu, 09 Mar 2023 17:48:45 +0200 Message-ID: <83lek60vtu.fsf@gnu.org> References: <4Rj4EZNhsddTjHzoYuycFzMpjNTJjjwmdDcAgyuMcSFsBePmPBTtlxUENKjf4W1xOVcdDeZIFfHJxD9uRInDURGMdmiIPJ_BB1BvgQ8ylJI=@protonmail.com> <83v8ja15ap.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2728"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: goncholden Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Mar 09 16:49: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 1paIWe-0000X8-D4 for ged-emacs-devel@m.gmane-mx.org; Thu, 09 Mar 2023 16:49:52 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1paIVn-00016s-KW; Thu, 09 Mar 2023 10:48:59 -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 1paIVl-00014F-Ex for emacs-devel@gnu.org; Thu, 09 Mar 2023 10:48:58 -0500 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 1paIVk-0003Qm-Vm; Thu, 09 Mar 2023 10:48:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=r4acGVT0bRQJbFRaAp5swPMcsKBEaGTTnszCkWPxfz0=; b=VkUE4P1yjPXMfKEQipIl DP/5IbkvLQe3bg84euEoGE3yGxkh3aocYsDym8dJAX6kwPXJgXR41xaWaq/a0VCBl+pZ50b71EOI7 S2xREcDUTXj3WzmxcemKZmwiMAcWr6WxMOLvC9dUZargXCBcwsinFep5VGewitkZHZvVaK/LFzu9b n/2mNg7mXq/8iUMG3VhDUENY4NgnjLHNBdY+Soy2RQmrhQyIEfdRKnAO6Og1cCnS73tiEc9MNOQMG AsaK1K/q3aLDwvvbHagWIBFsH+fJaegVRPmzxay+9LhP6lndFjz2o+CmwCWuPEsOdNo1yhPNlh2hE Djx3Hjee5qVXMg==; 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 1paIVj-0004fS-Le; Thu, 09 Mar 2023 10:48:56 -0500 In-Reply-To: (message from goncholden on Thu, 09 Mar 2023 13:01:31 +0000) 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:304210 Archived-At: > Date: Thu, 09 Mar 2023 13:01:31 +0000 > From: goncholden > Cc: emacs-devel@gnu.org > > > ------- Original Message ------- > On Friday, March 10th, 2023 at 12:24 AM, Eli Zaretskii wrote: > > > > > Date: Thu, 09 Mar 2023 11:33:02 +0000 > > > From: goncholden goncholden@protonmail.com > > > > > > For elisp files, emacs has the capability of showing documentation by function. A valuable tool > > > would be to extend such functionality to others like bash and awk. Perhaps one can come up > > > with something that could work beautifully. Have there been an ideas for such capability extension > > > before? > > > > > > Did you try "C-h S"? > > That does not work for user-defined awk functions, complaining that a function name > is not a symbol. You could teach etags about Awk programs and shell scripts. Or maybe some variant of the tags program out there already supports those, in which case Emacs should be able to give you what you want for free, after you run that tags program on your Awk/Bash source files.