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

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

bug#13160: 24.3.50; [PATCH] man page completion support beyond man-db


From: Wolfgang Jenkner
Subject: bug#13160: 24.3.50; [PATCH] man page completion support beyond man-db
Date: Fri, 14 Dec 2012 22:35:43 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (berkeley-unix)

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





reply via email to

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