From unknown Sat Jun 21 10:30:32 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#54343 <54343@debbugs.gnu.org> To: bug#54343 <54343@debbugs.gnu.org> Subject: Status: 28.0.91; find-function goes to a wrong place for erc Reply-To: bug#54343 <54343@debbugs.gnu.org> Date: Sat, 21 Jun 2025 17:30:32 +0000 retitle 54343 28.0.91; find-function goes to a wrong place for erc reassign 54343 emacs submitter 54343 Lin Jian severity 54343 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 11 15:18:48 2022 Received: (at submit) by debbugs.gnu.org; 11 Mar 2022 20:18:48 +0000 Received: from localhost ([127.0.0.1]:38401 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nSliq-00027w-7d for submit@debbugs.gnu.org; Fri, 11 Mar 2022 15:18:48 -0500 Received: from lists.gnu.org ([209.51.188.17]:60328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nSliH-000276-UB for submit@debbugs.gnu.org; Fri, 11 Mar 2022 15:18:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34526) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSliF-0007FV-TP for bug-gnu-emacs@gnu.org; Fri, 11 Mar 2022 15:18:12 -0500 Received: from mail-me3aus01olkn2141.outbound.protection.outlook.com ([40.92.63.141]:37061 helo=AUS01-ME3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSliB-000195-Ne for bug-gnu-emacs@gnu.org; Fri, 11 Mar 2022 15:18:10 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cg3xOiK79N0eEHbGA5Cv6RmVMfh/TfImUJh5E3KqyaLfulXDfv+jAebCMAcvgZmx+5Y/AafY3qeYnVH7MPdBYRB2f3oc1WVs0thhLBHgRDg/yhfKStoRmpwb7kk0k+kP45ZQYtzXS59YNCps14lMet239ptK6+CRl7qp/9YziusYt3yifydhPsEGSNctTRWOn+HdcUlklVeHldOKmoX7PamAeCClOw1a1mueKdocN7Ail/zvvfX6y4zvTng6/PVOcAoiqImtWlyrc0RADnjKOBKAfalupmJUyGtDP2vi1W+e+LlW4+751b+RKhwlr3os0hutF8fxTIV1DsKaIho22A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=IPhOo5zsedn8scLVmfQcE8VafGUEwHVpE81qUOkh7WE=; b=i9uuiAXX8yXzBbVWbQxNY53HEgV2S92aMk4gJ7CHE+MPzneC4ySTUpjC2vH2rqe8SaSOByjmxSG35htv07OLq6+CsJf6GVVKfDp7Vi3R4lOnbkZTEfHg2xfjv1hJmVQBYahwFpGynGyQux0dO7r4yun8F3WPKXhGTupM5Mk9aQr5ISL6hWgxF4aqR1yQE+IBbrNRLMhT1i6L3ldDnMsCK6y6o9zLa5OM5oHxxXzdhgLIFi5Njn2N3Bp6OdioSP+N2GyGWJjYxmtbdXcXRokKzwzQLD0OtsK+Kn4GGxAEuBAl5RK9kBwnqT63XugL5H/BG/kK2m7M2KHLv8iCufMEyA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IPhOo5zsedn8scLVmfQcE8VafGUEwHVpE81qUOkh7WE=; b=pArqSa47h7iH1Pk0o/3ozn40YE7a2ciGIrlcn8v1LiaPFphflJw7V/L2OqX55NwgD8wuUCKjCgZ/coSDEh7cCMXaBgjFqVPBuz3r5g2mZfKHzCvWXsx1FSq17I+Rvf2ILi8B8NT+0Gf+Du92k8aZztC43dqLxVteJ7j5sm4XaiNt3TWT270qd8b7ZgQaZC2xOv58ylyZGu2c9fGydVRMYM2uIwAxtc8HsUTwwTyaKKD8sK2cTDmw0QzAUdhAP+G3d8R2hOmoWMrnOe8sbnhBh7U127SZKmCkOuh+pSn8JYTXM4tT/Ioajwt7UZOtClLHg+XnWwQY5kx7LZL68l+RIQ== Received: from SY4P282MB3680.AUSP282.PROD.OUTLOOK.COM (2603:10c6:10:1c3::6) by SY6P282MB3154.AUSP282.PROD.OUTLOOK.COM (2603:10c6:10:165::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.14; Fri, 11 Mar 2022 19:57:04 +0000 Received: from SY4P282MB3680.AUSP282.PROD.OUTLOOK.COM ([fe80::1066:3e0f:f947:76a3]) by SY4P282MB3680.AUSP282.PROD.OUTLOOK.COM ([fe80::1066:3e0f:f947:76a3%9]) with mapi id 15.20.5038.027; Fri, 11 Mar 2022 19:57:04 +0000 From: Lin Jian To: "bug-gnu-emacs@gnu.org" Subject: 28.0.91; find-function goes to a wrong place for erc Thread-Topic: 28.0.91; find-function goes to a wrong place for erc Thread-Index: AQHYNYHp3PqHwqUKpEi0oDzxpdxjCQ== Date: Fri, 11 Mar 2022 19:57:04 +0000 Message-ID: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: suggested_attachment_session_id: 11354afa-a066-71c9-d827-9231e596d669 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [n5+l5QoMmtTKDYXYgojlSajEaIkB8U4DXkNzP/+i8jo=] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 69b7fd50-31d7-44a9-48db-08da03995075 x-ms-traffictypediagnostic: SY6P282MB3154:EE_ x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Jxj7njpWFOOM0jnoRoKI9UU8LGePFoqe5uM8duGUKuFF+DlxG4ztAELfP40xjJT+EUGp1/m7YFLEBpkR6L1vy98LqQRqJI28gxbBRwezHx4HIySGbkHjC3m6DjVd07W2kkr8ykv0Yl8hOO6qxzpdTAXOB1TUTf24IH6frXeeFOqLx9QE185Xm+9EhCX6bZIAcMMIhXkObcExLrzCF844POR/uxihR+SHd6k+AZJ44GM0BtDEQvui6n9HKk+oJmrBWduQtIOnIJx5WubTzYIHOsNAR+kkcPljIKfQEQfhQAJF8dfCTq8Oa5boY254gJIriwj8PxZlVOw1KeX1Bu1cHXgDfL0uRk+NODyn/SCkfr3e7KcFGgyXDUl0E7e12Y+9cocxP9LRRuVCJ6a87iqvechz0ChcRNSc1NyONdTQNySR3jQ5KxbPj2DLnwjpvCdYTD2q2EFap2cDJdHXZKfHPZVgEE6IdAGRJML0ivov5p26JGWKj8cDX3bB+SptJZEO99r6AHXheruDFl+t49NaOsVNT3V8wHJ+BKRD46Eab0Dttlc8OzmDgXtH1xZKEtM+K3n9FdPw89bh0FoGAR0avA== x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?gb2312?B?aGczQ0xKMnQ4YlFCZjlGZDBEeUtpa2lWWXFNd1hhK3NXa3RXL1RLOXE0SkIr?= =?gb2312?B?Yzl3UnhOYUtPQjNLbmpSL3lISnZvYXRmem50TzhrUWpjTWxRZkVrY1FpVktQ?= =?gb2312?B?SU5zdXJQczJSVDhHbHpsYndlVkNVMkJqalpRdXRaQzBLcU8wMjJBOWtXbHRy?= =?gb2312?B?VnZtVnV4eGxBN0o4WXdDOEFCcUp6d3ZDdlk0SWo5cksyZHkrekM4UldZZkxD?= =?gb2312?B?bFF0RjNKb3EwRXliekRqdGpUcXM1Nm1kbVJvdmpZWENJN2MyTD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ZOQUVwdmhXVkRTbVdHQ1NpOWxtMVdRY3dW?= =?gb2312?B?S0hNa3BUbm5VdFRjczJ6QW5KbjB4bDRpaXgvYmlNa0ptbDhBNmhNREdlZHpV?= =?gb2312?B?eWRnODU3NVh3a0lNbmovSjAvaEI4d1pOQytZK2RGZnVyY0RRUT09?= Content-Type: multipart/alternative; boundary="_000_SY4P282MB368061DD6CD2575DDA77FF1C840C9SY4P282MB3680AUSP_" MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SY4P282MB3680.AUSP282.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 69b7fd50-31d7-44a9-48db-08da03995075 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Mar 2022 19:57:04.0777 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SY6P282MB3154 Received-SPF: pass client-ip=40.92.63.141; envelope-from=jlin.dev@outlook.com; helo=AUS01-ME3-obe.outbound.protection.outlook.com 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 11 Mar 2022 15:18:47 -0500 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.3 (--) --_000_SY4P282MB368061DD6CD2575DDA77FF1C840C9SY4P282MB3680AUSP_ Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 c3RlcHMgdG8gcmVwcm9kdWNlIHRoaXMgYnVnOg0KDQpzdGVwIDE6IHJ1bjogZW1hY3MgLVENCnN0 ZXAgMjogZXZhbCAoZmluZC1mdW5jdGlvbiAnZXJjKQ0Kc3RlcCAzOiB0aGUgcG9pbnQgZ29lcyB0 byB0aGUgZGVmZ3JvdXAgb2YgZXJjIGluc3RlYWQgb2YgdGhlIGNsLWRlZnVuIG9mDQppdCwgd2hp Y2ggSSB0aGluayBpcyB3cm9uZw0KDQp3YXNhbWFzYSBhdCAjZW1hY3M6bGliZXJhLmNoYXQgaGVs cHMgdG8gdmVyaWZ5IHRoYXQgdGhpcyBidWcgaGFwcGVucyBvbg0KdGhlIG1hc3RlciBvZiBlbWFj cyBvbiBNYXJjaCAxMSwgMjAyMi4NCg0KZXJjIHZlcnNpb24gaXMgNS40DQoNCg0KDQoNCkluIEdO VSBFbWFjcyAyOC4wLjkxIChidWlsZCAxLCB4ODZfNjQtcGMtbGludXgtZ251LCBHVEsrIFZlcnNp b24gMy4yNC4zMSwgY2Fpcm8gdmVyc2lvbiAxLjE2LjApDQpSZXBvc2l0b3J5IHJldmlzaW9uOiBl bWFjcy0yOC4wLjkxDQpSZXBvc2l0b3J5IGJyYW5jaDogbWFzdGVyDQpXaW5kb3dpbmcgc3lzdGVt IGRpc3RyaWJ1dG9yICdUaGUgWC5PcmcgRm91bmRhdGlvbicsIHZlcnNpb24gMTEuMC4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F5IGNsLXByZWxv YWRlZCBuYWR2aWNlDQpidXR0b24gbG9hZGRlZnMgZmFjZXMgY3VzLWZhY2UgbWFjcm9leHAgZmls ZXMgd2luZG93IHRleHQtcHJvcGVydGllcw0Kb3ZlcmxheSBzaGExIG1kNSBiYXNlNjQgZm9ybWF0 IGVudiBjb2RlLXBhZ2VzIG11bGUgY3VzdG9tIHdpZGdldA0KaGFzaHRhYmxlLXByaW50LXJlYWRh YmxlIGJhY2txdW90ZSB0aHJlYWRzIGRidXNiaW5kIGlub3RpZnkNCmR5bmFtaWMtc2V0dGluZyBz eXN0ZW0tZm9udC1zZXR0aW5nIGZvbnQtcmVuZGVyLXNldHRpbmcgY2Fpcm8NCm1vdmUtdG9vbGJh ciBndGsgeC10b29sa2l0IHggbXVsdGktdHR5IG1ha2UtbmV0d29yay1wcm9jZXNzDQpuYXRpdmUt Y29tcGlsZSBlbWFjcykNCg0KTWVtb3J5IGluZm9ybWF0aW9uOg0KKChjb25zZXMgMTYgMjEyNDA4 IDExODAzKQ0KIChzeW1ib2xzIDQ4IDg3NTUgMCkNCiAoc3RyaW5ncyAzMiA0MDc0NSAyMjgzKQ0K IChzdHJpbmctYnl0ZXMgMSAxMTkyOTA4KQ0KICh2ZWN0b3JzIDE2IDIwNTc4KQ0KICh2ZWN0b3It c2xvdHMgOCAzODY4NTcgMTk5MTQpDQogKGZsb2F0cyA4IDI4IDM0NCkNCiAoaW50ZXJ2YWxzIDU2 IDE3NTQxIDApDQogKGJ1ZmZlcnMgOTkyIDE2KSkNCg== --_000_SY4P282MB368061DD6CD2575DDA77FF1C840C9SY4P282MB3680AUSP_ Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable
steps to reproduce this bug:

