GNU bug report logs - #13160
24.3.50; [PATCH] man page completion support beyond man-db

Previous Next

Package: emacs;

Reported by: Wolfgang Jenkner <wjenkner <at> inode.at>

Date: Wed, 12 Dec 2012 19:25:02 UTC

Severity: wishlist

Tags: patch

Found in version 24.3.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Wolfgang Jenkner <wjenkner <at> inode.at>
To: Kevin Ryde <user42 <at> zip.com.au>
Cc: 13160 <at> debbugs.gnu.org
Subject: bug#13160: 24.3.50; [PATCH] man page completion support beyond man-db
Date: Fri, 14 Dec 2012 22:35:43 +0100
On Fri, Dec 14 2012, Kevin Ryde wrote:

>> +(defvar Man-keyword-completion-twiddle
>> +  (cond
>> +   ;; man-db-* or man-*.
>> +   ((memq system-type '(gnu gnu/linux gnu/kfreebsd))
>> +    "^")
>> +   (t
>> +    ""))
>
> You'd much prefer to avoid that.  For a start `system-type' is probably
> unreliable to distinguish the flavour of man.  The outputs look close
> enough / different enough for a single parse/split/etc.

It's not used for parsing, it's only prepended to the search string
passed to `man -k'.  And I'd happily ditch it since, as the doc string
indicates, it's not really necessary, but I'm not sure about performance
implications.

Thanks for the comments,

Wolfgang




This bug report was last modified 12 years and 136 days ago.

Previous Next


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