From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#50222: Advising a function pollutes its docstring Date: Fri, 27 Aug 2021 11:04:21 -0400 Message-ID: References: Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4441"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 50222@debbugs.gnu.org To: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 27 17:05:19 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1mJdPy-0000to-Ua for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 Aug 2021 17:05:19 +0200 Original-Received: from localhost ([::1]:52650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJdPx-0005ai-0d for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 Aug 2021 11:05:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJdPi-0005Yg-UT for bug-gnu-emacs@gnu.org; Fri, 27 Aug 2021 11:05:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41144) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mJdPi-0001pf-Mi for bug-gnu-emacs@gnu.org; Fri, 27 Aug 2021 11:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mJdPi-0006q3-I8 for bug-gnu-emacs@gnu.org; Fri, 27 Aug 2021 11:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Aug 2021 15:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50222 X-GNU-PR-Package: emacs Original-Received: via spool by 50222-submit@debbugs.gnu.org id=B50222.163007667226244 (code B ref 50222); Fri, 27 Aug 2021 15:05:02 +0000 Original-Received: (at 50222) by debbugs.gnu.org; 27 Aug 2021 15:04:32 +0000 Original-Received: from localhost ([127.0.0.1]:52690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJdPE-0006pE-G1 for submit@debbugs.gnu.org; Fri, 27 Aug 2021 11:04:32 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:44931) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJdPB-0006ox-NS for 50222@debbugs.gnu.org; Fri, 27 Aug 2021 11:04:31 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 9AE068025F; Fri, 27 Aug 2021 11:04:23 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 53498807CB; Fri, 27 Aug 2021 11:04:22 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1630076662; bh=17qD+XB0sOhCq/z50MZms4X/3wfkrmG4WJXNFx+eblg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=a+EqE+G4OfdbwtMJU38XsOWJEspt6gecnDqtAaiGIyU6jBPlEaIKDYus4l7T52D1Z qSsrdO7MOzuKvjYRnqsQWBXzZXxp0Vtoh3npvDoC+MJXQUWEUJBxj6CA7aY77H9elG 09K7gKQxcpNfagq6DYk3bA6NHiZ3eUeqOq/F8xQ+bt/UYbItxVJ0raHmvLFKXBLF3W Fk2Lw/5WRhVLMarQ0z3U4Qh5VavxB9daxD4SPFDiBJflgM79LkRbInQ2HQ8Ysqq6wl W3zXnhFdU7G/3zRh4IiMwjmbuGtGwE5YFZVSoa5ZU+5A2ubQKoF3eQ4oN6w13ACe2O cddpaA1yZ4OHg== Original-Received: from alfajor (unknown [104.247.244.135]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 2F19612038D; Fri, 27 Aug 2021 11:04:22 -0400 (EDT) In-Reply-To: ("=?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel"'s message of "Thu, 26 Aug 2021 23:25:15 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:212817 Archived-At: > Advising a function changes the first line of its docstring, which > breaks packages that use the first line of the docstring to display > a short piece of information about a function. I noticed this issue > while playing with the "shortdoc" feature. For example: Indeed, we should probably use `help-fns-describe-function-functions` instead of the `function-documentation` property in `nadvice.el`. Stefan