step 1: run: emacs -Q
step 2: eval (find-function 'erc)
step 3: the point goes to the defgroup of erc instead of the cl-defun = of
it, which I think is wrong

wasamasa at #emacs:libera.chat helps to verify that this bug happens o= n
the master of emacs on March 11, 2022.

erc version is 5.4




In GNU Emacs 28.0.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.= 31, cairo version 1.16.0)
Repository revision: emacs-28.0.91
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.1201= 3000
System Description: NixOS 22.05 (Quokka)

Configured using:
 'configure
 --prefix=3D/nix/store/ap3k7xlj8jh9x4gb98b0vbnn33kgqr96-emacs-gcc= -28.0.91
 --disable-build-details --with-modules --with-x-toolkit=3Dgtk3 -= -with-xft
 --with-cairo --with-native-compilation'

Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTI= FY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BAR= S
X11 XDBE XIM XPM GTK3 ZLIB

Important settings:
  value of $EMACSLOADPATH: /nix/store/l07j503hxm0q6inagnc911y2vsq= 1i8vj-emacs-packages-deps/share/emacs/site-lisp:/nix/store/sm1w0fpbybib0fwq= 669ch4agjdfb1hs5-emacs-packages-deps/share/emacs/site-lisp:
  value of $EMACSNATIVELOADPATH: /nix/store/l07j503hxm0q6inagnc91= 1y2vsq1i8vj-emacs-packages-deps/share/emacs/native-lisp::
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=3Dibus
  locale-coding-system: utf-8-unix

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t

