From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#8422: 24.0.50; doc of `apropos-internal' Date: Fri, 15 Jul 2011 14:39:31 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310734123 6305 80.91.229.12 (15 Jul 2011 12:48:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 15 Jul 2011 12:48:43 +0000 (UTC) Cc: 8422@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 15 14:48:39 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qhhoq-00066q-PO for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jul 2011 14:48:36 +0200 Original-Received: from localhost ([::1]:35749 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qhhop-0003ex-Mk for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jul 2011 08:48:35 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:47874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhhoP-0003dY-Sj for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2011 08:48:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhhoI-0004Hf-QQ for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2011 08:48:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhhoI-0004HT-Hl for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2011 08:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QhhoI-0000CZ-0L; Fri, 15 Jul 2011 08:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Jul 2011 12:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8422 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8422-submit@debbugs.gnu.org id=B8422.1310734033710 (code B ref 8422); Fri, 15 Jul 2011 12:48:01 +0000 Original-Received: (at 8422) by debbugs.gnu.org; 15 Jul 2011 12:47:13 +0000 Original-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 Original-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 Original-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 In-Reply-To: (Drew Adams's message of "Mon, 4 Apr 2011 09:13:39 -0700") 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 X-MailScanner-ID: 1Qhhn9-0000kE-4S MailScanner-NULL-Check: 1311338811.31463@heZVk5Gh0O6+y2pvpYs19Q X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 15 Jul 2011 08:48:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:49125 Archived-At: "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/