From unknown Wed Jun 18 23:13:46 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#58284 <58284@debbugs.gnu.org> To: bug#58284 <58284@debbugs.gnu.org> Subject: Status: 29.0.50; advice error for advised function with no docstring Reply-To: bug#58284 <58284@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:13:46 +0000 retitle 58284 29.0.50; advice error for advised function with no docstring reassign 58284 emacs submitter 58284 Katsumi Yamaoka severity 58284 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 04 01:36:04 2022 Received: (at submit) by debbugs.gnu.org; 4 Oct 2022 05:36:04 +0000 Received: from localhost ([127.0.0.1]:52125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofab5-000867-Sr for submit@debbugs.gnu.org; Tue, 04 Oct 2022 01:36:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:33606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofab4-000860-Nf for submit@debbugs.gnu.org; Tue, 04 Oct 2022 01:36:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42144) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofab4-0008E0-Hr for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 01:36:02 -0400 Received: from elephant.ash.relay.mailchannels.net ([23.83.222.57]:38964) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofab2-00037R-Bw for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 01:36:02 -0400 X-Sender-Id: tih5qno0ow|x-authuser|yamaoka@cloud1.hostforweb.net Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 0E7193C17F2; Tue, 4 Oct 2022 05:35:54 +0000 (UTC) Received: from cloud1.hostforweb.net (unknown [127.0.0.6]) (Authenticated sender: tih5qno0ow) by relay.mailchannels.net (Postfix) with ESMTPA id 307753C10D0; Tue, 4 Oct 2022 05:35:53 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1664861753; a=rsa-sha256; cv=none; b=7OgUlubIa2+YyZpAWVyGaHuVd9VyjgcntE1xrDePjEX54E8nAWCngE6wxiwtH6HGk8Aw7P 5m1V+e7zJjMrPflqk6g/gyvmCHx7/u+GFtq6k0zhtaZ0uIdXPJYsD8xfvKF/R720CYxJaX KE4RqZKiCc3MNcDaxJ8Rjlvc8z3reg7NYk9PWQxCA69ih4KNmb32PZMeT/8zY0GiRxGSgq PNjUeTRt72UUqqwo5hbZjvXRDEvvnkV6kWH0+8Diy6dEyCkZjiakxLt/U8emS0cDds3t1B xJtQzo8tk7d1UkUlSzcgx/GnRy+ilI2VXaBQcUmmTSwMe0mGIyjZMLzNTwhSjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1664861753; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: dkim-signature; bh=CRWbVZ9/SQnqfBpAX9yy222aA4sBIkLBPpz1ZYkqcTI=; b=uXTStBLhdpX53gUUmQ/YYRXHEYT8I2lxBkUoKbLJ2R73kqNORcyWPgZ3ECApqYr5CPQP45 2bxmSWsAiXRAlJ5/qFsAKnhDbQHBPV5S1D+9yPW8bF0ASUFMXZa38yskjd79/odbG10B0c fhd+8LeG4kNGh32cAMZ6eRD5YAtwtNdTDm0IK0C0DOXW7XIoWzP7tvmbdcQ93BTX6rZUFc 4tTasLR8KwiRsjlsEkoKHgznGNFyVvYwWjncgN9en9Mr5mXchnaf2yGWzqXwGS/U1AT3Pj YWJ1wl1JehqTPPF/RFt+twJqawC+NxTB9QqfRBICmJSM4VFNvNXQk3gFSV/q/A== ARC-Authentication-Results: i=1; rspamd-7c485dd8cf-2lpw6; auth=pass smtp.auth=tih5qno0ow smtp.mailfrom=yamaoka@jpl.org X-Sender-Id: tih5qno0ow|x-authuser|yamaoka@cloud1.hostforweb.net X-MC-Relay: Neutral X-MailChannels-SenderId: tih5qno0ow|x-authuser|yamaoka@cloud1.hostforweb.net X-MailChannels-Auth-Id: tih5qno0ow X-Inform-Desert: 4d16dbf3477268d1_1664861753646_285956357 X-MC-Loop-Signature: 1664861753646:4115448578 X-MC-Ingress-Time: 1664861753646 Received: from cloud1.hostforweb.net (cloud1.hostforweb.net [154.16.119.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.119.144.148 (trex/6.7.1); Tue, 04 Oct 2022 05:35:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=jpl.org; s=default; h=Content-Type:MIME-Version:Subject:To:From:Message-ID:Date:Sender :Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=CRWbVZ9/SQnqfBpAX9yy222aA4sBIkLBPpz1ZYkqcTI=; b=S8HsmUBL3geNFvP0SDGZM6T+dZ 2UflulCIwl8zgarNv6SgB3TPnHCbPGtkjVfbEqcxDvdXBeU5TVREWXCOfBB/jHH0snU90ad4zPeZP ENwIlkmFyVfQr+tcdPNLt0pDrOGRF/9yUd4ZqI3WfsuQnvRZ0gINOJ9kcPl9oOXMRMXI08Q7vMS+k RvhUvC3Th9tYQ16Zx5riENYM86qnr73S1RfxjRJoZiMZ8WBsAG207wXQPY/dCYEXuy4i0cjbFot3/ PTr/AG23h9/ElZclNfxzKkmEo+j00pYyyJbJjbTo7EydbYQelhNHsqAJJm/a9HRciPqM8Khns+YWZ lfgjRapg==; Received: from 157-205-200-190.cns.tayoreru.com ([157.205.200.190]:58039 helo=localhost) by cloud1.hostforweb.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1ofaar-0007yW-7A; Tue, 04 Oct 2022 01:35:50 -0400 Date: Tue, 04 Oct 2022 14:35:43 +0900 Message-ID: From: Katsumi Yamaoka To: bug-gnu-emacs@gnu.org Subject: 29.0.50; advice error for advised function with no docstring Organization: Emacsen advocacy group X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-cygwin) Cancel-Lock: sha1:d1U/QcgzY7LR8VdayuKwOZ34kn4= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-AuthUser: yamaoka@cloud1.hostforweb.net Received-SPF: pass client-ip=23.83.222.57; envelope-from=yamaoka@jpl.org; helo=elephant.ash.relay.mailchannels.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Hi, I found `C-h f' to not work for some advised functions. It seems to happen when an original function has no docstring. Here is a recipe: (progn (defun foo () t) (defadvice foo (around testing activate) "" ad-do-it) (documentation 'foo)) Thanks. In GNU Emacs 29.0.50 (build 1, x86_64-pc-cygwin, GTK+ Version 3.22.28, cairo version 1.17.4) of 2022-10-04 built on localhost Windowing system distributor 'The Cygwin/X Project', version 11.0.12101004 Configured using: 'configure 'CFLAGS=-O0 -g3' --verbose --with-x-toolkit=gtk3 --with-imagemagick' From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 04 06:50:13 2022 Received: (at 58284) by debbugs.gnu.org; 4 Oct 2022 10:50:13 +0000 Received: from localhost ([127.0.0.1]:52601 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1offV7-0001j7-9N for submit@debbugs.gnu.org; Tue, 04 Oct 2022 06:50:13 -0400 Received: from quimby.gnus.org ([95.216.78.240]:44420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1offV5-0001iq-Dj for 58284@debbugs.gnu.org; Tue, 04 Oct 2022 06:50:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=HYUbs46NGEf7Y+r2GEaCktx0dpdLoBpgrkGjvaF5BIo=; b=evJstDuj4JufGk3MqOoFOdMSj0 IAotukccZkDU6TWKQUGRli3H7BQcKOJlWknWV3s+EVTkSV686LROMn+wLFyaRgblmLG01yGCe0ojv BNRY+kQEuqMjetM0HMo1jP+1gM30VxVtGdz2cIUPaDE35K9hlx+6WAslRR06qecv+t0Y=; Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1offUw-00031g-ED; Tue, 04 Oct 2022 12:50:04 +0200 From: Lars Ingebrigtsen To: Katsumi Yamaoka Subject: Re: bug#58284: 29.0.50; advice error for advised function with no docstring In-Reply-To: (Katsumi Yamaoka's message of "Tue, 04 Oct 2022 14:35:43 +0900") References: X-Now-Playing: Propaganda's _A Secret Wish_: "Dr. Mabuse" Date: Tue, 04 Oct 2022 12:50:01 +0200 Message-ID: <87tu4j3lt2.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Katsumi Yamaoka writes: > I found `C-h f' to not work for some advised functions. > It seems to happen when an original function has no docstring. > Here is a recipe: > > (progn > (defun foo () t) > (defadvice foo (around te [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58284 Cc: 58284@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Katsumi Yamaoka writes: > I found `C-h f' to not work for some advised functions. > It seems to happen when an original function has no docstring. > Here is a recipe: > > (progn > (defun foo () t) > (defadvice foo (around testing activate) "" ad-do-it) > (documentation 'foo)) I've now fixed this in Emacs 29. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 04 06:50:17 2022 Received: (at control) by debbugs.gnu.org; 4 Oct 2022 10:50:17 +0000 Received: from localhost ([127.0.0.1]:52604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1offVB-0001jU-I2 for submit@debbugs.gnu.org; Tue, 04 Oct 2022 06:50:17 -0400 Received: from quimby.gnus.org ([95.216.78.240]:44434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1offVA-0001iw-2q for control@debbugs.gnu.org; Tue, 04 Oct 2022 06:50:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ECFXDgkZRVk7YgusBmfKFRmRrDO4Z8spNFUeMX+5uY0=; b=F2NUCJEteUglVsq8DRORkQexm0 /s5Ohhxrk7FNbvaWC/CgevJIrwPBlzzRZ6MU5eRUte8VitrNShj02NZzIc3j4pouyXDzAzmn4nRP1 1ozIBVMJDl/5dhUjvTdK22FF7SDz2S6G6P0UdeauN9syA9VUNLoRJOlhIEP1NdtHbor4=; Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1offV2-00031n-9Y for control@debbugs.gnu.org; Tue, 04 Oct 2022 12:50:10 +0200 Date: Tue, 04 Oct 2022 12:50:07 +0200 Message-Id: <87sfk33lsw.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #58284 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 58284 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 58284 29.1 quit From unknown Wed Jun 18 23:13:46 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 01 Nov 2022 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator