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: Mon, 12 Nov 2012 23:15:20 +0100 Message-ID: <877gpq79jb.fsf@bernoul.li> References: <87d2zkfc0n.fsf@bernoul.li>, NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1352758554 1359 80.91.229.3 (12 Nov 2012 22:15:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Nov 2012 22:15:54 +0000 (UTC) Cc: 12861@debbugs.gnu.org To: "Stefan Monnier" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 12 23:16:04 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 1TY2IM-00011D-Ku for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Nov 2012 23:15:54 +0100 Original-Received: from localhost ([::1]:50023 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TY2ID-0003pK-1t for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Nov 2012 17:15:45 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:46229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TY2I7-0003mK-OL for bug-gnu-emacs@gnu.org; Mon, 12 Nov 2012 17:15:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TY2I4-0007Te-LQ for bug-gnu-emacs@gnu.org; Mon, 12 Nov 2012 17:15:39 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54380) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TY2I4-0007TW-IN for bug-gnu-emacs@gnu.org; Mon, 12 Nov 2012 17:15:36 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TY2IU-0006jF-Co for bug-gnu-emacs@gnu.org; Mon, 12 Nov 2012 17:16: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: Mon, 12 Nov 2012 22:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12861 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 12861-submit@debbugs.gnu.org id=B12861.135275855225850 (code B ref 12861); Mon, 12 Nov 2012 22:16:02 +0000 Original-Received: (at 12861) by debbugs.gnu.org; 12 Nov 2012 22:15:52 +0000 Original-Received: from localhost ([127.0.0.1]:36398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TY2IK-0006is-F6 for submit@debbugs.gnu.org; Mon, 12 Nov 2012 17:15:52 -0500 Original-Received: from mail-ee0-f44.google.com ([74.125.83.44]:53930) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TY2II-0006il-Jg for 12861@debbugs.gnu.org; Mon, 12 Nov 2012 17:15:51 -0500 Original-Received: by mail-ee0-f44.google.com with SMTP id b47so931910eek.3 for <12861@debbugs.gnu.org>; Mon, 12 Nov 2012 14:15:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:user-agent:in-reply-to:date :message-id:mime-version:content-type; bh=VDDBnKXspmNNSWw2eS5YT0L4kwu3CsgqcNJmyPke/Wk=; b=fo6v7ZuTGfEaVcSdaJQoztCoz0C6pAg/ItG1fCvLL+nfUk2X1jGXbMYc5QVWPhuzHD U1DRYe53I/u1+x4UqvjkmUCzPymQxFIM7oC0or19/GLxw1WmMGpXO2aHkA2kCPAn2LHC iN8g/8R0zRIeHAwy80nGCc1F+MYVQCE3VYob5lYdbBoIaGLtJxdYi7Ppstai9ZITlA4p ml508f0dv4JNMiar5ezB5ZkfxeBBLPZSspLh+enDx1EZNkD0oPzfGZufcSbR9U/4nGfZ liXfnJYl2Dwzc9tjGzSq+My/uOh5uhqwEekaBbcSa/rU8bM7G+EGXj2kAHO2mpYBrAK0 cADg== Original-Received: by 10.14.193.134 with SMTP id k6mr26302771een.15.1352758523559; Mon, 12 Nov 2012 14:15:23 -0800 (PST) Original-Received: from lem (178-83-201-90.dynamic.hispeed.ch. [178.83.201.90]) by mx.google.com with ESMTPS id z43sm18527129een.16.2012.11.12.14.15.21 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 12 Nov 2012 14:15:22 -0800 (PST) User-agent: mu4e 0.9.9.5-dev3; emacs 24.2.1 In-reply-to: X-Spam-Score: 0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-Spam-Score: 0.1 (/) 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:66836 Archived-At: Stefan Monnier writes: >> 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?). > > The patch below should fix your problem, but could you confirm it > provides the intended completion behavior? With emacs -Q it works but with my configuration it doesn't. I think that again me using instead of TAB to complete causes this. I will let you know once I have verified this. The problem I see is that iff the selected topic is also the prefix of other available topics (e.g. git-prune[-packed]) then pressing when completing the *file-name* does not cause the *Completions* buffer to appear. When I do something before pressing (e.g. delete a character or C-h c to verify it is indeed bound to `minibuffer-complete') and *then* press then the completions are shown, just not when completing immediately. -- Jonas