emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: diff adapted for new M-x compile


From: Daniel Pfeiffer
Subject: Re: diff adapted for new M-x compile
Date: Mon, 12 Jan 2004 21:13:33 +0100

Saluton,

Miles Bader <address@hidden> skribis:

> On Mon, Jan 12, 2004 at 12:38:57AM +0100, Daniel Pfeiffer wrote:
> >     * lisp/diff.el (diff): use diff-mode instead of compile
> >     (diff-switches): new function
> >     (diff-with-other-file, diff-with-file, diff-with-auto-save-file)
> >     (diff-with-backup-file): new commands
> >     (diff-regexp-alist, diff-old-file, diff-new-file): deleted vars
> >     (diff-parse-differences, diff-process-setup): deleted functions
> 
> Those new function names (`diff-with-...') are quite confusing -- the salient
> point seems to be that they operate on the buffer rather than on files, so
> the function names should include this information.
>
> For instance, `diff-buffer-with-file' could diff a buffer against a file, or
> something like that.

Then the already existing diff-backup (which diffs a file with that file's 
backup) must be even more confusing :-)  My reconning was that my new functions 
diff what you are just looking at with something that gets named in the 
command.  But if you prefer, feel free to rename them to include buffer...

coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn
Daniel Pfeiffer

-- 
lerne / learn / apprends / läramå    Esperanto:
                              http://lernu.net/




reply via email to

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