X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SPF_NEUTRAL X-Spam-Check-By: sourceware.org Message-ID: <4A3A7219.8030104@cornell.edu> Date: Thu, 18 Jun 2009 12:58:01 -0400 From: Ken Brown User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: browse-url in emacs (was Re: w32-shell-execute function definition is void) References: <24049941 DOT post AT talk DOT nabble DOT com> <4A3778AA DOT 6060206 AT cornell DOT edu> <83ljnsavmu DOT fsf AT gnu DOT org> <4A3801D0 DOT 6050803 AT cornell DOT edu> <4A391694 DOT 8010706 AT cornell DOT edu> In-Reply-To: <4A391694.8010706@cornell.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 it without implementing w32-shell-execute.) It may be a while before I know whether the patch, or some variant of it, is accepted. This certainly won't happen until after the release of 23.1. So I applied the patch locally and rebuilt the packages (cygwin 1.7 only). It works for me, but it would be good if someone else would test it also. Marc, if you want to test it, delete the stuff you added to your .emacs and carry out the following steps: D=http://www.math.cornell.edu/~kbrown/cygwin-1.7 wget -x -nH --cut-dirs=2 \ ${D}/emacs/emacs-23.0.92-11.tar.bz2 \ ${D}/emacs/emacs-X11/emacs-X11-23.0.92-11.tar.bz2 \ ${D}/emacs/emacs-el/emacs-el-23.0.92-11.tar.bz2 /etc/preremove/emacs.sh /etc/preremove/emacs-X11.sh cd emacs tar -C/ -xf emacs-23.0.92-11.tar.bz2 tar -C/ -xf emacs-X11/emacs-X11-23.0.92-11.tar.bz2 tar -C/ -xf emacs-el/emacs-el-23.0.92-11.tar.bz2 /etc/postinstall/emacs.sh /etc/postinstall/emacs-X11.sh If I haven't made a mistake, browse-url should now work. If anything goes wrong, you can simply use setup-1.7.exe to reinstall emacs. Ken -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/