From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Diekhans Newsgroups: gmane.emacs.bugs Subject: bug#6319: 23.2; man command can no longer accept -k, spaces Date: Mon, 31 May 2010 10:29:49 -0700 Message-ID: <19459.61965.235435.137906@bugle.cse.ucsc.edu> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1275330490 15704 80.91.229.12 (31 May 2010 18:28:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 31 May 2010 18:28:10 +0000 (UTC) Cc: 6319@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 31 20:28:08 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OJ9iX-0005O8-AH for geb-bug-gnu-emacs@m.gmane.org; Mon, 31 May 2010 20:28:08 +0200 Original-Received: from localhost ([127.0.0.1]:35308 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJ9iR-0002wY-8Z for geb-bug-gnu-emacs@m.gmane.org; Mon, 31 May 2010 14:27:59 -0400 Original-Received: from [140.186.70.92] (port=35676 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJ9iD-0002tX-Rd for bug-gnu-emacs@gnu.org; Mon, 31 May 2010 14:27:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJ9i9-0007uK-MP for bug-gnu-emacs@gnu.org; Mon, 31 May 2010 14:27:42 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52090) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJ9i9-0007uG-KD for bug-gnu-emacs@gnu.org; Mon, 31 May 2010 14:27:41 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OJ9bh-0006RQ-Vs; Mon, 31 May 2010 14:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mark Diekhans Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 31 May 2010 18:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6319 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6319-submit@debbugs.gnu.org id=B6319.127533000424732 (code B ref 6319); Mon, 31 May 2010 18:21:01 +0000 Original-Received: (at 6319) by debbugs.gnu.org; 31 May 2010 18:20:04 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJ9ak-0006Qp-89 for submit@debbugs.gnu.org; Mon, 31 May 2010 14:20:03 -0400 Original-Received: from services.cse.ucsc.edu ([128.114.48.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJ8oD-00063J-1k for 6319@debbugs.gnu.org; Mon, 31 May 2010 13:29:54 -0400 Original-Received: from bugle.cse.ucsc.edu (bugle.cse.ucsc.edu [128.114.56.11]) by services.cse.ucsc.edu (8.13.6/8.13.6) with ESMTP id o4VHTn28005580 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 31 May 2010 10:29:50 -0700 (PDT) Original-Received: (from markd@localhost) by bugle.cse.ucsc.edu (8.13.8/8.12.10) id o4VHTnXP026225; Mon, 31 May 2010 10:29:49 -0700 In-Reply-To: X-Mailer: VM 8.1.1 under 23.2.1 (x86_64-unknown-linux-gnu) X-Mailman-Approved-At: Mon, 31 May 2010 14:20:00 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 31 May 2010 14:21:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:37452 Archived-At: thanks Stefan Stefan Monnier 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) >