help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] gnuclientw.exe


From: Simon Green
Subject: Re: [h-e-w] gnuclientw.exe
Date: Wed, 23 Jan 2002 15:29:27 +0000

>>>>> "JR" == Jeff Rancier <address@hidden> writes:

 JR> Thanks for all your comments.

 < snip script >

 JR> So I do this, and then I get something like this:

 JR> h:\usr\pkg\emacs-20.7\bin\gnuclientw.exe "C:\Documents and
 JR> Settings\jrancier\Local Settings\Temporary Internet
 JR> Files\Content.IE5\ZXO47AFO\javafaq[1]"

 JR> Got it, but in text mode.

Can you do something like:
(setq auto-mode-alist (cons '("\\Temporary Internet Files\\Content\.IE5\" . 
html-helper-mode) auto-mode-alist))

ie. pattern match the distinctive bit in the middle of of the path, rather than
the (non exisitant) extension?

--Simon

 JR> Now to try Jason's suggestion, I get something like:

 JR> h:\bin\gnudoit.exe -q "(find-file \"C:\Documents and 
Settings\jrancier\Local
 JR> Settings\Temporary Internet Files\Content.IE5\ZXO47AFO\javafaq[1]\")"
 JR> "(html-helper-mode)"

 JR> Which results in:

 JR>     error in process filter: Invalid escape character syntax.

 JR> I'm sure it's simply a matter of syntax.

 JR> Any suggestions would be appreciated.

 JR> Thanks,
 JR> Jeff

 JR> ----- Original Message -----
 JR> From: "Jason Rumney" <address@hidden>
 JR> To: "Jeff Rancier" <address@hidden>
 JR> Cc: "Emacs Help (Windows)" <address@hidden>
 JR> Sent: Tuesday, January 22, 2002 5:20 PM
 JR> Subject: Re: [h-e-w] gnuclientw.exe


 JR> | "Jeff Rancier" <address@hidden> writes:
 JR> |
 JR> | > Hello,
 JR> | >
 JR> | > I am trying to come up with a way to use NTEmacs as my editor for
 JR> viewing
 JR> | > html source from IE 5.X.  I'm almost there, but I need to know if there
 JR> is
 JR> | > an argument I can supply to gnuclient.exe to tell it to change to
 JR> | > html-helper-mode.  Is that possible?
 JR> |
 JR> | Use gnudoit if you want to execute arbitrary lisp. gnuclient is just
 JR> | for loading files.
 JR> |
 JR> | Something like the following should work:
 JR> |
 JR> |   gnudoit -q "(find-file \"%1\")" "(html-helper-mode)"
 JR> |
 JR> |
 JR> |
 JR> | --
 JR> | Jason Rumney
 JR> |





reply via email to

[Prev in Thread] Current Thread [Next in Thread]