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: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Wolfgang Jenkner <wjenkner <at> inode.at>
Cc: 13160 <at> debbugs.gnu.org, Kevin Ryde <user42 <at> zip.com.au>
Subject: bug#13160: 24.3.50; [PATCH] man page completion support beyond man-db
Date: Sun, 23 Dec 2012 19:00:10 -0500
>>>> Does it fix an actual bug? [ Sorry if it does fix a real bug and this
>>>> was mentioned somewhere in this thread, but I haven't found the time to
>>>> read all threads as thoroughly as I'd like.  ]
>>> My proposed change log entry indicates that the cache handling is rather
>>> bogus (complete for "foo" then for "bar" and then for "foo" again and
>>> "man -k ^foo" will be run again and the result prepended to the cache).
>> Oh, indeed.  Fixed with the trivial patch below, tho.
> Well yes, you nuke the old content, whis is what the previous versions
> of my patches proposed here do as well, but this can hardly be called
> a useful cache then.

It can still be very useful: when you do M-x man RET pe TAB r TAB TAB
it will only run `man' once instead of 3 or more times.
That's the main purpose of the cache.  The fact that the cache is
preserved between runs of M-x man is probably more a misfeature, since
it means that the cache is never refreshed (i.e. gets out of date after
"aptitude upgrade").


        Stefan




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.