From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: [External] : Re: Use of advice [was: Is it valid to call isearch-filter-predicate outside isearch?] Date: Wed, 7 Jun 2023 14:47:47 +0000 Message-ID: References: <87edmo17v7.fsf@web.de> <87ttvjcx0r.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32188"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "emacs-devel@gnu.org" To: Ihor Radchenko , Michael Heerdegen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jun 07 16:48:31 2023 Return-path: Envelope-to: ged-emacs-devel@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 1q6uSb-000873-Ve for ged-emacs-devel@m.gmane-mx.org; Wed, 07 Jun 2023 16:48:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q6uS7-00079R-LC; Wed, 07 Jun 2023 10:47:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6uS3-00075y-Ui for emacs-devel@gnu.org; Wed, 07 Jun 2023 10:47:55 -0400 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6uS2-00089W-4y for emacs-devel@gnu.org; Wed, 07 Jun 2023 10:47:55 -0400 Original-Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 357EldWm011471; Wed, 7 Jun 2023 14:47:51 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2023-03-30; bh=YT1+XFWY7FY+063qVvFUrX6Buz0OHYLixDcoB/ugsdc=; b=Ns3iNFJzXoO5CdDOH2OzzM5WlePVXCGI2tN/jzzGKTydQ30RuBgfHzgaYnZ62kZTrbhp Ctm5UxFW6lcbDZq4Z90einHlwVmOdhrkQzReNj2JiaJU4FALVWiVT/P4lR96StQubd63 wXiypZAlCgpHs/xMoOlRtFrc60OB1oa5djKiTJwiNVhJVWkkntOhXgS22p1amo9WpdW1 dPUv7WphWCE54NEkLxRkehVRtDrhE9xAkoag6FVrDG2QPMh1D1nb3q7JEm4P454cbvai tIg1opQmGVFmyEKzXW65fFv1NHAR9OTil9RLzXcMAfGaZW0LyBbQNQvdZ+grVh8H3ZMz kg== Original-Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3r2a6ut095-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 07 Jun 2023 14:47:50 +0000 Original-Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 357DipXv037297; Wed, 7 Jun 2023 14:47:50 GMT Original-Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2177.outbound.protection.outlook.com [104.47.56.177]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3r2a6hb7yn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 07 Jun 2023 14:47:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YSW2woQ6caHfHGW/2rp9ux44HATUTAQGlsaiGIdd6FpWj3lhOEvF8o3CxG3zP5QQa3JK3011wqJ0h5zW8tL48WEl8WXaDDl0fushQA2Sy9WvQKCBbk7/TpdWa/OsCCvFBNCOnXcDO/DAlkVAL4d7IIVS3p+y01jk88FvQOT+xuYfhaGVyrT74iJ5LgvCJWI2jCqBAEDvuPurwz6J9NuZk1V7kj7OP4tyvbWWqEaRz4qT8pcKu0Um40dPYglIREwJkCsTcWt2hnAF5ervmuB8TGC3iJ9IzqkFs/Fy5ew2IwldnUCfp08TANvPoYnnGrQQ0fFjeGYG3eoS2oGeNiw6vQ== 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=YT1+XFWY7FY+063qVvFUrX6Buz0OHYLixDcoB/ugsdc=; b=cj+uS0Y6gNKWS/uMGyre2KMgP741sZOHAR3w/38+0CaJFVPHHGLWLWRKCEcz/b3+Anj8RaqlPZ+jLDfN/entgobMgx5zZKpL9VB+MmtGnzSSoVD0patTevC7qQ/ivnr+NKrP6fdvyVlUGkv7neCEEsSGbKKPQg26SfIWyk+ngrkFqPNTwAdsYO+B3rQtwH+djiCeq5RoygmOkNwC6eX6KBdZhzIgmE+cb2xMChePZIXX9Ey9kufZgpgtgh55JBHer+zofmJ4d2tnhmVng/Dhqixxg7NJLYH6arSU7zezZzNW6gl1scdhQXm/MSRh3OuHpVtpzqmjR+ONuagm0Vy9rw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YT1+XFWY7FY+063qVvFUrX6Buz0OHYLixDcoB/ugsdc=; b=ZeoTOk9nMyIYlCaGqc3oaTbP7SYwcr7XTryvV3sPf4/rVmcxKCnXJOVQyIl54obl9OxaG/Ticu1tajBek/IL5EVxBZSz6AYMHhcQc8MM90eO6mTqawTKztqV43KGHRzaYssE81czdvwzVBTTuwy3Odr6H+r3c/mfOn/9b4r0I+M= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by DS0PR10MB6800.namprd10.prod.outlook.com (2603:10b6:8:13b::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.33; Wed, 7 Jun 2023 14:47:48 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::a995:2ae5:2745:24ff]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::a995:2ae5:2745:24ff%6]) with mapi id 15.20.6455.030; Wed, 7 Jun 2023 14:47:47 +0000 Thread-Topic: [External] : Re: Use of advice [was: Is it valid to call isearch-filter-predicate outside isearch?] Thread-Index: AQHZmTYkNjLRvaqum0KPCsbMXlQ1Za9/at1Q In-Reply-To: <87ttvjcx0r.fsf@localhost> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR10MB5488:EE_|DS0PR10MB6800:EE_ x-ms-office365-filtering-correlation-id: 2bcad37c-6ea6-4aac-0654-08db67662939 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 8TI7WCRTUEpaqTrssCRb0Xs7Mq/jJCdnGYZMehtZN5GUy6TIIR+9QI721+1Rkc+PX2+ZOw+bi8GCv4ncC3kVTutEcrO4PPf27GYT+l5J62MlF3x37Oq6/w+Fh2I7ylNbKTCRVXIfR5KvJyzGrYE2QZa7IsfGSzOezZzKGELhivHauBvMJBMY0D86daYPweDf44cET39xYF/Ci5hMz79vGp8I4hUrMUnHe2HCt8dp+I+9Sl1kxer+AlXjdxwzX7P4APDk8NbrfLPIPgL6cE8N+cz/wuCVwurwqBgk6gIduyHZzFwj95SYThLcf4BLFvNKfMfJ6evCTdjI1YfpgxL00uR7eFwBRCByK/TjaDZZA1vmTAcA/XQGiFuD191p+Za7W6/qvReb9RgClIrGn2iHurPsFemQetgpkraje9cQVX3Xedoy10PM8Mul0Tyl2hB+SHf/taN3ZFVZQvzQFNpnLxbm8AMZDf9mF54pcVC0i1fCj0SS78mKZwy6hWRZ3ZpULLvBrVVNZfKao6tYdtjyH2futQ/Jap0nYiYsgkPHoooMtEriYhgVXWoUt6twvGqDwfoYHuGOgw/BzCj7DmZpgaDVwiyaNvso3IKhNLKo5U1UPjgXx94vz9rFSyNdQvY2 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(396003)(39860400002)(376002)(136003)(346002)(366004)(451199021)(4744005)(2906002)(478600001)(38070700005)(83380400001)(9686003)(186003)(6506007)(86362001)(26005)(122000001)(38100700002)(33656002)(7696005)(55016003)(71200400001)(52536014)(4326008)(64756008)(76116006)(66476007)(66446008)(66556008)(66946007)(5660300002)(8676002)(8936002)(316002)(44832011)(110136005)(41300700001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?aCV6RKlZyLzzVqvcVi3dqQUWKmYDNpCgGX/C8WWz+ksrgkkIW1Jbtu54WOZX?= =?us-ascii?Q?FDxQgbUXGSbz+i+eLv8vDNgbFsenjPrz9QuLIKaDNSlFbFVAVWsh5AnyfVd4?= =?us-ascii?Q?mqR/qlyyPGE5AVqhbPZpe+SNIHpSQ0XYxfGDn4lHDO7LZEU4+yvuo4wH5Gzg?= =?us-ascii?Q?77BKipvPAPHSE8hB74QkyqREZMEJy9xcyY3i/T5v9xhVfXMP3HCOS8NxZwtw?= =?us-ascii?Q?tGVYWBaJcYoQPpD2o183SIHA7KKQh7d8vdcoz81ZOw4TWdXCDAo2QRzTz3C0?= =?us-ascii?Q?Y4AvXB+yqsCFCJKxP4mscFeN9tBt/Zq7lpiPhxCm1sy2TK48fuj2CdilsMwx?= =?us-ascii?Q?TiqahkyTwC2i2FpY1iiPrhT1L8ErLTjBZZclJO7FVbY2qdSC9MCzcDt4vXY5?= =?us-ascii?Q?/rAaYQw9/Or0DscWXt6BEs0+HR6zIPneDAyV6uY4go3xA5yXlkDh6pY/8VNy?= =?us-ascii?Q?/RjQogLvC7AlEzAYho0dR2gG3ex0dceHNJQ3+hP6e/QbMetyXJG5QoODQDLB?= =?us-ascii?Q?CWoSbkb0/Tef2KNE0epbueatDsbZEjUMGp+yR8/yefMfmnO/s1C+dn8ygmIf?= =?us-ascii?Q?4CT4bUQVVOEJa6sslRCvHVoZ3MIAhQr3yA4gWaBSAc0H0KsjTvx4VX2opQH9?= =?us-ascii?Q?GL X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: +6Cj9F7pJ1DcXkWGI5qRoL3b9XHCVw2s9IwDMxTiOOJOJ83lVn3nHMC2/oItzVvuQSejChW+01O6EFSHhMnT/85fMuMzrhGVZSJjuVoBf3KIPf0J6NY3oZFLi4rwH8TxH0L/6HYveNnp1sn4CXz5HJGJhff/uGdQgF1hY1DyRKqU/Lfja9CakkFT6Gi72SL5ytH8lAwD1+u0CElcIwCZuZPrfWhsPMCbCwx+kjJ8tf6/RyB62YKke6rpmAsSSUdEJMB4xtfehkON3CQAXC62bsNWaa5dMjWe3eVdqOZUCNIQVOY0wtydjKvS5YvPbVCVsFsx0rSmID9P0ZW2lo1VuglLl8jIgKCe+DZ/1HoVx0vDnqTg8LNIZT4iZoBX+InvUI19Da2Rm7Wf5T0aEKmmLzZlafbz/iKCWo1GfMtg7Pno0uQh1qRaF+pa408pI5mNggCC2PEKLilqTjcYBbyPgiJaHx4Rsnxm+BK2OZxvZmh/3blm1ivefRRkGWicJAod2cc8djd07vGxrEy0UT5EcHFtiVrUbntvMYEGlnnlDPMbGENJkJDCFTKwQ9ASw6rj7G2ERTRBDUlwJlP4dOcSmH0fUX7gnf5EdyxbZ9mpcNGDKusyayColC7KfmNeRHXQVLXvUVhCVeRysbxhe9IMTlNPh1q3hTDin2mfklcArMFZzm4nA72zZYfuNGiaXLyolSCyAQfQada/RzqP0cGn2+OKTuaa6lY/QUs/Vr65ohoju5 N3qDRZIqcDUXnLi6pxX+Fpm8CKUzqjgeJm3zMlqz36n41vexHAdiTr7k2VAIo= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2bcad37c-6ea6-4aac-0654-08db67662939 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jun 2023 14:47:47.8751 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: aDCyNvQ5BJKRFGsAS7d0yRRhI+Z4d8slmmshbF5Q+l9t6LBtg/xBRniAkXt8d841Y2+5L6Pr5wtYfMzgfG7O3w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR10MB6800 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-07_07,2023-06-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 mlxscore=0 malwarescore=0 adultscore=0 mlxlogscore=804 bulkscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306070125 X-Proofpoint-GUID: KC7l5gmkYEyxgMlUnBvD8pHy0eXwXtBY X-Proofpoint-ORIG-GUID: KC7l5gmkYEyxgMlUnBvD8pHy0eXwXtBY Received-SPF: pass client-ip=205.220.165.32; envelope-from=drew.adams@oracle.com; helo=mx0a-00069f02.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:306685 Archived-At: > > The "see what is going on" part would maybe be > > facilitated if the *Help* pages would show a > > combined overview showing which types of advices > > are applied in which order and at which depth > > around an advised function (at least in not > > trivial cases). >=20 > AFAIK, helpful.el does add this indication. Isearch+ also provides it, on demand while searching: `C-z ?' ('isearchp-show-filters') echoes the current suite of filter predicates (advice and original, unadvised predicate). IOW, _while you're using_ an advised function you can show what the advice consists of.