首页 > 中级, 好玩的 > 在Emacs中使用twitter/新浪微博

在Emacs中使用twitter/新浪微博

2011年5月10日 ahei 发表评论 阅读评论

作者: xwl

想在 Emacs 里登录 twitter, weibo… 吗?试一下 twittering-mode.el 吧!它目前支持同时登录
twitter, sina weibo, douban…(这里指的是我 fork 的版本),先上图:

cflow

* 新手上路

  1. require it, 下载链接在最后面

    (require ‘twittering-mode)

  2. 避免每次都需要输入密码 (需要安装 gpg )

    (setq twittering-use-master-password t)

  3. 一些网站(如 sina)不喜欢 SSL.

    (setq twittering-allow-insecure-server-cert t)
    (setq twittering-oauth-use-ssl nil)
    (setq twittering-use-ssl nil)

  4. 状态栏上显示未读推数;显示头像

    (twittering-enable-unread-status-notifier)
    (setq-default twittering-icon-mode t)

  5. 启动时默认打开的 timeline.

    (setq twittering-initial-timeline-spec-string `(“:home@sina”
    ; “:home@douban”
    ))

  6. 来吧: M-x twit

* 玩转推特

以下是一些基本操作, 相關快捷鍵可參閱 mode help (F1 m) 或自行定義:

  1. 发推:M-x twittering-update-status-interactive

  2. 轉發: M-x twittering-retweet

  3. 加評論轉發: M-x twittering-organic-retweet

  4. 評論: M-x twittering-reply-to-user

  5. 查看某個 timeline: M-x twittering-other-user-timeline 或 twittering-visit-timeline

  6. Follow/Unfollow: M-x twittering-follow, M-x twittering-unfollow

  7. 收藏: M-x twittering-favorite

代码位于:https://github.com/xwl/twittering-mode, 欢迎上 #emacs-cn@irc.debian.org 来讨论。

分享家:Addthis中国
GD Star Rating
loading...
在Emacs中使用twitter/新浪微博, 7.8 out of 10 based on 37 ratings 标签:Emacs, irc, org, screenshot, 状态栏, 配色

相关日志

分类: 中级, 好玩的
  1. 2011年10月30日16:11 | #1

    推特在国内被河蟹了。

    [回复]

  2. maadiah
    2011年11月13日21:37 | #2

    Null service! :twisted:

    [回复]

  3. 匿名
    2011年12月7日13:46 | #3

    Null services!

    [回复]

  4. vancel1
    2012年2月9日11:30 | #4

    Null services!

    [回复]

  5. wind
    2012年2月18日17:40 | #5

    老兄,你右下角时间的显示代码是怎样的啊,能否分享一下.

    [回复]

  6. 2012年2月26日00:34 | #6

    evernote-mode不错,为了方便,我还设置了evernote-password-cache变量为t,使得每次打开Evernote时不需要输入帐号和密码。即在.emacs中添加一句(setq evernote-password-cache t)。为了安全,作者推荐使用EasyPG(http://epg.sourceforge.jp/)来加密账户信息。

    [回复]

    mudan 回复:

    @Joseph Pan,
    为啥我的evernote mode死都登陆不进?
    用客户端、网页都行…………

    [回复]

    Joseph Pan 回复:

    @mudan, 没想到发错地方的评论也有人回复,你用ruby安装了evernote-mode的setup.rb没有?

    [回复]

    mudan 回复:

    @Joseph Pan,
    安装了,输入用户和密码后就一直停在“Waiting for the result”
    顺便说一下,我现在用Win7

    [回复]

    Joseph Pan 回复:

    @mudan, Windows下我没试过。或许你得专门看看Evernote-mode有没有专门介绍windows平台下的安装方法。

    [回复]

  7. hello
    2012年4月28日09:46 | #7

    windows下23.4启动有问题
    Debugger entered–Lisp error: (void-variable ‘twittering-mode)
    (require ‘twittering-mode)
    eval-buffer(# nil “e:/home/.emacs” nil t) ; Reading at buffer position 2007
    load-with-code-conversion(“e:/home/.emacs” “e:/home/.emacs” t t)
    load(“~/.emacs” t t)
    #[nil “\205\264

    [回复]

    hello 回复:

    @hello, 请问是什么错误?

    [回复]

评论分页
1 2 41840
  1. 本文目前尚无任何 trackbacks 和 pingbacks.
:wink: :-| :-x :twisted: :) 8-O :( :roll: :-P :oops: :-o :mrgreen: :lol: :idea: :-D :evil: :cry: 8) :arrow: :-? :?: :!: