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: bug#881: patch for bug #881 Date: Wed, 06 Jan 2010 09:20:04 -0500 Message-ID: References: <87wrzwp5gd.fsf@stupidchicken.com> <201001060700.o06706Sw006855@godzilla.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1262787670 12475 80.91.229.12 (6 Jan 2010 14:21:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Jan 2010 14:21:10 +0000 (UTC) Cc: Juanma Barranquero , Chong Yidong , Emacs developers To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 06 15:21:02 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NSWkw-0007Fb-Cv for ged-emacs-devel@m.gmane.org; Wed, 06 Jan 2010 15:21:02 +0100 Original-Received: from localhost ([127.0.0.1]:57912 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSWkw-0007lC-RE for ged-emacs-devel@m.gmane.org; Wed, 06 Jan 2010 09:21:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSWkA-00078b-Sf for emacs-devel@gnu.org; Wed, 06 Jan 2010 09:20:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSWk6-00074n-0b for emacs-devel@gnu.org; Wed, 06 Jan 2010 09:20:14 -0500 Original-Received: from [199.232.76.173] (port=48701 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSWk5-00074b-OT for emacs-devel@gnu.org; Wed, 06 Jan 2010 09:20:09 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]:16442) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NSWk4-00029H-L1 for emacs-devel@gnu.org; Wed, 06 Jan 2010 09:20:08 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NSWk3-0002cU-Fx for emacs-devel@gnu.org; Wed, 06 Jan 2010 09:20:07 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtIFAFcrREvO+KPG/2dsb2JhbACBRdEMhDAEiiiDCQ X-IronPort-AV: E=Sophos;i="4.49,229,1262581200"; d="scan'208";a="53142251" Original-Received: from 206-248-163-198.dsl.teksavvy.com (HELO ceviche.home) ([206.248.163.198]) by ironport2-out.pppoe.ca with ESMTP; 06 Jan 2010 09:20:05 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id DDC56B4077; Wed, 6 Jan 2010 09:20:04 -0500 (EST) In-Reply-To: <201001060700.o06706Sw006855@godzilla.ics.uci.edu> (Dan Nicolaescu's message of "Tue, 5 Jan 2010 23:00:06 -0800 (PST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) X-detected-operating-system: by mx20.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:119523 Archived-At: > How should it work? We don't have any nice generic mechanism/UI for > doing VC backend specific things in the commit buffer. It's a general concept, although it's not supported by all backends. I'd imagine some log-edit-mode command that set log-edit-author and is then somehow passed to VC via the log-edit-callback which then passes it to the backend as an additional argument to the `commit' operation. Maybe the easiest way is to store the info directly in the text in the form of a "Author: ..." line somewhere. Along similar lines, we'd like a way to pass the "--fixes" arg to Bzr, so maybe we should let log-edit-mode use a buffer in a RFC822-like format, where backends may recognize some headers ("Subject", "Author", "Fixes", ...) and discard others. Stefan