John Beckett wrote: > Bram Moolenaar wrote: > >> What sign of modifier do you want against :8 ? :l ? > >> Or new function? > > > > Currently :p turns any path into a full path, so that when > > two names are expanded with :p they can be compared to find > > out if they are equal. > > Except for symlinks, that requires using resolve(). > > > > So we could change :p to also expand 8.3 names to their full > > name, and add a new modifier that does not do that. How > > about :f, for Full name. > > Is that needed? > > If :p (on Windows) always produced the expanded long name, then > :p:8 could be used if someone wanted the short full path. > > I can't see a reason someone would need an 8.3 name expanded > to anything other than its full long path (with :p), or its > full short path (with :p:8). > > At any rate, :f does not sound a good mnemonic for "short".
True, you can use :p:8 in nearly all cases where you would use the new :f modifier. Can't really think of a situation where one would want to keep existing 8.3 names but not change long names to 8.3 names. So we can just change :p to expand 8.3 names to their long name and that's it. -- If the Universe is constantly expanding, why can't I ever find a parking space? /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- 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
