From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: master 49192e9: Strip "(fn...)" from output of `describe-mode' (bug#38222) Date: Tue, 19 Nov 2019 19:47:15 +0100 Message-ID: References: <20191119101930.28082.63466@vcs0.savannah.gnu.org> <20191119101931.EA4E2209BF@vcs0.savannah.gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000051f4b10597b78048" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="14994"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Emacs developers To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 19 19:48:01 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iX8Xg-0003kj-TM for ged-emacs-devel@m.gmane.org; Tue, 19 Nov 2019 19:48:01 +0100 Original-Received: from localhost ([::1]:50664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iX8Xf-0004JZ-7X for ged-emacs-devel@m.gmane.org; Tue, 19 Nov 2019 13:47:59 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40128) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iX8XZ-0004ID-P2 for emacs-devel@gnu.org; Tue, 19 Nov 2019 13:47:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iX8XY-0002HD-Tj for emacs-devel@gnu.org; Tue, 19 Nov 2019 13:47:53 -0500 Original-Received: from mail-qk1-x734.google.com ([2607:f8b0:4864:20::734]:44118) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iX8XY-0002Gv-O4 for emacs-devel@gnu.org; Tue, 19 Nov 2019 13:47:52 -0500 Original-Received: by mail-qk1-x734.google.com with SMTP id m16so18784219qki.11 for ; Tue, 19 Nov 2019 10:47:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NMjxMDdDfTG/dFlBoCza4+7cpQ5fIosHMKaNYeQsd0w=; b=grGe1JCGCPv8m6IGkp0MtX2HHcE7WsolndK8e/h90vDp0xlbj4k1rfp6NuctfhS/ft 551ZEgTL9Lbc/PtX7RVe/f2F5zJKAGvlQLUymzC2Ek73NdsHoDbJpJ07RsGesySz80aO INeMP6lxjvyYoZ574I/9pFoZUjWzXpvBgLj1EhEbJaEYaXclZktVEM27j965KW40CJto PTO31O+MnYnxYTi4nEMjNljQZI6/ODVwO0davqTPC5qvDzwt6R6hMmAuRcB7koyKs0g1 ujLfQW4o/eLaNIWoUGWQ/OiI2ESHAbA5DwBRytpzShwMk0b+T0qb2QZ/kfaD43bjRg6z 9eew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NMjxMDdDfTG/dFlBoCza4+7cpQ5fIosHMKaNYeQsd0w=; b=S2eh3ZcKJzZANv3sp52bBjtpdE4U6/SipogwDqfVoo8og6JtQLG2KdwXQ7aD0RK6MX gijXJlnxKgsrXl8e7c+5f+8EtOQ0v7OWAt3hIY7JVClUC+TtwiwePL7ubatHb9pSJfHd pzlEpMa9zrCQJd2niNpAAH3GhdxzQVPxrEpf9wa03LUCE2qVe7aF1PXnMP/3pKeExBhD 8hDmwpku9Yg8SPg3isUj3sdBfR7ypRawgrzm2vcUvUOQ70X3DbMiCTTCP0aCadfUXFIJ QB2tM70LudeFUL80IRaFO8Ge5kqSw2e2D5egDN5N+l7W9xb6IqXHHHWlMhOGMwWykyJH 3OQw== X-Gm-Message-State: APjAAAWUncqLU6K2zvt6EgILEY0Jv5Uk6jR/H2TzKdkWSsqwHkdQHJ49 GqjmVkHvWkYLLcR2N2STA1ZklxtL2ZwCR/PMqqkwXg== X-Google-Smtp-Source: APXvYqyAZKH0xvlwdkUNXT0sHO32Tc6OR+NoO12PEx57WwSi02t+bp5rNNYwtrujfTkHU3bWLc/m3iiT2yEIK9y5zB0= X-Received: by 2002:a37:a792:: with SMTP id q140mr31123510qke.216.1574189271215; Tue, 19 Nov 2019 10:47:51 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::734 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:242444 Archived-At: --00000000000051f4b10597b78048 Content-Type: text/plain; charset="UTF-8" help-split-fundoc returns nil if the docstring has no usage string. (help-split-fundoc (documentation 'auto-composition-mode) 'auto-composition-mode) => nil So it's either my function, or adding optional args to help-split-fundoc. What do you prefer? --00000000000051f4b10597b78048 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
help-split-fundoc returns nil if the docstring has no usag= e string.

(help-split-fundoc (documentation 'auto-co= mposition-mode) 'auto-composition-mode) =3D> nil

So it's either my function, or adding optional args to help-split= -fundoc. What do you prefer?
--00000000000051f4b10597b78048--