ehird•

rEDdit. Ed! Ed is the standard editor! I don't want a viddit or an emacsit. Those aren't even words!

30
earthboundkid•

Ed: it's the standard text editor.

3
micampe•

BEWARE! This is obviously a conspiracy by vim users that can then say they are definitely more productive than emacs users.

29
deathOP•

Really basic. Hacked it in a few hours. Thought I'd share. Patches welcome.

26
statictype•

I'm not an emacs user and can't really grok e-lisp but am curious. What does it do?

Does it provide an interface for reading reddit\posting comments in an Emacs buffer?

Or something else?

Edit: Ok, I see that you're using the new json interface to load stories and comments.

2
ayrnieu•

Does it provide an interface for reading reddit

yes

posting comments

no. reddit now exports JSON; but still doesn't have an API.

10
[deleted]•

[deleted]

1
[deleted]•

[deleted]

1
[deleted]•

[deleted]

1
[deleted]•

[deleted]

1
[deleted]•

[deleted]

1
[deleted]•

[deleted]

1
[deleted]•

[deleted]

1
ketralnis•

It's on our list, but it turns out that exporting JSON satisfied about 90% of the tasks of the requests for people that wanted an API, and it was quick to do. An actual writeable API is a bit more complicated

1
[deleted]•

[deleted]

0
[deleted]•

[deleted]

0
[deleted]•

[deleted]

1
[deleted]•

[deleted]

1
[deleted]•

[deleted]

1
[deleted]•

[deleted]

1
robinhoode•

This project proves you are evil :)

1
deathOP•

Look out! Beware! When the full moon's high n' bright...

1
[deleted]•

By God, man! Emacs, the one possible sanctuary of productivity away from Reddit and the internets, and now you've gone and ruined it!

15
veritaze•

Starting work on viddit

9
verbosus•

redmacsit!

2
[deleted]•

And so the Holy Wars begin anew.

4
username223•

vs. (w3m-goto-url "http://programming.reddit.com/")?

6
deathOP•

Yeah, there's not much beyond shiny right now, but it's already more convenient to me in viewing comments.

4
ayrnieu•

Really basic. Hacked it in a few hours. Thought I'd share. Patches welcome.

Mind the markdown-corruption.

user=ayrnieu
wget=wget --load-cookies=cookies --save-cookies=cookies --keep-session-cookies 

login::
        $(wget) --post-data="uh=&op=login_main&user_login=$(user)&passwd_login=$(passwd)&r=%20reddit.com&_=" http://reddit.com/api/login

comment::
        -rm th-$(thread)
        $(wget) -O th-$(thread) http://reddit.com/info/$(thread)/comments/$(comment_id)
        modhash=`perl -lne "m,var modhash = '([^']+),; print \\$$1; exit" th-$(thread)`; \
          $(wget) --post-data="uh=$$modhash&id=t1_$(comment_id)&comment=$(comment)&r=%20reddit.com&_=" http://reddit.com/api/comment
4
deathOP•

Thanks. I added the ability to log in. I'll save posting comments, markdown, and such for later.

5
ehird•

Why 0 points? sheesh

edit: Eh, apart from /api/ not existing

0
ayrnieu•

It exists just fine -- when you POST to it.

2
username223•

But without posting...

1
Leonidas_from_XIV•

Let reddit create an API for writing then we'll see more of these.

2
[deleted]•

[deleted]

1
[deleted]•

[deleted]

1
[deleted]•

i use emacs-w3m as my usual browser. you can't even post comments on reddit with it because reddit requires js to post a comment. if reddit supported non-js environments, emacs-w3m could be used natively

3
[deleted]•

Don't do it reddit. I drop to the console when I need to be productive, and a non-js reddit would ruin that.

2
[deleted]•

[deleted]

1
[deleted]•

[deleted]

1
[deleted]•

[deleted]

1
[deleted]•

[deleted]

1
[deleted]•

[deleted]

1
[deleted]•

[deleted]

1
[deleted]•

[deleted]

1
[deleted]•

[deleted]

1
[deleted]•

[deleted]

1
[deleted]•

[deleted]

0