From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs,gmane.emacs.help Subject: bug#28568: 26.0.60; [eshell] Incompatible change in alias argument handling (Was: Possible Eshell/Tramp Bug in Emacs 26) Date: Sat, 23 Sep 2017 10:55:55 -0400 Message-ID: <871smxo45g.fsf_-_@users.sourceforge.net> References: <87fubfjk10.fsf@gmail.com> <87a81mjxmz.fsf@gmail.com> <87r2uxlt6o.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1506178628 21051 195.159.176.226 (23 Sep 2017 14:57:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 23 Sep 2017 14:57:08 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.60 (gnu/linux) Cc: help-gnu-emacs@gnu.org, Jay Kamat , 28568@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 23 16:57:04 2017 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 1dvlrb-0005AK-Tj for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Sep 2017 16:57:04 +0200 Original-Received: from localhost ([::1]:35196 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dvlrj-0004pK-4y for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Sep 2017 10:57:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58808) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dvlrd-0004ok-0z for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2017 10:57:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dvlrZ-0001JS-Ur for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2017 10:57:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46035) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dvlrZ-0001JM-RW for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2017 10:57:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dvlrZ-0005HZ-Jv for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2017 10:57:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Sep 2017 14:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28568 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28568-submit@debbugs.gnu.org id=B28568.150617856420239 (code B ref 28568); Sat, 23 Sep 2017 14:57:01 +0000 Original-Received: (at 28568) by debbugs.gnu.org; 23 Sep 2017 14:56:04 +0000 Original-Received: from localhost ([127.0.0.1]:54716 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dvlqe-0005GN-J0 for submit@debbugs.gnu.org; Sat, 23 Sep 2017 10:56:04 -0400 Original-Received: from mail-it0-f54.google.com ([209.85.214.54]:53085) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dvlqd-0005Fs-7n for 28568@debbugs.gnu.org; Sat, 23 Sep 2017 10:56:03 -0400 Original-Received: by mail-it0-f54.google.com with SMTP id c195so3524695itb.1 for <28568@debbugs.gnu.org>; Sat, 23 Sep 2017 07:56:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=0AQdkhgRp91SS8k9rGCZWxhYjZ+FdhkShmLmlCGJ4mk=; b=TSwzJx2DNakSqhPVR6uX9Q3Jd5sX6NbvVjSQfa4CSiUEWDkZhlxucmFwqGG6ZW9CwX OK/Vs+7W7az50rJ1QfQj81sers7r+3Yu4sjv0lURvsEf1R5WEtTWHbxkrUDlUuGDNVX0 0V8F4GvLFxEEPadlE5KrzHaLWcbxhRqBI+gJYZwnwBEXpE4meARIeFsrpspQU7w2sDb0 mRqj+pgxlE/iQGnbk0gFID7jZhd3Su1kzLFvdPl2rLerRPXsMHVgsoCBzGxlGF2xZnrj iE2kcmkcpspSL+wk2NKEeqBiXrvJjrGx1chXjwl2iQchAdpLlPfivYmSHe8Gm/qIxjCi Z6/w== 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:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=0AQdkhgRp91SS8k9rGCZWxhYjZ+FdhkShmLmlCGJ4mk=; b=VSVl//0Hn90hVvLXdratNHHOriCAOqbajjRYbGYM90E9XT4z5mRS8hf0DGWKk17caw +5fLKUGKAj4JCfmeBwabm9GpfTfkeHRXwx5rRbaibHlINdvIYT3R1nMDFxM44tA0m466 f3BBDjLZCmFOH++AyDxhnCqHzXnbHdDq3DES3ZZ/JJUTp4xDqNK+W8G54svBI3eHFUAb WoFPo7VuZGnNKpQSq7pY8SKVMa31HmYagi9tBgiOMt5VtZe6P4jan45Tk98Z1hEUoqLV NgabKB1N2yu8l9Stu9jvLr0zAixorLKVcwqNvSKusbokxdyhunRvgkpKJdt91ZDs4AKQ ymIQ== X-Gm-Message-State: AHPjjUhO4xupQ1ruibv9+LCUVpUZJlYSC+8xElnSUElyRz4pY31r2Ow5 h8NPVqbWsZbBY1wEWI2JDrIAzg== X-Google-Smtp-Source: AOwi7QDaEDDGAl+6xEd9zk2QNjV6uyAc5c0Y4LDPcu6intv0tsojV2hyxXJ9X5BS7vCvrDhBVCYWEg== X-Received: by 10.36.127.146 with SMTP id r140mr10343042itc.79.1506178557453; Sat, 23 Sep 2017 07:55:57 -0700 (PDT) Original-Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id g131sm1044388iog.9.2017.09.23.07.55.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 23 Sep 2017 07:55:56 -0700 (PDT) In-Reply-To: <87r2uxlt6o.fsf@gmx.de> (Michael Albinus's message of "Sat, 23 Sep 2017 10:23:27 +0200") 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:137295 gmane.emacs.help:114362 Archived-At: > Jay Kamat writes: >> >> This is a little bit annoying since it means that I can't share these >> aliases across emacs25 and emacs26 without problems. One solution I >> could do is setting `eshell-prefer-lisp-functions' instead of using this >> alias, but I would have liked to only override sudo (and leave the rest >> as system). If anyone knows a better solution, let me know! Another possible alternative is adding "sudo" to `eshell-complex-commands' (adding `eshell-tramp' to `eshell-modules-list' does this, see `eshell-tramp-initialize'). eshell-complex-commands is a variable defined in =E2=80=98esh-cmd.el=E2= =80=99. Its value is ("ls") This variable may be risky if used as a file-local variable. Documentation: A list of commands names or functions, that determine complexity. That is, if a command is defined by a function named eshell/NAME, and NAME is part of this list, it is invoked as a complex command. Complex commands are always correct, but run much slower. If a command works fine without being part of this list, then it doesn=E2=80= =99t need to be. If an entry is a function, it will be called with the name, and should return non-nil if the command is complex. You can customize this variable. >> Also, it would be nice if eshell aliases and other configuration were >> not loaded in an emacs -Q setting. Yes, that would make sense too.