From: Mark Diekhans <markd@soe.ucsc.edu>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 6319@debbugs.gnu.org
Subject: bug#6319: 23.2; man command can no longer accept -k, spaces
Date: Mon, 31 May 2010 10:29:49 -0700 [thread overview]
Message-ID: <19459.61965.235435.137906@bugle.cse.ucsc.edu> (raw)
In-Reply-To: <jwv8w70ysg1.fsf-monnier+emacs@gnu.org>
thanks Stefan
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> > M-xman will no longer allow '-k pattern' or '1 cat', even though the
> > help documentation claims this should work.
>
> M-x man RET 1 SPC cat RET
>
> works for me.
ah, by error in think this didn't work
> Admittedly, for -k you have to work a little harder, but:
>
> M-x man RET -k C-q SPC haskell RET
>
> works. I've just installed the patch below which makes
>
> M-x man RET -k SPC haskell RET
>
> work as well.
Perfect, this is a bit improvement..
Mark
> > This appears to be due to the completion functionality, which has no
> > documentation way to disable it
>
> The completion code only enters into the picture if you actively
> call it. Sadly, SPC is bound to a command that calls completion, so you
> sometimes need C-q SPC to insert a space when you need to override the
> completion code.
>
>
> Stefan
>
>
> === modified file 'lisp/man.el'
> --- lisp/man.el 2010-03-05 20:18:20 +0000
> +++ lisp/man.el 2010-05-31 16:09:16 +0000
> @@ -754,6 +754,9 @@
> (cond
> ((eq action 'lambda)
> (not (string-match "([^)]*\\'" string)))
> + ((equal string "-k")
> + ;; Let SPC (minibuffer-complete-word) insert the space.
> + (complete-with-action action '("-k ") string pred))
> (t
> (let ((table (cdr Man-completion-cache))
> (section nil)
>
prev parent reply other threads:[~2010-05-31 17:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-31 6:52 bug#6319: 23.2; man command can no longer accept -k, spaces Mark Diekhans
2010-05-31 16:18 ` Stefan Monnier
2010-05-31 17:29 ` Mark Diekhans [this message]
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=19459.61965.235435.137906@bugle.cse.ucsc.edu \
--to=markd@soe.ucsc.edu \
--cc=6319@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.