From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: A widget-based version of find-cmd Date: Thu, 5 Sep 2019 10:10:09 -0700 (PDT) Message-ID: <852e93f1-7ddf-4558-bbd8-5aa0538fc492@default> References: <87v9xrfjyj.fsf@web.de> <871s0ap9g7.fsf@web.de> <0884798f-d83e-4b85-a0dd-fa87833488aa@default> <875zp9oy7c.fsf@web.de> <87pnke4wdp.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="119026"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Stefan Monnier To: Michael Heerdegen , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 05 19:10:56 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i5vHZ-000Und-Qa for ged-emacs-devel@m.gmane.org; Thu, 05 Sep 2019 19:10:53 +0200 Original-Received: from localhost ([::1]:48536 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i5vHY-0005SF-93 for ged-emacs-devel@m.gmane.org; Thu, 05 Sep 2019 13:10:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46146) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i5vH3-0005S7-RM for emacs-devel@gnu.org; Thu, 05 Sep 2019 13:10:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i5vH2-0004ei-1m for emacs-devel@gnu.org; Thu, 05 Sep 2019 13:10:21 -0400 Original-Received: from userp2120.oracle.com ([156.151.31.85]:40366) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i5vH1-0004cv-OD for emacs-devel@gnu.org; Thu, 05 Sep 2019 13:10:19 -0400 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x85H94Vd004657; Thu, 5 Sep 2019 17:10:14 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-2019-08-05; bh=1mRdjFsL/8PFG6EgnJpe0YzBF25A9lv7jCgufC9bBsM=; b=TeTBAm6Dc4/j64CuJapCOqpoQhB6Xk+14+KfPoihvq3FwYz86EZ+mu5U9nU4s7nUU9lW JXmSA/vZ9gKSHqxdGwbeOtMTezhegRO79/rGIubXqaaR158q4QPnqGYPzPAVCcnOJ1wN 4oHKDMFEhvZnIAYVPtChR/KCjwR1vE4uXmlufurAH+un/PCuKSdKocJK8ARzxyifm80W +hAXNIX9Rf14fHusuA3I3mmRtvSKCp0Qjz1ZtL/c30kCpM3I6VDQHEQNm/KZMCe6N1zj +NmPJQSetNVcTqA7A2aSaBr+XPqEus66EsRjdt372VIlhRIBToBCw77dmeB9aGAOZXmy Gw== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2120.oracle.com with ESMTP id 2uu660r4n7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 05 Sep 2019 17:10:14 +0000 Original-Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x85H8mae110561; Thu, 5 Sep 2019 17:10:14 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserp3020.oracle.com with ESMTP id 2uthq1ye11-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 05 Sep 2019 17:10:13 +0000 Original-Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x85HAA38008494; Thu, 5 Sep 2019 17:10:11 GMT In-Reply-To: <87pnke4wdp.fsf@web.de> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4873.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9371 signatures=668685 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-1906280000 definitions=main-1909050164 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9371 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1909050164 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:239874 Archived-At: > the nearly feature-complete latest version is attached. For testing, > just load the file and M-x find-cmd-widget. The rest should be > self-explanatory. Some find(1) options need some further fine-tuning. >=20 > But I have a question: I want that C-c C-c in the _whole_ pop-up buffer > starts the search - even when point is over a widget. I didn't get that > work. The local map is ignored inside widgets. I don't want to change > all individual widget maps. There are `widget-keymap' and > `widget-global-map', but using them only works if I modify the global > binding of these variables. In case of `widget-global-map' this would > even mean changing global-map! Binding these variables buffer-locally > doesn't have an effect. Any ideas how to get what I want? Good stuff! I don't have an answer for `C-c C-c` when point is on a widget (e.g. in an editable field). Are you sure you want/need that?