From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: [ELPA] New package: inform Date: Fri, 8 May 2020 14:55:44 -0700 (PDT) Message-ID: <7933d745-a53b-4adc-ba77-a20c159b4469@default> References: <86lfm3k05m.fsf@duenenhof-wilhelm.de> <868si2kfg8.fsf@duenenhof-wilhelm.de> <2f8bf7aa-7160-44b0-9c7b-1ba97adb4496@default> <86imh6i7gp.fsf@duenenhof-wilhelm.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="27549"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier , emacs-devel@gnu.org To: dieter@duenenhof-wilhelm.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 08 23:56:51 2020 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 1jXAzD-00072k-B5 for ged-emacs-devel@m.gmane-mx.org; Fri, 08 May 2020 23:56:51 +0200 Original-Received: from localhost ([::1]:36634 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jXAzC-0000tH-CV for ged-emacs-devel@m.gmane-mx.org; Fri, 08 May 2020 17:56:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37832) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jXAyK-0000RN-Mo for emacs-devel@gnu.org; Fri, 08 May 2020 17:55:56 -0400 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:33506) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jXAyI-0008V7-R8 for emacs-devel@gnu.org; Fri, 08 May 2020 17:55:55 -0400 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 048LnwX9033260; Fri, 8 May 2020 21:55:49 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=W1LTdaK6OXjLzt5cmeSs7QMP8/m3ZEBThPzojGQq0U0=; b=IB2x5Tyd1/6Z9l+nZnVnF6roWYnS+aYbK2+UZrmD2/GGGUXwe3lC9pgOrW4ELUadWEZP zu3+5tnQvf92YiRkPLNN+c9L7ScyAA2E+MzH7OdSI1gZR9KOlyQJjj1+eUeSVz+VdVeB JoS3H1b2gLsaoCJjD/TJJOIQgCn6Rnub439A+KmSn9nHzFSUOocUqNw2BBt6TS31Y3c8 5nmrdUS5r5F+Dr/04pHaANkEBGSWUOCMIV6d4P5kKjrlLzD8Fj0Ye84czMbTw4XseFU1 SAXpmqNH7c+9iMK/n3a9xdwPxbv28Vxo1vKQ++bPYEhGJZWD1Dm5jdnYm66c1x5WW66m Xw== Original-Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by aserp2120.oracle.com with ESMTP id 30vtepnc2e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 08 May 2020 21:55:48 +0000 Original-Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 048Lqvte004587; Fri, 8 May 2020 21:55:48 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserp3030.oracle.com with ESMTP id 30vtdpcxtj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 08 May 2020 21:55:48 +0000 Original-Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 048Ltj1k018419; Fri, 8 May 2020 21:55:47 GMT In-Reply-To: <86imh6i7gp.fsf@duenenhof-wilhelm.de> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4993.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9615 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 malwarescore=0 spamscore=0 mlxscore=0 mlxlogscore=803 bulkscore=0 phishscore=0 suspectscore=1 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005080186 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9615 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 spamscore=0 impostorscore=0 phishscore=0 clxscore=1015 priorityscore=1501 lowpriorityscore=0 malwarescore=0 suspectscore=1 mlxscore=0 mlxlogscore=830 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005080185 Received-SPF: pass client-ip=141.146.126.78; envelope-from=drew.adams@oracle.com; helo=aserp2120.oracle.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/08 17:55:53 X-ACL-Warn: Detected OS = Linux 3.x [generic] [fuzzy] X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:249328 Archived-At: > > You might want to have a user option for what > > you're considering wrt Info links: a whitelist > > of the manuals to treat. >=20 > Are you telling me that I can use, in these situtations, one variable > for two purposes? 1) For specifying and changing the list and 2) > switching a linking for lists off and on? >=20 > '((list members) t) ; only these > '((other members) nil) ; none of these > '('all nil) ; no links > '('all t) ; link everything? Not sure what you're asking. I think you're asking whether you can about doing something like what I did in help-fns+.el: let a single option value specify both: 1. Either a list of manuals or a value that means use all manuals present. and 2. Whether to do . In my case, #2 is whether to search the manuals specified by #1 before creating the button, so the button either (a) takes you directly to an Info Index buffer (menu) of the relevant links or (b) searches the manuals and produces such an Info Index buffer of links when you click it. (a) Takes the time to compute the menu before showing *Help*, which is a waste of time if you never click the button. (b) Saves that time before creating *Help*, but spends it when you click the button. TBH, the approach in help-fns+.el is not very satisfactory, because of the time to compute the links (either way). But that's what that particular defcustom is about. In Customize, there are two things to customize: 1. "Which Manuals:" which has a `Value Menu' that lets you choose between "Specific Manuals (files)" and "All Manuals". For the former, the type is a repetition (`repeat') of type `string'. For the latter, the value is the symbol `all'. 2. A toggle button, "Search Before Creating Button?" The type is `boolean'.