From: Lennart Borgman <lennart.borgman@gmail.com>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: Ken Brown <kbrown@cornell.edu>, Emacs <emacs-devel@gnu.org>
Subject: Re: Cygwin patches
Date: Fri, 20 Nov 2009 22:59:08 +0100 [thread overview]
Message-ID: <e01d8a50911201359h7607b16h7ea1609cfcb94d5a@mail.gmail.com> (raw)
In-Reply-To: <871vjs7tn4.fsf@stupidchicken.com>
On Fri, Nov 20, 2009 at 10:50 PM, Chong Yidong <cyd@stupidchicken.com> wrote:
> Ken Brown <kbrown@cornell.edu> writes:
>
>> Now that you're preparing for emacs 23.2, could you please apply the
>> cygwin patches that I submitted last June?
>
> Thanks, I've checked in your changes, except for the following:
>
>> --- origsrc/lisp/net/browse-url.el 2009-11-20 11:34:25.000000000 -0500
>> +++ src/lisp/net/browse-url.el 2009-11-20 11:35:28.000000000 -0500
>> @@ -693,7 +693,9 @@
>> (cond ((not (buffer-modified-p)))
>> (browse-url-save-file (save-buffer))
>> (t (message "%s modified since last save" file))))))
>> - (browse-url (browse-url-file-url file))
>> + (if (eq system-type 'cygwin)
>> + (shell-command (concat "cygstart " (shell-quote-argument file)))
>> + (browse-url (browse-url-file-url file)))
>> (run-hooks 'browse-url-of-file-hook))
>
> I still don't understand why cygwin needs special handling when, e.g.,
> the other Windows ports don't. Could you explain?
Move the special part into browse-url. It calls the function in
browse-url-browser-function. That is where the OS specific things
should go.
next prev parent reply other threads:[~2009-11-20 21:59 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-20 20:00 Cygwin patches Ken Brown
2009-11-20 21:50 ` Chong Yidong
2009-11-20 21:59 ` Lennart Borgman [this message]
2009-11-20 22:26 ` Ken Brown
2009-11-20 23:54 ` Lennart Borgman
2009-11-21 8:12 ` Eli Zaretskii
2009-11-21 12:12 ` Ken Brown
2009-11-21 12:16 ` Lennart Borgman
2009-11-21 12:42 ` Eli Zaretskii
2009-11-21 21:21 ` Ken Brown
2009-11-21 21:48 ` Eli Zaretskii
2009-11-22 5:25 ` Davis Herring
2009-11-22 12:59 ` Ken Brown
2009-11-22 23:03 ` Chong Yidong
2009-11-22 23:23 ` Ken Brown
2009-11-22 23:30 ` Lennart Borgman
2009-11-23 1:37 ` Ken Brown
2009-11-23 1:42 ` Lennart Borgman
2009-11-23 1:50 ` Chong Yidong
2009-11-23 2:09 ` Ken Brown
2009-11-23 19:50 ` Ken Brown
2009-11-23 20:59 ` Chong Yidong
-- strict thread matches above, loose matches on Subject: below --
2009-11-20 23:40 Angelo Graziosi
2009-11-21 4:50 ` Chong Yidong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e01d8a50911201359h7607b16h7ea1609cfcb94d5a@mail.gmail.com \
--to=lennart.borgman@gmail.com \
--cc=cyd@stupidchicken.com \
--cc=emacs-devel@gnu.org \
--cc=kbrown@cornell.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.