unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: help-gnu-emacs@gnu.org
Subject: vc-next-action or vc-dir, optionally allows to change the user?
Date: Fri, 24 Jun 2022 15:20:32 +0200	[thread overview]
Message-ID: <87wnd6w63j.fsf@mat.ucm.es> (raw)



Hi 

Recently I have to commit (using hg,  but this should be irrelevant here)
changes as another user, so usually I tried 


(defun my-set-new-user ()
  "Set the user for the commit and ChangLog entries to new user."
  (interactive)
  (setq user-full-name "James Bond")
  (setq add-log-full-name "James Bond")
  (setq user-mail-address "007@mi6.co.uk")
  (setq add-log-mailing-address "007@mi6.co.uk")
  (message "Now changes are registered as JB"))

But it did not help.

Any idea how to change the user and email address for the  commit
message?

I can commit explicitly from the command line as a new user, but that is
a bit cumbersome.

Regards

Uwe Brauer  



-- 
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine. 




             reply	other threads:[~2022-06-24 13:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-24 13:20 Uwe Brauer [this message]
2022-06-24 13:36 ` vc-next-action or vc-dir, optionally allows to change the user? Dmitry Gutov
2022-06-24 14:26   ` Uwe Brauer
2022-06-24 15:00     ` Dmitry Gutov
2022-06-24 15:12       ` [a bug, with log-edit-setup-add-author?] (was: vc-next-action or vc-dir, optionally allows to change the user?) Uwe Brauer
2022-06-24 15:24         ` [culprit found] (was: [a bug, with log-edit-setup-add-author?]) Uwe Brauer
2022-06-24 15:04     ` vc-next-action or vc-dir, optionally allows to change the user? Uwe Brauer
2022-06-24 15:32     ` Jean Louis
2022-06-24 15:46       ` Uwe Brauer
2022-06-25  6:49         ` Jean Louis
2022-06-25  9:45           ` Dmitry Gutov

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=87wnd6w63j.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).