From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: VC top of the tree diff and log Date: Sun, 19 Jul 2009 00:45:57 +0300 Organization: JURTA Message-ID: <873a8tmzli.fsf@mail.jurta.org> References: <200907071845.n67IjHUH004088@godzilla.ics.uci.edu> <200907082110.n68LA647023185@godzilla.ics.uci.edu> <87k52i93ug.fsf@catnip.gol.com> <200907162138.n6GLcq4i025189@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 1247961402 12008 80.91.229.12 (18 Jul 2009 23:56:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Jul 2009 23:56:42 +0000 (UTC) Cc: emacs-devel@gnu.org, Miles Bader To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 19 01:56:36 2009 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 1MSJlc-0004vv-8H for ged-emacs-devel@m.gmane.org; Sun, 19 Jul 2009 01:56:36 +0200 Original-Received: from localhost ([127.0.0.1]:38561 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MSJlb-00012H-Nu for ged-emacs-devel@m.gmane.org; Sat, 18 Jul 2009 19:56:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MSJk1-0000AB-RM for emacs-devel@gnu.org; Sat, 18 Jul 2009 19:54:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MSJjx-00007x-I8 for emacs-devel@gnu.org; Sat, 18 Jul 2009 19:54:57 -0400 Original-Received: from [199.232.76.173] (port=43867 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MSJjx-00007u-Fk for emacs-devel@gnu.org; Sat, 18 Jul 2009 19:54:53 -0400 Original-Received: from smtp-out1.starman.ee ([85.253.0.3]:51860 helo=mx1.starman.ee) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MSJju-0003yR-AR; Sat, 18 Jul 2009 19:54:50 -0400 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Original-Received: from mail.starman.ee (82.131.55.31.cable.starman.ee [82.131.55.31]) by mx1.starman.ee (Postfix) with ESMTP id C7F833F40DE; Sun, 19 Jul 2009 02:54:43 +0300 (EEST) In-Reply-To: <200907162138.n6GLcq4i025189@godzilla.ics.uci.edu> (Dan Nicolaescu's message of "Thu, 16 Jul 2009 14:38:52 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu) 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:112711 Archived-At: > Here's what I have now, it defaults to showing short log (and the graph > is shown in both the short and long versions). It's git specific (no > integration with VC), there's no UI for switching between the long and > short version yet. > > Ideas (or even better, code) on how to make all these fit together are > welcome. I think the first step should be creating a set of defcustoms that will cover most needs. For example, I prefer the format "%h %ai %s" instead of %h %ad %s" and so on. This should be customizable. The second step could be creating UI for switching between different formats by temporarily rebinding the values of these customizable variables. -- Juri Linkov http://www.jurta.org/emacs/