首页 > 中级, 好玩的 > 在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.4 out of 10 based on 49 ratings 标签:Emacs, irc, org, screenshot, 状态栏, 配色

相关日志

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

    推特在国内被河蟹了。

    [回复]

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

    Null service! :twisted:

    [回复]

    xwl 回复:

    @maadiah, 贴下 backtrace ? M-x toggle-debug-on-error

    [回复]

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

    Null services!

    [回复]

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

    Null services!

    [回复]

    xwl 回复:

    @vancel1, 贴下 backtrace ? M-x toggle-debug-on-error

    [回复]

    vancel1 回复:

    @xwl, 发现是第5步直接复制粘贴的双引号悲剧了

    [回复]

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

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

    [回复]

    xwl 回复:

    @wind, (setq display-time-format “%a(%V) %m.%d/%H:%M”)

    [回复]

    rst 回复:

    @xwl,

    非常感謝你的代碼分享!另外,我是wind,嘎嘎。 :-D

    [回复]

    rst 回复:

    @rst,

    有一點要特別注意,
    (setq display-time-format “%a(%V) %Y.%m.%d/%H:%M”)
    (display-time-mode t) “這行要放在上面那行下面才能激活上面的格式。
    自頂向下。

    [回复]

  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, 请问是什么错误?

    [回复]

    xwl 回复:

    @hello, 看起来像是你的 twittering-mode.el 没有放在 load-path 下?

    [回复]

  8. 2015年9月26日16:29 | #8

    Yeah that’s what I’m talking about baynb–ice work!

    [回复]

  9. 2016年4月6日16:52 | #9

    CAMBRIDGE Make it two in a row for the University of Massachusetts basketball team, which took care of business with a on the road Tuesday night. cheap jordan shoes F. o cheap louis vuitton bags
    P12-CALIFORNIA-UTAH michael kors outlet online The defense was not there,” Kellner said.
    “Rudolph” returns for its 51st year at 8 p.m., Tuesday, Dec. 1, on CBS (6), bringing us another chance to enjoy the tale of Rudolph, Hermey the Elf, Yukon Cornelius, and Bumble the Abominable Snow Monster. coach factory outlet That mere attraction – 26,000 acres of mountain and stream hikes, majestic views, diverse wildlife, an abundance of endangered species, bat caves, climbing opportunities and many educational possibilities – may have passed over the heads of local leaders for all these years. y ray ban sunglasses outlet
    On Friday, the IRS announced hackers may have stolen tax information on 700,000 Americans. coach outlet store online The pieces of dirt didn’t acknowledge anything, but Herb knew they appreciated his brilliance.
    a Lan Nguyen to Jagat Majhi, Suk Majhi and Bhima Majhi, 463-465 Belmont Ave., $188,000. louis vuitton outlet Some 70,000 Iraqis joined the tide of refugees and migrants seeking a better life in Europe last year, according to the Genevabased International Organization for Migration. michael kors handbags
    This activation, or reduction, of pathways is why the components of the diet, such a proteins, must also be controlled. michael kors outlet Messages left for Deen, whose real name is Bryan Sevilla, weren’t immediately returned. http://www.michaelkorsbags.me
    He’s holding his line. michael kors outlet store DALLAS JetBlue Airways is taking applications for 24 slots in a new program to train novice pilots to fly a passenger jet. t michael kors online
    COLUMBIA, S. michael kors outlet online Ishaq Ali DDS leased 1,600 square feet of retail space at 4990 S.
    More than anything, brings Revenge of the Sith together with the greatest parts of the Star Wars Saga. coach outlet online Occupation members in the other vehicle, including group leader Ammon Bundy, surrendered.
    As well as actually dying in a kirkegaard, it is ironic that he himself should die quite literally as an outsider who for the first time wanted to get inside, in a small village of around 400 inhabitants, much like the ones he affectionately wrote about. coach outlet 26, 2016 at Grand Canyon University Arena in Phoenix.
    Second place will win $2,000 and third place will take home $1,000. michael kors outlet online The other Diaz kids are: Rachel, the selfinvolved eldest; basketballplaying Georgie; Ethan, Harley’s closest ally; indestructible twins Lewie and “Beast”; and the strongwilled “baby” of the family, Daphne.
    x emVIRGINIAem michael kors outlet online “It’s a reality because we’re boxed in by their own class-action settlement,” he said, alluding to a 1991 settlement the county has with members of the building community.
    Upon arrival, they discovered a small black sedan was seen driving in the area and two witnesses saw a subject fire what appeared to be a handgun from inside the car. louis vuitton outlet And how can Mr Friend vote to give his own organization money without being in violation of ethics laws? g coach outlet online
    To me he shows some emotional range on a few tracks, like “Come Back 2 Me. michael kors outlet But critics say the measure would require pregnant women to endure complicated pregnancies that pose a danger to their health and would lead women to not speak candidly with their doctors.
    n Most of the early-stage startups finished the 12-week session with relationships with new investors to fund further development. coach outlet online It is a European platform deeply rooted in each domestic market, through partnership with local institutions combined with the opportunity to access international support and advice. u
    General, the city’s current homeless shelter. coach outlet store online Sunny Jim is interviewingMontana’s Bobby Hauck and unemployed Dennis Franchione to be UNLV’sfootball coach today. coach online store
    Global cuisine might not pop into the minds of local diners when they think of the city across the river from Springfield, but West Springfield has been serving up ethnic dishes since the 1930s when the Monte Carlo Restaurant and the Hofbrauhaus opened during the Great Depression. michael kors bags There is no reason to allow the breeding of pitbulls. g louis vuitton handbags
    Submitted, located behind Longwood Gardens, will have two photography exhibitions in March. coach outlet online Garcia did not give the woman emergency aid, and did not call 911.
    1 tablespoon pure vanilla extract coach outlet store online Will they see Christ in you in your love, your patience, your character, your peace in the midst of life’s storms? Remember: Our example often speaks far louder than our words. f cheap nfl jerseys
    You need people to fill those jobs cheap jordans I appreciate the support I get from our members, our board, our staff, and the community in general.

    [回复]

  10. 2016年4月6日18:11 | #10

    The comedian Chris Rock said that O.J. Simpson’s acquittal on double murder made “black people too happy, white people too mad.” Doesn’t that describe the reactions to Edwards’ victory? Democrats love it. Republicans hate it. http://www.coachstoresonline.com “That has been our calling card all season. a michael kors outlet
    Sara Christensen, Managing Director of External Relations for Raptor Group oakley glasses Today, UEFA has no working president or general secretary ahead of an executive committee meeting on Friday.
    Benjamin J. Wilbur and Kathleen Wilbur to Tian Hui Ng, 19 Lindbergh Ave., $195,000. http://www.louisvuittonhandbagsbuy.us.com Remember contractors are competing to work for you, not the other way around. y http://www.michaelkorshandbagsoutletbuy.us.com
    He said he was a Russian Jew and that his mother had abandoned him in Ukraine at age 9. louis vuitton handbags Even if Donald Trump is “really rich”—as he reminds the world frequently—he doesn’t have nearly enough money to fund a general-election campaign, if he ends up being the Republican nominee for president.
    g On the day, fellow 5,000 runner Ryan Poland placed 33rd overall with a time of 14:39.15. In field events, Katherine Maus leaped just over 40′ 4″ in the triple jump while teammate Kaylie Van Loo threw the javelin 141′ 10″ after a two hour lightning delay. coach outlet At least it’ll be a surprise for those who have avoided the temptation to peek online for spoilers. http://www.coachoutlet.cc
    But it makes you feel good when many of the “really cool ideas” they are talking about are already being done by the Senators http://www.raybanoutlet.name In the mood for something really different? Try Lalibela, where traditional Ethiopian injera (a crepelike sourdough-tasting bread) topped with varying wats (stewlike sauces of vegetables or meats) is served to your entire group to tear off and eat with your hands. http://www.michaelkorshandbagsrack.us.com
    Wednesday (10/21) 9 p.m.: RDM louis vuitton outlet online Part of the ASUMH Gaston Lecture Series. u coach handbags
    More Than 30 Hours of Action-Packed Original Programming in 2016 cheap air jordans She previously pleaded not guilty to the initial charges.
    Back for the seventh year in a row, Zoppé is a Valley favorite. louis vuitton handbags General admission is $10 and VIP sponsorships are $1,000.
    It takes two to tango and our most serious ethics problem was a former board member not an outsider. coach outlet online “___This story has been corrected to show that Christian Stadil is Hummel’s owner, not CEO.
    Brnovich brought up a proposed executive order by President Obama that would reduce the number of undocumented immigrants without a criminal record from being deported, which is being delayed until after the November election. coach outlet store online “Helena has got a great team.
    z In 2015, officials from a Kansas county where Serrano-Vitorino faced domestic battery charges queried federal immigration officials about him because he was born outside the country, but ICE didn’t respond before the county let him go http://www.coachoutletstoreonline.me Without him on the team, Pitts will avoid the possibility that he will be approached by media crowds that tend to grow after every postseason round.
    Officer Hopps is trying to help the animals that are going “savage,” and the 3D effects make viewers feel a sense of adrenaline as the giant predators come leaping off the screen. louis vuitton bags The swindlers behind the tax scam are exploiting human gullibility rather than weaknesses in computer or Internet security. i coach online store
    On Monday, the baby was placed in the tub with the water running when the mother left the bathroom, said Capt. coach outlet Anyone who has stayed in Panoche for any length of time knows that 1) it is incredibly windy and dusty most of the year; 2) water in Panoche is a precious resource and 3) the summer sun is extremely harsh due to elevation and lack of cloud cover.
    x Jeremy D. Smith to John J. Driscoll and John J. Driscoll III, 39 B Saint Kolbe Drive, $72,750. louis vuitton handbags Saturday; 2 p. j
    But the best-laid plans of mice and men and even senators often go awry, and one problem with Cruz’s plan is that it was formulated in olden days, in the world B. michael kors bags Girls tennisTUCSON 6, MOUNTAIN VIEW 3At TucsonSingles Marchant, MV, d. michael kors outlet
    Marley is first on the team in tackles (61) and is second on the team in tackles for a loss (10.0). Also, he’s one of the most vocal players on the defense at practice and in the course of a game. http://www.cheapjordanshoes.us.org They left the staging area for this year’s 20mile workout at 2 p. b http://www.coachhandbags.me
    law, Volkswagen said, and the company acknowledged the deception to U. michael kors handbags More to the point, the appellate judges ordered U.
    DETROIT, MI -The 2016 Chevy Colorado and GMC Canyon diesel pickup trucks will get 22 miles per gallon in the city and 31 mpg highway in two-wheel drive, for a combined fuel economy of 25 mpg, according to EPA ratings released this week. coach outlet store online Beginners class, 78 p. o michael kors outlet online
    “I do solemnly swear that I, no matter how I feel, no matter what the conditions of the hurricanes or whatever. http://www.louisvuittonhandbagsbuy.co.uk Utah5.

    [回复]

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