Load-path shadows:
/nix/store/sm1w0fpbybib0fwq669ch4agjdfb1hs5-emacs-packages-deps/share/= emacs/site-lisp/site-start hides /nix/store/l07j503hxm0q6inagnc911y2vsq1i8v= j-emacs-packages-deps/share/emacs/site-lisp/site-start

Features:
(shadow sort mail-extr emacsbug sendmail mm-archive message dired
dired-loaddefs rfc822 mml mml-sec epa derived gnus-util rmail
rmail-loaddefs text-property-search time-date mailabbrev gmm-utils
mailheader mm-decode mm-bodies mm-encode mail-utils gnutls mule-util
network-stream url-http mail-parse rfc2231 rfc2047 rfc2045 mm-util
ietf-drums mail-prsvr url-gw nsm rmc puny url-cache url-auth epg rfc60= 68
epg-config finder-inf package browse-url url url-proxy url-privacy
url-expand url-methods url-history url-cookie url-domsuf url-util
mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core
cl-macs eieio-loaddefs password-cache json subr-x map url-vars misearc= h
multi-isearch cl-loaddefs cl-lib seq byte-opt gv bytecomp byte-compile=
cconv jka-compr find-func iso-transl tooltip eldoc paren electric
uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mod= e
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu<= /div>
timer select scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-m= s
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite emoji-zwj charscript charprop case-table
epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice=
button loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote threads dbusbind inotify
dynamic-setting system-font-setting font-render-setting cairo
move-toolbar gtk x-toolkit x multi-tty make-network-process
native-compile emacs)

Memory information:
((conses 16 212408 11803)
 (symbols 48 8755 0)
 (strings 32 40745 2283)
 (string-bytes 1 1192908)
 (vectors 16 20578)
 (vector-slots 8 386857 19914)
 (floats 8 28 344)
 (intervals 56 17541 0)
 (buffers 992 16))
