GNU bug report logs - #63132
Bug on Darwin MacOS with 'M-x man RET commandname[ ]'

Previous Next

Package: emacs;

Reported by: asocial-hired.0l <at> icloud.com

Date: Thu, 27 Apr 2023 21:12:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: asocial-hired.0l <at> icloud.com
Cc: 63132 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#63132: Bug on Darwin MacOS with 'M-x man RET commandname[ ]'
Date: Fri, 28 Apr 2023 13:43:30 +0300
> Cc: 63132 <at> debbugs.gnu.org
> Date: Fri, 28 Apr 2023 10:49:30 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> 
> > (define-advice man (:around (orig-func &rest args) no-completing-read)
> > 
> >   "Inhibit `completing-read'."
> 
> Please tell what is wrong with the arguments passed to the 'man'
> commands, so I could think about fixing that without any advices.

I think I understand the issue now: it happens inside
Man-completion-table, right?

But then I don't understand the situation: why would someone type
"M-x man RET 2 ", with the trailing space?  Is this simply a mistake
on behalf of the user?

Stefan, any ideas how we can catch this situation?  I don't think we
can blindly remove the trailing whitespace, since this could be
meaningful in completion?




This bug report was last modified 2 years and 47 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.