Title ediff-directories default differs from minibuffer initialization
Type defect Module ediff
Severity inconvenience Platform N/A
Keywords Nosy List tbrowder
These controls should only be changed by committers and tracker administrators.
Status verified   Reason
Priority normal   Assigned To

Created on 2009-06-22.16:22:31 by anonymous, last changed 2009-07-01.10:06:09 by stephen.

msg1237 [hidden] ([hidden]) Date: 2009-07-01.10:06:08
  Message-ID: <>
nb. I've changed the title from "Fails to ignore trailing slash".

I've been able to replicate it, but I don't think it is related to the slash per se, 
but rather to the fact that you've changed the minibuffer.  If I do

M-x ediff-directories RET
BKSP RET                   ; ~/ajbs/ was initialized, remove backslash
RET                        ; ~/ was initialized, accept as is
I get an Ediff Session Group Panel for

*** Directory A: ~/ajbs/
*** Directory B: ~/ajbs/

In other words, I think the problem is that the default for the second directory is the 
same as the first although the minibuffer is initialized differently.  I suggest you 
get in touch with Micheal Kifer <>, as it's not clear to me what 
the desirable default would be.

It also seems that ediff is comparing strings, not file system objects, to determine 
whether the directories are the same or not.  This may be a bug or an optimization :-), 
according to the user's taste.
msg1225 [hidden] ([hidden]) Date: 2009-06-23.11:31:26
I, Tom Browder (user name "tbrowder"), submitted this bug
msg1223 [hidden] ([hidden]) Date: 2009-06-22.16:22:30
I'm still haunted by the change in ediff-directories behavior
that started a year or so ago.  Now ediff-directories shows a trailing
slash in the minibuffer.  The slash seems to confuse ediff:

M-x ediff-directories<rtn>

minibuffer:  "Directory A to compare:/path/to/di1/"<rtn>
;; note the trailing slash, it didn't use to show

minibuffer:  "Directory B to compare:/path/to/"<rtn>
;; ditto

minibuffer:  "Filter through regular expression: "<rtn>

minibuffer:  <grating beep>"Directories A and B are the same:/path/to/di1/"

If I delete the trailing backslash each time, the function proceeds as
it always has (the delete '/' action on my part has become automatic
now, but it is an irritant).
Date User Action Args
2009-07-01 10:06:09stephensetstatus: new -> verified
nosy: + tbrowder, - anonymous
messages: + msg1237
title: ediff-directories Fails to Ignore Trailing Slash ('/') -> ediff-directories default differs from minibuffer initialization
2009-06-23 11:31:27tbrowdersetmessages: + msg1225
2009-06-22 16:22:31anonymouscreate