From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.help Subject: Re: vc-next-action or vc-dir, optionally allows to change the user? Date: Fri, 24 Jun 2022 16:36:24 +0300 Message-ID: References: <87wnd6w63j.fsf@mat.ucm.es> 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="3162"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 24 15:37:05 2022 Return-path: Envelope-to: geh-help-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 1o4jUf-0000a8-3a for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 24 Jun 2022 15:37:05 +0200 Original-Received: from localhost ([::1]:37330 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o4jUd-0003Jq-Hj for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 24 Jun 2022 09:37:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36772) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4jUF-0003JV-Tv for help-gnu-emacs@gnu.org; Fri, 24 Jun 2022 09:36:39 -0400 Original-Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:33726) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o4jUD-0003yA-QB for help-gnu-emacs@gnu.org; Fri, 24 Jun 2022 09:36:39 -0400 Original-Received: by mail-wm1-x333.google.com with SMTP id o16-20020a05600c379000b003a02eaea815so2337485wmr.0 for ; Fri, 24 Jun 2022 06:36:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=6tYtPEtpx2+Z4m4bPaQ0QS+LTXpTEqwIN0vbXak95/M=; b=gUHEycM7FJJtGvJ5XJvuU967HRkrrX0YoW1zx4JOeGdD99BJl4g1GxSwvR34weCY9t 5z3cM64IvyTz1bz3H+XlP5qk8jRc4AoWx+/TfUX7KW0moybbfAgozItkmRWhBsDlVjmE 9an8dhjE9y6mGegu10UFa9onnTrodWaPAPGbwFQwefQTSEtwv2lCa1hksLSL0CV5Toe7 RnmiZHKki7F8ZJZeFa9dFPSeopmHermwVvJh4ofMi8M5fFarKUX8xnMVuNR3LelRxWqw 8xS3j+wnRkceI4mMQXsnh86sijLgq2GP6pfb6FmmUzRLAV6xcv8/4SYucJgaunU6ol7v xpkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:message-id:date:mime-version:user-agent :subject:content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=6tYtPEtpx2+Z4m4bPaQ0QS+LTXpTEqwIN0vbXak95/M=; b=j/L52xN01lQjItRV3QCgkyObx+2/TqaK2RnCHYYxU3Fxsu0jh5mD7v9KJKidKTu1P/ wgsJT000UttaWSygGiMWwpC+BM2T8Nw69S4CL46eJNLLtM2RYYj6KaxbvXoryF517BHt DuPwM7FRm95A0wHCfHU/F/S4tl3I8WkISo3Y+zHJYsrhjPO1TJspOQZ0OgqXW+9G8mpI eQEYkKavMBTtGH6G7yF1pCUQWnEk3pVLWuZ0gcLy6vR7Tiku7HEncWAolMf6nSzTPIGn wGKS0tLgDwdKejXytGtLJU7qOBECUk6lksAk+Jqglma4z5G0H8QRR2v90L6ledmfT5y0 ZwYw== X-Gm-Message-State: AJIora/RUquUykyKNu7Uk1Z5uqsjUM7c0Vy1mDJNjcpdFAHuTqyiCKKj 7K6ntnagGl47n6Ex4v6q22ppgYWtMCo= X-Google-Smtp-Source: AGRyM1vAF2EW+1WvLk5YRXeo7MmSKe18dDVkxfYLLMGRNeSd6RyvzGGyoRgGdBXDRb3A1WbOKiKSTg== X-Received: by 2002:a05:600c:1e89:b0:39c:5adb:6bf3 with SMTP id be9-20020a05600c1e8900b0039c5adb6bf3mr3884866wmb.91.1656077787194; Fri, 24 Jun 2022 06:36:27 -0700 (PDT) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id u19-20020a05600c19d300b0039c4f53c4fdsm9164371wmq.45.2022.06.24.06.36.25 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Jun 2022 06:36:26 -0700 (PDT) Content-Language: en-US In-Reply-To: <87wnd6w63j.fsf@mat.ucm.es> Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=raaahh@gmail.com; helo=mail-wm1-x333.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:138073 Archived-At: On 24.06.2022 16:20, Uwe Brauer wrote: > > 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 Try adding the "Author:" header at the top when writing the commit message.