From unknown Tue Jun 24 20:52:08 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#8422 <8422@debbugs.gnu.org> To: bug#8422 <8422@debbugs.gnu.org> Subject: Status: 24.0.50; doc of `apropos-internal' Reply-To: bug#8422 <8422@debbugs.gnu.org> Date: Wed, 25 Jun 2025 03:52:08 +0000 retitle 8422 24.0.50; doc of `apropos-internal' reassign 8422 emacs submitter 8422 "Drew Adams" severity 8422 minor tag 8422 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 04 12:14:07 2011 Received: (at submit) by debbugs.gnu.org; 4 Apr 2011 16:14:07 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q6mPf-0005KM-Su for submit@debbugs.gnu.org; Mon, 04 Apr 2011 12:14:07 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q6mPe-0005K8-Mz for submit@debbugs.gnu.org; Mon, 04 Apr 2011 12:13:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q6mPY-0005QD-IQ for submit@debbugs.gnu.org; Mon, 04 Apr 2011 12:13:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:50608) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q6mPY-0005Pw-0y for submit@debbugs.gnu.org; Mon, 04 Apr 2011 12:13:52 -0400 Received: from [140.186.70.92] (port=51257 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q6mPT-0003kl-FF for bug-gnu-emacs@gnu.org; Mon, 04 Apr 2011 12:13:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q6mPP-0005Oz-Ue for bug-gnu-emacs@gnu.org; Mon, 04 Apr 2011 12:13:45 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]:16607) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q6mPP-0005Ou-PX for bug-gnu-emacs@gnu.org; Mon, 04 Apr 2011 12:13:43 -0400 Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p34GDfOH008142 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 4 Apr 2011 16:13:43 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p34GDfwB023355 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 4 Apr 2011 16:13:41 GMT Received: from abhmt002.oracle.com (abhmt002.oracle.com [141.146.116.11]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p34GDege014888 for ; Mon, 4 Apr 2011 11:13:40 -0500 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 04 Apr 2011 09:13:39 -0700 From: "Drew Adams" To: Subject: 24.0.50; doc of `apropos-internal' Date: Mon, 4 Apr 2011 09:13:39 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 Thread-Index: Acvy40KZKhOZydksSKmHQqOXRe+ObA== X-Source-IP: acsmt358.oracle.com [141.146.40.158] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090209.4D99EE35.0128:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.5 (------) Please add to the doc string some info about what the context is when/where PREDICATE is invoked. Suppose, for instance, you wanted to use a PREDICATE such as this: (lambda (c) (and (commandp c) (where-is-internal c overriding-local-map 'non-ascii)) The behavior of the PREDICATE depends on which buffer is current when it is invoked. Can we assume that the buffer is the same one as when `apropos-internal' was invoked? Likewise wrt the selected window. To find this info, users currently need to look at the C source code. In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2011-04-04 on 3249CTO Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.5) --no-opt --cflags -Ic:/imagesupport/include' From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 15 08:47:13 2011 Received: (at 8422) by debbugs.gnu.org; 15 Jul 2011 12:47:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhhnQ-0000BF-RC for submit@debbugs.gnu.org; Fri, 15 Jul 2011 08:47:12 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhhnK-0000Ag-Kx for 8422@debbugs.gnu.org; Fri, 15 Jul 2011 08:47:06 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Qhhn9-0000kE-4S; Fri, 15 Jul 2011 14:46:51 +0200 From: Lars Magne Ingebrigtsen To: "Drew Adams" Subject: Re: 24.0.50; doc of `apropos-internal' In-Reply-To: (Drew Adams's message of "Mon, 4 Apr 2011 09:13:39 -0700") Date: Fri, 15 Jul 2011 14:39:31 +0200 Message-ID: References: User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Now-Playing: Joni Mitchell's _Joni Mitchell_: "Nathan La Franeer" X-Hashcash: 1:23:110715:8422@debbugs.gnu.org::smLMsT5VE3jUD9fm:00000000000000000000000000000000000000000PV5z X-Hashcash: 1:23:110715:drew.adams@oracle.com::JkaES/iZJIl/bXHm:0000000000000000000000000000000000000001ar50 X-Hashcash: 1:23:110715:bug-gnu-emacs@gnu.org::1IiFveFCwN3l+NA2:0000000000000000000000000000000000000001k8+f MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1Qhhn9-0000kE-4S X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1311338811.31463@heZVk5Gh0O6+y2pvpYs19Q X-Spam-Status: No X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 8422 Cc: 8422@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) "Drew Adams" writes: > Please add to the doc string some info about what the context is > when/where PREDICATE is invoked. Suppose, for instance, you wanted to > use a PREDICATE such as this: > > (lambda (c) > (and (commandp c) > (where-is-internal c overriding-local-map 'non-ascii)) > > The behavior of the PREDICATE depends on which buffer is current when it > is invoked. Can we assume that the buffer is the same one as when > `apropos-internal' was invoked? Likewise wrt the selected window. > > To find this info, users currently need to look at the C source code. That sounds reasonable, but I'm not quite sure that's how the predicate is meant to be used. That is, I'm not sure it's an implementation detail what buffer the predicate is called from, or whether it's supposed to be that way. Anybody know? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 28 06:33:44 2016 Received: (at 8422) by debbugs.gnu.org; 28 Apr 2016 10:33:44 +0000 Received: from localhost ([127.0.0.1]:51253 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avjGR-0001Vy-RP for submit@debbugs.gnu.org; Thu, 28 Apr 2016 06:33:43 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:34766) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avjGQ-0001Vl-Hz for 8422@debbugs.gnu.org; Thu, 28 Apr 2016 06:33:43 -0400 Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1avjGH-0000bh-U8; Thu, 28 Apr 2016 12:33:37 +0200 From: Lars Ingebrigtsen To: "Drew Adams" Subject: Re: bug#8422: 24.0.50; doc of `apropos-internal' References: Date: Thu, 28 Apr 2016 12:33:33 +0200 In-Reply-To: (Drew Adams's message of "Mon, 4 Apr 2011 09:13:39 -0700") Message-ID: <87wpniowea.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 8422 Cc: 8422@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: 0.0 (/) "Drew Adams" writes: > Please add to the doc string some info about what the context is > when/where PREDICATE is invoked. Suppose, for instance, you wanted to > use a PREDICATE such as this: > > (lambda (c) > (and (commandp c) > (where-is-internal c overriding-local-map 'non-ascii)) > > The behavior of the PREDICATE depends on which buffer is current when it > is invoked. Can we assume that the buffer is the same one as when > `apropos-internal' was invoked? Likewise wrt the selected window. > > To find this info, users currently need to look at the C source code. Uhm... no. As far as I can see, apropos-internal does nothing weird like changing buffers or windows? So it would be rather odd to document that it doesn't do . Other mapping functions like `sort' certainly doesn't. Closing. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 28 06:33:45 2016 Received: (at control) by debbugs.gnu.org; 28 Apr 2016 10:33:45 +0000 Received: from localhost ([127.0.0.1]:51255 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avjGT-0001W8-1r for submit@debbugs.gnu.org; Thu, 28 Apr 2016 06:33:45 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:34769) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avjGR-0001Vn-3P for control@debbugs.gnu.org; Thu, 28 Apr 2016 06:33:43 -0400 Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1avjGO-0000bp-Us for control@debbugs.gnu.org; Thu, 28 Apr 2016 12:33:42 +0200 Date: Thu, 28 Apr 2016 12:33:40 +0200 Message-Id: <87vb32owe3.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #8422 X-Spam-Score: 0.0 (/) 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: 0.0 (/) tags 8422 notabug close 8422 From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 28 09:48:26 2016 Received: (at 8422) by debbugs.gnu.org; 28 Apr 2016 13:48:26 +0000 Received: from localhost ([127.0.0.1]:51711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avmIs-0006Bn-90 for submit@debbugs.gnu.org; Thu, 28 Apr 2016 09:48:26 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:22502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avmIq-0006BZ-QO for 8422@debbugs.gnu.org; Thu, 28 Apr 2016 09:48:25 -0400 Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u3SDmIXO001584 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 28 Apr 2016 13:48:19 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0022.oracle.com (8.14.4/8.13.8) with ESMTP id u3SDmH5d011846 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 28 Apr 2016 13:48:18 GMT Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u3SDmHJw030912; Thu, 28 Apr 2016 13:48:17 GMT MIME-Version: 1.0 Message-ID: <59efa06f-f63f-4a14-9a05-80e9603c2aae@default> Date: Thu, 28 Apr 2016 06:48:15 -0700 (PDT) From: Drew Adams To: Lars Ingebrigtsen Subject: RE: bug#8422: 24.0.50; doc of `apropos-internal' References: <87wpniowea.fsf@gnus.org> In-Reply-To: <87wpniowea.fsf@gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: userv0022.oracle.com [156.151.31.74] X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 8422 Cc: 8422@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 (---) > Uhm... no. As far as I can see, apropos-internal does nothing weird > like changing buffers or windows? So it would be rather odd to document > that it doesn't do . Other mapping functions like > `sort' certainly doesn't. Closing. That contradicts what a certain Lars Ingebrigtsen wrote in this bug thread in 2011: > To find this info, users currently need to look at the C source code. That sounds reasonable, but I'm not quite sure that's how the predicate is meant to be used. That is, I'm not sure it's an implementation detail what buffer the predicate is called from, or whether it's supposed to be that way. Anybody know? Of course, we all have the right to change our minds. ;-) From unknown Tue Jun 24 20:52:08 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 27 May 2016 11:24:04 +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