[doc] fix :dli, :dl and :dp

2013-10-01 Thread Ken Takata
Hi,

The note about ":dl" in the help of ":dli" seems wrong.
I also think the descriptions of ":dl" and ":dp" in the index.txt are
a little bit confusing.

Please check the attached patch.

Regards,
Ken Takata

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
# HG changeset patch
# Parent 583386a43dd23715443361c2c0e0fd3c17a7171e
diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt
--- a/runtime/doc/index.txt
+++ b/runtime/doc/index.txt
@@ -1191,12 +1191,12 @@
 |:digraphs|	:dig[raphs]	show or enter digraphs
 |:display|	:di[splay]	display registers
 |:djump|	:dj[ump]	jump to #define
-|:dl|		:dl		short for |:delete|
-|:dl|		:del[ete]l	short for |:delete|
+|:dl|		:dl		short for |:delete| and |:list|
+|:dl|		:del[ete]l	short for |:delete| and |:list|
 |:dlist|	:dli[st]	list #defines
 |:doautocmd|	:do[autocmd]	apply autocommands to current buffer
 |:doautoall|	:doautoa[ll]	apply autocommands for all loaded buffers
-|:dp|		:d[elete]p	short for |:delete|
+|:dp|		:d[elete]p	short for |:delete| and |:print|
 |:drop|		:dr[op]		jump to window editing file or edit file in
 current window
 |:dsearch|	:ds[earch]	list one #define
diff --git a/runtime/doc/tagsrch.txt b/runtime/doc/tagsrch.txt
--- a/runtime/doc/tagsrch.txt
+++ b/runtime/doc/tagsrch.txt
@@ -774,8 +774,8 @@
 			Like "[D"  and "]D", but search in [range] lines
 			(default: whole file).
 			See |:search-args| for [/] and [!].  {not in Vi}
-			Note that ":dl" works like ":delete" with the "l"
-			register.
+			Note that ":dl" works like ":delete" followed by
+			":list".
 
 			*[_CTRL-D*
 [ CTRL-D		Jump to the first macro definition that contains the


Re: [doc] fix :dli, :dl and :dp

2013-10-01 Thread glts
Hi,

On Tue, Oct 1, 2013 at 1:00 PM, Ken Takata  wrote:
> The note about ":dl" in the help of ":dli" seems wrong.
> I also think the descriptions of ":dl" and ":dp" in the index.txt are
> a little bit confusing.
>
> Please check the attached patch.

This was introduced following this:
https://groups.google.com/d/msg/vim_dev/75WAWH-ogag/V6u9rgt7ocsJ

Have you seen ":h ex-flags"? The "l" is like ":list" but it's still a
flag, isn't it?

Best,

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [doc] fix :dli, :dl and :dp

2013-10-01 Thread Bram Moolenaar

Ken Takata wrote:

> The note about ":dl" in the help of ":dli" seems wrong.
> I also think the descriptions of ":dl" and ":dp" in the index.txt are
> a little bit confusing.
> 
> Please check the attached patch.

Thanks.  I think I'll phrase it a bit different to make clear that the
"l" and "p" are flags to the :delete command.


-- 
You got to work at a mill?  Lucky!  I got sent back to work in the
acid-mines for my daily crust of stale bread... which not even the
birds would eat.

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

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.