From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: patch against vc-rcs.el: vc-rcs-checkin: allows user login to be added Date: Mon, 07 Sep 2015 18:30:04 -0400 Message-ID: References: <87d1xvv0m1.fsf@mat.ucm.es> <87h9n6ufd2.fsf@mat.ucm.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1441665031 32748 80.91.229.3 (7 Sep 2015 22:30:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Sep 2015 22:30:31 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 08 00:30:25 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZZ4ve-00027g-4A for ged-emacs-devel@m.gmane.org; Tue, 08 Sep 2015 00:30:22 +0200 Original-Received: from localhost ([::1]:59083 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZ4vd-000079-NX for ged-emacs-devel@m.gmane.org; Mon, 07 Sep 2015 18:30:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45108) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZ4vQ-0008WG-PA for emacs-devel@gnu.org; Mon, 07 Sep 2015 18:30:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZ4vN-0004q1-KI for emacs-devel@gnu.org; Mon, 07 Sep 2015 18:30:08 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:15529) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZ4vN-0004o9-Fy for emacs-devel@gnu.org; Mon, 07 Sep 2015 18:30:05 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AsEwA731xV/5Wg+M5cgxCEAoVVuzcJh0sEAgKBPDkUAQEBAQEBAYEKQQWDXQEBAwFWKAsLLgEFEhQYDYhbCM8jASuLOoUMEgEDhBcFm1iXZ4FFI4Fmgi4igTYHF4EkAQEB X-IPAS-Result: A0AsEwA731xV/5Wg+M5cgxCEAoVVuzcJh0sEAgKBPDkUAQEBAQEBAYEKQQWDXQEBAwFWKAsLLgEFEhQYDYhbCM8jASuLOoUMEgEDhBcFm1iXZ4FFI4Fmgi4igTYHF4EkAQEB X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="162840483" Original-Received: from 206-248-160-149.dsl.teksavvy.com (HELO ceviche.home) ([206.248.160.149]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 07 Sep 2015 18:30:05 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 92C776612A; Mon, 7 Sep 2015 18:30:04 -0400 (EDT) In-Reply-To: <87h9n6ufd2.fsf@mat.ucm.es> (Uwe Brauer's message of "Mon, 07 Sep 2015 20:46:49 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:189679 Archived-At: > In any case I presume you mean functions like this > (defun vc-hg-checkin (files comment) > "Hg-specific version of `vc-backend-checkin'. > REV is ignored." > (apply 'vc-hg-command nil 0 files > (nconc (list "commit" "-m") > (log-edit-extract-headers '(("Author" . "--user") > ("Date" . "--date")) > comment)))) That's right. > I will play around a bit not sure that will work easily. At first sight, it seems that (log-edit-extract-headers '(("Author" . "-w")) comment)))) might do the trick, Stefan