r/programming • • Aug 10 '07

Cheat from Emacs

http://sami.samhuri.net/2007/8/10/cheat-from-emacs
18 Upvotes

13 comments sorted by

8

u/gwern Aug 10 '07

This would've been more interesting had it explained that cheats was for obtaining Ruby documentation and why we should care about being able to access it through Emacs.

4

u/sjs Aug 10 '07

Cheat gives you access to more than just Ruby documentation. From TextMate and Emacs to GNU screen and zsh there are dozens of cheats. Here's a list of them all: http://sami.samhuri.net/cheats.txt

Not to mention that you can add cheats for anything you like. They're open, wiki-style. Anyone can edit them.

-14

u/ziiim Aug 10 '07

...and why anyone -- anyone -- should care about Ruby.

Let the flamewar begin! I can't wait to have to argue with 13 year-old "framework programmers" about things they don't understand.

1

u/newton_dave Aug 10 '07

What does Ruby have to do with "framework programming"?

8

u/[deleted] Aug 10 '07

Don't encourage the troll.

-5

u/ziiim Aug 10 '07

It's got to do with the fact that no one would use it if it wasn't for things like Rails.

9

u/newton_dave Aug 10 '07

Oh. I probably would, since I was using it before RoR.

-1

u/ziiim Aug 10 '07

If Ruby's working out for you, you might want to try out Scheme (or Common Lisp). It's a much more mature language with a fairly large set of documentation and many good implementations to choose from.

Even Matz admitted that (in his own words) "Ruby is just a bad rip-off of the Lisps". Give it a shot.

2

u/newton_dave Aug 10 '07

I've been programming professionally in Lisp and Smalltalk since 1988 in both full-time and contract positions. (And Java, but we try not to talk about that.)

Silly rabbit.

Edit I think people are misunderstanding the modding system: there's no need to downmod for promoting other languages over Ruby and I don't think it will influence the articles you see--ziiim didn't say anything intrinsically bad.

6

u/rustyryan Aug 10 '07

Umm... my work's websense has this flagged as 'Sex'.... slow clap..

1

u/sjs Aug 11 '07

Thank you for writing to Websense.

The site you submitted is a virtually hosted site that was not in our database. However, it shares an IP address with another site in our database which caused an unintended overblock. The site has been reviewed and categorized accordingly:

http://sami.samhuri.net/ - Information Technology

Categorization updates should be available in the next scheduled publication of the database. A new database is published every business day, five days a week, Pacific Standard Time.

Thank you for your assistance,

The Websense Database Services Staff J.B. Friday, August 10, 2007 2:23:58 PM

I certainly didn't expect such a timely response. I am impressed.

3

u/[deleted] Aug 10 '07

Reason: The Websense category "Useful or Informative" is filtered.

1

u/sjs Aug 10 '07

I've updated the script. Now there is support for --diff and --edit from within Emacs as well. I'm new to Emacs so I welcome any criticisms you have (about the code ;-).