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: Wed, 02 Sep 2009 01:27:29 +0300 Organization: JURTA Message-ID: <873a76xpzk.fsf@mail.jurta.org> References: <200907071845.n67IjHUH004088@godzilla.ics.uci.edu> <200907230543.n6N5hI6p029191@godzilla.ics.uci.edu> <200907300718.n6U7I3pi027881@godzilla.ics.uci.edu> <200908291913.n7TJD9wq003979@godzilla.ics.uci.edu> <87tyzqxo7o.fsf@mail.jurta.org> <87k50mi5cf.fsf@catnip.gol.com> <87d46az8rc.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1251844686 17126 80.91.229.12 (1 Sep 2009 22:38:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Sep 2009 22:38:06 +0000 (UTC) Cc: Dan Nicolaescu , Stefan Monnier , emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 02 00:37:58 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 1MibzC-0001U0-40 for ged-emacs-devel@m.gmane.org; Wed, 02 Sep 2009 00:37:58 +0200 Original-Received: from localhost ([127.0.0.1]:55483 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MibzB-0000LK-CF for ged-emacs-devel@m.gmane.org; Tue, 01 Sep 2009 18:37:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mibpk-0002Fz-AA for emacs-devel@gnu.org; Tue, 01 Sep 2009 18:28:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mibpf-0002EN-Jx for emacs-devel@gnu.org; Tue, 01 Sep 2009 18:28:11 -0400 Original-Received: from [199.232.76.173] (port=33024 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mibpf-0002EK-Fu for emacs-devel@gnu.org; Tue, 01 Sep 2009 18:28:07 -0400 Original-Received: from smtp-out1.starman.ee ([85.253.0.3]:56528 helo=mx1.starman.ee) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mibpd-0006vS-FQ; Tue, 01 Sep 2009 18:28:05 -0400 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Original-Received: from mail.starman.ee (82.131.69.166.cable.starman.ee [82.131.69.166]) by mx1.starman.ee (Postfix) with ESMTP id CB5EC3F42BB; Wed, 2 Sep 2009 01:27:59 +0300 (EEST) In-Reply-To: <87d46az8rc.fsf@mail.jurta.org> (Juri Linkov's message of "Wed, 02 Sep 2009 00:36:57 +0300") 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:114965 Archived-At: >>> C-x v L l - long logs >>> C-x v L s - short logs >>> C-x v L r - root logs >>> C-x v L R l - long root logs >>> C-x v L R s - short root logs >> >> Ugh... that looks way too baroque. I don't want to have to make >> multiple decisions and follow deep branching menu structures for such a >> common operation. Morever, combining shifted and unshifted keys in a >> binding _really_ slow down invocation (and raise the error rate). > > These commands are not too frequently used, so the speed of their > invocation is not important. OTOH, I see no other way to extend > log commands to control more options like "git-log --stat", > graph/no graph, and other pretty format options. Strike that, I now have a better idea. `C-u C-x v l' could ask for more additional command line arguments like "--stat", "--graph", "--pretty", "--since", "--author", "--no-merges", most useful of which could be added to the default value list of the minibuffer. This would allow the user to build complex queries. -- Juri Linkov http://www.jurta.org/emacs/