In ":help :history", I see...
:his[tory] [{name}] [{first}][, [{last}]]
List the contents of history {name} which can be:
c[md] or : command-line history
s[earch] or / search string history
e[xpr] or = expression register history
i[nput] or @ input line history
d[ebug] or > debug command history
a[ll] all of the above
So according the the help file, ":history a" should behave
the same as ":history all". But if I type ":history a"
instead of ":history all", I get an error:
E488: Trailing characters
Attached patch fixes it.
-- Dominique
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---
Index: ex_getln.c
===================================================================
RCS file: /cvsroot/vim/vim7/src/ex_getln.c,v
retrieving revision 1.98
diff -c -r1.98 ex_getln.c
*** ex_getln.c 18 Mar 2009 11:52:47 -0000 1.98
--- ex_getln.c 11 Apr 2009 19:56:13 -0000
***************
*** 5686,5692 ****
histype1 = get_histtype(arg);
if (histype1 == -1)
{
! if (STRICMP(arg, "all") == 0)
{
histype1 = 0;
histype2 = HIST_COUNT-1;
--- 5686,5692 ----
histype1 = get_histtype(arg);
if (histype1 == -1)
{
! if (STRNICMP(arg, "all", STRLEN(arg)) == 0)
{
histype1 = 0;
histype2 = HIST_COUNT-1;