From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Newsgroups: gmane.emacs.bugs Subject: bug#26661: compile, shell etc. should use bash-completion ! Date: Thu, 29 Oct 2020 07:31:49 +0100 Message-ID: <878sbp4k6i.fsf@gmail.com> References: <878tmoxdno.fsf@jidanni.org> <87h7sf6d9m.fsf@gmail.com> <87k0x9by4d.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="15349"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 26661@debbugs.gnu.org, szermatt@gmx.net, Bhavin Gandhi , =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 29 07:32: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 1kY1Tz-0003py-CF for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Oct 2020 07:32:23 +0100 Original-Received: from localhost ([::1]:47972 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kY1Ty-0001VR-0h for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Oct 2020 02:32:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kY1Te-0001Uo-LH for bug-gnu-emacs@gnu.org; Thu, 29 Oct 2020 02:32:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40029) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kY1Te-0007ym-C4 for bug-gnu-emacs@gnu.org; Thu, 29 Oct 2020 02:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kY1Te-000248-68 for bug-gnu-emacs@gnu.org; Thu, 29 Oct 2020 02:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 Oct 2020 06:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26661 X-GNU-PR-Package: emacs Original-Received: via spool by 26661-submit@debbugs.gnu.org id=B26661.16039531207932 (code B ref 26661); Thu, 29 Oct 2020 06:32:02 +0000 Original-Received: (at 26661) by debbugs.gnu.org; 29 Oct 2020 06:32:00 +0000 Original-Received: from localhost ([127.0.0.1]:51575 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kY1Tb-00023s-UN for submit@debbugs.gnu.org; Thu, 29 Oct 2020 02:32:00 -0400 Original-Received: from mail-wm1-f51.google.com ([209.85.128.51]:55629) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kY1TZ-00023f-TT for 26661@debbugs.gnu.org; Thu, 29 Oct 2020 02:31:58 -0400 Original-Received: by mail-wm1-f51.google.com with SMTP id a72so1307753wme.5 for <26661@debbugs.gnu.org>; Wed, 28 Oct 2020 23:31:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=PukeA//T7YCH7k3011Ck4auQ7IdC4CIVqPA51r4bJi8=; b=JZm9yCSu7VstZYlBIaGPS9uNhri3v6brAGTFZERshPJ8YqowHjvaDJCjT3vxVJGYhv S9biUpA4E3dmoynuts72CXCli8Ygc6P+Sf1YWJY/EXQkhuCVVKR+7oiW4qhkXkMvPT7a m4/bWtW+dsfDJ/EDJxaIRtMVgSDeWb1RILcNStI0KCowH4QtbuMyRJmmalgIbscE0Hrg lCrqvR6FSDWfX2eNIbF00JyJ0i0EHDzz72ptWCYPnf6T0jTBZ1QTmfnYlQOadSJQpklp JeJaQ3foq83OU/cQA9uapzBvnXUcE9U9l4Ag3CH6gszxM0A30ystLWlPOSiBzSyWB081 Dc4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=PukeA//T7YCH7k3011Ck4auQ7IdC4CIVqPA51r4bJi8=; b=c4sd7NcInXFKH9LfOKl3KpmZsB/5hwd9R3thUOxFi/cDR8ZKDLtI2raT+ZlvwvnCHO qLGUbwLlLDCOI1iWgW4dRkiFz3gJFpPlKi4fifMuupE9xFiMFbZ5KNRoLqM6UvRtu5+T DMu70xioZjnxAcZ01iDUyV0OvSEWNe5qE2XNEdxVA/1CSgJxIgC79qUAnDgV+bftzVmD Otn0Md1pXt3e28gD7OYWeHyaDXbYLjROO+7YNuXrL/UhqfiVIwoTYuw2pHRjZ4dcbNuW 8qg7QNiC554BoUbsF/I/3lE3ItQ71NfMz8G6qxtz9QEJd8usP0heaLsr4OOBRsUBth5/ MnBA== X-Gm-Message-State: AOAM530T0iMqTTR1wycz6xo9M39yoEYCz9N704xLZ8yq5feRIC6qc9Fr xIBLyKeDkiPyiScjsBsz+eA= X-Google-Smtp-Source: ABdhPJzW3s6mWaizxzdSEA9PjKcsz4dSJjapgyhQkgqaPIOSdkWnTE1DJ5acGjLc+FAHHdn+WFiFsA== X-Received: by 2002:a05:600c:25a:: with SMTP id 26mr2537158wmj.39.1603953111920; Wed, 28 Oct 2020 23:31:51 -0700 (PDT) Original-Received: from hirondell ([2a01:e0a:20e:d340:41b7:7b2e:4aab:4832]) by smtp.gmail.com with ESMTPSA id t1sm2507730wrs.48.2020.10.28.23.31.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Oct 2020 23:31:51 -0700 (PDT) In-Reply-To: (Stefan Kangas's message of "Wed, 28 Oct 2020 18:16:05 -0700") 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:191937 Archived-At: Stefan Kangas writes: >> https://github.com/szermatt/emacs-bash-completion/issues/45#issuecomment-706671531 > > I found the comment on that page interesting: > > I have to say that I personally find bash-completion a bit hackish > and fragile (by nature) to be something that'd come as part of > standard Emacs, but that's something for Emacs maintainers to decide. > > So perhaps this should better be part of GNU ELPA for users that want > it as optional behavior. I'd be interested in knowing what makes bash-completion inherently more hackish and fragile than say, python.el's native completion? AFAICT both essentially use a dedicated buffer to send completion queries to an inferior process. I may not have been thorough enough when reading either library's code though, so maybe I missed something.