Patch: Very minor doc fix

39 views
Skip to first unread message

glts

unread,
Jul 15, 2013, 2:13:59 PM7/15/13
to vim...@vim.org
Spotted this very minor error in index.txt. Thanks.

diff -r c015eedb9b4a runtime/doc/index.txt
--- a/runtime/doc/index.txt Sun Jul 14 15:06:50 2013 +0200
+++ b/runtime/doc/index.txt Mon Jul 15 20:07:27 2013 +0200
@@ -1191,7 +1191,7 @@
|:digraphs| :dig[raphs] show or enter digraphs
|:display| :di[splay] display registers
|:djump| :dj[ump] jump to #define
-|:dlist| :dl[ist] list #defines
+|:dlist| :dli[st] list #defines
|:doautocmd| :do[autocmd] apply autocommands to current buffer
|:doautoall| :doautoa[ll] apply autocommands for all loaded buffers
|:drop| :dr[op] jump to window editing file or edit file in

Bram Moolenaar

unread,
Jul 17, 2013, 8:11:10 AM7/17/13
to glts, vim...@vim.org
":dl" stands for ":dlist", thus it's correct as it was.
No other command starts with ":dl".

--
The budget process was invented by an alien race of sadistic beings who
resemble large cats.
(Scott Adams - The Dilbert principle)

/// Bram Moolenaar -- Br...@Moolenaar.net -- 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 ///

Jürgen Krämer

unread,
Jul 17, 2013, 10:32:02 AM7/17/13
to vim...@googlegroups.com

Hi,

Bram Moolenaar wrote:
>
> glts wrote:
>
>> Spotted this very minor error in index.txt. Thanks.
>>
>> diff -r c015eedb9b4a runtime/doc/index.txt
>> --- a/runtime/doc/index.txt Sun Jul 14 15:06:50 2013 +0200
>> +++ b/runtime/doc/index.txt Mon Jul 15 20:07:27 2013 +0200
>> @@ -1191,7 +1191,7 @@
>> |:digraphs| :dig[raphs] show or enter digraphs
>> |:display| :di[splay] display registers
>> |:djump| :dj[ump] jump to #define
>> -|:dlist| :dl[ist] list #defines
>> +|:dlist| :dli[st] list #defines
>> |:doautocmd| :do[autocmd] apply autocommands to current buffer
>> |:doautoall| :doautoa[ll] apply autocommands for all loaded buffers
>> |:drop| :dr[op] jump to window editing file or edit file in
>
> ":dl" stands for ":dlist", thus it's correct as it was.
> No other command starts with ":dl".

actually, ":dl" is a short form for ":delete".

Regards,
J�rgen

--
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us. (Calvin)

glts

unread,
Jul 17, 2013, 10:50:57 AM7/17/13
to vim...@googlegroups.com
On Wed, Jul 17, 2013 at 4:32 PM, Jürgen Krämer <jott...@googlemail.com> wrote:
> Bram Moolenaar wrote:
>>
>> glts wrote:
>>
>>> Spotted this very minor error in index.txt. Thanks.
>>>
>>> diff -r c015eedb9b4a runtime/doc/index.txt
>>> --- a/runtime/doc/index.txt Sun Jul 14 15:06:50 2013 +0200
>>> +++ b/runtime/doc/index.txt Mon Jul 15 20:07:27 2013 +0200
>>> @@ -1191,7 +1191,7 @@
>>> |:digraphs| :dig[raphs] show or enter digraphs
>>> |:display| :di[splay] display registers
>>> |:djump| :dj[ump] jump to #define
>>> -|:dlist| :dl[ist] list #defines
>>> +|:dlist| :dli[st] list #defines
>>> |:doautocmd| :do[autocmd] apply autocommands to current buffer
>>> |:doautoall| :doautoa[ll] apply autocommands for all loaded buffers
>>> |:drop| :dr[op] jump to window editing file or edit file in
>>
>> ":dl" stands for ":dlist", thus it's correct as it was.
>> No other command starts with ":dl".
>
> actually, ":dl" is a short form for ":delete".

More accurately, it's short for ":deletel". From ":h :dlist":

Note that ":dl" works like ":delete" with the "l" flag.

I've checked with the source. By the way: If I'm not mistaken the help
at :dl[ist] should also be changed to :dli[st].

Bram Moolenaar

unread,
Jul 17, 2013, 11:56:27 AM7/17/13
to Jürgen Krämer, vim...@googlegroups.com

J�rgen Kr�mer wrote:

> Bram Moolenaar wrote:
> >
> > glts wrote:
> >
> >> Spotted this very minor error in index.txt. Thanks.
> >>
> >> diff -r c015eedb9b4a runtime/doc/index.txt
> >> --- a/runtime/doc/index.txt Sun Jul 14 15:06:50 2013 +0200
> >> +++ b/runtime/doc/index.txt Mon Jul 15 20:07:27 2013 +0200
> >> @@ -1191,7 +1191,7 @@
> >> |:digraphs| :dig[raphs] show or enter digraphs
> >> |:display| :di[splay] display registers
> >> |:djump| :dj[ump] jump to #define
> >> -|:dlist| :dl[ist] list #defines
> >> +|:dlist| :dli[st] list #defines
> >> |:doautocmd| :do[autocmd] apply autocommands to current buffer
> >> |:doautoall| :doautoa[ll] apply autocommands for all loaded buffers
> >> |:drop| :dr[op] jump to window editing file or edit file in
> >
> > ":dl" stands for ":dlist", thus it's correct as it was.
> > No other command starts with ":dl".
>
> actually, ":dl" is a short form for ":delete".

Ah, forgot about that. Hmm ":dp" isn't listed at all.

--
Every engineer dreams about saving the universe and having sex with aliens.
This is much more glamorous than the real life of an engineer, which consists
of hiding from the universe and having sex without the participation of other
life forms. (Scott Adams - The Dilbert principle)
Reply all
Reply to author
Forward
0 new messages