< :the previous in number
^ :the list in numerical order
> :the next in number
P :the previous (in thread)
N :the next (in thread)
|<:the top of this thread
>|:the next thread
^ :the parent (reply-to)
_:the child (an article replying to this)
>:the elder article having the same parent
<:the youger article having the same parent
---:split window and show thread lists
| :split window (vertically) and show thread lists
~ :close the thread frame
.:the index
..:the index of indices
On Sun, Jun 15, 2003 at 12:24:58AM +0900, Joao Pedrosa wrote:
> But it had some problem with
>
> ----- snip
> def listjoin(channels)
> channels.each do |c|^M
> s = "join ##{c}"^M
> @irconnector.sendToStatus s^M
> @irconnector.sendToServer s^M
> end^M
> end^M
> ----- snip
I think I found the bug in indent/ruby.vim responsible for that (assuming
that you had in fact one or more spaces after '|c|' and before the EOL):
--- ruby.vim.bak 2003-06-14 18:00:03.000000000 +0200
+++ ruby.vim 2003-06-14 18:02:47.000000000 +0200
@@ -52,7 +52,7 @@
" Add a 'shiftwidth' after lines beginning with module, class, def,...
" or ending in {, do (with optional |...| and comment).
let begin_words = '(module|class|def|if|for|while|until|else|elsif|case|when|unless|begin|ensure|rescue)>'
- if line =~ '\v^\s*' . begin_words || line =~ '\v(\{|<do>)\s*(\|[^|]*\|)?(\s*#.*)?$'
+ if line =~ '\v^\s*' . begin_words || line =~ '\v(\{|<do>)\s*(\|[^|]*\|)?\s*(#.*)?$'
let ind = ind + &sw
let flag = 1
endif
somebody (in fact, now I think it has happened to me in the past) could
put spaces after the block args. and indentation would bomb...
--
_ _
| |__ __ _| |_ ___ _ __ ___ __ _ _ __
| '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \
| |_) | (_| | |_\__ \ | | | | | (_| | | | |
|_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_|
Running Debian GNU/Linux Sid (unstable)
batsman dot geo at yahoo dot com
We are using Linux daily to UP our productivity - so UP yours!
-- Adapted from Pat Paulsen by Joe Sloan