From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: [patch: first impression] Date: Tue, 25 Oct 2022 10:19:31 +0200 Message-ID: <87tu3spb70.fsf@gmail.com> References: <87fsgyuyh7.fsf@mat.ucm.es> <878rlmim4q.fsf@mat.ucm.es> <7ae1356e-ff81-5445-ab6f-bf431678bf69@yandex.ru> <877d16fgfr.fsf@mat.ucm.es> <0cc26283-3e36-d418-6f72-99fa31304a9d@yandex.ru> <87sfjmgoya.fsf@mat.ucm.es> <87v8oh63oq.fsf@mat.ucm.es> <084455a1-cd60-1350-6947-964f255f912e@yandex.ru> <87o7u945xu.fsf@mat.ucm.es> <5df61fcd-f085-c59a-1389-2573fdce40d7@yandex.ru> <877d0x3zwx.fsf@mat.ucm.es> <9fa5fa58-d7f2-bb79-e6c6-be01c7edc065@yandex.ru> <87y1td84fc.fsf@mat.ucm.es> <0bffec65-14d7-cf3f-5005-741790bc6d5e@yandex.ru> <87ilkhx7i4.fsf@web.de> <87v8ogcqwt.fsf@mat.ucm.es> <9508331b-ed94-060d-ff9a-018031cf59c4@yandex.ru> <87o7u12q5l.fsf@mat.ucm.es> <5108ef1b-60cd-bb17-722b-ba62684cb4d4@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38012"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Uwe Brauer , "Dr. Arne Babenhauserheide" , georges.racinet@octobus.net, emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 25 11:00:25 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 1onFnN-0009kB-D2 for ged-emacs-devel@m.gmane-mx.org; Tue, 25 Oct 2022 11:00:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onFYu-0002L8-Qf; Tue, 25 Oct 2022 04:45:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onF9t-0002p7-7G for emacs-devel@gnu.org; Tue, 25 Oct 2022 04:19:37 -0400 Original-Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1onF9r-0001tr-JU for emacs-devel@gnu.org; Tue, 25 Oct 2022 04:19:36 -0400 Original-Received: by mail-wr1-x433.google.com with SMTP id l14so12303016wrw.2 for ; Tue, 25 Oct 2022 01:19:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date :gmane-reply-to-list:references:in-reply-to:subject:cc:to:from:from :to:cc:subject:date:message-id:reply-to; bh=Xgr1AXLy00rVe0MA9GpdaqqC9QNohU9Jo7sQaKF3WSg=; b=RJ6F1znOBYLssGyjtvBHOIoYqW13oX7iu+P622RIIbgLER3fATgNjDnqL5z7nVgrxp s30wRoJuvn4gcE3l8zXTYxE+wA0L0tDp/FYwfKzPbK9y639jo2DtvIZloxms3yE666bw KrOj6TFghom9BZNzi2goMuY7dxT7g+PrgGiqqWubeMMj+ZpPfoFafRgIL8/NaWPtll9Y PvNc2ahcCVvdp1qamAw53GxikrkzcC/spnR6pMEh88SBY7DBozVHREiE8Ug84/EZwzH/ IkFVMUXxWVP1nzuEzvaA59w05nDYA088t0wM46e4+RdT2y9wXojgmmmUt29G8gkrlnd1 HJpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date :gmane-reply-to-list:references:in-reply-to:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Xgr1AXLy00rVe0MA9GpdaqqC9QNohU9Jo7sQaKF3WSg=; b=VX9NSZjKYXmb2WvbVBBmXL5rWBWllvpxySgoqSSRMkjgovaEMXVd74eh+KXwUONdwO VsoHSLaMX6u6zEfj6X82+y2TIuJEz83X8/4Qh4NAiECdJpK2TSU1CBZjRQZaJkReHTAZ YmZmePccjuUIMipzuGqSL/mvXf2n9EtXMXDH39ccea0lZ2kJF5F1GxxOShfoxtx/Clmb 5S7IVvZGr0WbqZHkTLKr1D0HCLy8hoc/28ykHcUs/RHARTggrFLVWz4YIw9rrRjPu8Km qHwZpQXmKtODti5dAGKSRI0hN8lCMaS/gvRdlWcNtqavjou4GHyAaXj2zLOBvZz15y6f TJAQ== X-Gm-Message-State: ACrzQf3Bvx5LcO0ZJmrvmQyRYeERmcxGpOOTKHx09XEGwFIKgiUBX4x1 JvbIwA1yefUYcGDJbSBA3HGWBEWEr5Q= X-Google-Smtp-Source: AMsMyM4QK7AQ85hA7DNj+brMdeb81t5XBpkMuRniNuB4VoYZEk8Nr13LHya/CJbnTyS4+FkuaV+vaw== X-Received: by 2002:a5d:44d0:0:b0:236:4acc:d977 with SMTP id z16-20020a5d44d0000000b002364accd977mr16058892wrr.479.1666685973282; Tue, 25 Oct 2022 01:19:33 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id t6-20020adfe446000000b002366ded5864sm1758386wrm.116.2022.10.25.01.19.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Oct 2022 01:19:32 -0700 (PDT) In-Reply-To: <5108ef1b-60cd-bb17-722b-ba62684cb4d4@yandex.ru> (Dmitry Gutov's message of "Mon, 24 Oct 2022 20:28:20 +0300") Gmane-Reply-To-List: yes Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=rpluim@gmail.com; helo=mail-wr1-x433.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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: , Original-Sender: "Emacs-devel" Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:298443 Archived-At: >>>>> On Mon, 24 Oct 2022 20:28:20 +0300, Dmitry Gutov s= aid: Dmitry> If might be handy to add commands that act on region (and delet= e full Dmitry> hunks, for instance), so that you aren't forced to toggle read-= only. Deleting hunks is already supported: k runs the command diff-hunk-kill (found in diff-mode-shared-map), which is an interactive byte-compiled Lisp function in `diff-mode.el'. It is bound to k and M-k. (diff-hunk-kill) Kill the hunk at point. Extending that to support a prefix count arg and the region shouldn=CA=BCt be too hard. obert --=20