From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: info-lookup-alist mangled, breaks C-h S Date: Tue, 04 Jan 2022 17:03:38 +0200 Message-ID: <83bl0rbl11.fsf@gnu.org> References: <87ee5o7eun.fsf@gnu.org> <83ee5nblfv.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12544"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 04 16:17:49 2022 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 1n4lZM-00036K-Ng for ged-emacs-devel@m.gmane-mx.org; Tue, 04 Jan 2022 16:17:48 +0100 Original-Received: from localhost ([::1]:49270 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4lZL-0001CW-9M for ged-emacs-devel@m.gmane-mx.org; Tue, 04 Jan 2022 10:17:47 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53956) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4lLX-0004ja-Ot for emacs-devel@gnu.org; Tue, 04 Jan 2022 10:03:31 -0500 Original-Received: from [2001:470:142:3::e] (port=47170 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4lLX-0005am-Cj; Tue, 04 Jan 2022 10:03:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=grf+4uBchcZ9qUQ1ZWqTXBhzKfLcExyZcXFoe/ZsxRM=; b=gMW9AFJbLCCu Z3rI5sBbUGAAnkWG/tQflHT38DoLv9bF6WgFfHOsd9dLE+b1QOpcTuzt9NQX3eqXGUW0IyhsXw+QR gEzj+8vyl47sEDWLdPRwVRGjuKQhwGrxvoyIsbkBi+MA9N0VMngpuKdyPmLDa13wJp19gz3MgrE5V CoQWHN04GsjyYmsAIxWFBz2Tv++OTwE2n9xd0XlicjZgXJXNdn1+10ORWUGH3Dv7soHv+u5LaY6Ej SIDI3kJzoqB/YypEufGdUtHsSyFwZajyL5Ql6vTFXVsEIQBtG4N9Tqj2GL4Kg+biW/9ZV6uAKg6mC aVLzTLwt2hJHSZsBtmcViA==; Original-Received: from [87.69.77.57] (port=3413 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4lLX-0006sK-BJ; Tue, 04 Jan 2022 10:03:31 -0500 In-Reply-To: <83ee5nblfv.fsf@gnu.org> (message from Eli Zaretskii on Tue, 04 Jan 2022 16:54:44 +0200) 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" Xref: news.gmane.io gmane.emacs.devel:284156 Archived-At: Lars, your commit f839c7f, viz.: Author: Lars Ingebrigtsen AuthorDate: Sat Oct 9 14:44:21 2021 +0200 Commit: Lars Ingebrigtsen CommitDate: Sat Oct 9 14:44:21 2021 +0200 Make `C-h S' work on symbols from most of the manuals in Emacs * lisp/info-look.el (lambda): Add `C-h S' lookup for all the "misc" manuals in Emacs (bug#42753). introduced a new form for HELP-MODE in info-look up-alist: +(mapc + (lambda (elem) + (let* ((prefix (car elem))) + (info-lookup-add-help + :mode (cons 'emacs-lisp-mode prefix) <<<<<<<<<<<<<<<<< Now HELP-MODE could be a cons cell, not just a symbol. But the doc string of info-lookup-alist was not updated, and therefore the semantics of this form is not documented. What does that cons cell value mean?