From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: [patch: first impression] Date: Mon, 24 Oct 2022 20:28:20 +0300 Message-ID: <5108ef1b-60cd-bb17-722b-ba62684cb4d4@yandex.ru> References: <87fsgyuyh7.fsf@mat.ucm.es> <43e67d5a-e3f4-3e7d-cd0e-819a08279d7e@yandex.ru> <877d16khai.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> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16713"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Cc: "Dr. Arne Babenhauserheide" , georges.racinet@octobus.net, emacs-devel@gnu.org To: Uwe Brauer Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 24 19:35:13 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 1on1M1-00046W-1v for ged-emacs-devel@m.gmane-mx.org; Mon, 24 Oct 2022 19:35:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1on1Fe-0006aj-RZ; Mon, 24 Oct 2022 13:28:38 -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 1on1Fb-0006Zz-U4 for emacs-devel@gnu.org; Mon, 24 Oct 2022 13:28:35 -0400 Original-Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1on1Fa-0004MM-31 for emacs-devel@gnu.org; Mon, 24 Oct 2022 13:28:35 -0400 Original-Received: by mail-wr1-x42f.google.com with SMTP id z14so3804418wrn.7 for ; Mon, 24 Oct 2022 10:28:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=zj0C9rcdx170q3UdBFZdZPMPbdOMYc/g32yqVZh8ynU=; b=DihHNoY2ACqUUgPdZcI/TVy6M5GzlbUF7OIOKRruL7OfbMWBqXx+wk6xE0ghlpCE4Z K52P43ohQitJul02mSgkfqwhqmUwylgTna/AKQfDRYFvNcRZWNJ/EwiGC1tWhUvw5Lb2 BsvBt1gJCed/Ux2hjXxjzrSb+wZbgZCcxvqJdoUypf83BpIvRBsu5rBFYyrqAomlykqa 2HY8e9Og5sG0nhRXLRmDZzmcUh02x9KPkckfm5MM5dyy+FAaV5YDMT9LlawVSgLE/+L3 2k2nRvvvT6Mmzb2uZI9JCNse/lO9gPSIYPyL9O86s17P9TzyMCyRMwntet2cNN01Vbpm UOUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zj0C9rcdx170q3UdBFZdZPMPbdOMYc/g32yqVZh8ynU=; b=Q6VspP3CM3CvnTnNZQxN9ptg/zq0gXDkxcEQQJCx7+SALiyMrXT+vp8zYx3Rjjmh0L Z1NcYR3tIFPFIZuWflUELyJfL3bxHFMEljgkv7xeuYGRvTIjdOvX3a8gcyquGbTLCVOe aoxqNR3ilViykUhVooKuecyaZF7zrgNpAjfiWZbkYtecir9V5sGioCDJx4CSAQn8pqzF 6n/j/bX4nPNNKHUv9zw/UH2KuD8qQdM1sRpXclL0T4Vh+TgHLUl6U9VlyJST15lW5sc0 UTzzkab/NvjDkp6k9NMoPZkRcg+jE7tc6CWVynzrTYcY1dFvzJzLyMKhdcs/47iTJ+H+ S8MA== X-Gm-Message-State: ACrzQf0/yp7h5hkoF0hm0FdEXGFSF8AM9wrtdOAaffUC9WP5Xnr94Mek Qz7KzqysjiNWdwYDIA6Fciw= X-Google-Smtp-Source: AMsMyM7SPSvx39QRcPLKoX/oxrJnKDfF1cvlEwE/IG1jS/Ie2BJFE1wK0DFK8KM+tJjIB3wcLYYQMg== X-Received: by 2002:adf:a40c:0:b0:22e:47fe:7ea3 with SMTP id d12-20020adfa40c000000b0022e47fe7ea3mr21776837wra.248.1666632503342; Mon, 24 Oct 2022 10:28:23 -0700 (PDT) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id h13-20020adfe98d000000b0022ccae2fa62sm197918wrm.22.2022.10.24.10.28.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 24 Oct 2022 10:28:23 -0700 (PDT) Content-Language: en-US In-Reply-To: <87o7u12q5l.fsf@mat.ucm.es> Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=raaahh@gmail.com; helo=mail-wr1-x42f.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: , 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:298398 Archived-At: On 24.10.2022 18:32, Uwe Brauer wrote: > I see. BTW I only realised by now that the fact that > a buffer in diff-mode is in read-only mode is not essential but not a > required feature. Yes. And you can also edit the diff before typing 'C-x v v'. > I say this, because sometimes the diff file contains a lot of hunks and > I only want to commit 2 of say 20. > > Then toggling read-only off and just delete the hunks via kill-region, > simplify things a lot (instead of killing each hunk separately, using > next-hunk and kill-hunk). If might be handy to add commands that act on region (and delete full hunks, for instance), so that you aren't forced to toggle read-only.