On Sat, Feb 19, 2011 at 2:06 AM, Bee <[email protected]> wrote: > On Feb 15, 8:48 am, Donald Allen <[email protected]> wrote: >> I'm a fairly recent convert to vim, after using emacs for many, many >> years (I used the very first version of emacs, built on top of Teco, >> on Tenex on a DEC PDP-10; I guess just dated myself!). >> >> The issue: using gvim (I think the same issue happens with vim, but >> the error message comes and goes so quickly I can't be sure), if I >> invoke :ed <partial unambiguous dirname> and then hit tab to complete >> the dirname, netrw produces the directory listing, but I get the error >> "Illegal file name" at the bottom of the window. I note that when tab >> completes a directory name, it adds a trailing /. If, in a fresh gvim, >> I instead type in the entire directory name *without the trailing >> slash*, the error message does not appear. In addition, if I do this >> and type the trailing /, I *do* get the error message. To further >> confuse matters, after netrw produces the directory listing of, say, >> ~/foo, if I then type ":ed foo/" or ":ed fo<tab>", no error occurs, >> despite the trailing /. >> >> While this behavior causes no loss of functionality, the error message is >> incorrect, in my opinion, especially given that it does not always >> occur, as described above. >> >> All of the above refers to vim 7.3, including patches 1-99, compiled >> from source and installed on a Slackware 13.1 i486 system. >> >> /Don Allen > > Is this what you are looking for? > :help :Explore > > :Explore foo/bar > :Explore foo/bar/ > > --OR-- shortened > > :E foo/bar > :E foo/bar/
Well, yes, that is the behavior I'm looking for; thanks for pointing that out. But I'm also looking for the bug in :e's behavior to be fixed and what you mention above reinforces the argument I'm making -- :e is not consistent with :E, in addition to the other examples of inconsistency I gave. /Don > > -Bill > > -- > You received this message from the "vim_dev" maillist. > Do not top-post! Type your reply below the text you are replying to. > For more information, visit http://www.vim.org/maillist.php > -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
