From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Carlos Pita Newsgroups: gmane.emacs.bugs Subject: bug#31906: 26.1.50; Properly set completion-at-point-functions in eshell Date: Tue, 19 Jun 2018 23:34:03 -0300 Message-ID: <87vaaeqj8k.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1529461992 18802 195.159.176.226 (20 Jun 2018 02:33:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 20 Jun 2018 02:33:12 +0000 (UTC) To: 31906@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 20 04:33:08 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fVSvi-0004mq-Pz for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Jun 2018 04:33:07 +0200 Original-Received: from localhost ([::1]:45735 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVSxp-0000n5-RK for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Jun 2018 22:35:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVSxe-0000n0-8K for bug-gnu-emacs@gnu.org; Tue, 19 Jun 2018 22:35:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVSxb-0005CC-1v for bug-gnu-emacs@gnu.org; Tue, 19 Jun 2018 22:35:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48882) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVSxa-0005C4-Ti for bug-gnu-emacs@gnu.org; Tue, 19 Jun 2018 22:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fVSxa-0005Wp-N0 for bug-gnu-emacs@gnu.org; Tue, 19 Jun 2018 22:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Carlos Pita Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Jun 2018 02:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 31906 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.152946206821202 (code B ref -1); Wed, 20 Jun 2018 02:35:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Jun 2018 02:34:28 +0000 Original-Received: from localhost ([127.0.0.1]:56779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fVSx0-0005Vq-9y for submit@debbugs.gnu.org; Tue, 19 Jun 2018 22:34:28 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49331) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fVSwy-0005Vd-Rv for submit@debbugs.gnu.org; Tue, 19 Jun 2018 22:34:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVSws-0004jx-Bc for submit@debbugs.gnu.org; Tue, 19 Jun 2018 22:34:19 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:54985) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fVSws-0004jn-7v for submit@debbugs.gnu.org; Tue, 19 Jun 2018 22:34:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40295) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVSwq-0000DI-Hm for bug-gnu-emacs@gnu.org; Tue, 19 Jun 2018 22:34:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVSwn-0004gD-Cx for bug-gnu-emacs@gnu.org; Tue, 19 Jun 2018 22:34:16 -0400 Original-Received: from mail-qt0-x22c.google.com ([2607:f8b0:400d:c0d::22c]:41413) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVSwn-0004g2-69 for bug-gnu-emacs@gnu.org; Tue, 19 Jun 2018 22:34:13 -0400 Original-Received: by mail-qt0-x22c.google.com with SMTP id y20-v6so1722582qto.8 for ; Tue, 19 Jun 2018 19:34:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=G9DzSEhDDEhLxrnhp2uHGsqsM/nhWf20vtJyAuMT0mM=; b=s8EN28TUEmJ/dKVgoT6vHVlbh6jXHta2sXrXU92rJfYWM9DBL8T2/fLi4aaa50Pgam VOuCLOb8l7UadXOQQ6n5w39i7H5l/LSDQrDjCLAp2m/AnXK2Xuw0eqW/44BQLm3SNqSF tC3PoHKiGhQz0Mo24gwgJkD6+rX6qQzlaXCjZpzB2HFAtJzXY71a778iD38UsRvhJkfB WtmoIeRwCqTHFTsHoXbi2ZNbLZ0FXFwz159KBKW0axYy4BcGrGyfj/7hVMxdZ84v0H+Y Tm60yClgrNkBrZs37Z10UOMavR5lekbhLii0jKtOk9jH9JLj3QKMFXKe2rbcWUx+/CSH YImg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=G9DzSEhDDEhLxrnhp2uHGsqsM/nhWf20vtJyAuMT0mM=; b=ejIBccj8TUL2rXObQzf+Ld16ElJzh9pUsO9wdUfHHCPyv0oGm31711UjW1DkzQ/bIT BExVuPYiL72QC+LW/OWdr5F1cBql0gwp8Z/s0uyG87bHtMd3Shp0g+4b/bnWj31DCxep v6IDRDRr1b2dg37XgwN7+BhJC9LwNKTeQSZ37kZkbPX/fYu53gy27vRIH6XHRGeo0HAe IyCPn33pqurJAqbWEGJ9zV1P/a+zPrL+oFs83mfz2ReVZDzi7BnBZfIzmTyp66kRxzgF fAQ+jyWEERdw8hKVCvLN2tIj0seAseEEl+Cx2Oy0TblDM35GCw4+vnqHN/VPdtfGFbTs v59w== X-Gm-Message-State: APt69E3M1D0Pl0111wtoTqK/HxmVpNpd8m4ZejhLTuFlb0kSAP7eCXtO 3ytj6DziO3UsVOjc9fa+ULmSaA== X-Google-Smtp-Source: ADUXVKIliiqbHfHE+7wTpfgaYqHjBhZniOlVPjsxhMOllFWPYLjrtZN31cHnKAb0O852WPQ/d3gXzw== X-Received: by 2002:ac8:260f:: with SMTP id u15-v6mr18015037qtu.368.1529462051977; Tue, 19 Jun 2018 19:34:11 -0700 (PDT) Original-Received: from carlos ([190.244.190.18]) by smtp.gmail.com with ESMTPSA id e25-v6sm737494qkm.6.2018.06.19.19.34.10 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Jun 2018 19:34:11 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:147639 Archived-At: Currently C-M-i is bound to: (defun eshell-complete-lisp-symbol () "Try to complete the text around point as a Lisp symbol." (interactive) (let ((completion-at-point-functions '(lisp-completion-at-point))) (completion-at-point))) This is fine but interferes with other completion frameworks that peep into completion-at-point-functions, for example company. Why not properly setting the functions for the buffer as most modes do instead of overriding its value on every completion call? --- In GNU Emacs 26.1.50 (build 3, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2018-06-18 built on carlos Repository revision: 0a8b7f365cbc8de02ddb4e806dd76b1bf6302565 Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 System Description: Manjaro Linux Recent messages: Invalid face attribute :inherit nil Invalid face reference: comint-highlight-prompt Invalid face attribute :inherit nil Invalid face reference: comint-highlight-prompt Invalid face attribute :inherit nil Invalid face reference: comint-highlight-prompt Invalid face attribute :inherit nil Invalid face reference: comint-highlight-prompt Invalid face attribute :inherit nil Invalid face reference: comint-highlight-prompt Configured using: 'configure --prefix=/home/carlos/Local/stow/emacs-26 --libexecdir=/home/carlos/Local/stow/emacs-26/lib --with-x-toolkit=gtk3 --with-xft --with-modules' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES THREADS LIBSYSTEMD LCMS2 Important settings: value of $LC_MONETARY: en_US.UTF-8 value of $LC_NUMERIC: en_US.UTF-8 value of $LC_TIME: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Shell Minor modes in effect: diff-auto-refine-mode: t pyvenv-mode: t shell-dirtrack-mode: t xclip-mode: t winner-mode: t show-paren-mode: t ido-ubiquitous-mode: t ido-everywhere: t global-company-mode: t company-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail em-rebind em-smart em-tramp cus-dep autoload cus-theme erc-pcomplete erc-goodies erc erc-backend erc-compat misearch multi-isearch noutline outline lisp-mnt jka-compr dabbrev pp cl-print completion face-remap eieio-opt speedbar sb-image ezimage dframe find-func pcmpl-unix em-unix em-term term disp-table ehelp em-script em-prompt em-ls em-hist em-pred em-glob em-dirs em-cmpl em-basic em-banner em-alias sh-script smie executable term/xterm xterm display-line-numbers checkdoc flymake-proc flymake warnings doom-themes-org vc-git cl-extra yasnippet elec-pair highlight-indentation help-fns radix-tree help-mode elpy find-file-in-project ivy delsel ivy-overlay ffap thingatpt windmove diff-mode easy-mmode elpy-shell pyvenv esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg esh-groups eshell esh-module esh-mode esh-util elpy-profile elpy-django elpy-refactor subr-x python tramp-sh tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell pcomplete parse-time format-spec advice json map grep compile comint ansi-color files-x company-oddmuse company-keywords company-etags etags xref project company-gtags company-dabbrev-code company-dabbrev company-files company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-template company-css company-nxml company-bbdb doom-tomorrow-night-theme doom-themes doom-themes-common xclip winner ring paren ido-completing-read+ memoize s cus-edit minibuf-eldef ido gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums mail-utils mm-util mail-prsvr wid-edit company edmacro kmacro pcase cus-start cus-load finder-inf info package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib server 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 dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 1196737 80838) (symbols 48 38962 1) (miscs 40 3723 686) (strings 32 105392 2953) (string-bytes 1 2805376) (vectors 16 71622) (vector-slots 8 1810041 127260) (floats 8 334 648) (intervals 56 5454 399) (buffers 992 34))