From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.bugs Subject: bug#67062: 30.0.50; [PATCH] Abbreviate the revision in 'vc-annotate' (for Git) Date: Sat, 23 Dec 2023 11:37:24 -0800 Message-ID: <0a95c0c4-3b45-4e29-7853-adaa5f4af328@gmail.com> References: <66fc4912-6aa5-79da-bd6f-52f068cf1a77@gmail.com> <83y1f4wxby.fsf@gnu.org> <2eb31324-ae24-db4b-4f62-a0140bfb9f81@gutov.dev> <83sf5bv77j.fsf@gnu.org> <83bkbzusri.fsf@gnu.org> <86msvi95aw.fsf@mail.linkov.net> <8742d731-62ba-0808-bdc6-cbad1cf98116@gutov.dev> <2f7c9164-4a64-91c6-245e-61208de8560c@gmail.com> <868r72895g.fsf@mail.linkov.net> <83o7fxu458.fsf@gnu.org> <10fbafbc-fad9-6738-1146-c37c61e7b1e3@gmail.com> <83o7espnp3.fsf@gnu.org> <83fs04ou14.fsf@gnu.org> <9ea0f2f8-ca11-d838-7e19-e524e9a114f4@gmail.com> <834jgjq287.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------bFcvtkLRd0On01QL5ZOYyFcF" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22945"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dmitry@gutov.dev, 67062@debbugs.gnu.org, juri@linkov.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 23 20:38:19 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 1rH7pD-0005qa-45 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Dec 2023 20:38:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rH7os-0008JD-Er; Sat, 23 Dec 2023 14:37:58 -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 1rH7or-0008Iq-4s for bug-gnu-emacs@gnu.org; Sat, 23 Dec 2023 14:37:57 -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 1rH7oq-0005EL-TQ for bug-gnu-emacs@gnu.org; Sat, 23 Dec 2023 14:37:56 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rH7ov-000657-In for bug-gnu-emacs@gnu.org; Sat, 23 Dec 2023 14:38:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Dec 2023 19:38:01 +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.170336026023345 (code B ref 67062); Sat, 23 Dec 2023 19:38:01 +0000 Original-Received: (at 67062) by debbugs.gnu.org; 23 Dec 2023 19:37:40 +0000 Original-Received: from localhost ([127.0.0.1]:51247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rH7oZ-00064Q-WB for submit@debbugs.gnu.org; Sat, 23 Dec 2023 14:37:40 -0500 Original-Received: from mail-oi1-x22f.google.com ([2607:f8b0:4864:20::22f]:60881) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rH7oX-00064A-PU for 67062@debbugs.gnu.org; Sat, 23 Dec 2023 14:37:38 -0500 Original-Received: by mail-oi1-x22f.google.com with SMTP id 5614622812f47-3ba14203a34so2645059b6e.1 for <67062@debbugs.gnu.org>; Sat, 23 Dec 2023 11:37:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703360246; x=1703965046; darn=debbugs.gnu.org; h=in-reply-to:from:content-language:references:cc:to:subject :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=HAoU9LSWchuIGj4VDu+sYaIrBTovukQ610AdTRFPbbA=; b=VNyPRbhel3I4ALBuPDc2LEOlKDd73DSyjXH0xLlcAvGwrLI7zT1kDZ9ja2xfDZvQ9j bpTJpoS4xS2Xp6c8eJzP1KBCrRVjTqyLvqtXW0YRS7M9k9j5+MCSkk0gS3gf0yEd5fOr rtiJ36CKTkkQ4O/S+Xw3EyUUG4ycN42dgnAciOAl1qF2m3lRBvFf3+V+/8euKm040Di8 T0gFvC/58eQj5tVdo7TxIL4v7dsYABi+ddf7FTAF72AWN6KGInUcyxfKjjWVwfzZNaBA g1H+CQDEfjpZJw/DVWOgCnsgzcCByUQHrglc0Y8Jx1dnOO6dbvt9Ka1jhdSeQOrnrcfW q6qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703360246; x=1703965046; h=in-reply-to:from:content-language:references:cc:to:subject :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=HAoU9LSWchuIGj4VDu+sYaIrBTovukQ610AdTRFPbbA=; b=jGY9pWEwpF5neYu9B5kmXL8uSQjvGFlpfx4thU+wt93xGIFb7W0NGTvNl1pfprwPi1 cpEXbCzk5Ge0icMV35+5uMAW5Mwkw0N4o+qUpX3cSlG1qcN9E99o70Pw8U6ixf4jtJpR N1MH6iPsdQh2JyqYKObDZE3Hvo7072cs51A1NvLfsGOnw9i+zkU+yXS9vdm9iTHlSoa6 vRvXei9JKoA/sPTfgT5oQNSmCXsDFVyJS7DTawSLvejHu4/mkTyGUxrj5EbabJ4Ihb+/ fZb32sptMV6xQ1V5VCmB2e6qLL9g6G04vapDY1+xBnAea15XedgLTq8Z/ia7BIIzqDZW Q66Q== X-Gm-Message-State: AOJu0YzvXLomFpNXPDETecUnLJNtvy9eK0p1MKThgJUsRmVVuR1k2c/n /Sh0AUnTT3EkLoYZ8WMlkpI= X-Google-Smtp-Source: AGHT+IFLKWKKLZ9dliNh9/UVTLCeeK2gQchWW6FR9erM8hTHs8ZoZnsfXoyLmdguWBBumIgXtvWJjw== X-Received: by 2002:a05:6808:1a0f:b0:3b9:f231:5c96 with SMTP id bk15-20020a0568081a0f00b003b9f2315c96mr4254074oib.76.1703360246268; Sat, 23 Dec 2023 11:37:26 -0800 (PST) Original-Received: from [192.168.1.2] (076-168-148-233.res.spectrum.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id ka34-20020a056a0093a200b006d94206f846sm5562695pfb.174.2023.12.23.11.37.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 23 Dec 2023 11:37:25 -0800 (PST) Content-Language: en-US In-Reply-To: <834jgjq287.fsf@gnu.org> 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:276764 Archived-At: This is a multi-part message in MIME format. --------------bFcvtkLRd0On01QL5ZOYyFcF Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 12/15/2023 12:50 AM, Eli Zaretskii wrote: > Too vague, IMO. > > But I don't want to argue about this tiny detail for too long, I can > always change the wording later if I think it's needed. I rewrote the NEWS entry and added some more detail to the docstrings. If no one has any objections, I'll merge this a bit after the new year (so that people don't have to do code review during the holidays). --------------bFcvtkLRd0On01QL5ZOYyFcF Content-Type: text/plain; charset=UTF-8; name="0001-Abbreviate-the-VC-revision-in-vc-annotate-s-buffer-n.patch" Content-Disposition: attachment; filename*0="0001-Abbreviate-the-VC-revision-in-vc-annotate-s-buffer-n.pa"; filename*1="tch" Content-Transfer-Encoding: base64 RnJvbSA3MDZkYTQ2MzhhODAyNjYwYzkzMzJhM2JkYWE5ODA1MjJhYjdiZTQ0IE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBKaW0gUG9ydGVyIDxqcG9ydGVyYnVnc0BnbWFpbC5j b20+CkRhdGU6IFRodSwgMTQgRGVjIDIwMjMgMTE6MzE6MjcgLTA4MDAKU3ViamVjdDogW1BB VENIXSBBYmJyZXZpYXRlIHRoZSBWQyByZXZpc2lvbiBpbiB2Yy1hbm5vdGF0ZSdzIGJ1ZmZl ciBuYW1lCgoqIGxpc3AvdmMvdmMtaG9va3MuZWwgKHZjLXVzZS1zaG9ydC1yZXZpc2lvbik6 IE5ldyB2YXJpYWJsZS4KKHZjLXNob3J0LXJldmlzaW9uKTogTmV3IGZ1bmN0aW9uLgoKKiBs aXNwL3ZjL3ZjLWFubm90YXRlLmVsICh2Yy1hbm5vdGF0ZS11c2Utc2hvcnQtcmV2aXNpb24p OiBOZXcKb3B0aW9uLi4uCih2Yy1hbm5vdGF0ZSk6IC4uLiB1c2UgaXQuCgoqIGxpc3AvdmMv dmMtZ2l0LmVsICh2Yy1naXQtLXJldi1wYXJzZSk6IENvbnN1bHQKJ3ZjLXVzZS1zaG9ydC1y ZXZpc2lvbicuCgoqIGV0Yy9ORVdTOiBBbm5vdW5jZSB0aGlzIGNoYW5nZSAoYnVnIzY3MDYy KS4KLS0tCi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