From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#25461: Missing doc strings for "," and ",@". Date: Tue, 17 Jan 2017 19:56:27 +0000 Message-ID: <20170117195627.GA4169@acm.fritz.box> References: <20170116212257.GA4747@acm.fritz.box> <3w1sw11nwn.fsf@fencepost.gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1484683052 18671 195.159.176.226 (17 Jan 2017 19:57:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 17 Jan 2017 19:57:32 +0000 (UTC) User-Agent: Mutt/1.5.24 (2015-08-30) Cc: 25461@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 17 20:57:28 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cTZsU-0003Aw-Or for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Jan 2017 20:57:10 +0100 Original-Received: from localhost ([::1]:37387 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cTZsZ-0007u0-LC for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Jan 2017 14:57:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53728) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cTZsP-0007se-OW for bug-gnu-emacs@gnu.org; Tue, 17 Jan 2017 14:57:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cTZsM-0000wQ-Kk for bug-gnu-emacs@gnu.org; Tue, 17 Jan 2017 14:57:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41327) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cTZsM-0000wH-HM for bug-gnu-emacs@gnu.org; Tue, 17 Jan 2017 14:57:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cTZsM-0007v6-5D for bug-gnu-emacs@gnu.org; Tue, 17 Jan 2017 14:57:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Jan 2017 19:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25461 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25461-submit@debbugs.gnu.org id=B25461.148468300530419 (code B ref 25461); Tue, 17 Jan 2017 19:57:02 +0000 Original-Received: (at 25461) by debbugs.gnu.org; 17 Jan 2017 19:56:45 +0000 Original-Received: from localhost ([127.0.0.1]:56726 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cTZs5-0007uZ-1A for submit@debbugs.gnu.org; Tue, 17 Jan 2017 14:56:45 -0500 Original-Received: from ocolin.muc.de ([193.149.48.4]:53205 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1cTZs3-0007uR-LQ for 25461@debbugs.gnu.org; Tue, 17 Jan 2017 14:56:44 -0500 Original-Received: (qmail 96652 invoked by uid 3782); 17 Jan 2017 19:56:41 -0000 Original-Received: from acm.muc.de (p548C72E2.dip0.t-ipconnect.de [84.140.114.226]) by colin.muc.de (tmda-ofmipd) with ESMTP; Tue, 17 Jan 2017 20:56:41 +0100 Original-Received: (qmail 4680 invoked by uid 1000); 17 Jan 2017 19:56:27 -0000 Content-Disposition: inline In-Reply-To: <3w1sw11nwn.fsf@fencepost.gnu.org> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:128176 Archived-At: Hello, Glenn. On Tue, Jan 17, 2017 at 02:34:16PM -0500, Glenn Morris wrote: > Alan Mackenzie wrote: > > With any existing Emacs, when I do > > C-h f , > > or > > C-h f ,@ > > , I get the response > > [No match] > But they aren't functions, so I don't see why you want describe-function > to report on them, or indeed how that would work. I think I want some means of displaying "their doc strings". They're much more like functions than variables, so for lack of any third option, C-h f seems the best way of doing this display. I've hacked out a solution for this, involving defining defuns to hold the doc strings. I hope to post this patch on bug-gnu-emacs later on this evening (European time). > With this and 25462, it seems to me that what you want is a > (context-sensitive?) type of help that does not exist yet, which would > report on special syntax used within macros and such. No, nothing so general. pcase has introduced a lot of confusion (for me, at any rate, so probably also for a lot of hackers who aren't Emacs contributors), so I would like the doc strings to reduce this confusion as far is as reasonable. > (Both , and ,@ are indexed in the elisp manual, BTW.) That's as it should be. -- Alan Mackenzie (Nuremberg, Germany).