From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: vc-modify-change-comment for "modern" backend fix Date: Tue, 17 May 2022 15:02:45 +0300 Message-ID: <8335h8icyi.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21068"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: "Alfred M. Szmidt" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 17 15:22:42 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 1nqx9u-0005IL-Cf for ged-emacs-devel@m.gmane-mx.org; Tue, 17 May 2022 15:22:42 +0200 Original-Received: from localhost ([::1]:56210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqx9t-0006MQ-1X for ged-emacs-devel@m.gmane-mx.org; Tue, 17 May 2022 09:22:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47770) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqvuk-0005l2-7c for emacs-devel@gnu.org; Tue, 17 May 2022 08:02:58 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57516) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqvuj-0006v3-Tl for emacs-devel@gnu.org; Tue, 17 May 2022 08:02:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=/yb5KX1R5GfhovRjQbTyKAsCJO//hcqE7Yhv/HWE6ek=; b=N0WeLtjTP7J+ ZpfnqHfMcFrIK5IotjdO0wCTjkxvyHNA6z36Yl/WUSvfWLBvTb0OYz9UfURSFs8nYn6v2Sm90caDj /s5GBaNh7tvEjSxVqdukdOjx16opkALBCwEp3R3mpWH8o8u8fYf+owPZQWi88jTJQTA540vbJBXR3 hGbQ5TshS3qGuSeq36DK95AcrpumK7Khg9PdD6VvcOgLUf2gVyh4bqKwiDK4jCLFkbDm1eUFLtKD/ 7Jf74lbFK+FdyAKfRsMi6uqdlT31x5drVmTh9wpGU+WZP7ep5J9H0Dcde+g/aFdJe9/wf5vP/uIYg hBgJ0u75eBNGLv9Y6q+ehA==; Original-Received: from [87.69.77.57] (port=4488 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqvug-00029p-Iv; Tue, 17 May 2022 08:02:55 -0400 In-Reply-To: (ams@gnu.org) 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:289844 Archived-At: > From: "Alfred M. Szmidt" > Cc: emacs-devel@gnu.org > Date: Tue, 17 May 2022 04:36:56 -0400 > > On a similar thread, log-view-extract-comment is not really extensible > for other VCS's. > > Ideally, this should get the actual commit message directly from the > backend for a file / revision; but there is no good function for doing > that -- vc-print-log is the closest, but the output of that depends on > the backend. > > What would be the best way to go about getting just the commit message > in a semi-backend-agnostic manner? A new command, supported by backends in a way that leaves only the text without the "decorations"?