From: David Abrahams <dave@boost-consulting.com>
Cc: emacs-devel@gnu.org
Subject: Re: [NT] Problem with `man' function
Date: Thu, 11 May 2006 00:26:57 -0400 [thread overview]
Message-ID: <u8xp9uqy6.fsf@boost-consulting.com> (raw)
In-Reply-To: <u8xp98bm0.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 11 May 2006 06:49:11 +0300")
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Dave Abrahams <dave@boost-consulting.com>
>> Date: Wed, 10 May 2006 20:54:16 +0000 (UTC)
>>
>> > sed: -e expression #1, char 1: unknown command: `''
>> > awk: '
>> > awk: ^ invalid char ''' in expression
>> >
>> > process exited abnormally with code 1
>> >
>> > The messages from Sed and Awk say quite unequivocally that the problem
>> > is with the quoting style: Windows shells and programs don't support
>> > the '..' quoting that man.el uses.
>>
>> Using the other quoting made no difference whatsoever for me.
>>
>> > I tried to replace '..' quoting with ".." quoting, but then bumped
>> > into other bugs, this time in Sed. It sounds like the GnuWin32 port
>> > of Sed is hopelessly broken. Or it could be a bug with cmdproxy.exe,
>> > I really don't have time to dig into that.
>> >
>> > Perhaps with the Cygwin ports you have man.el will work if you replace
>> > '..' quoting with ".." quoting in the Sed and Awk scripts used by
>> > man.el. Could you perhaps try that?
>>
>> Tried it, to no avail.
>
> Please show the modified portion in man.el with this change. Perhaps
> you didn't get all the escaping right.
I used the emacs customization interface, and so avoided all that. I
just deleted the awk part.
>> > Failing that, I suggest to use woman.el.
>>
>> Aww, this is discouraging.
>
> Why? There's nothing man.el can do that woman.el cannot.
I know that song from somewhere... :)
>> Can't you suggest a place to breakpoint so we can look at what's
>> coming out of awk?
>
>>From the above error message it's clear that nothing comes out of Awk,
> since it barfs because of a syntax error.
Oh.
> But if you do manage to run Awk without an error message, just add a
> `message' line that displays its output after it returns.
Okay.
--
Dave Abrahams
Boost Consulting
www.boost-consulting.com
next prev parent reply other threads:[~2006-05-11 4:26 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-23 12:02 [NT] Problem with `man' function David Abrahams
2005-10-23 16:25 ` Eli Zaretskii
2005-10-24 1:00 ` Richard M. Stallman
2005-10-25 22:06 ` David Abrahams
2005-10-27 1:29 ` Richard M. Stallman
2005-10-27 5:06 ` Eli Zaretskii
2005-10-27 11:00 ` David Abrahams
2005-11-05 19:21 ` Eli Zaretskii
2006-05-10 20:54 ` Dave Abrahams
2006-05-11 3:49 ` Eli Zaretskii
2006-05-11 4:26 ` David Abrahams [this message]
2006-05-11 11:44 ` David Abrahams
2006-05-11 18:36 ` Eli Zaretskii
2006-05-11 20:23 ` David Abrahams
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=u8xp9uqy6.fsf@boost-consulting.com \
--to=dave@boost-consulting.com \
--cc=emacs-devel@gnu.org \
/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.