Sven Joachim writes:
 > Hi Jeff,
 > 
 > I'm triaging old Emacs bugs.

Great, thanks.

 > 
 > On 2001-10-14 23:39 +0200, Jeff Sheinberg wrote:
 > 
 > > Package: emacs20
 > > Version: 20.7-10.1
 > > Severity: normal
 > >
 > > Hi,
 > >
 > > Ediff does not remove the auto-save file associated with the
 > > "merge-file-buffer" after the merge has been successfully
 > > terminated.
 > >
 > > What happens is that I invoke either the "ediff-merge-files" or
 > > "ediff-merge-files-with-ancestor" function with the optional
 > > "merge-file-buffer" argument, like this,
 > >
 > >     (ediff-merge-files-with-ancestor file-a file-b file-c nil file-prefix)
 > >
 > > or like this,
 > >
 > >     (ediff-merge-files file-a file-b nil file-prefix)
 > >
 > > from within an interactive defun that sets up the variables -
 > > file-a, file-b, file-c, and file-prefix.
 > >
 > > Then, I do some actual merging in the "*merge*" buffer.

I'm sorry if I confused you here, but I should have typed *merge*,
which means the merge buffer (with *emphasis* on the word merge).

This buffer is named "file-prefix", because of the way I invoked
Ediff.

 > 
 > >From Ediff, I suppose, using the a/b/n commands?

Yes, of course.

 > 
 > > Next, I "quit" ediff, and then I affirm interactively that I want
 > > to save the merge buffer as "file-prefix", and also affirm to kill
 > > all of the associated merge buffers.
 > 
 > Is there more than one merge buffer?  When I run ediff-merge-files
 > interactively, I get only one merge buffer named *ediff-merge*.

As I said, the merge buffer is called "file-prefix", and there is
only one of these buffers.

 > 
 > > Much to my surprise, I find that the emacs auto-save file
 > > "#file-prefix#" is not being removed after the ediff-merge has
 > > been terminated, nor after I have exited emacs completely.
 > 
 > Is this still a problem for you?  I cannot reproduce it when running
 > ediff-merge-files interactively.
 > 

Yes, note that now I am running emacs21.

I just ran a simple test case and this problem still exists.

Note that I *invoke* ediff like this:

     (ediff-merge-files-with-ancestor file-a file-b file-c nil file-prefix)

or like this,

     (ediff-merge-files file-a file-b nil file-prefix)

in the simple test that I just ran, I used the former.

 > > However, if I do not do any merging in the "*merge*" buffer at
 > > all, then the auto-save file is not left hanging around.
 > 
 > Should not have been created in the first place then.
 > 
 > > It is not relevant if the file "file-prefix" was an existing file,
 > > or was created by "ediff".

It appears that "file-prefix" must not exist before invoking
Ediff.

Also, please try to run your test case by invoking Ediff from
the "*scratch*" buffer, which is in Lisp Interaction mode.  You
may have to run the test case twice before "#file-prefix#" is
created and then left hanging around after the merge has completed. 

Thanks,
-- 
Jeffrey Sheinberg

ps - this is my test case,

    $ head f_*
    ==> f_A <==
    this is f_A

    ==> f_B <==
    this is now f_B

    ==> f_C <==
    this is f_C common ancestor

    (ediff-merge-files-with-ancestor f_A f_B f_C nil f)

    then I used these commands to ediff: n
                                         b
                                         q
                                         y
                                         y
                                         y
                                         y



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to