Saturday, May 15, 2010

remove accidentally inserted words from your spelling dictionary for emacs

somehow, I accidentally inserted an incorrect word to my spelling dictionary in emacs.  Wow, it took me a while to figure out where my private dictionary is.

Below are my only configuration script for ispell in emacs:
(global-set-key (kbd "") 'ispell-word)
(global-set-key (kbd "") 'ispell)



So i thought I am using ispell and noticed  the following documenation for ispell:

Whenever ispell is started the file `.ispell_words' is read from
your home directory (if it exists). This file contains a list of
words, one per line. The order of the words is not important, but
the case is. Ispell will consider all of the words good, and will
use them as possible near misses.

Unfortunately, I didn't find such a file in my home directory. It turned out that I was using aspell in ispell mode. What the hell!

The private dictionary for aspell is located at
~/.aspell.en.pws

Finally solved the problem.




Wednesday, April 7, 2010

how to make backspace working for firefox in Ubuntu?

http://embraceubuntu.com/2006/12/21/fix-firefox-backspace-to-take-you-to-the-previous-page/

 

Fix Firefox Backspace to Take You to the Previous Page December 21, 2006

Posted by Carthik in bugsquashing, snippets, ubuntu.
trackback
In a surprising development that seems really strange and unnecessary, Firefox 2.0 won’t go to the previous page when I press the “backspace” button on the keyboard. I have grown used to this over the period I have used Firefox. The fact that I can’t use backspace the way I am used to has been annoying me no end. So I decided to dig a little deeper.
The feature was removed to fix a bug. The bug that was caused by fixing the previous bug, which is that the backspace does not behave like it should has been fixed too (Thank heavens!)
But then, until the bug fix propagates to a firefox build available on Ubuntu, one has to resort to a little scratching to fix the matter. Here’s how you resurrect the backspace button in Firefox 2.0 (current as of this date):
Type “about:config” in the address bar of Firefox and press Enter.
`Filter` for ‘browser.backspace_action’ and change its value to 0 (zero).