Categories
Emacs

Emacs Identica-mode release v1.1

Since the last official release, there’s been a lot of work on the Identica-mode for Emacs. Its been a while since the last release and probably most users have been using the development version directly from the Git repository. Even though I try to make the development branch as stable as possible, official releases give some users more confidence and ditributions (like Arch, so far I know of) can name their packages with some versioning reference.

Download Emacs Identica-mode 1.1

What’s new on v1.1

  • Added “natural” repeating, mapped to the “r” key
  • Added icons to indicate if automatic timeline updates are on or off
  • Can now delete notices
  • Added option to show timeline in reverse order (newest at the bottom)
  • Added support to recognize ur1.ca urls without the “http://” part (some clients like Choqok use this syntax)
  • Added support to recognize unicode urls
  • Added option to limit number of dents in timeline
  • Removed dependency on cURL to shorten URLs with ur1.ca
  • and many bug fixes

I hope you enjoy using identica-mode as much as I do. I’d also like to share my joy of developing and improving it as well, so if you have any ideas or code contributions, please use the project’s Savannah page.

Any donations to support the development of this project are very much appreciated. Thank you for using, contributing or supporting Emacs Identica-mode.





Categories
Emacs GNU/Linux Free Software & Open Source News

Emacs Identica-mode microblogging client v1.0 release

Status.net logo
GNU logo

I’m very happy to announce the release 1.0 of the Emacs identica-mode microblogging client. Its been a while since the last release, and its been for a good reason! The main improvements are:

– HTTP backend rewrite

The backend that makes the HTTP connections has been completely rewritten to use url.el mode instead of the previous networking calls. This has made a big improvement on speed and reliability. Emacs no longer hangs for a while on crappy or slow connections.

– Free network service URL shortening

Support for the FNS URL shortening services Ur1.ca and TightURL have been added, with Ur1.ca as the default option. Previous services are also available through M-x customize-group identica-mode. Also added support for Google’s goo.gl url shortening service.

– Support for group and tag timelines

Now you can follow group and tag timelines, pressing C-c C-g for group timeline and C-c C-t for tag timeline. Also, pressing while the cursor is on a tag, username or group it will switch to that element’s timeline.

– Added support for unicode named tags and groups

Basically you’ll notice a speed and stability improvement overall.

I also want to welcome Jason F. McBrayer and Shyam Karanatt as regular contributors and members of the Emacs Identica-mode project at Savannah. Hope we can get more contributors to get this project further.

Download Emacs Identica-mode v1.0

Contribute

As always, if you have any ideas for features, patches or bug fixes, please add them to the identica-mode bug tracking list.

You can also help out if you’ve liked Emacs identica-mode and have some spare change. It would be great to support this project by making any kind of donation on the “tip jar” in appreciation of the hours invested on its development and improvement.





Categories
Emacs GNU/Linux Free Software & Open Source

3 methods on how to backup your Emacs file

Data dump by swanksalot on flickr
The emacs personalization file (dotemacs) is a very important resource for every Emacs user. Typically found at ~/.emacs, this file contains elisp code all the personalization of Emacs to accommodate each user. Its so important that it basically represents your Emacs “personality”.

To loose your .emacs file can mean loosing a lot of hours of tweaking and personalizing GNU Emacs through a bunch of collected-through-time snippets. So, being a very valuable asset, having a good method to back it up is a must have.

Here are 3 common methods people use to keep their Emacs file safe:

Simple backup

The most simple thing to do is to manually make copies of the file on a different directory, another partition on the same hard drive, an external hard drive, or a USB key. Also works well when having multiple computers and copying the same .emacs file on each of them. Using rsync to back it up periodically is a good idea, and it can be used to backup all your other elisp code for common modes (typically at ~/.emacs.d/) you use too.

A good option would be to back it up to an online storage service like Drop.io or even Amazon S3.

Version control

The standard and most common way to store your emacs customizations is by saving them on a file named .emacs placed on your home folder. But this is difficult to setup on a version control system since version control systems check things under directories. So this would mean you would be version controlling your whole home folder, which wouldn’t be a bad idea on some cases but on others would be a mess to maintain.

