From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jonas Bernoulli Newsgroups: gmane.emacs.bugs Subject: bug#12861: wrong default value when completing in woman-file-name Date: Sun, 11 Nov 2012 15:30:00 +0100 Message-ID: <87d2zkfc0n.fsf@bernoul.li> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1352644732 9298 80.91.229.3 (11 Nov 2012 14:38:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 Nov 2012 14:38:52 +0000 (UTC) To: 12861@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 11 15:39:02 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TXYgf-0006wc-MJ for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Nov 2012 15:39:01 +0100 Original-Received: from localhost ([::1]:37949 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXYgW-0008Lu-5W for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Nov 2012 09:38:52 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:41470) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXYgR-0008LV-9z for bug-gnu-emacs@gnu.org; Sun, 11 Nov 2012 09:38:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TXYgO-0008IC-7i for bug-gnu-emacs@gnu.org; Sun, 11 Nov 2012 09:38:47 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50984) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXYgO-0008I7-3o for bug-gnu-emacs@gnu.org; Sun, 11 Nov 2012 09:38:44 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TXYgg-0001TA-J7 for bug-gnu-emacs@gnu.org; Sun, 11 Nov 2012 09:39:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jonas Bernoulli Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Nov 2012 14:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12861 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13526446885587 (code B ref -1); Sun, 11 Nov 2012 14:39:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Nov 2012 14:38:08 +0000 Original-Received: from localhost ([127.0.0.1]:33002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TXYfn-0001S3-Dl for submit@debbugs.gnu.org; Sun, 11 Nov 2012 09:38:08 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:35328) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TXYfk-0001Rv-Nl for submit@debbugs.gnu.org; Sun, 11 Nov 2012 09:38:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TXYfO-00089C-L0 for submit@debbugs.gnu.org; Sun, 11 Nov 2012 09:37:45 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:47488) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXYfO-00088z-Hi for submit@debbugs.gnu.org; Sun, 11 Nov 2012 09:37:42 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:41336) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXYfL-0008G2-D0 for bug-gnu-emacs@gnu.org; Sun, 11 Nov 2012 09:37:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TXYfI-000883-AT for bug-gnu-emacs@gnu.org; Sun, 11 Nov 2012 09:37:39 -0500 Original-Received: from mail-ee0-f41.google.com ([74.125.83.41]:63370) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXYfI-00087r-3L for bug-gnu-emacs@gnu.org; Sun, 11 Nov 2012 09:37:36 -0500 Original-Received: by mail-ee0-f41.google.com with SMTP id c4so3516625eek.0 for ; Sun, 11 Nov 2012 06:37:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:user-agent:date:message-id:mime-version :content-type; bh=GjmghlgSyUg8LvBhNrMwNslN63R6ovo3xRhsNkFt1dk=; b=kWVlS0Elru7JEBkDt+0GyS6m7QKyI6qyL/Z6al9vkEJGtkkK/9uVi1aiM1ID4DgWeD 9WxUCFXv7HSLI7t18VFTkO5wF6YjDbf5mqPV2Mkd8jqFnn9rOdRrS08ShQ+NsRLbrYG0 7gZj5wbnlu+vKcmsXj0qJ9EhgDqXtUgPoV58eraETLFA1vpz9DmEjUfy8TmOJehTSzKi wwoCmZIsZgpchXTLCw7RD/nDZwKMTishqs6UCDiegVSMehwHhv64lNkMcsJl34VDf1of 2ifQmfNoTAqEB3+dBy0YwGCdJKJu9oEXFkv+2V42oUsrpCDDNVC6SUbTx/2Ch1cPRVcA vQFw== Original-Received: by 10.14.223.199 with SMTP id v47mr53975147eep.45.1352644203314; Sun, 11 Nov 2012 06:30:03 -0800 (PST) Original-Received: from lem (178-83-201-90.dynamic.hispeed.ch. [178.83.201.90]) by mx.google.com with ESMTPS id o47sm10099613eem.11.2012.11.11.06.30.01 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 11 Nov 2012 06:30:02 -0800 (PST) User-agent: mu4e 0.9.9.5-dev3; emacs 24.2.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -3.4 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-Spam-Score: -3.4 (---) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:66758 Archived-At: I don't use TAB to `minibuffer-complete' (I use and use C-i as a key combination that does not have anything to do with the Tab key). In `woman-file-name' TAB is unread, which in my case causes the previously selected file to become the initial input for `completing-read'. That file is the last man page I looked at, usually that is not the command I want to look at now. This means that I often get some bogus initial value in the minibuffer which I first have to delete, then I complete to get the common prefix, and only then I can actually select one of the files that correspond to the topic I want to look up. Could you please change this so that the key sequence actually used to invoke `minibuffer-complete' is unread instead of TAB (or just call `minibuffer-complete' explicitly?). Thanks, Jonas