[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

M-x ediff-backup RET should offer current buffer as `file'?

From: Christian Schlauer
Subject: M-x ediff-backup RET should offer current buffer as `file'?
Date: Wed, 06 Apr 2005 19:00:01 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt)


This isn't a bug but a (tiny) feature request. M-x ediff-buffers RET
offers the current buffer as one of the buffers to compare:

,----[ M-x ediff-buffers RET ]
| Buffer A to compare: (default test.txt) 

M-x ediff-backup RET, on the other hand, does not offer the current
buffer as the file to compare with its backup:

,----[ M-x ediff-backup RET ]
| Ediff (file with backup): ~/

Could this be extended so that it says

,----[ *Suggestion* for M-x ediff-backup RET ]
| Ediff (file with backup, default test.txt): ~/

Then the user just has to hit RET. If the file doesn't exist,
ediff-backup does the right thing already now, it says `ediff-backup:
No backup found for ~/test.txt'.

In GNU Emacs (powerpc-apple-darwin7.7.2)
 of 2005-04-02 on tesla.local
Distributor `Apple Computers', version 10.3.8
configured using `configure '--without-x' '--prefix=/usr/local''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: Text

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  line-number-mode: t

Recent input:
C-x C-f t e s t SPC . t x t <return> f o o C-x C-s 
M-x e d i f f - b a c k SPC <return> t e s t . <tab> 
<return> M-x r e p o r t - e m a c s - b u SPC <re

Recent messages:
Loading tool-bar...done
Loading image...done
Loading tooltip...done
(New file)
Wrote /Users/#####/test.txt
Loading ediff...
Loading help-fns...done
Loading ediff...done
ediff-backup: No backup found for ~/test.txt
Loading emacsbug...done

reply via email to

[Prev in Thread] Current Thread [Next in Thread]