Fortunately there’s another way: at startup, Emacs also looks for a file called init.el on a hidden folder named .emacs.d/ in your home folder when the typical ~/.emacs file is not found. This way, you can easily set your preferred version control system to track changes on that folder. This has the advantage that any other Emacs modes or code you have can be stored and tracked too. This way, whenever you have a clean install, your Emacs setup and modes are just a checkout away from getting done.

On some setups, tracking changes on the whole ~/.emacs.d/ directory may not be a good option. So, to track changes on only your .emacs file can be achieved by moving your init.el file to a folder inside the home elisp directory and will look like this: ~/.emacs.d/dotemacs/init.el and make a symbolic link to it in ~/.emacs.d/ This way I can version control the “dotemacs” directory very easily.

Distributed version control

Many people use SVN as their preferred version control system, which backs up your data into a central location. But using a distributed version control system like Git, Mercurial or Bazaar is a better option. DVCSs let you setup multiple locations where to backup your code repository, so you don’t have a single point of failure. So you can version control your dotemacs file and back up the changes history on many places like Github, Gitorious, Launchpad or any other code hosting service, plus several other remote locations like multiple machines, a NAS or external drives with complete history of your changes.

Do you know other methods? How do you keep from loosing your dotemacs file?

Data dump image by swanksalot on Flickr
Categories
Emacs GNU/Linux Free Software & Open Source

Emacs identica-mode version 0.7

I’ve finally arranged some time to publish a new version of Identica-mode for Emacs to easily track and post updates to any Laconica installation such as Identi.ca

What’s new

  • Added menu with most useful features
  • Added re-dent (retweet) feature by pressing C-c C-m with pointer on status to re-dent
  • User timeline method now prompts for username, gets own (self) timeline by default
  • Improved console support, only showing icon-mode when using a window system
  • Added code from twitter.el suggested by Pablo Rauzy to save username and password on customizations file
  • Inhibit success and post messages by default

Get it

Download identica-mode hosted at savannah or get the latest development version via the git repository:
git clone http://git.savannah.gnu.org/cgit/identica-mode.git

And if you have any suggestions, bugs or patches, please send them to the project’s bug tracking system

Categories
Emacs GNU/Linux Free Software & Open Source

Emacs identica-mode with multiple timelines and direct messages

Emacs identica-mode, a way to read and post to Identi.ca microblogging site and any Laconi.ca installation from Emacs, now has support for several (friends, replies, public and user) timelines. Also added support to send direct messages.

Some of the changes are:

  • All API calls are now through HTTPS
  • Changed keybinding, pressing “g” on identica-mode buffer now refreshes the buffer.
  • New keybinding “C-c C-r” switches to retrieve replies timeline.
  • New keybinding “C-c C-f” switches to retrieve friends timeline (default).
  • New keybinding “C-c C-d” sends direct message to a given user.
  • New keybinding “C-c C-g” switches to retrieve public timeline.
  • New keybinding “C-c C-u” switches to retrieve user (self) timeline.

Emacs modeline shows which timeline is currently being retrieved on identica-mode buffer.
identica-mode-modeline
Its been a while since my last release of identica-mode. This time, rather than publishing frequent but small updates, I waited to release a bunch of new features.

As always, you can download it from the savannah project page:
https://savannah.nongnu.org/projects/identica-mode/

Or get the latest version from the Git repository:
git clone git://git.sv.gnu.org/identica-mode.git

Hope you like it.

Categories
Emacs GNU/Linux Free Software & Open Source

Emacs weblogger mode with WordPress tags support

wordpress tags with weblogger.el mode
I’ve been looking for ways to blog from Emacs and so far my best solution has been to use weblogger.el. This mode supports many blogging platforms through the xmlrpc apis for blogger, metaweblog, livejournal and movable type. For more details about this mode, visit the emacswiki page.

Since this blog is based on WordPress and it supports the metaweblog api, this has worked very well. My only complaint was that since WordPress version 2.6, tag support was added and blogging from Emacs left my posts without tags. So I decided to add the tags support using the mt_keywords method on the metaweblog api, which on WordPress maps to the post tags. All you have to do is add the Summary label on the post header and write down the tags separated by commas.

You can download the patched weblogger.el here. Its based on the latest patched version on the emacswiki page by Tom Robinson which added handling of the <!–more–> tag and added Keywords in the header by default.

Now the only thing I’m missing is uploading images and files with the post.