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: Sun, 12 Nov 2023 14:13:58 -0800 Message-ID: <2f7c9164-4a64-91c6-245e-61208de8560c@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> 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="28864"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 67062@debbugs.gnu.org To: Dmitry Gutov , Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 12 23:14:34 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 1r2Iiv-0007NJ-H1 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Nov 2023 23:14:33 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r2Iik-0005r4-1p; Sun, 12 Nov 2023 17:14: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 1r2Iii-0005qu-Nh for bug-gnu-emacs@gnu.org; Sun, 12 Nov 2023 17:14:20 -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 1r2Iii-0000G5-FU for bug-gnu-emacs@gnu.org; Sun, 12 Nov 2023 17:14:20 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r2IjN-0003T4-Jv for bug-gnu-emacs@gnu.org; Sun, 12 Nov 2023 17:15: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: Sun, 12 Nov 2023 22:15: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.169982729013302 (code B ref 67062); Sun, 12 Nov 2023 22:15:01 +0000 Original-Received: (at 67062) by debbugs.gnu.org; 12 Nov 2023 22:14:50 +0000 Original-Received: from localhost ([127.0.0.1]:57202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r2IjC-0003ST-26 for submit@debbugs.gnu.org; Sun, 12 Nov 2023 17:14:50 -0500 Original-Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]:47594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r2Ij8-0003SF-Oa for 67062@debbugs.gnu.org; Sun, 12 Nov 2023 17:14:48 -0500 Original-Received: by mail-pj1-x102b.google.com with SMTP id 98e67ed59e1d1-2809a824bbbso2830498a91.3 for <67062@debbugs.gnu.org>; Sun, 12 Nov 2023 14:14:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699827240; x=1700432040; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=qcee174+0RibCUk//NPYG63Knux8Yl0Ut4F+pLPzZEY=; b=QXb0swh1XGsf5Hddwvvu8HOGPQL6rgQdNJLUNhL5d1FcNrXofJpoh5Py9z1juuAvr1 1YFc+XLYIHrdrnGmNPCTLFZ62LQDO0+Wylsv8w8Ev9bfK2QjBg2FnJJSg+NRxlHWPTLK Kq5zU79BuU/FS1MK4xoyYzoiyYNAPtdXk8nf2NrZaZPQDYCGMuCGUUt0Geu1Yklglcab gDww5ytaoXmQ8VNgQ5orAuVMZ/7wTyIGQU+uZrw/VIo8e+k9NG+iZefZS77jOoXzQvBI 2gGhiq3bsb8bZESJlBk65O+whUSvxoMQzW43dxUDWcOSKdOUC3IdtKo41XZVthItFKxi HDFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699827240; x=1700432040; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qcee174+0RibCUk//NPYG63Knux8Yl0Ut4F+pLPzZEY=; b=RyHjKgqs+otkQDKQbIgHJJys1NU/x/lcJDISf7Fqf41CKJTYOSBx2EediaJC7fs/dG JTVE7423IfebIwZeqjSEUTLeOG+8zd98Wm1RHg2s9MAPP50cbwWkX5a6cmGVhVqiPgAi BXieZLQddNtmNBqXLb9u6K8VXmIkCmEa0lKK5porWI7ob+nbLdi5os3aIGWqgPf2O9Po VJjdrupf/YCG1T6FSqB1IuqaAZddqSzhZG4IjxMQ+DoHEMaXz24nlNcpGbeU+YOhZJqS tLLRW1IGQmCoae661X5m7Sw3TrodfgI23Dktl9WAGSTioU9b1H35uvMY1c7FcptYl98v YbWg== X-Gm-Message-State: AOJu0YwE3rhXm4MGgX//hDNcN1O12C0zkUYRklBpi3TyF5vPpePifOrs OgpUPlxjFnQV4sU/e3il4s4= X-Google-Smtp-Source: AGHT+IGDgxp3eYSkIlgKHSRGUYtbWBaZ+ATXPV0QNGxEr4j3ZlJ+jGwbc93bNnDVsOJc0GPMnLTncQ== X-Received: by 2002:a17:90b:4a4a:b0:280:c98f:2092 with SMTP id lb10-20020a17090b4a4a00b00280c98f2092mr3355872pjb.33.1699827239695; Sun, 12 Nov 2023 14:13:59 -0800 (PST) Original-Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id nm23-20020a17090b19d700b0028023d58874sm2722820pjb.1.2023.11.12.14.13.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 12 Nov 2023 14:13:59 -0800 (PST) Content-Language: en-US In-Reply-To: <8742d731-62ba-0808-bdc6-cbad1cf98116@gutov.dev> 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:274238 Archived-At: On 11/12/2023 12:37 PM, Dmitry Gutov wrote: > On 12/11/2023 20:48, Juri Linkov wrote: >> But maybe could add a new optional arg to vc-working-revision? > > That's worse: we'll end up with a number-of-args migration, having to > use a condition-case form for a number of years. All for a new argument > that isn't used by the majority of the backends. Also, it wouldn't work for what we want to do: REV in 'vc-annotate' isn't necessarily the current revision; it could be any revision. We just want to take that revision and turn it into a friendlier (read: shorter) form for the buffer name.