From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.devel Subject: Re: [NonGNU ELPA] New packages: elquery, file-ring, metamorph Date: Fri, 01 Apr 2022 11:10:53 +0200 Message-ID: <871qyh419e.fsf@gmail.com> References: <878rsuh8ai.fsf@gmail.com> <20220328231027.dwg4oon4se2ibukc@Ergus> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20208"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.92 (gnu/linux) Cc: Adam , emacs-devel@gnu.org To: Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Apr 01 11:24:48 2022 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 1naDWS-000555-Fq for ged-emacs-devel@m.gmane-mx.org; Fri, 01 Apr 2022 11:24:48 +0200 Original-Received: from localhost ([::1]:49768 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1naDWR-0005is-9u for ged-emacs-devel@m.gmane-mx.org; Fri, 01 Apr 2022 05:24:47 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56266) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1naDJ4-0008Oh-Pz for emacs-devel@gnu.org; Fri, 01 Apr 2022 05:11:02 -0400 Original-Received: from [2a00:1450:4864:20::535] (port=44842 helo=mail-ed1-x535.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1naDJ3-0005eb-4U for emacs-devel@gnu.org; Fri, 01 Apr 2022 05:10:58 -0400 Original-Received: by mail-ed1-x535.google.com with SMTP id w25so2167208edi.11 for ; Fri, 01 Apr 2022 02:10:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=msfxjOlc2Ru3cztpEJ7VgmrPiU6k5iv8x3i6GZKyxgM=; b=p+ICS9Dqa03AhcsU4QyiRM9EXeARsEGv+OsV9edFeMXhbX8CK25vrM4fd4TaMKvqhA oUqoBaANDoc4Gw3AQSKcpkaq0dtdU5CHmrf/ZtihUQ4CLlke6gV2kO1JfKdDvtiuk+dB W7+bj0ebY2KuJrVYf/PvIawLBN+Dip1n6FRnBhz2cXq/LUBzGf2Ko3rhzPsOuCQL+vB2 60XUUMnFjbeFWJSf/yoDbHrG6V6jzPbO2OjlRqZemR1LZNP36a6VQpu6Vxnz/W0zhyky ovqqT48bZ5VtnMLfOYgCRvI9ic/N7TzUpRpe17yX88daXVD041RC8YoiFsaGwzATCU7m w3cQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=msfxjOlc2Ru3cztpEJ7VgmrPiU6k5iv8x3i6GZKyxgM=; b=rDAEdmugpdrwMKn7WPnPeOUfUC41d9XwxwBAL5hcA2c8JxCa4uget8um6B0VqW5TMe +JIlbG9Mfulxa4UaWhTW5jKqY1ElIJzPh6EJe4zKoVe15z4rVrsHZACNR9QpIcUGo28j KdL6vOeYVlZDEJLj+UWM4FoZig+IIWbLAUVQoCprI038c1ei/oT2whTvvy+ujrNxhh9q yhMay2rWMu+ykUwpHHNB2ii+nW2c/U1zDDRkc7ksAUN6PJJE6tXwhNPCuIMUo/shVy4U bWAxucy3KuXyRPHhlwyx+7uEDZYGjDdM8azBBQaySPNujNrpCK+T1H4j7vbwMEhyWel0 Gzzw== X-Gm-Message-State: AOAM532XZGmcY8jYEayCuob++vWOSWjFgq80zp6qxBNLgCtEesqWUpxl Cs5fVyXgLZEVdhGKBjfGgr/yIwXZUDE= X-Google-Smtp-Source: ABdhPJzLZcH2dJtYSZ92HC32pH7yopEKUrUnNsBkDOq/rIhOYY82sWHijrU5wTzYNVFpbAk+GQVb6A== X-Received: by 2002:a50:ec16:0:b0:40f:28a0:d0d6 with SMTP id g22-20020a50ec16000000b0040f28a0d0d6mr20343161edr.368.1648804254546; Fri, 01 Apr 2022 02:10:54 -0700 (PDT) Original-Received: from ars3 ([2a02:8109:8ac0:56d0::7039]) by smtp.gmail.com with ESMTPSA id au22-20020a170907093600b006e4ad0bf8f7sm804135ejc.91.2022.04.01.02.10.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Apr 2022 02:10:54 -0700 (PDT) In-Reply-To: <20220328231027.dwg4oon4se2ibukc@Ergus> (Ergus's message of "Tue, 29 Mar 2022 01:10:27 +0200") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::535 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::535; envelope-from=arstoffel@gmail.com; helo=mail-ed1-x535.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:287664 Archived-At: On Tue, 29 Mar 2022 at 01:10, Ergus wrote: > On Mon, Mar 28, 2022 at 06:09:23PM -0400, Adam wrote: >>>The README file for metamorph suggests that you are reimplementing >>>query-replace-regexp's \,: >>> >>> [...] >>> >>>Or am I missing something? >> >> Nope, I didn't know query-replace-regexp could do that. metamorph >> offers previews while you type and does it all in one shot, but that >> probably doesn't warrant a whole separate package. Thanks for taking >> a look at it! >> > IMHO the best would be to add previews to query-replace-regexp. I asked > about that on emacs help some days ago and Juri said that there is > already come WIP... The changes Juri referred to are discussed in bug#53126, but they are concerned only with lazy highlight and lazy count. I am not (or at least not yet) working on a preview of the replacement text. Feel free to give this a try.