From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: hideshow docstring in elisp or common lisp code Date: Tue, 13 Nov 2018 07:11:24 -0800 (PST) Message-ID: <8e55ed17-f584-4040-9d21-3e0b273d6895@default> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1542122710 3826 195.159.176.226 (13 Nov 2018 15:25:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 13 Nov 2018 15:25:10 +0000 (UTC) To: Mirko Vukovic , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 13 16:25:06 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gMaYs-0000sW-0P for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Nov 2018 16:25:06 +0100 Original-Received: from localhost ([::1]:54454 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gMaay-0004ma-GZ for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Nov 2018 10:27:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34291) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gMaZt-0004Mr-ML for help-gnu-emacs@gnu.org; Tue, 13 Nov 2018 10:26:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gMaM2-0003Gm-1H for help-gnu-emacs@gnu.org; Tue, 13 Nov 2018 10:11:52 -0500 Original-Received: from userp2120.oracle.com ([156.151.31.85]:60230) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gMaLv-0003AS-UX for help-gnu-emacs@gnu.org; Tue, 13 Nov 2018 10:11:46 -0500 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id wADFBROI052911; Tue, 13 Nov 2018 15:11:27 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=/AqPcUJptJm/vI/VQH6VHXiKc27MitgUx9WoG+rOuR4=; b=nHP/ZPSqkksxUfz7Af69B1m2/IhkrLU+P4A2V+6g+Av8I4HRQKqeHmPI9aqg8mJujLqm xXMBWCfKXzdVoJUJEma8FKrhLrnQCoopuKNw+WTATCjJWQNPGeB0G18+7ZE/f/Wx1NP6 Fpn2OmjIuxkjEA61OA0vDRMzGTTwbeR3ElduUz2Nh6YWAlg5jFW8tF6aM6khhRUd+VrV EfBRFuAeylcQwYVOua3AoW4hbZhS13CCNAUSpFRtU2w3eN0vg8zl3GettsNYO9TLMr+2 qoW9Msh1cxJKZ8s8YysID5zSoffEA1eh70ANVVL+M3Lfbtp/npuJWStYNJesCgP63kYJ 1w== Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2120.oracle.com with ESMTP id 2nnwc0k7vu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 13 Nov 2018 15:11:27 +0000 Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id wADFBPut007594 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 13 Nov 2018 15:11:25 GMT Original-Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id wADFBPbg018986; Tue, 13 Nov 2018 15:11:25 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4756.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9076 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1811130138 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 156.151.31.85 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:118663 Archived-At: You also have similar command `isearchp-toggle-zone/anti-zone-visibility', which toggles between showing only the zones (in this case only the doc strings) and showing only the anti-zones (in this case all but the doc strings). Related commands: `isearchp-make(-anti)-zones-visible', `isearchp-make(-anti)-zones-invisible', and `isearchp-toggle-anti-zones-invisible'. And `isearchp-add-prop-to-other-prop-zones' and `isearchp-put-prop-on-zones', which you can use to add a text property such as `invisible' to zones. And commands to search just within zones: `isearchp-zones-(backward|forward)(-regexp)'. By default, the anti-zones are dimmed a bit while you search, to help the zones to stand out. This is controlled by options `isearchp-dimming-color' and `isearchp-dim-outside-search-area-flag'. The latter option (thus the dimming) can be toggled by `C-M-S-d' during Isearch. And command `isearchp-toggle-complementing-domain' flips whether to search the zones or the anti-zones. It's bound to `C-M-~' during Isearch. So, for example, having defined doc strings as the zones, you can search either doc strings or everything but doc strings, just by hitting `C-M-~'. All of the commands just mentioned are from library `isearch-prop.el'. But the ones specifically for use with zones require also library `zones.el'.