--_000_SY4P282MB368061DD6CD2575DDA77FF1C840C9SY4P282MB3680AUSP_-- From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 11 19:16:57 2022 Received: (at 54343) by debbugs.gnu.org; 12 Mar 2022 00:16:57 +0000 Received: from localhost ([127.0.0.1]:38831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nSpRJ-0001yG-5e for submit@debbugs.gnu.org; Fri, 11 Mar 2022 19:16:57 -0500 Received: from mail-108-mta172.mxroute.com ([136.175.108.172]:43329) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nSpRH-0001y4-Fk for 54343@debbugs.gnu.org; Fri, 11 Mar 2022 19:16:56 -0500 Received: from filter006.mxroute.com ([140.82.40.27] 140.82.40.27.vultrusercontent.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta172.mxroute.com (ZoneMTA) with ESMTPSA id 17f7b7c2214000763e.001 for <54343@debbugs.gnu.org> (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Sat, 12 Mar 2022 00:16:47 +0000 X-Zone-Loop: 3903b7797176998419fae6f148fb0a9469ca75d6bdd5 X-Originating-IP: [140.82.40.27] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=neverwas.me ; s=x; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References: 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=koi+srFMpFKTfkIvWZkwByAbNp1BrkGxyqXx6dYhCgc=; b=ckhLz+f036A/WEnoYpagmZHoV6 otLb+vhg56AsjokQvmuHO/X6DhA/T4QimCQwEjvQ8HUvhn51DizNhnyb15UnKqxHfY6fg63ixtEk5 vQyyqx2GVZnNYjGFZX0NQuLZPk1jOYITpTczTwTnHxf9+sUd9X0x0fmMbfcCRFNaTIM+B+W8foGDp R5+eWrLCYmbMok7kgAH28LE8k/MMKOtkzWFgT6G5RQ/RKFO4mLLPo45JbKEi33BFXRdtna6EgLppz jXdZIalKOL0oq0z84i6+pLLhRWTDcZD2EnPM42sMi0AAFX6SXJ3jZNz1CDKYYPBGnDslJEnviTt14 rFclxyTQ==; From: "J.P." To: Lin Jian Subject: Re: bug#54343: 28.0.91; find-function goes to a wrong place for erc References: Date: Fri, 11 Mar 2022 16:16:44 -0800 In-Reply-To: (Lin Jian's message of "Fri, 11 Mar 2022 19:57:04 +0000") Message-ID: <87wnh0dnyr.fsf@neverwas.me> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-AuthUser: masked@neverwas.me X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54343 Cc: 54343@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: -1.0 (-) Hi Jian, Lin Jian writes: > steps to reproduce this bug: > > step 1: run: emacs -Q > step 2: eval (find-function 'erc) > step 3: the point goes to the defgroup of erc instead of the cl-defun of > it, which I think is wrong > > wasamasa at #emacs:libera.chat helps to verify that this bug happens on > the master of emacs on March 11, 2022. > > erc version is 5.4 Thanks for reporting this. I guess I felt obliged to say something since ERC is in the subject line. But it looks like this bug affects more than just ERC, so I'm going to cowardly defer to the experts here, if that's all right. But just as a dumb experiment, adding something like (let ((find-function-regexp (rx bol (* (syntax -)) "(" (? "cl-") ; <~~~~~~~~~~~~~~~~ THIS "def" (| (| "ine-skeleton" "ine-generic-mode" "ine-derived-mode" "ine" (? "-global") "-minor-mode" "ine-compilation-mode" "un-cvs-mode" "foo" (: (| (not (any "icfgv")) (: "g" (not ?r))) (| (+ word) (syntax symbol)) (? ?*))) (: "easy-mmode-define-" (+ (in (?a . ?z) ?-))) "easy-menu-define" "menu-bar-make-toggle" "menu-bar-make-toggle-command") (+ (| (syntax -) "\n" (: ";" (* nonl) "\n"))) (: (? (| ?' "(quote ")) "%s" (| (syntax -) eol (in "()")))))) (find-function 'erc)) seems to work with emacs -Q. (That rx form is bogus, BTW; it doesn't retain the capture groups and probably has other bugs.) Anyway, naively splicing in the "cl-" prefix part doesn't seem to break test/lisp/emacs-lisp/find-func-tests.el, but I didn't look closely enough to see if that even factors in to the existing coverage. I also have no clue whether such an addition might put a noticeable strain on folks using `find-function-search-for-symbol' heavily in lisp code. If so, another option might be to include it in the fallback regexp[1] instead. Hopefully someone in the know will chime in. Thanks again! [1] https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/emacs-lisp/find-func.el?id=0470a4a9#n442 From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 11 20:48:19 2022 Received: (at 54343) by debbugs.gnu.org; 12 Mar 2022 01:48:19 +0000 Received: from localhost ([127.0.0.1]:38862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nSqrj-0004DJ-3r for submit@debbugs.gnu.org; Fri, 11 Mar 2022 20:48:19 -0500 Received: from mout.web.de ([212.227.15.4]:58049) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nSqrh-0004D7-NF for 54343@debbugs.gnu.org; Fri, 11 Mar 2022 20:48:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1647049684; bh=MxSMJhs5vQhm09/UP/1VAtWR30vLw8TqQjvpAYW7CMQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=Nq9ypcC8vYICmzv43JHVFkmyfHCsuiY9pMSt03FP6/YOm7rc2XQ2+LvxZhKiiS9xL RRBMEKJg4F414NYLvdDnNVI0xKt4pZ86mfP34B1tujxkeLf7BeO4k+m0q5ImLK/+ly COvvZiKn6I3x/pl5S2t6rJr/DPe1n0aLmncbbzTA= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from drachen.dragon ([84.60.174.212]) by smtp.web.de (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MXoYS-1nepHE0r2i-00YQp2; Sat, 12 Mar 2022 02:48:04 +0100 From: Michael Heerdegen To: "J.P." Subject: Re: bug#54343: 28.0.91; find-function goes to a wrong place for erc References: <87wnh0dnyr.fsf@neverwas.me> Date: Sat, 12 Mar 2022 02:48:03 +0100 In-Reply-To: <87wnh0dnyr.fsf@neverwas.me> (J. P.'s message of "Fri, 11 Mar 2022 16:16:44 -0800") Message-ID: <87wnh0aqlo.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:/l61qEWlmxzazry/YaWt6/+LjQvjX7PSwbpiaDy1JRAMb0gquXk r2tGkR9AAfGkYdACvObJHbTnBWcbDQ0JnczrsYzoPIGWP09QbN5sFe4d4H3//60vmthp8gG EqI7etU/WO2lnjmduBbVxMknjA12k1rGbwBP/uaubd/vsK43ae1uA3aZ1wr3EaQOzd42kQF vD7Y0nO6ZKIeWN7goVCSg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:JVBMsSlXm0Q=:F5wT3Q/BtcvEU3FbU/gfIN cYey/dHAlAlNu/Dp2HpITbKIFTOBs914l0Mf4rfO9373uqIOIi32eHB8bF0i5FghjnyChsjz/ YFZutoGo9maoatEx6+Dovlf+4stAJKKsf5k3wj6W93r0oYcyfAEx2THJEb7TmF4eutLnV1xqy lfzpYBeB+IUTRHuTonqp3L7HiQY67qiv5V2RKMbk7+u7no8f8TdYR9LFBwI1QqA6J81z06eW4 UdP51lmNd3FcogDDckQa19dlrFfuenpmvflKtFQdjBlnkTUC+36zAyatk0YmTG5cOxvBo5eA3 WfSIhqZLFCGxAr/btQ1p5TGX5mLo6LWc2YL3pDFaOTBGX8yNZR5xw4V4BVLVcSZrqwWeVjcBH arbEImTvMRVZhdCJOXHfgA3k2l99pNpv4YIlzN/SoLac0PF4Yjf4Sc4g+PLQ297RaX9nuzfiu TjC3hF0XifrkT58i7ADz60RjK7IRDN7uzwI5XW/+sO8thqrRdg5j+XoNtIOZfQkkSEIDe3MGx 8QADu1MOuYaQ6hc1CgDjz6WZHXEHCOeDzWGpqbiyZIkWnFdIjg+u6p1+kJY+b+qYYBjo+x6CU MkizcxYPb8zwGGbvLE/n9i1yz13Q9SJ1zqgncg3xJCTEpGG4VtNCEnEv9r3Zh2eVxJtwvam09 aPqSvOfxlHN86bbeqOSxnG0fK3kvSz1cTGqoTRbQb6lKvL9hBLsyTEF4YtLNshzldmCXLJVMN 6xJhxKhK/cbo1+XJJuB1YvmcS2G0HOBnFxKp9riUmOgY08plC64+4s1cQqEd8sfiK4VdFYrNa 1erzXqTtEfGMpYhQR82BeoBco0EsTK8c4PA63OO3XGcHaK/f7oVNEyOEtODAdv+LmxeSeRAAp lPOyajXDk15HlkIFauKcvqJMjoOXpNO3jcniCLRKL6YOjXe0Ob2jIZteJHrSkYKhp9LrMbkn3 BZvuPH7XEPjEtNo3E28yRmEqYpPou7rt2tVtAE/jYu9wuzsSJmHRP3Tm9BTXn7TyZy7jwT5k7 C1oUKb0WmbYFfrYxiQysU8TLyfRqcWHm1eJkcDvbZHq5MczNoCZaCp5p2jDw8GBLz9hHLgP9M /2kc7zHcQkiXS4= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 54343 Cc: Lin Jian , 54343@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: -1.7 (-) "J.P." writes: > Hopefully someone in the know will chime in. But you are not that Jens Petersen that find-func.el talks about when saying "Please send improvements and fixes to the maintainer." (`find-function-regexp')? Michael. From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 11 22:59:24 2022 Received: (at 54343) by debbugs.gnu.org; 12 Mar 2022 03:59:24 +0000 Received: from localhost ([127.0.0.1]:38929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nSsua-0007Tn-LK for submit@debbugs.gnu.org; Fri, 11 Mar 2022 22:59:24 -0500 Received: from mail-108-mta131.mxroute.com ([136.175.108.131]:43043) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nSsuX-0007TX-TB for 54343@debbugs.gnu.org; Fri, 11 Mar 2022 22:59:23 -0500 Received: from filter006.mxroute.com ([140.82.40.27] 140.82.40.27.vultrusercontent.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta131.mxroute.com (ZoneMTA) with ESMTPSA id 17f7c47ca57000763e.001 for <54343@debbugs.gnu.org> (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Sat, 12 Mar 2022 03:59:14 +0000 X-Zone-Loop: f420c7278314fc5afa0586eda698f096d8eaba9dc9f1 X-Originating-IP: [140.82.40.27] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=neverwas.me ; s=x; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References: 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=vaObQMGET+QBhyd79EtWmaDYxPDu9afxebHhYs040CM=; b=VXnrOWx/4hl0h+/pbIphKh05SR a+m0fX0etQ0qF63rzD7uGNm9PIdWx5ImXxjJ0+qRJcXUYyhYq65QQ34WDaP9YbxHyivOHfT79lhWy SCDWiWE+RtGnCE8j30hZx5eNZ6xakik2K746escPKLD+6BhEGO8FDFE3S3U7AOCVvN4lbYP79TsTR PmdmjDnILSP6+G0Lolu5Jm1/nIvRz7H9sn3E4sInu7JQa5JHkBzf2eyPwSjjX/72hTPDOjMhU+p30 PAkyCKNqVYBXn/U6RJHM/Hae9gBIc23H30Dx7Jyw/bKqDsaHD84Px7NyC4Aa7Bo4kZUOlnzQ+PGNJ DOCZRssw==; From: F. Jason Park To: Michael Heerdegen Subject: Re: bug#54343: 28.0.91; find-function goes to a wrong place for erc References: <87wnh0dnyr.fsf@neverwas.me> <87wnh0aqlo.fsf@web.de> Date: Fri, 11 Mar 2022 19:59:11 -0800 In-Reply-To: <87wnh0aqlo.fsf@web.de> (Michael Heerdegen's message of "Sat, 12 Mar 2022 02:48:03 +0100") Message-ID: <87ee37ddo0.fsf@neverwas.me> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-AuthUser: masked@neverwas.me X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54343 Cc: Lin Jian , 54343@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: -1.0 (-) Michael Heerdegen writes: > But you are not that Jens Petersen that find-func.el talks about when > saying "Please send improvements and fixes to the maintainer." Alas, no. (A mere impostor, I'm afraid.) From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 12 03:27:40 2022 Received: (at 54343) by debbugs.gnu.org; 12 Mar 2022 08:27:40 +0000 Received: from localhost ([127.0.0.1]:39051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nSx6B-0008Je-Ng for submit@debbugs.gnu.org; Sat, 12 Mar 2022 03:27:39 -0500 Received: from mail-108-mta119.mxroute.com ([136.175.108.119]:43147) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nSx69-0008JQ-8y for 54343@debbugs.gnu.org; Sat, 12 Mar 2022 03:27:38 -0500 Received: from filter006.mxroute.com ([140.82.40.27] 140.82.40.27.vultrusercontent.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta119.mxroute.com (ZoneMTA) with ESMTPSA id 17f7d3d5e40000763e.001 for <54343@debbugs.gnu.org> (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Sat, 12 Mar 2022 08:27:28 +0000 X-Zone-Loop: 067e07bcf80ae2a7b15e894b9d008dd92c94794a8f3b X-Originating-IP: [140.82.40.27] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=neverwas.me ; s=x; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References: 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=3leDmyl2AqVYhvVbIA6X3zRcrdFRI0FIqYmAbzDIzVM=; b=VSZGBnkBIydWvrf6AEA12W2QQz OuEMZM/A18yaFnKFuw075bDEhAdMfZiB31uFQ8XnirS3Z0bxrCo8f9uOnljGQIz68cPBRqH3mPy1X szRRN8CurU4tflN8fsLwGoUIW56Qkn2q8kkqq4bCVXEKW0L8oXqvo0VCsUNcyOgCsNtEUvSF+ox2I 9ytbk8dWYZbDEVZ0VRDbFHbVVPrtar0fieIJT4F5aOcNZ6zQZISCSLAEEk+pbr978CwG0psig4seO FXn2tQGVD7107NKrsPpujhbyFkjFUZ3nYgM/bmcUGj4jt4SzmpAM4p5ZtahXggVQyuWLQUGQAZpoq bCWvwo9g==; From: "J.P." To: Lin Jian Subject: Re: bug#54343: 28.0.91; find-function goes to a wrong place for erc References: <87wnh0dnyr.fsf@neverwas.me> Date: Sat, 12 Mar 2022 00:27:25 -0800 In-Reply-To: <87wnh0dnyr.fsf@neverwas.me> (J. P.'s message of "Fri, 11 Mar 2022 16:16:44 -0800") Message-ID: <87k0czbmoi.fsf@neverwas.me> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-AuthUser: masked@neverwas.me X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54343 Cc: 54343@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: -1.0 (-) "J.P." writes: > seems to work with emacs -Q. (That rx form is bogus, BTW; it doesn't > retain the capture groups and probably has other bugs.) You're probably way ahead of me here, but I thought it prudent to reemphasize that evaluating that ugly demo expression is useless. If trying to convince yourself that splicing in a "cl-" prefix may be promising, please just modify the original `find-function-regexp' value instead: ""^\\s-*(\\(\\(?:cl-\\)?def\\(ine-skeleton...." ^ FWIW, this one may be slightly less atrocious: (let ((find-function-regexp (rx bol (* (syntax -)) "(" (group (| (: (? "cl-") "def" (group (| "ine-skeleton" "ine-generic-mode" "ine-derived-mode" (: "ine" (? "-global") "-minor-mode") "ine-compilation-mode" "un-cvs-mode" "foo" (: (| (not (in "icfgv")) (: "g" (not ?r))) (+ (group (| word (syntax symbol)))) (? ?*))))) (: "easy-mmode-define-" (+ (in (?a . ?z) ?-))) "easy-menu-define" "menu-bar-make-toggle" "menu-bar-make-toggle-command")) (+ (| (syntax -) "\n" (: ";" (* nonl) "\n"))) (? (group (| ?' "(quote "))) "%s" (group (| (syntax -) eol (in "()")))))) (find-function 'erc)) From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 12 12:54:36 2022 Received: (at 54343) by debbugs.gnu.org; 12 Mar 2022 17:54:36 +0000 Received: from localhost ([127.0.0.1]:40777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nT5wq-00027e-GI for submit@debbugs.gnu.org; Sat, 12 Mar 2022 12:54:36 -0500 Received: from quimby.gnus.org ([95.216.78.240]:51498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nT5wo-00027P-MB for 54343@debbugs.gnu.org; Sat, 12 Mar 2022 12:54:35 -0500 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:In-Reply-To:Date: References: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=jYavx9lCVhadmKGT9ACL8JSPk9Wdvlcb755h7AWNLlU=; b=p3i+wSduRw0q+/Har3Dc3KuwZU /61yt4T+LQVsmDrJH7EXrNrEsmUaLJjsMltypnZZxSHJCxsfR0uVXen3jAogortUZYveRiNIdKLSG dSh6oLIcoGXWdlzGTT1MzONsnHRdh3Utdu4U6iNG3/vtry5H/ee2oN3LcBqOd2SF9mhk=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nT5wf-0001wi-Ee; Sat, 12 Mar 2022 18:54:27 +0100 From: Lars Ingebrigtsen To: Lin Jian Subject: Re: bug#54343: 28.0.91; find-function goes to a wrong place for erc References: Date: Sat, 12 Mar 2022 18:54:24 +0100 In-Reply-To: (Lin Jian's message of "Fri, 11 Mar 2022 19:57:04 +0000") Message-ID: <87h783ys33.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) 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: Lin Jian writes: > steps to reproduce this bug: > > step 1: run: emacs -Q > step 2: eval (find-function 'erc) > step 3: the point goes to the defgroup of erc instead of the cl-defun of > it, which I think is wrong 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: 54343 Cc: 54343@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 (---) Lin Jian writes: > steps to reproduce this bug: > > step 1: run: emacs -Q > step 2: eval (find-function 'erc) > step 3: the point goes to the defgroup of erc instead of the cl-defun of > it, which I think is wrong I've now fixed this in Emacs 29. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 12 12:54:39 2022 Received: (at control) by debbugs.gnu.org; 12 Mar 2022 17:54:39 +0000 Received: from localhost ([127.0.0.1]:40780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nT5wt-00027w-MY for submit@debbugs.gnu.org; Sat, 12 Mar 2022 12:54:39 -0500 Received: from quimby.gnus.org ([95.216.78.240]:51512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nT5ws-00027V-Ri for control@debbugs.gnu.org; Sat, 12 Mar 2022 12:54:39 -0500 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=RYkh3qw9UyygVpPsVe+f4A2FBvPby/wdNe/aVDasGWQ=; b=q1pZIrZct78gDZ1ov1yve/cmKZ JgEMG6XFa/tRYIrvWl+zWMBhI877xxak4uXVjUZlyAGMzAAE2vqtIN1zTYHVtaEGIkZqKuCRuXtov rIqQHuUNGPu2TXjly7xjZ6b2sqnsf5Rnq2lGIn6t1nOoQxpfFZYcfiIfbe6xRNXzBaQM=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nT5wk-0001wq-VK for control@debbugs.gnu.org; Sat, 12 Mar 2022 18:54:32 +0100 Date: Sat, 12 Mar 2022 18:54:30 +0100 Message-Id: <87fsnnys2x.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #54343 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 54343 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 54343 29.1 quit From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 12 19:53:30 2022 Received: (at 54343) by debbugs.gnu.org; 13 Mar 2022 00:53:30 +0000 Received: from localhost ([127.0.0.1]:41203 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTCUD-0006na-OQ for submit@debbugs.gnu.org; Sat, 12 Mar 2022 19:53:29 -0500 Received: from mail-108-mta199.mxroute.com ([136.175.108.199]:35965) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTCUB-0006nN-ID for 54343@debbugs.gnu.org; Sat, 12 Mar 2022 19:53:28 -0500 Received: from filter006.mxroute.com ([140.82.40.27] 140.82.40.27.vultrusercontent.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta199.mxroute.com (ZoneMTA) with ESMTPSA id 17f80c3e86f000763e.001 for <54343@debbugs.gnu.org> (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Sun, 13 Mar 2022 00:53:17 +0000 X-Zone-Loop: d530ede1c3bb24bc19d945c1c1e2e105f6af86aef2a5 X-Originating-IP: [140.82.40.27] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=neverwas.me ; s=x; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References: 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=Qjt9G6leeeWpnsfbA5UWDJt8p9D8ncUfmG1vFgR4LGk=; b=nsr7WV7SYnv89D91rWqnBR+mzl U0mM3vKM9KiIh7IWZpqJww+uZ/3PJ0Dv7M4uG0EWs55bI6OTXE3lrE1bo8YSVEAJhA8GpLfOmmtac OVU5vH8DZSalbrjHEcQ/afWuKqtuMhIph0f8LLlEh8G1JU6dwUuFSoMkKywvC3n2JEXqll0JwF828 nVqqiHGmpVZMwzwCCzue1ZyJgDbS062f43w8xm4gFr6hbBKktG2lzKnH3gPUhCEZcwPTiD2UrT858 31i6m+x5bMVitW+Ibk+KAucjSjJk0k50+G0VsaYcujPy4zMZyq4I52oHgqM9CFXpKwug3TghPER1y ECUq+OkA==; From: "J.P." To: Lars Ingebrigtsen Subject: Re: bug#54343: 28.0.91; find-function goes to a wrong place for erc References: <87h783ys33.fsf@gnus.org> Date: Sat, 12 Mar 2022 16:53:14 -0800 In-Reply-To: <87h783ys33.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 12 Mar 2022 18:54:24 +0100") Message-ID: <87wngyad1h.fsf@neverwas.me> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-AuthUser: masked@neverwas.me X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54343 Cc: Lin Jian , 54343@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: -1.0 (-) Lars Ingebrigtsen writes: > Lin Jian writes: > >> steps to reproduce this bug: >> >> step 1: run: emacs -Q >> step 2: eval (find-function 'erc) >> step 3: the point goes to the defgroup of erc instead of the cl-defun of >> it, which I think is wrong > > I've now fixed this in Emacs 29. Fantastic. What you did is much less invasive. So, just to summarize the new behavior re generics, if I do (find-function 'xref-location-marker) it jumps to the first method definition in xref.el, whereas it used to end up on a defgeneric higher up in the same file, if present. But if there's no method in the file (as with `xref-backend-definitions', for example), the behavior remains unchanged. Probably not newsworthy enough, but just thought I'd state it for the record. Thanks. P.S. OK to install #53617 duplicate checks in erc--switch-to-buffer? From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 12 19:59:27 2022 Received: (at 54343) by debbugs.gnu.org; 13 Mar 2022 00:59:27 +0000 Received: from localhost ([127.0.0.1]:41207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTCZz-0006vx-EU for submit@debbugs.gnu.org; Sat, 12 Mar 2022 19:59:27 -0500 Received: from quimby.gnus.org ([95.216.78.240]:54776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTCZx-0006vk-S5 for 54343@debbugs.gnu.org; Sat, 12 Mar 2022 19:59:26 -0500 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:In-Reply-To:Date: References: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=kgEokG8h1rMXH3V34m/eaWQGhu5sbVHm60WTRegFx3g=; b=lNXxbttVCzLF7sz/U3ds5Sm07z oRegEEaInLLyUoIuMSC2GpApE53gDoSuoNi+1d3FKpNDRigo8JiEWgf4xkfD8aHLeILHAR8KMMP1G YBGjJOSAxsvv+0fsDPdhuBwiSpza/sz2nQAXee28UqZL3PLnoSAR7cL1nfR4p8cm1230=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nTCZo-0005Oq-J1; Sun, 13 Mar 2022 01:59:18 +0100 From: Lars Ingebrigtsen To: "J.P." Subject: Re: bug#54343: 28.0.91; find-function goes to a wrong place for erc References: <87h783ys33.fsf@gnus.org> <87wngyad1h.fsf@neverwas.me> Date: Sun, 13 Mar 2022 01:59:13 +0100 In-Reply-To: <87wngyad1h.fsf@neverwas.me> (J. P.'s message of "Sat, 12 Mar 2022 16:53:14 -0800") Message-ID: <87tuc2vfa6.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) 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: "J.P." writes: > So, just to summarize the new behavior re generics, if I do > > (find-function 'xref-location-marker) > > it jumps to the first method definition in xref.el, whereas it used to > end up on a defgene [...] 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: 54343 Cc: Lin Jian , 54343@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 (---) "J.P." writes: > So, just to summarize the new behavior re generics, if I do > > (find-function 'xref-location-marker) > > it jumps to the first method definition in xref.el, whereas it used to > end up on a defgeneric higher up in the same file, if present. But if > there's no method in the file (as with `xref-backend-definitions', for > example), the behavior remains unchanged. Probably not newsworthy > enough, but just thought I'd state it for the record. Hm... it would be nice if it hit the defgeneric instead. But you can have a defmethod without a defgeneric... > P.S. OK to install #53617 duplicate checks in erc--switch-to-buffer? Skimming that bug report, it's not clear to me what the issue was there? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 12 22:09:46 2022 Received: (at 54343) by debbugs.gnu.org; 13 Mar 2022 03:09:46 +0000 Received: from localhost ([127.0.0.1]:41300 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTEc6-0001p1-CQ for submit@debbugs.gnu.org; Sat, 12 Mar 2022 22:09:46 -0500 Received: from mail-108-mta194.mxroute.com ([136.175.108.194]:42479) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTEc2-0001ol-Cr for 54343@debbugs.gnu.org; Sat, 12 Mar 2022 22:09:43 -0500 Received: from filter006.mxroute.com ([140.82.40.27] 140.82.40.27.vultrusercontent.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta194.mxroute.com (ZoneMTA) with ESMTPSA id 17f8140acb0000763e.001 for <54343@debbugs.gnu.org> (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Sun, 13 Mar 2022 03:09:33 +0000 X-Zone-Loop: fb32bca1304f2e6283c34b4cc56a8f10774e785081ce X-Originating-IP: [140.82.40.27] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=neverwas.me ; s=x; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References: 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=d3YTsjxw11n/7Yf6N2q+GUeOfC/HrV/+3AGO8F+1c+o=; b=BF9IpB1k3aYgfETPNiFazNYML2 xRxTWCffekXD2XWugiJK7vCe2eftCr12bcw8Snnc9YZuy5+MxInvHzA6+1X3FQeR9qnkV3NSpLzCe DxMD464qHmFhhx7lifqeBvENGvikATPVmakBLsf8bIoQnOpJNWkPknOLRHRkAj5WhAJpqBwj9KPyV Ex5M2+G211Zup5TAKsPn2Kf/PCnQHAtJLxhPssolWisIvR64VdYqF81MzCPtR0XA93EACEW619QY0 w3L8zjjo/Mk4Av66hSPkjcJ49N+VuHmqsVapSmZMML1q5f+LOJuu7n1ly7qpll4OWG6SONyvHxED1 +1vqsG+g==; From: "J.P." To: Lars Ingebrigtsen Subject: Re: bug#54343: 28.0.91; find-function goes to a wrong place for erc References: <87h783ys33.fsf@gnus.org> <87wngyad1h.fsf@neverwas.me> <87tuc2vfa6.fsf@gnus.org> Date: Sat, 12 Mar 2022 19:09:30 -0800 In-Reply-To: <87tuc2vfa6.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 13 Mar 2022 01:59:13 +0100") Message-ID: <87bkya8s5x.fsf@neverwas.me> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-AuthUser: masked@neverwas.me X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54343 Cc: Lin Jian , 54343@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: -1.0 (-) Lars Ingebrigtsen writes: > Hm... it would be nice if it hit the defgeneric instead. But you can > have a defmethod without a defgeneric... Right. To my surprise, it seems there are over 300 such instances of the "without" variant in the Emacs tree. So, currently, we have | defgeneric | defmethod | Old | New | Example | |------------+-----------+-----+-----+--------------------------| | yes | no | g | g | xref-backend-definitions | | no | yes | m | m | delete-instance | | yes | yes | g | m | xref-location-marker | Whereas you're saying we should want | yes | yes | g | g | xref-location-marker | I think simply adding "generic" to this union (: "cl-def" (| "un" "method" "generic")) may do the trick. IOW -cl-\\(?:defun\\|defmethod\\)\\|\ +cl-\\(?:defun\\|defgeneric\\|defmethod\\)\\|\ appears to work in cursory testing. >> P.S. OK to install #53617 duplicate checks in erc--switch-to-buffer? > > Skimming that bug report, it's not clear to me what the issue was there? Just a benign optimization involving some culling of redundant code in `erc--switch-to-buffer'. This email contains the latest version, with a slightly revised commit message: https://lists.gnu.org/archive/html/bug-gnu-emacs/2022-01/msg02081.html Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 13 10:11:03 2022 Received: (at 54343) by debbugs.gnu.org; 13 Mar 2022 14:11:03 +0000 Received: from localhost ([127.0.0.1]:43075 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTOw2-0003b9-Na for submit@debbugs.gnu.org; Sun, 13 Mar 2022 10:11:02 -0400 Received: from quimby.gnus.org ([95.216.78.240]:59838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTOw0-0003ad-Pe for 54343@debbugs.gnu.org; Sun, 13 Mar 2022 10:11:01 -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:In-Reply-To:Date: References: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=KaoLo7JcJLW40TpBSV1g7joI8Bgpqz0PSYAkk31KPTA=; b=W3ruOf4fIOv6zRikO+tsUoLe0Q ejUjME/vjQb8PRiMbQUAIozapIQ6Aq+c8bp5LW5AM3LHCWpRTEIlolBlnAB/JL6sf1Cqm4g14eNHi lTf0fXtix/Z6Ih92l7qjHU+Gnb8X+T5lhHuvShBF7aTaRKQ5hz6wOQFos4zdrawurz5c=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nTOvq-0003Aj-KR; Sun, 13 Mar 2022 15:10:53 +0100 From: Lars Ingebrigtsen To: "J.P." Subject: Re: bug#54343: 28.0.91; find-function goes to a wrong place for erc References: <87h783ys33.fsf@gnus.org> <87wngyad1h.fsf@neverwas.me> <87tuc2vfa6.fsf@gnus.org> <87bkya8s5x.fsf@neverwas.me> Date: Sun, 13 Mar 2022 15:10:50 +0100 In-Reply-To: <87bkya8s5x.fsf@neverwas.me> (J. P.'s message of "Sat, 12 Mar 2022 19:09:30 -0800") Message-ID: <87k0cyuemt.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) 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: "J.P." writes: > -cl-\\(?:defun\\|defmethod\\)\\|\ > +cl-\\(?:defun\\|defgeneric\\|defmethod\\)\\|\ > > appears to work in cursory testing. Thanks. So I've now added that in Emacs 29, too. (But that regexp there is the single worst thing I've seen in Emacs, so perhaps longer term it would be nice if it was rewritten. And perhaps the logic [...] 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: 54343 Cc: Lin Jian , 54343@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 (---) "J.P." writes: > -cl-\\(?:defun\\|defmethod\\)\\|\ > +cl-\\(?:defun\\|defgeneric\\|defmethod\\)\\|\ > > appears to work in cursory testing. Thanks. So I've now added that in Emacs 29, too. (But that regexp there is the single worst thing I've seen in Emacs, so perhaps longer term it would be nice if it was rewritten. And perhaps the logic should be "first look for these things, and if we don't find them, then look for these other things". That is, a priority thing.) > Just a benign optimization involving some culling of redundant code in > `erc--switch-to-buffer'. This email contains the latest version, with a > slightly revised commit message: > > https://lists.gnu.org/archive/html/bug-gnu-emacs/2022-01/msg02081.html I think that makes sense? But I haven't tested the patch. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 13 16:12:26 2022 Received: (at 54343) by debbugs.gnu.org; 13 Mar 2022 20:12:26 +0000 Received: from localhost ([127.0.0.1]:43335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTUZm-0002vw-8b for submit@debbugs.gnu.org; Sun, 13 Mar 2022 16:12:26 -0400 Received: from mail-108-mta193.mxroute.com ([136.175.108.193]:34477) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTUZk-0002vj-Br for 54343@debbugs.gnu.org; Sun, 13 Mar 2022 16:12:25 -0400 Received: from filter006.mxroute.com ([140.82.40.27] 140.82.40.27.vultrusercontent.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta193.mxroute.com (ZoneMTA) with ESMTPSA id 17f84e8f9b9000763e.001 for <54343@debbugs.gnu.org> (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Sun, 13 Mar 2022 20:12:15 +0000 X-Zone-Loop: 8a58c1b1ee38cceee5625d580851d02b83c434fe3b96 X-Originating-IP: [140.82.40.27] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=neverwas.me ; s=x; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References: 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=Kdsv9QgI0islCAlPGuFwPRnyHTkAZISICyJ0MAYATT0=; b=RxZlU8Gn2uI3ix2ABJ3ZLbJM7s VxlmktLtSIYRH11XV/NNCuvRn/s8+HzybSXBABbPQZefjscCKV3CsnPtdg1a6HuqOZhvMP6OxeFAa FRf6awY5t1VBnncLSo5D/pFE6I0Wu8PC/xjP71s8DNX1cdTOgSQuIAUGmx6dQYEPV6NLlv6m9Ef7I KlM+erf8YIwhOwhk+GXErXETJ8G3beAHPo2+1sJF2ObLazVf7ywJh6o8jryA5qZFgebDMK5PmmLpb cemI6mrdXo74uNUgfT4y8cydjvK4Essrzo2NZMqSCFvcCnfRkfcFysabAv4bUA8pcLvqpWImH0sYR I5OJnZVQ==; From: "J.P." To: Lars Ingebrigtsen Subject: Re: bug#54343: 28.0.91; find-function goes to a wrong place for erc References: <87h783ys33.fsf@gnus.org> <87wngyad1h.fsf@neverwas.me> <87tuc2vfa6.fsf@gnus.org> <87bkya8s5x.fsf@neverwas.me> <87k0cyuemt.fsf@gnus.org> Date: Sun, 13 Mar 2022 13:12:12 -0700 In-Reply-To: <87k0cyuemt.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 13 Mar 2022 15:10:50 +0100") Message-ID: <87mtht4noj.fsf@neverwas.me> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-AuthUser: masked@neverwas.me X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54343 Cc: Lin Jian , 54343@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: -1.0 (-) Lars Ingebrigtsen writes: > So I've now added that in Emacs 29, too. Looks like the "def" part is missing from "defgeneric": diff --git a/lisp/emacs-lisp/find-func.el b/lisp/emacs-lisp/find-func.el index 777334a7a7..208d68d1ab 100644 --- a/lisp/emacs-lisp/find-func.el +++ b/lisp/emacs-lisp/find-func.el @@ -61,7 +61,7 @@ find-function-regexp [...] -cl-\\(?:defun\\|defmethod\\)\\|\ +cl-\\(?:defun\\|defmethod\\|generic\\)\\|\ ~~~~~~~ I'd used both in back-to-back examples (both def- and plain generic), which was clearly a typo landmine (sorry). > so perhaps longer term it would be nice if it was rewritten. And > perhaps the logic should be "first look for these things, and if we > don't find them, then look for these other things". That is, a > priority thing.) I was thinking much the same, albeit in a less evolved manner. The alternate function form for the CDRs of `find-function-regexp-alist' members may prove useful to do the prioritizing. Perhaps it'd even be worthwhile to incorporate more refined strategies, when available, such as the finders provided by cl-generic.el[1]. >> Just a benign optimization involving some culling of redundant code in >> `erc--switch-to-buffer'. This email contains the latest version, with a >> slightly revised commit message: >> >> https://lists.gnu.org/archive/html/bug-gnu-emacs/2022-01/msg02081.html > > I think that makes sense? But I haven't tested the patch. I'm testing it indirectly (in yet another bug) but will add a unit test for good measure and ping you in the other thread. Thanks. [1] https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/emacs-lisp/cl-generic.el?id=dd91aac5#n995 From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 13 16:16:34 2022 Received: (at 54343) by debbugs.gnu.org; 13 Mar 2022 20:16:34 +0000 Received: from localhost ([127.0.0.1]:43347 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTUdm-00033A-Ao for submit@debbugs.gnu.org; Sun, 13 Mar 2022 16:16:34 -0400 Received: from quimby.gnus.org ([95.216.78.240]:34370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTUdk-00032x-5l for 54343@debbugs.gnu.org; Sun, 13 Mar 2022 16:16:33 -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:In-Reply-To:Date: References: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=uyKS08WLWToH26XdJep2CkpG+Z5C9bqAFVNxInRVNtM=; b=LYk14Vr9IDCpNXsitecHLVRfZC iGGz+GA0ISPcDO9zTWrqJyBz03JWS6h5DjUkqXeLhKIKxidy55babyfCJKYVX7ng3PB9CVE3+AK0n 2BAadHESJGuOxsMaWS9bCA/9o0MWuxORyA0McTUSEApYEcLsMHL23YBZ0htrWFKv1944=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nTUdV-0006eU-NB; Sun, 13 Mar 2022 21:16:19 +0100 From: Lars Ingebrigtsen To: "J.P." Subject: Re: bug#54343: 28.0.91; find-function goes to a wrong place for erc References: <87h783ys33.fsf@gnus.org> <87wngyad1h.fsf@neverwas.me> <87tuc2vfa6.fsf@gnus.org> <87bkya8s5x.fsf@neverwas.me> <87k0cyuemt.fsf@gnus.org> <87mtht4noj.fsf@neverwas.me> Date: Sun, 13 Mar 2022 21:16:15 +0100 In-Reply-To: <87mtht4noj.fsf@neverwas.me> (J. P.'s message of "Sun, 13 Mar 2022 13:12:12 -0700") Message-ID: <877d8xtxps.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) 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: "J.P." writes: > Looks like the "def" part is missing from "defgeneric": Darn. I didn't test, because it seemed to be "obvious"... 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: 54343 Cc: Lin Jian , 54343@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 (---) "J.P." writes: > Looks like the "def" part is missing from "defgeneric": Darn. I didn't test, because it seemed to be "obvious"... Fixed now. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sat Jun 21 10:30:32 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 11 Apr 2022 11:24:06 +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