Categories
Emacs GNU/Linux Free Software & Open Source

Emacs Identica-mode 1.3.1: Quick bug fix release

code bug

I just want to give a heads up to all who downloaded Identica-mode 1.3 that some bug fixes were done yesterday very quickly and the oficial stable release is 1.3.1 as of now. The main issue was a bug displaying all messages highlighted as replies when the timeline was in ‘oldest first’ preference mode. Also there were some other minor fixes.

The link on the previous post points to the latest release, but you can download Identica-mode 1.3.1 here as well.

I’d like to give special thanks to Alexandre Oliva for his feedback and very quick response sending the patches for this.

Code bug photo is Creative Commons by Gui Tavares on Flickr
Categories
Emacs GNU/Linux Free Software & Open Source

Identica-mode 1.3 release

favorite message marked in timeline
Favorite messages are now marked in timeline

After the buggy 1.2.1 release and a long bug fixing development time, the new Identica-mode 1.3 is released. Lately I’ve been relying more on releasing through package.el and the MELPA repository whenever I push changes to the main branch on the Git repository. But then I received some emails requesting for an official stable release for package maintainers and for people who don’t feel comfortable using development releases.

### What changed

Among many of the changes and bug fixes, here are the most relevant:

– Fix eLisp functions incompatibilities between some builds of Emacs 23.1 and later versions (a big bug in 1.2.1 release)
– Auto-detect from server instance the character limit
– Added favorite icon on format line to identify favorite messages
– Format line can now display user profile URLs using “%U” token
– Added reply to all feature, by pressing ‘A’ on a message will reply to sender and all mentioned usernames
– Fixed ur1.ca URL shortening bug returning the DTD instead of the real link
– Added highlighting of replies without username mention (the new reply format on Status.net 1.x)
– Conversations (context) can now be retrieved by pressing C-c C-c on any message.
– Remote user timeline retrieval with C-c C-o
– On identica-friends list, pressing ENTER in a group or user makes Identica to load its timeline.
– Deletes HTTP retrieved temporary buffers to avoid high memory usage over time
– Optimized fontification code that renders the timeline in the buffer
– Many fixes and optimizations

You can review the history of the project’s development at Identica-mode’s code repository web interface.

### Get it

Click to download Identica-mode 1.3 release

Or if you prefer to get the latest releases using MELPA repository for package.el which is now part of Emacs 24.

Or get the latest development code directly from the Git repository without using package.el at
http://git.savannah.gnu.org/cgit/identica-mode.git

### Contribute

Your feedback, bug reports and code contributions are really appreciated to keep improving this project. Contact me on Identi.ca or send a message to the Identica-mode group. You can also donate a tip via Paypal.





Categories
Emacs GNU/Linux Free Software & Open Source

Identica-mode 1.2 with OAuth support released

The time has come to set up a new stable release for Emacs Identica-mode microblogging client.

It’s been almost a year since last release, but many people have been following the project’s progress through the git repository updates.

identica-mode 1.2

Download

Download the identica-mode 1.2

The two most relevant features of this release is first, support for OAuth (requires using oauth.el). This enables users who log in via OpenID accounts to be able to use Identica-mode as their client. The other big feature is the support for conversation timelines. Now you can press C-c C-c while cursor is on a notice to display that notice’s conversation timeline. Conversation timelines are not available on statusnet servers prior to 1.0 version, since the API didn’t include conversation ids until then. I’d like to give special thanks Kevin Granade for his time and effort on these two very requested features.

To use OAuth authentication instead of the default plain auth, add this to your .emacs file:

(setq identica-auth-mode "oauth")

Another very requested feature for those who won’t switch to OAuth, is to store the login credentials in a safer way than storing it in plain text in your elisp configuration files. Emacs can read authinfo and netrc files for authentication information. You can even encrypt the authinfo using EasyPG.

All you need to do is create a file ~/.authinfo (~/.authinfo.gpg if using encryption) and add the following:

machine servername login yourusername password yourpassword

Replace servername with your server (if connecting to Identica service, use identi.ca as server name), yourusername and yourpassword with your information. If you setup your authinfo file, you don’t need to set identica-password variable anywhere.

What’s new

  • OAuth support
  • Added support for authentication credentials stored in ~./authinfo (plain or encrypted) and ~/.netrc files instead of plain text elisp
  • Expand short urls by pressing ‘e’ while cursor is on a short url
  • Added is.gd to url shortening services
  • Added countdown minibuffer-prompt style
  • Retrieve server config page to set text limit of notices
  • Added conversation timeline support (only for APIs in Status.net 1.0+), when pressing C-c C-c over a notice it will display its conversation timeline
  • Added zebra stripes styling to timeline

Bug fixes

  • Fix highlighting of notices that are a reply to you but don’t have your nick in the text (as status.net 1.0 change)
  • Always crop avatars to 48×48 pixels
  • Improved vertical spacing between notices
  • Fixed icon placement when displaying dents in reverse order
  • Identica-mode buffer will no longer get killed on network error
  • Fixed support for gravatar images
  • Lots of code cleanup
  • Many other minor bugfixes

There is also a mailing list for the project to discuss any new features, ideas or bugs.

Hope you like the new release and thanks to everyone who during this cycle has spent time reporting bugs or sending patches. Your contributions are very valuable and keep improving this project.





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

Emacs Identica-mode notifications

There’s a feature on Emacs identica-mode that I haven’t documented or written about before and its been there for quite some time.

Its very nice to have notifications when you get new updates on your timeline. I’ve seen it on other clients like TweetDeck. So I made a hook for Emacs to execute some code after it has fetched new dents. With this you can call any notification system to show a message of the new dents.

Here’s the code I’ve been using to show new notice count on KDE4 notification system (similar code can be used for Gnome’s notification system):

;; KDE 4 Notification of new dents
(add-hook 'identica-new-dents-hook (lambda ()
   (let ((n identica-new-dents-count))
     (start-process "identica-notify" nil "kdialog"
		    "--title"
		    "Emacs Identica-mode New dents"
		    "--passivepopup"
                    (format "You have %d new dent%s"
                            n (if (> n 1) "s" ""))
		    "3"
))))

Emacs Identica-mode notifications

I haven’t tried to do the same in Mac OS with Growl but I guess its also possible. If someone has the code for that, please share it in the comments. You can also use ToDoChiKu as a universal notification system.

**Update** Jason McBrayer has posted the elisp code to use identica-mode with ToDoChiKu on his blog.

I hope you like this hook feature and please let me know other ways to use the hook, or if any other hook is usefull to have.

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.