GNU bug report logs -
#77944
31.0.50; M-x man on macOS fails with error
Previous Next
Reported by: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Date: Sun, 20 Apr 2025 16:29:02 UTC
Severity: normal
Found in version 31.0.50
Fixed in version 31.1
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Michael Albinus <michael.albinus <at> gmx.de> writes:
> Gerd Möllmann <gerd.moellmann <at> gmail.com> writes:
>
> Hi Gerd,
>
>> I then
>>
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>> lisp/man.el | 2 +-
>>
>> modified lisp/man.el
>> @@ -637,7 +637,7 @@ Man-init-defvars
>> "")
>> ;; Use octal numbers. Otherwise, \032 (Ctrl-Z) would
>> ;; suspend remote connections.
>> - "-e '/^[\\o001-\\o032][\\o001-\\o032]*$/d'"
>> + "-e '/^[[:cntrl:]][[:cntrl:]]*$/d'"
>> "-e '/\e[789]/s///g'"
>> "-e '/Reformatting page. Wait/d'"
>> "-e '/Reformatting entry. Wait/d'"
>>
>> built and M-x man in emacs -Q, and that works (with gsed uninstalled).
>
> Great!
>
>> Didn't try the other one, but I could if you want me to.
>
> Yes, please try. [[:cntrl:]] is equal to [\\o0000-\\o0037]. Much
> more than [\\o0001-\\o0032], so I'd prefer the latter.
The second one doesn't work. It gives the error again in M-x man. Also
in the shell
/Users/gerd/emacs/github/cl-packages % sed -e '/^[\\o0001-\\o0032][\\o0001-\\o0032]*$/d' /dev/null
sed: 1: "/^[\\o0001-\\o0032][\\o ...": RE error: invalid character range
I guess I had gsed still installed when I tried that in zsh, and forgot
to add the /usr/bin/.
This bug report was last modified 21 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.