unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Uwe Brauer <oub@mat.ucm.es>
Cc: emacs-devel@gnu.org
Subject: Re: vc-git feature proposale: modeline and annotate
Date: Thu, 15 Dec 2022 09:53:57 +0200	[thread overview]
Message-ID: <83r0x1ksq2.fsf@gnu.org> (raw)
In-Reply-To: <871qp1sm4n.fsf@mat.ucm.es> (message from Uwe Brauer on Wed, 14 Dec 2022 22:36:56 +0100)

> From: Uwe Brauer <oub@mat.ucm.es>
> Date: Wed, 14 Dec 2022 22:36:56 +0100
> 
> I would like to suggest to have, at least optionally, the result 
> of 
> (shell-command "git name-rev HEAD")
> 
> In the modeline and/or   in the annotation buffer.

What prevents you from having that?  IOW, why are you posting this
here, when you can already customize the heck out your mode lines?

> I know that the HASH is more reliable but I find the result of the above
> command sometimes a convenient alternative.

We currently show the branch, but not the commit.  So what you want is
to have the "HEAD" thingy to be on the mode line, literally?  Since
that is almost always true, why is that addition useful?



  reply	other threads:[~2022-12-15  7:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-14 21:36 vc-git feature proposale: modeline and annotate Uwe Brauer
2022-12-15  7:53 ` Eli Zaretskii [this message]
2022-12-15  8:26   ` Uwe Brauer
2022-12-15  9:00     ` Eli Zaretskii
2022-12-15  9:38       ` Uwe Brauer
2022-12-15 13:34       ` Uwe Brauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83r0x1ksq2.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=oub@mat.ucm.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).