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: Request for pointers and advice: displaying several buffers inside a single window Date: Sun, 12 Apr 2020 22:23:29 -0700 (PDT) Message-ID: References: <83a73swwd7.fsf@gnu.org> <87wo6nxsjz.fsf@localhost> <83d08fmgul.fsf@gnu.org> <87tv1rxmgc.fsf@localhost> <83a73jmcyo.fsf@gnu.org> <87pncfxk4m.fsf@localhost> <87mu7jxi64.fsf@localhost> <87eesuxwzt.fsf@localhost> <871roscl16.fsf@mail.linkov.net> 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="68492"; mail-complaints-to="usenet@ciao.gmane.io" Cc: casouri@gmail.com, dim1212k@gmail.com, yantar92@gmail.com, emacs-devel@gnu.org, adam@alphapapa.net, eliz@gnu.org To: Juri Linkov , Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Apr 13 07:24:57 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 1jNrab-000Hiz-Jv for ged-emacs-devel@m.gmane-mx.org; Mon, 13 Apr 2020 07:24:57 +0200 Original-Received: from localhost ([::1]:40443 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNraa-0006xC-N6 for ged-emacs-devel@m.gmane-mx.org; Mon, 13 Apr 2020 01:24:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55084) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNrZS-0005tS-58 for emacs-devel@gnu.org; Mon, 13 Apr 2020 01:23:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jNrZQ-00021q-OF for emacs-devel@gnu.org; Mon, 13 Apr 2020 01:23:45 -0400 Original-Received: from userp2120.oracle.com ([156.151.31.85]:54438) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jNrZM-00020x-Sq; Mon, 13 Apr 2020 01:23:41 -0400 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 03D5JeqA029147; Mon, 13 Apr 2020 05:23:36 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=e0ZZPQrRShW59iKAPt5ccUtW5JvdDKM2CzOqM3pwB3A=; b=OgKBdDv56FFv2vw3LKiGe5GzuWPqTkcGYZJSpdSEfdBFKyKveAr0trq0v2C4PhA0a6d4 gddiVkwZ2nTIehI4rbRsUxA5dQ/s4b21uQR0f+GiPro2jDSJPyc8LpZbe255mvgliwMK NVw/io8AFPfBVUmJJd34f7iueK+5xKJxtIOOXQXyShyaISzq6CPVgyG1NwH4oW9Wv0z0 2tQAMZkVNViaW3CT38taopvbJmPcdqslB12exdCQWRpN4J9/eN5HLDXbGyTkVEH+GxOo f7QV/nX8n1uLLj7mLy7P5h0aQXiX3q9BN4OJNQDwKBEjZQ89yeQ2/+l72oRjabWh3IQ1 rw== Original-Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by userp2120.oracle.com with ESMTP id 30b6hpcd4t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 13 Apr 2020 05:23:36 +0000 Original-Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 03D5HeHK090187; Mon, 13 Apr 2020 05:23:36 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userp3030.oracle.com with ESMTP id 30bqccy0qm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 13 Apr 2020 05:23:36 +0000 Original-Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 03D5NUFQ016017; Mon, 13 Apr 2020 05:23:30 GMT In-Reply-To: <871roscl16.fsf@mail.linkov.net> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4966.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9589 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 mlxlogscore=999 bulkscore=0 malwarescore=0 phishscore=0 mlxscore=0 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004130047 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9589 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 adultscore=0 mlxlogscore=999 clxscore=1015 mlxscore=0 phishscore=0 suspectscore=0 lowpriorityscore=0 bulkscore=0 malwarescore=0 priorityscore=1501 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004130047 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 156.151.31.85 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:246883 Archived-At: > > > v - isearchp-toggle-anti-zones-invisible > > > V - isearchp-toggle-zones-invisible > > > ~ - isearchp-toggle-complementing-domain > > > d - isearchp-toggle-dimming-outside-search-area > > > > Can anyone come up with a simpler interface for this? > > One that reduces the amount that a user needs to memorize > > before using the feature? >=20 > Isearch keybindings could be on the M-s prefix key. Kind of you to worry about this. But the library that defines those toggle commands, isearch-prop.el, already binds the two non-zone ones to keys in `isearch-mode-map': (define-key isearch-mode-map (kbd "C-M-~") 'isearchp-toggle-complementing-domain) (define-key isearch-mode-map (kbd "C-M-S-d") 'isearchp-toggle-dimming-outside-search-area) Those two commands are not only for zones. They apply also to search, so they deserve `isearch-mode-map' keys. I gave them bindings in the zones toggle keymap because they're also useful for zones, not just for searching. Both sets of bindings are useful. (Dimming the areas outside zones and dimming the areas not being searched have the same behavior. I defined it first for searching, which is why its toggle command still has the name `...outside-search-area'. Maybe I should rename it.) Yes, I'm the one who decided which of the zones.el and isearch-prop.el commands deserve keys, and in which maps.