Cool Tunes [www.lifepod.net]Listen to your favourite tunes while enjoying cold beverages and hanging out with your friends. Your ipod plugs in, it holds 8 cans of drink, INSTANT PARTY!. From the mad people at lifepod.net. 05:08 PM, 16 Jan 2006 by Mark Aufflick Permalink | Comments (0) mozex + cygwin to edit Firefox textareas in X11 emacs
I may be a bit extreme, but if anyone else wants to do this, it's remarkably easy.
Assuming you already use emacs under cygwin, first make a batch file to abstract the wierdness. I use the dtemacs wrapper for gnuserv, but you can substitute any cygwin X11 editor in for dtemacs below (or xterm -e 'ed' if you are so inclined). dtemacs.bat: @echo off
SET DISPLAY=:0.0 %RUN% bash -wait -c "/usr/local/bin/dtemacs `/bin/cygpath -u '%1'`" The call to cygpath in the backticks converts the path supplied by mozex from something like c:\temp\asdfhasdfjh into /cygdrive/c/temp/asdfasdfdsf that emacs can understand. Then install mozex into Firefox. Mozex works fine under firefox 1.0 and later, but you can't seem to access the config gui anywhere. You can, however, easily add the following lines to your prefs.js: user_pref("mozex.command.textarea", "C:\\Progra~1\\Cygwin\\usr\\local\\bin\\dtemacs.bat %t");
user_pref("mozex.general.tmpdir", "c:\\temp"); Adjust the above as per your cygwin directory and note that you have to use the 8.3 form of pathname in the mozex userpref. Now I can edit twiki pages in X11 emacs via my windows firefox - smashing! Update: The above link for mozex now directs you to a new development version of mozex that has a preferences UI that works with Firefox 1.5. I haven't tried upgrading my Windows Firefox yet, but it works a treat on MacOS X. It has even fixed the issue where you had to click in the textarea to update the content :) 01:33 PM, 16 Jan 2006 by Mark Aufflick Permalink | Comments (0) |
Archive
November 2008 October 2008 September 2008 August 2008 July 2008 June 2008 May 2008 March 2008 February 2008 January 2008 December 2007 November 2007 October 2007 September 2007 August 2007 July 2007 June 2007 May 2007 April 2007 March 2007 February 2007 January 2007 December 2006 November 2006 October 2006 September 2006 August 2006 July 2006 June 2006 May 2006 April 2006 March 2006 February 2006 January 2006 December 2005 November 2005 October 2005 September 2005 August 2005 July 2005 June 2005 May 2005 April 2005 March 2005 February 2005 January 2005 December 2004 November 2004 October 2004 September 2004 August 2004 July 2004 June 2004 May 2004 April 2004 March 2004 February 2004 January 2004 December 2003 November 2003 October 2003 September 2003 August 2003 Notifications Request notifications
Recent Comments | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Request notifications