Hi Bram, On Sun, Jun 9, 2019 at 11:19 AM Bram Moolenaar <[email protected]> wrote: > > > > > This patch adds a expandcmd() function that can be used to expand all > > > > the > > > > special characters in a command string. > > > > > > Thanks. I updated the docs to mention that the expansion happens like > > > for the ":edit" command. Other commands, such as ":next" work slightly > > > differently. > > > > > > I also reported the error, when there is one. There is still the case > > > it returns with an error, but without an error message. Perhaps we > > > should also fail then with some generic message? > > > > > > > Are you referring to the case where expand_filename() returns an > > empty error message string? > > Yes. >
I went through all the code paths in expand_filename() and the called functions where an empty error message string is returned. In all these cases, an error message is already printed. I couldn't find a case where an empty error message string is returned without printing an error message. Are you aware of any of theses cases that should be handled in f_expandcmd()? Thanks, Yegappan -- -- 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 because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/CAAW7x7mNmJDZYL7CTxkvpu7cUPx4x85G-p%3DKVB4FRdUMNoL_EQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
