Re: Small emacs fix for Google group users

2013-10-30 Thread rusi
On Wednesday, October 30, 2013 6:43:33 PM UTC+5:30, rusi wrote: > For the double spacing rubbish produced by GG, I hacked up a bit of > emacs lisp code > -- > To try > 1. Eval the following in emacs* Tsk! It should be eval the preceding elisp! -- https://mail.python.org/mailman/listi

Small emacs fix for Google group users

2013-10-30 Thread Rustom Mody
For the double spacing rubbish produced by GG, I hacked up a bit of emacs lisp code - (defun clean-gg () (interactive) (replace-regexp "^> +\n> +\n> +$" "-=\=-" nil 0 (point-max)) (flush-lines "> +$" 0 (point-max)) (replace-regexp "-=\=-" "" nil 0 (point-max))) (global-set-key (kbd