[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: BUG: ruby-mode.el /Today's Comic/

Yukihiro Matsumoto

1/24/2007 9:07:00 AM

Hi,

In message "Re: BUG: ruby-mode.el /Today's Comic/"
on Wed, 24 Jan 2007 05:55:06 +0900, "Weber" <hugows@gmail.com> writes:

|Hi all
|This regexp seems to break ruby-mode parser or something like that (I'm
|not an advanced emacs user)

Could you try the following patch for ruby-mode.el?

matz.

diff --git a/ChangeLog b/ChangeLog
index 1a51f52..516582e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Jan 24 18:05:39 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
+
+ * misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): fix
+ regexp font-lock bug. [ruby-talk:235758]
+
Tue Jan 23 11:02:33 2007 Yukihiro Matsumoto <matz@ruby-lang.org>

* lib/webrick/httprequest.rb (WEBrick::HTTPRequest::read_line):
diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el
index 825839f..4816488 100644
--- a/misc/ruby-mode.el
+++ b/misc/ruby-mode.el
@@ -1013,7 +1013,7 @@ balanced expression is found."
;; ?' ?" ?` are ascii codes
("\\(^\\|[^\\\\]\\)\\(\\\\\\\\\\)*[?$]\\([#\"'`]\\)" 3 (1 . nil))
;; regexps
- ("\\(^\\|[=(,~?:;]\\|\\(^\\|\\s \\)\\(if\\|elsif\\|unless\\|while\\|until\\|when\\|and\\|or\\|&&\\|||\\)\\|g?sub!?\\|scan\\|split!?\\)\\s *\\(/\\)[^/\n\\\\]*\\(\\\\.[^/\n\\\\]*\\)*\\(/\\)"
+ ("\\(^\\|[=(,~?:;<>]\\|\\(^\\|\\s \\)\\(if\\|elsif\\|unless\\|while\\|until\\|when\\|and\\|or\\|&&\\|||\\)\\|g?sub!?\\|scan\\|split!?\\)\\s *\\(/\\)[^/\n\\\\]*\\(\\\\.[^/\n\\\\]*\\)*\\(/\\)"
(4 (7 . ?/))
(6 (7 . ?/)))
("^\\(=\\)begin\\(\\s \\|$\\)" 1 (7 . nil))

5 Answers

Vincent Fourmond

1/24/2007 9:16:00 AM

0

Yukihiro Matsumoto wrote:
> Hi,
>
> In message "Re: BUG: ruby-mode.el /Today's Comic/"
> on Wed, 24 Jan 2007 05:55:06 +0900, "Weber" <hugows@gmail.com> writes:
>
> |Hi all
> |This regexp seems to break ruby-mode parser or something like that (I'm
> |not an advanced emacs user)
>
> Could you try the following patch for ruby-mode.el?

It does work for me (Emacs 21.4.1, debian).

Cheers,

Vince

--
Vincent Fourmond, PhD student (not for long anymore)
http://vincent.fourmon...

Kickin' Ass and Takin' Names

4/21/2010 11:54:00 AM

0

On Wed, 21 Apr 2010 04:22:58 -0700 (PDT), Kevin Cunningham
<smskjc@mindspring.com> wrote:

>On Apr 21, 2:06?am, "Killing, Inc." <i.am.killing....@gmail.com>
>wrote:
>> On Apr 21, 12:24?am, Major Debacle <Major_Deba...@invalid.invalid>
>> wrote:
>>
>> > She all yers, Tea Baggers... let's all be seated
>>
>> She beats the hell out of the bitch we have now as president.
>
>Wow, now the pathetic drunkard trailer trash attacks Obama. And why?
>
>Well, it's a bit difficult to figure out. Obama graduated from
>Harvard Law. After 6 tries Palin got her BA from Idaho State in
>Journalism. Not exactly the same.

Where is the video of Palin graduating from Idaho State? No video,
didn't happen.


>
>Obama served for years in the Illinois State House and then became a
>US senator, Palin quit being governor in her first term...with years
>to go. Before that she had been the mayor of a town with 50,000
>souls, not exactly New York City.
>
>But please vote for her. Please??? She shows the breadth and depth
>of repug thinking. Watching her give a speech lets every American
>know what the right isn't thinking.

Killing, Inc.

4/21/2010 1:14:00 PM

0

On Apr 21, 6:22 am, Kevin Cunningham <sms...@mindspring.com> wrote:
> On Apr 21, 2:06 am, "Killing, Inc." <i.am.killing....@gmail.com>
> wrote:
>
> > On Apr 21, 12:24 am, Major Debacle <Major_Deba...@invalid.invalid>
> > wrote:
>
> > > She all yers, Tea Baggers... let's all be seated
>
> > She beats the hell out of the bitch we have now as president.
>
> Wow, now the pathetic drunkard trailer trash attacks Obama.  And why?

Because he is almost as much a demonstrated moron as you, Kevie, you
knuckledragging cretin.

> Well, it's a bit difficult to figure out.  Obama graduated from
> Harvard Law.  After 6 tries Palin got her BA from Idaho State in
> Journalism.  Not exactly the same.

I know. She had to EARN her degree.
It's a matter of public record that Columbia and Harvard have been
inflating grades for decades, and you better believe they did so for
their non-merit, affirmative action picks like Obama.

Democrats and other far-left regressive jackasses are still the
dumbest animals on the planet.

Ramon F Herrera

4/21/2010 1:25:00 PM

0

On Apr 21, 6:22 am, Kevin Cunningham <sms...@mindspring.com> wrote:

> Obama graduated from Harvard Law.

.... and Columbia.

http://answers.yahoo.com/question/index?qid=20080301172...

-Ramon

grey_ghost471-newsgroups

4/21/2010 4:38:00 PM

0

Ramon F Herrera <ramon@conexus.net> wrote in news:f4543680-b758-400e-b4ee-
4bd34c136a43@b23g2000yqn.googlegroups.com:

> On Apr 21, 6:22?am, Kevin Cunningham <sms...@mindspring.com> wrote:
>
>> Obama graduated from Harvard Law.
>
> ... and Columbia.
>
> http://answers.yahoo.com/question/index?qid=20080301172...
>
> -Ramon
>
>

Funny thing, none of the other students who were there at the time remember
him. Maybe it was a no-show diploma.

--
God, guns and guts made America great.

And Janet Napolitano nervous.

Which should tell you all you need to know about Democrats. How can one
restore America to greatness if greatness makes you uncomfortable?