[#17566] rubychecker - runs checks on a Ruby interpreter — Igal Koshevoy <igal@...>

I've put together a shell script that runs checks on a Ruby interpreter.

14 messages 2008/07/03

[#17615] [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nathan Weizenbaum <nex342@...>

At the moment, ruby-mode.el uses font-lock-keywords as opposed to

22 messages 2008/07/05
[#17657] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Yukihiro Matsumoto <matz@...> 2008/07/08

[#17678] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nathan Weizenbaum <nex342@...> 2008/07/09

It was designed to fix the following case:

[#17755] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nathan Weizenbaum <nex342@...> 2008/07/13

Here's a third patch that fixes a bug in the second and uses a quicker

[#17772] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nathan Weizenbaum <nex342@...> 2008/07/15

One more patch which fixes a few bugs in the the last one.

[#17773] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nobuyoshi Nakada <nobu@...> 2008/07/15

Hi,

[#17776] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nathan Weizenbaum <nex342@...> 2008/07/15

Looks like version 22 doesn't support explicitly numbered regexp groups.

[#17779] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nobuyoshi Nakada <nobu@...> 2008/07/15

Hi,

[#17783] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nobuyoshi Nakada <nobu@...> 2008/07/15

Hi,

[#17788] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nathan Weizenbaum <nex342@...> 2008/07/15

Alright, here's a version that fixes both the highlighting bug and the

[#17793] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nobuyoshi Nakada <nobu@...> 2008/07/16

Hi,

[#17644] Features to be included in Ruby 1.9.1 — "Yugui (Yuki Sonoda)" <yugui@...>

Hi, all

27 messages 2008/07/08

[#17674] [Ruby 1.8 - Bug #238] (Open) Ruby doesn't respect the Windows read-only flag — Jim Deville <redmine@...>

Issue #238 has been reported by Jim Deville.

10 messages 2008/07/08

[#17708] [Ruby 1.8 - Bug #252] (Open) Array#sort doesn't respect overridden <=> — Ryan Davis <redmine@...>

Issue #252 has been reported by Ryan Davis.

13 messages 2008/07/09

[#17871] duping the NilClass — "Nasir Khan" <rubylearner@...>

While nil is an object, calling dup on it causes TypeError. This doesnt seem

33 messages 2008/07/20
[#17872] Re: duping the NilClass — Urabe Shyouhei <shyouhei@...> 2008/07/20

Nasir Khan wrote:

[#17873] Re: duping the NilClass — "Meinrad Recheis" <meinrad.recheis@...> 2008/07/20

On Sun, Jul 20, 2008 at 7:55 PM, Urabe Shyouhei <shyouhei@ruby-lang.org>

[#17877] Re: duping the NilClass — Urabe Shyouhei <shyouhei@...> 2008/07/20

Meinrad Recheis wrote:

[#17879] Re: duping the NilClass — Kurt Stephens <ks@...> 2008/07/20

Urabe Shyouhei wrote:

[#17880] Re: duping the NilClass — "Nasir Khan" <rubylearner@...> 2008/07/21

I write a lot of hand crafted dup or clone because I want control as well as

[#17881] Re: duping the NilClass — "David A. Black" <dblack@...> 2008/07/21

Hi --

[#17882] Re: duping the NilClass — Urabe Shyouhei <shyouhei@...> 2008/07/21

+1 to David. A convenient way to do Marshal idiom should be a new

[#17885] Re: duping the NilClass — "Robert Dober" <robert.dober@...> 2008/07/21

On Mon, Jul 21, 2008 at 8:21 AM, Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:

[#17887] Re: duping the NilClass — "David A. Black" <dblack@...> 2008/07/21

Hi --

[#17889] Re: duping the NilClass — "Robert Dober" <robert.dober@...> 2008/07/21

On Mon, Jul 21, 2008 at 1:02 PM, David A. Black <dblack@rubypal.com> wrote:

[#17883] [Ruby 1.9 - Bug #340] (Open) 1.9/trunk does not work when compiled with llvm-gcc4 2.3 (gcc 4.2.1) — Ollivier Robert <redmine@...>

Issue #340 has been reported by Ollivier Robert.

14 messages 2008/07/21

[#17943] RUBY_ENGINE? — "Vladimir Sizikov" <vsizikov@...>

Hi,

56 messages 2008/07/24
[#17950] Re: RUBY_ENGINE? — Tanaka Akira <akr@...> 2008/07/25

In article <3454c9680807241200xf7cc766qb987905a3987bb78@mail.gmail.com>,

[#17958] Re: RUBY_ENGINE? — "Vladimir Sizikov" <vsizikov@...> 2008/07/25

Hi,

[#17981] Re: RUBY_ENGINE? — Tanaka Akira <akr@...> 2008/07/26

In article <3454c9680807250054i70db563duf44b42d92ba41bfb@mail.gmail.com>,

[ruby-core:17905] Re: duping the NilClass

From: "David A. Black" <dblack@...>
Date: 2008-07-21 19:57:09 UTC
List: ruby-core #17905
Hi --

On Tue, 22 Jul 2008, Robert Dober wrote:

> On Mon, Jul 21, 2008 at 6:58 PM, David A. Black <dblack@rubypal.com> wrote:
>> On Tue, 22 Jul 2008, Robert Dober wrote:
>>
>>> On Mon, Jul 21, 2008 at 5:18 PM, David A. Black <dblack@rubypal.com>
>>> wrote:
>>> <snip>
>>>>
>>>> I'm afraid I don't follow that at all. What does it have to do with
>>>> other ! methods?
>>>
>>> Well I interpreted your statement as follows:
>>> dup is a bad name for Symbol or NilClass as it does not really create
>>> a new symbol or nil
>>> thus I call it dup!
>>> By extension that would mean that e.g.
>>> gsub! is called gsub! because it does not really gsub
>>>
>>> Did I read you incorrectly so far?
>>
>> Yes. There's no general "___ does not really ___" rule. The only
>> general rule about ! methods is the idea of "danger", which can take
>> many forms.
>>
>>> There is already some disagreement about the ! suffix so far, your new
>>> interpretation of ! meaning dangerous
>>
>> It's absolutely not new; Matz has always characterized it that way
>> ("dangerous").
>>
>>> in the sense that it does something slightly different of what might
>>> be expected might add to the confusion of
>>> what ! should mean.
>>> IMHO it should mean a modifying version of a non modifying version of
>>> a method. But there is not much agreement on this :(.
>>
>> There's been a lot of misunderstanding and second-guessing of Matz,
>> but he's always been consistent in his description.
>>
>>> However there seems agreement that xxx! is a more "dangerous" version
>>> of xxx and in our case there would
>>> be dup! but no dup for e.g. NilClass.
>>>
>>> Are there other classes, modules, singletons with an xxx! without an
>>> xxx <space> ?
>>
> I do not want to bother this list with my limited ability of
> expressing myself in English. Obviously I am quite incompetent to say
> what I want to say, unless you are playing tricks on me David, but I
> guess you would not do this. Believe me, your replies do not at all
> fit what I wanted to say, just let us forget (can we discuss this in
> French, well actually they do not understand me much lately either)
> ... :(
>> No; ! methods only make sense in pairs with non-! methods. See my blog
>> post (cited earlier). Unfortunately, there's a trend toward sticking !
>> on methods that aren't in pairs. It makes it meaningless.
> This is exactly what I said though, your idea would break this rule as
> there would be NilClass#dup! but no NilClass#dup.

There would be, though. dup! would be entirely additional. That was my
idea, at least. Jim's point about dup with the self's included being
safer is interesting.

> Maybe this of my many observations in this thread can be considered
> useful at least?
>
>
>> Must go -- my students are back from lunch :-)
> Hey you are lucky, here in France, an instructor is supposed to share
> lunch with her class!!!

We did share it -- just drifted back in at slightly different times
:-) I'm sneaking time from class so have to be terse. Later.


David

> Cheers
> Robert
>

-- 
Rails training from David A. Black and Ruby Power and Light:
     Intro to Ruby on Rails  July 21-24      Edison, NJ
  *  Advancing With Rails    August 18-21    Edison, NJ
  * Co-taught by D.A. Black and Erik Kastner
See http://www.rubypal.com for details and updates!

In This Thread