From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#12898: 24.2.50.1; Completion is not passed further on in emacs-lisp, org-mode etc. Date: Tue, 20 Nov 2012 08:42:56 -0500 Message-ID: References: <87a9ui7pqh.fsf@gmail.com> <87txska27y.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1353419056 19443 80.91.229.3 (20 Nov 2012 13:44:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Nov 2012 13:44:16 +0000 (UTC) Cc: 12898@debbugs.gnu.org To: Vitalie Spinu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 20 14:44:24 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 1Tao7j-00056h-1y for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Nov 2012 14:44:23 +0100 Original-Received: from localhost ([::1]:34488 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tao7X-0004US-EU for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Nov 2012 08:44:11 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:41819) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tao7M-0004Tu-8M for bug-gnu-emacs@gnu.org; Tue, 20 Nov 2012 08:44:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tao7G-0003pO-C5 for bug-gnu-emacs@gnu.org; Tue, 20 Nov 2012 08:44:00 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46207) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tao7G-0003pI-8y for bug-gnu-emacs@gnu.org; Tue, 20 Nov 2012 08:43:54 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Tao8M-0000kl-Qq for bug-gnu-emacs@gnu.org; Tue, 20 Nov 2012 08:45:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Nov 2012 13:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12898 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12898-submit@debbugs.gnu.org id=B12898.13534190502817 (code B ref 12898); Tue, 20 Nov 2012 13:45:02 +0000 Original-Received: (at 12898) by debbugs.gnu.org; 20 Nov 2012 13:44:10 +0000 Original-Received: from localhost ([127.0.0.1]:56457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tao7W-0000jO-8y for submit@debbugs.gnu.org; Tue, 20 Nov 2012 08:44:10 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:55762) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tao7T-0000jF-28 for 12898@debbugs.gnu.org; Tue, 20 Nov 2012 08:44:08 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai0FAG6Zu09sr+ZY/2dsb2JhbABEsEiDSYEIghUBAQQBViMQCzQSFBgNJIgcBboJkEQDiEKacYFYgwc X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="208040377" Original-Received: from 108-175-230-88.dsl.teksavvy.com (HELO pastel.home) ([108.175.230.88]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 20 Nov 2012 08:42:56 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 532D9597C9; Tue, 20 Nov 2012 08:42:56 -0500 (EST) In-Reply-To: <87txska27y.fsf@gmail.com> (Vitalie Spinu's message of "Tue, 20 Nov 2012 13:27:45 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list 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:67202 Archived-At: >>> In elisp mode completion-at-point-functions is set to >>> (lisp-completion-at-point t). If I set it to (t), filename completion >>> works as expected. So, it's the lisp-completion-at-point that is not >>> handing the completion over. SM> Indeed, lisp-completion-at-point should return nil when it determines SM> that it cannot provide completion information for the text around point. SM> Problem is: how should it determine that? > There is an inbuilt facility (:exclusive 'no). Why is that not the default? Because it only works for prefix-completion, so it's a crutch. The right way to do it is for lisp-completion-at-point function to determine whether the data at point should/can be a Lisp name or a file name or both (if it's both, it could use the :exclusive crutch, or it could combine the completion tables with completion-table-in-turn). Stefan