From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: Any infrastructure to select one of a few options in Emacs core? Date: Mon, 9 May 2016 10:27:32 -0700 (PDT) Message-ID: <86f9c662-a9ec-4bf5-ab0d-8f66d4e0fcf5@default> References: <87shxrczlt.fsf@mbork.pl> <12f1c4cf-ee4a-444e-bfc3-1e703d3ad50d@default> <87h9e7ck96.fsf@mbork.pl> <878tzjcg3x.fsf@mbork.pl> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1462815188 20951 80.91.229.3 (9 May 2016 17:33:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 May 2016 17:33:08 +0000 (UTC) Cc: Help Gnu Emacs mailing list , Oleh Krehel To: Marcin Borkowski , Kaushal Modi Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 09 19:32:55 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1azoyN-0004pG-5O for geh-help-gnu-emacs@m.gmane.org; Mon, 09 May 2016 19:27:59 +0200 Original-Received: from localhost ([::1]:42458 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azoyM-0000NG-2l for geh-help-gnu-emacs@m.gmane.org; Mon, 09 May 2016 13:27:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azoy9-0000JH-7z for help-gnu-emacs@gnu.org; Mon, 09 May 2016 13:27:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1azoy4-0007wO-TS for help-gnu-emacs@gnu.org; Mon, 09 May 2016 13:27:44 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:31921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azoy4-0007wJ-Ld for help-gnu-emacs@gnu.org; Mon, 09 May 2016 13:27:40 -0400 Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u49HRbp7025762 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 9 May 2016 17:27:37 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u49HRa5a026334 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 9 May 2016 17:27:37 GMT Original-Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by aserv0122.oracle.com (8.13.8/8.13.8) with ESMTP id u49HRYa3018333; Mon, 9 May 2016 17:27:35 GMT In-Reply-To: <878tzjcg3x.fsf@mbork.pl> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] X-Source-IP: userv0021.oracle.com [156.151.31.71] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:109914 Archived-At: > > completing-read > > Yes and no. I thought about it, and rejected the idea: I want all the > options to be visible without pressing TAB. Also, each option might > need more than one line (and the number of lines may vary between > options), so I don't like the idea of using minibuffer at all. It's still not clear from your description what you mean by "select" one of the options. Please specify how commands such as `customize', `customize-apropos' do not do what you want. `M-x customize-apropos-options RET .* RET', for example, shows you all currently defined options, together with their doc string first line (and full information if you expand an option description). --- Emacs used to also have a command `edit-options', which listed all options with their doc strings, and which had these keys: Options mode: Major mode for editing Emacs user option settings. Special commands are: s -- set variable point points at. New value read using minibuffer. x -- toggle variable, t -> nil, nil -> t. 1 -- set variable to t. 0 -- set variable to nil. Changed values made by these commands take effect immediately. Each variable description is a paragraph. For convenience, the characters p and n move back and forward by paragraphs. This feature was removed before Emacs 22, however.