emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#64795: closed (30.0.50; manual-entry [(1) fails)


From: GNU bug Tracking System
Subject: bug#64795: closed (30.0.50; manual-entry [(1) fails)
Date: Wed, 26 Jul 2023 14:32:01 +0000

Your message dated Wed, 26 Jul 2023 17:31:59 +0300
with message-id <83edkuoiao.fsf@gnu.org>
and subject line Re: bug#64795: 30.0.50; manual-entry [(1) fails
has caused the debbugs.gnu.org bug report #64795,
regarding 30.0.50; manual-entry [(1) fails
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
64795: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64795
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 30.0.50; manual-entry [(1) fails Date: Sun, 23 Jul 2023 02:58:59 +0200
Hello,

In Gnu/Linux there is a binary named "[" in /usr/bin/, and it has a man
page I can read in a terminal using "man '[(1)'".

Requesting the man page in Emacs using `man' is broken, however:

  M-x manual-entry RET [ TAB

echoes "[No match]" - this is the first problem (the failing
completion).

C-g, let's try differently:

  M-x manual-entry RET TAB [ TAB

(that's the same as before but additionally requesting all candidates
before writing in the minibuffer) suddenly completes to "[(1)" as
expected.  But when confirming with RET the man buffer only has these
contents:

| /bin/sh: 1: Syntax error: "(" unexpected
|
| process exited abnormally with code 2

That's the second problem.

Oh, and M-x woman [ RET works as expected.


TIA,

Michael.


In GNU Emacs 30.0.50 (build 33, x86_64-pc-linux-gnu, cairo version
 1.16.0) of 2023-07-22 built on drachen
Repository revision: 4b3ab8fae12dcb403e653edeafa1d4ce1dab0187
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Debian GNU/Linux 11 (bullseye)




--- End Message ---
--- Begin Message --- Subject: Re: bug#64795: 30.0.50; manual-entry [(1) fails Date: Wed, 26 Jul 2023 17:31:59 +0300
> From: Michael Heerdegen <michael_heerdegen@web.de>
> Cc: 64795@debbugs.gnu.org,  Stefan Monnier <monnier@iro.umontreal.ca>
> Date: Wed, 26 Jul 2023 05:20:30 +0200
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > > I wonder however: why did you add that `shell-quote-argument' wrapper?
> > > I think there is no shell involved. [...]
> >
> > I used shell-quote-argument because it did the job, and was simple.
> > What would be the alternative? [...]
> 
> Let's go with your patch.  I'm sorry - I was just confused and didn't
> understand why the quoting was necessary.  I was missing that the string
> will me interpreted as a regexp (although it's obvious...).

Thanks, installed on master, and closing the bug.  I added a comment
there regarding the use of shell-quote-argument, for posterity.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]