Re: browse-url in emacs (was Re: w32-shell-execute function definition is void)

2009-06-18 Thread Marc Girod
Ken Brown-6 wrote: > > On 6/17/2009 12:15 PM, Ken Brown wrote: > Marc, if you want to test it, delete the stuff you added to your .emacs > and carry out the following steps: ... > OK, I ran this. I did it from within emacs, which was maybe not bright. Anyway, I got a couple of glitches in the

Re: browse-url in emacs (was Re: w32-shell-execute function definition is void)

2009-06-18 Thread Ken Brown
On 6/17/2009 12:15 PM, Ken Brown wrote: This turned out to be easier to sort out than I thought it would be. I've sent a report to emacs-devel: http://lists.gnu.org/archive/html/emacs-devel/2009-06/msg00320.html I've now sent a patch upstream to fix the browse-url problem. (I decided to do i

Re: w32-shell-execute function definition is void

2009-06-17 Thread Ken Brown
On 6/16/2009 4:34 PM, Ken Brown wrote: On 6/16/2009 2:20 PM, Eli Zaretskii wrote: Date: Tue, 16 Jun 2009 06:49:14 -0400 From: Ken Brown Finally, still in cygwin-init.el, I slightly modify browse-url-of-file: ;; browse-url-of-file doesn't work right under cygwin; I'll just open ;; the file usi

Re: w32-shell-execute function definition is void

2009-06-16 Thread Ken Brown
On 6/16/2009 2:20 PM, Eli Zaretskii wrote: Date: Tue, 16 Jun 2009 06:49:14 -0400 From: Ken Brown Finally, still in cygwin-init.el, I slightly modify browse-url-of-file: ;; browse-url-of-file doesn't work right under cygwin; I'll just open ;; the file using cygstart instead of trying to convert

Re: w32-shell-execute function definition is void

2009-06-16 Thread Eli Zaretskii
> Date: Tue, 16 Jun 2009 06:49:14 -0400 > From: Ken Brown > > Finally, still in cygwin-init.el, I slightly modify browse-url-of-file: > > ;; browse-url-of-file doesn't work right under cygwin; I'll just open > ;; the file using cygstart instead of trying to convert the filename > ;; to a URL. >

Re: w32-shell-execute function definition is void

2009-06-16 Thread Marc Girod
Ken Brown-6 wrote: > > I haven't tried to write a full-blown replacement, but the following > works for me. > It is now in my .emacs as well. Er... (browse-url "file://c:/cygwin2/home/emagiro/public_html/index.html" nil) I even get it twice! Yes, I know... call that ingratitude... Thanks! Ma

Re: w32-shell-execute function definition is void

2009-06-16 Thread Ken Brown
On 6/16/2009 4:36 AM, Marc Girod wrote: Mark Fisher-4 wrote: i cannot seem to be able to use/find w32-shell-execute. Same thing on 23.0.92 The error comes e.g. as I do: M-x browse-url I can find the function definition in the C sources: src/w32fns.c but I remember that this object is not lin

Re: w32-shell-execute function definition is void

2009-06-16 Thread Marc Girod
Mark Fisher-4 wrote: > > i cannot seem to be able to use/find w32-shell-execute. > Same thing on 23.0.92 The error comes e.g. as I do: M-x browse-url I can find the function definition in the C sources: src/w32fns.c but I remember that this object is not linked to the cygwin emacs. So, there