From: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>
Subject: can't compile Gnus under Cygwin
Date: Thu, 14 Feb 2002 10:12:02 +0900 [thread overview]
Message-ID: <yosuy9hwq331.fsf@jpl.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 770 bytes --]
Hi,
It is reported that someone can't compile Gnus under Cygwin.
While compiling toplevel forms in file c:/home/gnus/lisp/earcon.el:
!! File error (("Searching for program" "no such file or directory" "/bin/sh"))
There is c:/cygwin/bin/sh.exe and it can be used as /bin/sh
normally, but it won't be found at the compile time. Since I
don't have Cygwin, I'm not sure what's happened. But it seems
that the use of `shell-command-to-string' in the top level is
harmful for compiling Gnus. Is the attached patch acceptable?
If there's no objection, I'll commit it in Gnus CVS. :-)
2002-02-14 Katsumi Yamaoka <yamaoka@jpl.org>
* gnus-art.el (gnus-treat-display-xface): Don't use
`shell-command-to-string' when compiling.
(gnus-treat-display-grey-xface): Ditto.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: gnus-art.el.diff --]
[-- Type: text/x-patch, Size: 792 bytes --]
--- gnus-art.el~ Wed Feb 13 02:20:52 2002
+++ gnus-art.el Thu Feb 14 01:09:29 2002
@@ -1070,7 +1070,8 @@
(put 'gnus-treat-overstrike 'highlight t)
(defcustom gnus-treat-display-xface
- (and (or (and (fboundp 'image-type-available-p)
+ (and (not noninteractive)
+ (or (and (fboundp 'image-type-available-p)
(image-type-available-p 'xbm)
(string-match "^0x" (shell-command-to-string "uncompface")))
(and (featurep 'xemacs)
@@ -1086,7 +1087,8 @@
(put 'gnus-treat-display-xface 'highlight t)
(defcustom gnus-treat-display-grey-xface
- (and (string-match "^0x" (shell-command-to-string "uncompface"))
+ (and (not noninteractive)
+ (string-match "^0x" (shell-command-to-string "uncompface"))
t)
"Display grey X-Face headers.
Valid values are nil, t."
next reply other threads:[~2002-02-14 1:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-14 1:12 Katsumi Yamaoka [this message]
2002-02-14 4:35 ` Katsumi Yamaoka
2002-02-14 15:05 ` ShengHuo ZHU
2002-02-14 22:18 ` Katsumi Yamaoka
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=yosuy9hwq331.fsf@jpl.org \
--to=yamaoka@jpl.org \
--cc=sugiyama@ae.advantest.co.jp \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).