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.bugs Subject: bug#67062: 30.0.50; [PATCH] Abbreviate the revision in 'vc-annotate' (for Git) Date: Sun, 12 Nov 2023 22:35:15 +0200 Message-ID: <894ab706-20ff-8773-be39-9d4a3c924872@gutov.dev> References: <66fc4912-6aa5-79da-bd6f-52f068cf1a77@gmail.com> <83y1f4wxby.fsf@gnu.org> <2eb31324-ae24-db4b-4f62-a0140bfb9f81@gutov.dev> <83sf5bv77j.fsf@gnu.org> <399f2f1e-7c1f-e272-2a9d-4e36e8d8666b@gmail.com> 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="7571"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: 67062@debbugs.gnu.org To: Jim Porter , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 12 21:36:40 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1r2HCA-0001lr-PJ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Nov 2023 21:36:40 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r2HBu-0001wT-Jf; Sun, 12 Nov 2023 15:36:22 -0500 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 1r2HBt-0001wF-PX for bug-gnu-emacs@gnu.org; Sun, 12 Nov 2023 15:36:21 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r2HBt-0003r4-HL for bug-gnu-emacs@gnu.org; Sun, 12 Nov 2023 15:36:21 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r2HCY-0000kn-Bd for bug-gnu-emacs@gnu.org; Sun, 12 Nov 2023 15:37:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Nov 2023 20:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67062 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 67062-submit@debbugs.gnu.org id=B67062.16998213692753 (code B ref 67062); Sun, 12 Nov 2023 20:37:02 +0000 Original-Received: (at 67062) by debbugs.gnu.org; 12 Nov 2023 20:36:09 +0000 Original-Received: from localhost ([127.0.0.1]:57091 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r2HBh-0000iK-9R for submit@debbugs.gnu.org; Sun, 12 Nov 2023 15:36:09 -0500 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:50171) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r2HBe-0000hd-Ro for 67062@debbugs.gnu.org; Sun, 12 Nov 2023 15:36:07 -0500 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 83EA45C036A; Sun, 12 Nov 2023 15:35:19 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sun, 12 Nov 2023 15:35:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1699821319; x=1699907719; bh=2N+9JC6zjVl8Kri4jH5pUggUt8gxz7JjnUG 71rdpAGM=; b=S6IxvW0HmE2GppcQYgr7nBQQxt/Kh76mYdJneYBe+uTFHxLUf2A cI1ifvgJPa97Wx5fotwK6sL9KlUqv+i3qmCICjc/c87V9xYWuwPkMvrH0NFCHFMk T/PfALNI5MGyV6gLt19E5p+uOMJRQ1tpw+BqC2mfSoDJHhGJsL4pOe8PFU2kKQV3 J4VfFwVr5UftzOrjW77y4Mo/4aeKUhP1DWCdoNeoetHUOxXR6lrQ5QzXIzOramlj VqjehgkKwJTXvyHPCkIXb/3ehVL4O/nAQik0fSqpnp7xJHQsOh82LfpCZLG4p9pP W8B5p3Dxpuamg845J19PL5YuiRfQYEo0JDQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1699821319; x=1699907719; bh=2N+9JC6zjVl8Kri4jH5pUggUt8gxz7JjnUG 71rdpAGM=; b=XIJWCNHkpJceUaDHQS+MbYaDHgE7IsLO4PfD+x1SDpkCTdNqZ4G izHfNt+UHrVIKEi4et0W+G47ar1njI49USsdNf7KZJ8VXhubRiFBG9e1V//JtGFX DLaLXshyzYD+DdxZkCA9d7SMDnpWcHBxUEcABzXg7KoslEw2QEu+tSvpZYuV3Er/ U4lr/fxJAtkVCvfASp+9ocSECHq6GCrTiKPMvxTSwqR6wfvyDxJwAzlWmji1FzWk NzA/3HsHABYPUAKsTGEAXXlwgHioGIs6YobeKf/KXcoGtmaXoGu7aw7NOmff+3DI JaCqiqFsNITcsovwbYbvnkCcNT2YB4YHk0g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedruddvkedgudegudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttdefjeenucfhrhhomhepffhm ihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrg htthgvrhhnpeeigfetveehveevffehledtueekieeikeeufeegudfgfeeghfdulefgfeev ledvveenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe gumhhithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 12 Nov 2023 15:35:18 -0500 (EST) Content-Language: en-US In-Reply-To: <399f2f1e-7c1f-e272-2a9d-4e36e8d8666b@gmail.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:274226 Archived-At: On 12/11/2023 21:07, Jim Porter wrote: > In any case, we don't necessarily need to provide a default > implementation for the 'short-revision' function. What about something > like this? I'm not sure it's better, but it does let us avoid defining a > no-op implementation for the "default backend". Looks worse to me than having the default "identity" implementation. Sorry. Though it might go in anyway, since Eli likes it.