unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* *Diff*?
@ 2007-07-11 18:35 Alfred M. Szmidt
  2007-07-11 23:28 ` *Diff*? Juri Linkov
  0 siblings, 1 reply; 4+ messages in thread
From: Alfred M. Szmidt @ 2007-07-11 18:35 UTC (permalink / raw)
  To: emacs-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: *Diff*?
  2007-07-11 18:35 *Diff*? Alfred M. Szmidt
@ 2007-07-11 23:28 ` Juri Linkov
  2007-07-12 21:23   ` *Diff*? Richard Stallman
  2007-07-13 19:51   ` *Diff*? Alfred M. Szmidt
  0 siblings, 2 replies; 4+ messages in thread
From: Juri Linkov @ 2007-07-11 23:28 UTC (permalink / raw)
  To: ams; +Cc: emacs-devel

> 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?

-- 
Juri Linkov
http://www.jurta.org/emacs/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: *Diff*?
  2007-07-11 23:28 ` *Diff*? Juri Linkov
@ 2007-07-12 21:23   ` Richard Stallman
  2007-07-13 19:51   ` *Diff*? Alfred M. Szmidt
  1 sibling, 0 replies; 4+ messages in thread
From: Richard Stallman @ 2007-07-12 21:23 UTC (permalink / raw)
  To: Juri Linkov; +Cc: ams, emacs-devel

Let's not change that buffer name.  There is no universal
rule for these names.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: *Diff*?
  2007-07-11 23:28 ` *Diff*? Juri Linkov
  2007-07-12 21:23   ` *Diff*? Richard Stallman
@ 2007-07-13 19:51   ` Alfred M. Szmidt
  1 sibling, 0 replies; 4+ messages in thread
From: Alfred M. Szmidt @ 2007-07-13 19:51 UTC (permalink / raw)
  To: Juri Linkov; +Cc: emacs-devel

   > 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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-07-13 19:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-11 18:35 *Diff*? Alfred M. Szmidt
2007-07-11 23:28 ` *Diff*? Juri Linkov
2007-07-12 21:23   ` *Diff*? Richard Stallman
2007-07-13 19:51   ` *Diff*? Alfred M. Szmidt

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).