[#1263] Draft of the updated Ruby FAQ — Dave Thomas <Dave@...>

33 messages 2000/02/08

[#1376] Re: Scripting versus programming — Andrew Hunt <andy@...>

Conrad writes:

13 messages 2000/02/15

[#1508] Ruby/GTK and the mainloop — Ian Main <imain@...>

17 messages 2000/02/19
[#1544] Re: Ruby/GTK and the mainloop — Yasushi Shoji <yashi@...> 2000/02/23

Hello Ian,

[#1550] Re: Ruby/GTK and the mainloop — Ian Main <imain@...> 2000/02/23

On Wed, Feb 23, 2000 at 02:56:10AM -0500, Yasushi Shoji wrote:

[#1516] Ruby: PLEASE use comp.lang.misc for all Ruby programming/technical questions/discussions!!!! — "Conrad Schneiker" <schneiker@...>

((FYI: This was sent to the Ruby mail list.))

10 messages 2000/02/19

[#1569] Re: Ruby: constructors, new and initialise — Yukihiro Matsumoto <matz@...>

The following message is a courtesy copy of an article

12 messages 2000/02/25

[ruby-talk:01481] Re: Vim syntax file

From: Mirko Nasato <mirko.nasato@...>
Date: 2000-02-18 00:00:10 UTC
List: ruby-talk #1481
http://altern.org/mn/ruby/ruby.vim latest updates:

 * Block support was buggy. Should now be fixed, at the expense of 
   ignoring "do" when redundant (e.g after a "while"); option to
   disable this feature by setting "ruby_no_expensive";
 * "Here-doc" forms, thanks to Reimer Behrends;
 * ASCII codes; backslash notation in strings;
 * All delimiters allowed in generalized string/regexp forms (except 
   newline).

I think now it is already fairly complete.

Reimer Behrends wrote:
> > > Main problems remaining:
> > > Reliably parsing "here documents".
> > Mine support only EOF (like perl.vim). Other labels can be added, but
> > i doubt we can find a generalized way.
> 
> I went for supporting a couple of standard ones, and otherwise just to
> terminate the pattern whenever I encountered a line made up of just
> capital letters (with initial whitespace allowed for the <<-EOF variant).
> 
> This is probably less of a problem than just letting the highlighting
> mechanism run amok over arbitrary text.
> 
> By the way, I believe your syntax file doesn't yet allow <<-EOF,
> <<'EOF', and <<"EOF"?
>
I didn't know this form well, indeed. Only now i undestand that 
initial whitespace is allowed only for the <<-EOF variant.

Think your idea is reasonably good, so i've merged it in my file.
Thank you. :)

> > > Handling %[qQrxw] constructs that span multiple lines (same problem).
> > Mine does, but not for all delimiters (again, like perl.vim).
> 
> I've wondered if it is feasible (i.e. doesn't slow down highlighting
> significantly) to have these patterns automatically pregenerated by a
> quick script.
> 
I've given it a try and it doesn't seem to be too slow.
(The quick script is at http//altern.org/mn/ruby/vimregions.rb , just
in case.)

Matz in the manual says newline is a valid delimiter, but Vim doesn't
support newline match, yet.

> > Other problems:
> >   * characters, like ?a or ?\M-a: where are they documented?
> 
> Check the irb package, ruby-lex.rb has a read_escape routine that
> parses all of them (well, kindof). [...]
> 
Done, thank you. They're in the manual, too, at a better look.

Ciao.

-- Mirko Nasato

In This Thread

Prev Next