From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 27 14:22:30 2018 Received: (at submit) by debbugs.gnu.org; 27 Jan 2018 19:22:30 +0000 Received: from localhost ([127.0.0.1]:45505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1efW3Z-0005rW-Vh for submit@debbugs.gnu.org; Sat, 27 Jan 2018 14:22:30 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57365) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1efW3Y-0005rI-CR for submit@debbugs.gnu.org; Sat, 27 Jan 2018 14:22:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1efW3R-0005Ix-Q9 for submit@debbugs.gnu.org; Sat, 27 Jan 2018 14:22:23 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57183) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1efW3R-0005Ir-Mr for submit@debbugs.gnu.org; Sat, 27 Jan 2018 14:22:21 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48334) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1efW3Q-0007nJ-6H for bug-gnu-emacs@gnu.org; Sat, 27 Jan 2018 14:22:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1efW3N-0005Dk-0b for bug-gnu-emacs@gnu.org; Sat, 27 Jan 2018 14:22:20 -0500 Received: from shell1.rawbw.com ([198.144.192.42]:52391) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1efW3M-0005CK-OK for bug-gnu-emacs@gnu.org; Sat, 27 Jan 2018 14:22:16 -0500 Received: from alto (96-95-200-133-static.hfc.comcastbusiness.net [96.95.200.133]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id w0RJM9PU067376 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 27 Jan 2018 11:22:15 -0800 (PST) (envelope-from mkupfer@alum.berkeley.edu) X-Authentication-Warning: shell1.rawbw.com: Host 96-95-200-133-static.hfc.comcastbusiness.net [96.95.200.133] claimed to be alto From: Mike Kupfer To: bug-gnu-emacs@gnu.org Subject: 26.0.91; shell mode completion sometimes fails to complete X-Mailer: MH-E 8.6+git; nmh 1.6; GNU Emacs 26.0.91 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sat, 27 Jan 2018 11:22:09 -0800 Message-ID: <809.1517080929@alto> X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Assume $HOME/Desktop exists and has some files in it. >From emacs -Q: M-x shell ls Desk This completes to give me ls Desktop/ Fine so far. I press RET and start a new command. gzip Desk I expect this to complete as well. It does not. Instead I get an error message "No match". I suspect that the completion code is trying to be clever, figuring that directories are not compressable, so "gzip Desktop" would not make sense. But this just gets in the way if what I want to compress is a file in Desktop. Ideally, Emacs would work as I expect out of the box. I'd settle for a configuration option, but I've been unable to find anything relevant. - "C-h k" in the shell buffer tells me that TAB is bound to completion-at-point, and that I should look at completion-at-point-functions. "M-: completion-at-point-functions" gives me "(comint-completion-at-point t)". "C-h f comint-completion-at-point" gives me "Not documented". - The "Shell Options" Info page describes a few variables to control completion, but none of them seem relevant here. I get the same behavior with Emacs 25.3, so this is not a regression. In GNU Emacs 26.0.91 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw scroll b= ars) of 2018-01-27 built on alto Windowing system distributor 'The X.Org Foundation', version 11.0.11902000 System Description: Debian GNU/Linux 9.3 (stretch) Recent messages: Creating customization items... Creating group... Creating group entries...done Creating customization items ...done Resetting customization items...done Creating customization setup...done You can run the command =E2=80=98customize-group=E2=80=99 with M-x cu-g RET Creating customization setup...done Type "q" in help window to delete it Mark saved where search started Configured features: XPM JPEG TIFF GIF PNG SOUND NOTIFY GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 Important settings: value of $LC_TIME: C value of $LANG: en_US.utf8 locale-coding-system: utf-8-unix Major mode: Info Minor modes in effect: shell-dirtrack-mode: t delete-selection-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow mh-mime mh-identity mh-tool-bar mh-letter mh-show goto-addr gnus-cite gnus-art mm-uu mml2015 mh-xface mh-utils mh-comp mh-scan mh-gnus mm-view mml-smime smime dig mailcap mh-e mh-compat mh-buffers mh-loaddefs emacsbug pp cus-edit cus-start cus-load apropos eieio-opt speedbar sb-image ezimage dframe cl-extra cl-print thingatpt help-fns radix-tree help-mode misearch multi-isearch info pcmpl-unix pcmpl-gnu org-rmail org-mhe org-irc org-info org-gnus nnir gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls gnutls utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range gnus-win gnus nnheader wid-edit mdk-mail smtpmail auth-source eieio eieio-core cl-macs eieio-loaddefs sendmail message rmc puny seq byte-opt gv bytecomp byte-compile cconv rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader org-docview doc-view jka-compr image-mode dired dired-loaddefs org-bibtex bibtex org-bbdb org-w3m org-element cl-seq avl-tree generator org org-macro org-footnote org-pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs elec-pair server noutline outline easy-mmode cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs shell pcomplete comint ansi-color ring xcscope easymenu advice delsel vc cl-loaddefs cl-lib vc-dispatcher timeclock mdk-hacks time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote inotify dynamic-setting font-render-setting x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 325256 25534) (symbols 48 39819 3) (miscs 40 392 502) (strings 32 97268 2583) (string-bytes 1 2999025) (vectors 16 38275) (vector-slots 8 770204 19326) (floats 8 311 82) (intervals 56 9403 0) (buffers 992 22)) From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 28 13:19:41 2018 Received: (at 30271) by debbugs.gnu.org; 28 Jan 2018 18:19:41 +0000 Received: from localhost ([127.0.0.1]:46457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1efrYL-0006ay-9f for submit@debbugs.gnu.org; Sun, 28 Jan 2018 13:19:41 -0500 Received: from shell1.rawbw.com ([198.144.192.42]:41428 ident=root) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1efrYI-0006ap-UK for 30271@debbugs.gnu.org; Sun, 28 Jan 2018 13:19:39 -0500 Received: from alto (96-95-200-133-static.hfc.comcastbusiness.net [96.95.200.133]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id w0SHtSH7005798 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO) for <30271@debbugs.gnu.org>; Sun, 28 Jan 2018 09:55:35 -0800 (PST) (envelope-from mkupfer@alum.berkeley.edu) X-Authentication-Warning: shell1.rawbw.com: Host 96-95-200-133-static.hfc.comcastbusiness.net [96.95.200.133] claimed to be alto From: Mike Kupfer To: 30271@debbugs.gnu.org Subject: Re: bug#30271: 26.0.91; shell mode completion sometimes fails to complete In-Reply-To: My message of "Sat, 27 Jan 2018 11:22:09 -0800." <809.1517080929@alto> X-Mailer: MH-E 8.6+git; nmh 1.6; GNU Emacs 26.0.91 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <21054.1517162127.1@alto> Date: Sun, 28 Jan 2018 09:55:27 -0800 Message-ID: <21055.1517162127@alto> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 30271 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Mike Kupfer wrote: > I suspect that the completion code is trying to be clever, figuring that > directories are not compressable, so "gzip Desktop" would not make > sense. I've verified that the completion code is going through #'pcomplete/gzip. From inspection, I see that #'pcmpl-gnu-zipped-files only considers regular files, so directories get filtered out. > But this just gets in the way if what I want to compress is a > file in Desktop. I haven't found any user options or variables that will let me get the behavior I want, so I ended up putting this workaround in my startup code: (defadvice pcomplete-find-completion-function (after mdk-reliable-completions compile activate) "Force use of the generic completion function." (setq ad-return-value nil)) mike From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 08 08:49:39 2018 Received: (at control) by debbugs.gnu.org; 8 Feb 2018 13:49:39 +0000 Received: from localhost ([127.0.0.1]:33825 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ejma3-0000ns-Iu for submit@debbugs.gnu.org; Thu, 08 Feb 2018 08:49:39 -0500 Received: from mail-it0-f51.google.com ([209.85.214.51]:50797) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ejma2-0000ng-8M for control@debbugs.gnu.org; Thu, 08 Feb 2018 08:49:38 -0500 Received: by mail-it0-f51.google.com with SMTP id x128so6593641ite.0 for ; Thu, 08 Feb 2018 05:49:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:mime-version; bh=NRcHiTH+DS3AHVe6fNnqzyuStfzEy8bS6Jcw8gytKHo=; b=VuWQux++VtNFhpZpiT36jWWXWFf59tm0XeqY5q+KMjZFNTJY7xJnZSWuwNuTklb3Gz qEdpwfpR6caSh+GqByhPDn8/74eRDdZsSc85sdbD978cJe4VJhK/Qdb0a1AcBuAk1eFj GdIxBIjmKfhCT8a4ludvIpxcQOqnmFQXvO8tSY7EIirsetjBHxd3b5YCDHFwhHazqVV8 bqEh4UzPfDDWZSeG6ZSkgJUp3lL9RiKU9jh2kGV9ThoRzNkfbL4pjTc4smjJGKwMOSy1 PQMFYULCB3NeCzIGYPj84R2eTq0mVfZmjv3UWRaZv/La9jjktgxV4EDKMG+Me3MokMEl uaUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :mime-version; bh=NRcHiTH+DS3AHVe6fNnqzyuStfzEy8bS6Jcw8gytKHo=; b=Vj1C6oGP4OEWGRtq2WQjqHu+Y8SovJ3kQuWrrHPkd2/IXb0Y4wlmL501KZod97y8xw eOZMAiYvOFn8yvXSR1bkacq2nD+hK++imGJOMkE37L7sX8kksel3tnDXTjeOZfaBvajk 1vfQuZi+KwLDTphDZErX2oWANrv+46DsdM3ZgjrriGyBvN1s+BMruKKm34qp82h6i0YQ IoWsFW4DeptV/iCH3KEJ8wIAJHMgb9hDDfeCOcelQx93QvQuZMPWLo8qsJnbFu3ypeOL D6S00QjasYyx5s0Taz9OS7BAfKrluBk6uPUWpVStEWzFjjvVD6lO0Fj0mjAp/9o/lKmb wzOA== X-Gm-Message-State: APf1xPB+dAx3uS/gnTNH8uh7XGWLAyri2QpwP5bJNJYZfkqKmsioSa05 X8OJDQCwfd3ya1kFNGVir10apg== X-Google-Smtp-Source: AH8x227QCxa2KydToS8QizIXM3xGzZDxU+6wUq1+jtB1zWZmpygOums53mG78DIG4woVx7fGCPSYiw== X-Received: by 10.36.50.85 with SMTP id j82mr1568058ita.82.1518097772144; Thu, 08 Feb 2018 05:49:32 -0800 (PST) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id 188sm4648531iou.80.2018.02.08.05.49.30 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Feb 2018 05:49:30 -0800 (PST) From: Noam Postavsky To: control@debbugs.gnu.org Subject: control message for bug #30271 Date: Thu, 08 Feb 2018 08:49:29 -0500 Message-ID: <87bmgzegly.fsf@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) retitle 30271 shell mode completion won't complete directory names in gzip arguments severity 30271 minor quit From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 26 22:21:12 2020 Received: (at 30271) by debbugs.gnu.org; 27 Oct 2020 02:21:12 +0000 Received: from localhost ([127.0.0.1]:42243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXEbo-00088e-5C for submit@debbugs.gnu.org; Mon, 26 Oct 2020 22:21:12 -0400 Received: from mail-ej1-f66.google.com ([209.85.218.66]:39704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXEbm-00088G-8v for 30271@debbugs.gnu.org; Mon, 26 Oct 2020 22:21:10 -0400 Received: by mail-ej1-f66.google.com with SMTP id bn26so946256ejb.6 for <30271@debbugs.gnu.org>; Mon, 26 Oct 2020 19:21:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=PCFZlE7m6KwjpwG/5GjlvJSoVLAc0vRIRZ9oeC7zmFE=; b=VVCktkR/2UOCP85uxugHqzOcvQQXASyKrpjBD0O2Qn3IyPnoUH3x28RKWwj7zXfAy8 0ElybfFjZdJUzPQ9EWnX1zruRnX/oC0ocNuLFDF6a23SAg66N1NR20EOlST7evoUEH9L 6c5ioq8GrMyd9KhnX3eb66aVrqvTphL9bhiq1bf0gTJ2NCKwiTU9Y7iGnaOwef9xjse7 56dInF3EfxWh5OQ6lZ+NfnH3Awv0W5UkYHluNz/cX3f6WP1QFGpM5yalZY14hZM4oain KcbA4h3IecsPPsRlLj9Kf9IRG47cLTiCVcN+Sfg0Mmvc81+1SuKp7B79dPlQR/tuvsUb DpKw== X-Gm-Message-State: AOAM531dQ6I4++Bp5zE9DhUedIk9BjhXWJFcfNOWDAAu3d0ccmyLVLye /B8+RGSlig/T0zP7QoXPpGcQp/bvfhtp6dvIdvw= X-Google-Smtp-Source: ABdhPJwsaAOsVPYdSOQoNchz5RGfa/p+bT1hkBhSxxKWI8bJsRw69wGXEn1Md9GpcM2/obYPddOqaCBGC5/4smjXhMk= X-Received: by 2002:a17:906:3ed0:: with SMTP id d16mr196884ejj.477.1603765264564; Mon, 26 Oct 2020 19:21:04 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 26 Oct 2020 19:21:04 -0700 From: Stefan Kangas In-Reply-To: <21055.1517162127@alto> (Mike Kupfer's message of "Sun, 28 Jan 2018 09:55:27 -0800") References: <809.1517080929@alto> <21055.1517162127@alto> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Date: Mon, 26 Oct 2020 19:21:03 -0700 Message-ID: Subject: Re: bug#30271: 26.0.91; shell mode completion sometimes fails to complete To: Mike Kupfer Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 30271 Cc: 30271@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) close 30271 28.1 thanks Mike Kupfer writes: > Mike Kupfer wrote: > >> I suspect that the completion code is trying to be clever, figuring that >> directories are not compressable, so "gzip Desktop" would not make >> sense. > > I've verified that the completion code is going through > #'pcomplete/gzip. From inspection, I see that #'pcmpl-gnu-zipped-files > only considers regular files, so directories get filtered out. > >> But this just gets in the way if what I want to compress is a >> file in Desktop. This should now be fixed on master. The fix will be in Emacs 28.1. From unknown Wed Aug 20 05:17:44 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 24 Nov 2020 12:24:14 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator