Identi.ca mode for Emacs
Wednesday, August 20th, 2008 5 Comments
Identi.ca is a free software microblogging service, similar to Twitter, based on the Laconi.ca code base. I recently needed to update my status from Emacs, since its faster for me and easier. I’ve been using an an Emacs mode to update my Twitter account, but there was nothing to use for my Identi.ca account. And seeing there’s a Vim plugin, I thought someone, like me, needed an Emacs mode too.
So I forked the original twittering-mode to use it with the Identi.ca platform, using its Twitter compatible api.
System Requirements
- GNU Emacs 22
- Linux, Mac OS X, BSD or any Unix based OS (requires curl and wget)
Download
Installation
Put it in your Emacs elisp files directory (.emacs.d/ in Ubuntu)
Then add the following to your .emacs (or your preferred customizations file)
;;; Identi.ca mode
(require 'identica-mode)
(setq identica-username "yourusername")
(setq identica-password "yourpassword")
Use
To start identica mode type:
M-x twittering-mode
the buffer ‘*identica*’ will appear and you can see your friends timeline.
To refresh friends timeline
C-c C-f
To post an update of your status

C-c C-s
type your message in the minibuffer, and hit Enter. You will see ‘Success: Post’ in minibuffer.
Hope it can be of use for anyone using Emacs for almost everything, like I try to do, and would like to hear some feedback.
Popularity: unranked [?]
My apple fanboyism
Friday, August 1st, 2008 1 CommentCreated by OnePlusYou - Free Online Dating
I’m more into free software, the Apple stuff sometimes is too restrictive for me. Which brings me to the next quiz:
Created by OnePlusYou - Online Dating Service
The questions on that one were funny. I was the geekiest in my office.
Popularity: 2% [?]
PHP syntax check as you type with Emacs
Thursday, July 31st, 2008 Write a CommentFor those who have to code in PHP, there’s a nice feature in Emacs that makes your coding horror times less stressing and helps you avoid typos and similar dumb errors.
Emacs 22.1 comes with flymake mode, a nice tool that makes syntax checking while you type out the file by highlighting the lines with errors and displays the error messages.
You can enable flymake to check PHP syntax by adding the following code on your .emacs or whatever Emacs customizations file you use:
;; Flymake PHP Extension
(require 'flymake)
(unless (fboundp 'flymake-php-init)
(defun flymake-php-init ()
(let* ((temp-file (flymake-init-create-temp-buffer-copy
'flymake-create-temp-inplace))
(local-file (file-relative-name
temp-file
(file-name-directory buffer-file-name))))
(list "php" (list "-f" local-file "-l")))))
(let ((php-ext-re "\\.php[345]?\\’”)
(php-error-re
“\\(?:Parse\\|Fatal\\) error: \\(.*\\) in \\(.*\\) on line \\([0-9]+\\)”))
(unless (assoc php-ext-re flymake-allowed-file-name-masks)
(add-to-list ‘flymake-allowed-file-name-masks
(list php-ext-re
‘flymake-php-init
‘flymake-simple-cleanup
‘flymake-get-real-file-name))
(add-to-list ‘compilation-error-regexp-alist-alist
(list ‘compilation-php
php-error-re 2 3 nil nil))
(add-to-list ‘compilation-error-regexp-alist ‘compilation-php)
(add-to-list ‘flymake-err-line-patterns
(list php-error-re 2 3 nil 1))))
;; add php flymake support
(add-hook ‘php-mode-hook (lambda () (flymake-mode t)))
Its very nice to have on the fly syntax checking.
Popularity: 2% [?]
DRM chat at Unitec Monterrey
Wednesday, July 23rd, 2008 2 CommentsLast week I was invited to talk at the Unitec University in Monterrey about DRM and copyright, of course, applied to mexican law. Which is interesting since the mexican law allows for people to have a copy of a work for personal use only. This means P2P and basically all forms of file sharing are allowed.
This is the first time I talk about this topic. Even though I’m very passionate about it, I think I still need to learn a lot on how to deliver the right and complete message. Fortunately I recorded the whole chat on video (video coming soon) and will improve for next time. On the good side, everything got cleared up during the audience questions.
The public’s reaction was interesting. A lot of people there were surprised when I mentioned GNU/Linux and open source software. Others, for some strange and bizarre reason, insisted on me giving them advice on antivirus software and providing them with serial numbers for their software. No, I never mentioned or endorsed the use of unofficial (or cracked) serial numbers for their software. I don’t know where this guy got this idea from me.
But it keeps surprising me the fact that, every time I talk about software freedom, there’s a lot of people that didn’t have a clue that they have a choice.
Popularity: 3% [?]
Antifeatures
Wednesday, June 18th, 2008 Write a Comment![]()
Mako Hill has been talking about the Antifeatures, which are features that you don’t want but the product costs more when they don’t have them instead of costing more for adding them.
Sounds tricky? Well, maybe its more understandable with this last news story about Dell will charge $50 dlls to have XP installed. It is more expensive to have bad and old operating system, than a bad and new one.
Fortunately, there’s always the option of having the good and new Ubuntu GNU/Linux operating system on your Dell at no extra cost.
Popularity: 4% [?]
Post iPhone announcements
Monday, June 9th, 2008 Write a CommentAfter today’s iPhone announcements and all the excitement that has been generated, I started thinking about the competition. The nokia n95 and all the other smart phones have little advantage over the attractiveness of an iPhone.
The features and the looks are nice. But the price? I can’t think of how a Nokia N95 at more than $500 dlls is going to compete with an iPhone 3G at $199 dlls standard pice world wide.
And it reminded me of a nice Dilbert cartoon:
Popularity: 4% [?]
Back to blogging from Emacs
Thursday, May 8th, 2008 2 Comments
Its been a while since the last time I tried blogging with the weblogger mode. I don’t think anything changed so far, but I just wanted to give it a try once more. The other easier way to blog with emacs is using the It’s All Text Firefox extension.
It’s weird that there’s a video editing mode and a music synthesizer for Emacs, but I can’t find a way to do simple image editing.
I’m experimenting the Emacs Operating System experience. I already do all my coding with it, have my notes and agenda in org-mode, sometimes browse with w3m, and my favourite so far has been twittering. I still have to migrate my email from Thunderbird to Gnus. I don’t know if I’ll be ready to take that step soon. Anyway I like the idea, and someday I might do the transition.
Maybe my next step should be learning Lisp or eLisp to work on a decent php-mode that works with PHP 5.0 syntax and do something useful. Probably I already mentioned this.
Popularity: 3% [?]





















