From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#42383: 28.0.50; Two bugs with M-x compile Date: Thu, 16 Jul 2020 18:37:08 -0400 Message-ID: References: <83h7u7lcaf.fsf@gnu.org> <87zh7zrvf6.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27597"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Gregory Heytings , 42383@debbugs.gnu.org To: Alex Branham Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 17 00:38:23 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jwCWD-00074q-Sb for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 17 Jul 2020 00:38:22 +0200 Original-Received: from localhost ([::1]:45108 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jwCWC-0006or-OO for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Jul 2020 18:38:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35516) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jwCVu-0006oj-EZ for bug-gnu-emacs@gnu.org; Thu, 16 Jul 2020 18:38:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44622) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jwCVu-0002cm-5F for bug-gnu-emacs@gnu.org; Thu, 16 Jul 2020 18:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jwCVu-0001rj-2a for bug-gnu-emacs@gnu.org; Thu, 16 Jul 2020 18:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Jul 2020 22:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42383 X-GNU-PR-Package: emacs Original-Received: via spool by 42383-submit@debbugs.gnu.org id=B42383.15949390497131 (code B ref 42383); Thu, 16 Jul 2020 22:38:02 +0000 Original-Received: (at 42383) by debbugs.gnu.org; 16 Jul 2020 22:37:29 +0000 Original-Received: from localhost ([127.0.0.1]:56168 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jwCVM-0001qx-Nf for submit@debbugs.gnu.org; Thu, 16 Jul 2020 18:37:28 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:18328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jwCVI-0001qj-Lj for 42383@debbugs.gnu.org; Thu, 16 Jul 2020 18:37:27 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 61F151007CA; Thu, 16 Jul 2020 18:37:19 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 35D02100234; Thu, 16 Jul 2020 18:37:10 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1594939030; bh=PZvs5OwHQdNr5szDpMM/eFlc8SQOEBAaJr1pffdjm6o=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=Cin8CeIew+fmzFwl87HmGiPDTSMlp+XDfhfqhUEy7+bphEYPOEKiGva4ywOJ7HauS ZaRFYLSu3otDo++uZoCEfuYLIzjwxkT++/+hVELgrrEv7CMSYtiAT9dsTBTlsvIw+F pTmjRocGGhJnLFAGEnm9erY9ksdy2fAgdjcqTxloMbiiI6Ue+i2L5+/uXiz6vw94tH TDVcgR/shQzkpKqpKgwzno7WTXWRbQCLEbeOYXKiT9EkIfsgD+Mjl49HoCWCEt2RMD JYix+7QGpGLBIwAoj82zpuaZW8EDl8++y55xlgGoux4l5W7XKTr8GS8CFJYuvXave7 8tYqaJUexvOWg== Original-Received: from asado (76-10-180-175.dsl.teksavvy.com [76.10.180.175]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id E0643120746; Thu, 16 Jul 2020 18:37:09 -0400 (EDT) In-Reply-To: <87zh7zrvf6.fsf@gmail.com> (Alex Branham's message of "Thu, 16 Jul 2020 17:39:57 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:183119 Archived-At: >> * lisp/shell.el (shell-dynamic-complete-functions): Move >> pcomplete-completions-at-point down the list so that filename >> completion has a chance to complete before pcompletion. >> >> Fixes bug#34330 >> >> yet, `pcomplete-completions-at-point` is supposed to perform filename >> completion also (via `pcomplete-default-completion-function`), so >> I think `pcomplete-completions-at-point` should come first and I suspect >> that the problem in bug#34330 is internal to pcomplete and the above >> commit just worked around it. > > I find pcomplete really confusing (why is it that there's a whole second > kind of completion framework outside completion-at-point?). They are not competing nor redundant: pcomplete.el is a system that lets one explain how to split a line into fields and which completion table applies to which field (i.e. explain that in a shell command the first element should be an executable, while the rest will depend on which executable was used in the first element, ...). There is sadly some redundancy here in that originally pcomplete.el also provided a completion UI (under the command `pcomplete`) and this one is indeed competing with the `completion-at-point` command. But this part is now obsolete. Stefan