From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Alfred M. Szmidt" Newsgroups: gmane.emacs.devel Subject: Re: *Diff*? Date: Fri, 13 Jul 2007 21:51:26 +0200 (CEST) Message-ID: <20070713195126.CF17B30230@Psilocybe.Update.UU.SE> References: <20070711183504.DAC76301E4@Psilocybe.Update.UU.SE> <87bqeizelv.fsf@jurta.org> Reply-To: ams@gnu.org NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1184356303 4498 80.91.229.12 (13 Jul 2007 19:51:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 13 Jul 2007 19:51:43 +0000 (UTC) Cc: emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 13 21:51:41 2007 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 1I9RAx-0003Xo-1B for ged-emacs-devel@m.gmane.org; Fri, 13 Jul 2007 21:51:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I9RAw-0004C7-AX for ged-emacs-devel@m.gmane.org; Fri, 13 Jul 2007 15:51:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I9RAq-00046z-O7 for emacs-devel@gnu.org; Fri, 13 Jul 2007 15:51:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I9RAo-00044a-C2 for emacs-devel@gnu.org; Fri, 13 Jul 2007 15:51:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I9RAn-000441-Ds for emacs-devel@gnu.org; Fri, 13 Jul 2007 15:51:29 -0400 Original-Received: from psilocybe.update.uu.se ([130.238.19.25]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I9RAm-0001AF-Ji for emacs-devel@gnu.org; Fri, 13 Jul 2007 15:51:28 -0400 Original-Received: by Psilocybe.Update.UU.SE (Postfix, from userid 30270) id CF17B30230; Fri, 13 Jul 2007 21:51:26 +0200 (CEST) In-reply-to: <87bqeizelv.fsf@jurta.org> (message from Juri Linkov on Thu, 12 Jul 2007 02:28:28 +0300) X-detected-kernel: Linux 2.6 (newer, 1) 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:74736 Archived-At: > I find it a bit annoying that the diff buffer is called *Diff*, a > more logical choice is to call it *diff*. Often one ends up > either editing the buffer, or using it various ways, much like > *mail* and other such buffers, the extra capital makes it a bit > harder to type. > > --- diff.el 06 May 2007 00:12:40 +0200 1.62 > +++ diff.el 09 Jul 2007 23:10:14 +0200 > @@ -112,7 +112,7 @@ With prefix arg, prompt for diff switche > ,(shell-quote-argument (or old-alt old)) > ,(shell-quote-argument (or new-alt new))) > " ")) > - (buf (get-buffer-create "*Diff*")) > + (buf (get-buffer-create "*diff*")) > (thisdir default-directory) > proc) > (save-excursion Maybe, it would be good to unify buffer names, but I (and possibly many other users) have in .emacs: (add-to-list 'same-window-buffer-names "*Diff*") which is currently not case-sensitive. And also there are other buffer names with capital letters: ("*Help*" "*Apropos*" "*Locate*" "*Colors*" "*Buffer List*") Want to rename them too? They are all quite different from *diff*, in none of those do you end up editing the actual content (atleast, I don't); maybe an execption can be made for *Locate*, it is similar to *grep*, or *occur*, which I often edit to do various things on specific lines using macros.