Yegappan wrote:
> 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 for checking. I was just wondering if this can be improved. If it looks like it already works properly, there is no need to spend more time on this. -- hundred-and-one symptoms of being an internet addict: 191. You rate eating establishments not by the quality of the food, but by the availability of electrical outlets for your PowerBook. /// 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 --- 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/201906151640.x5FGeNDw001630%40masaka.moolenaar.net. For more options, visit https://groups.google.com/d/optout.
