GNU bug report logs - #27411
25.2; eshell/sudo reads -u from command arguments

Previous Next

Package: emacs;

Reported by: Pierre Neidhardt <ambrevar <at> gmail.com>

Date: Sat, 17 Jun 2017 16:37:02 UTC

Severity: minor

Tags: confirmed, fixed, patch

Merged with 28323

Found in version 25.2

Fixed in version 27.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Pierre Neidhardt <ambrevar <at> gmail.com>
To: GNU Emacs bug Tracking System <bug-gnu-emacs <at> gnu.org>
Subject: 25.2; eshell/sudo reads -u from command arguments
Date: Sat, 17 Jun 2017 17:36:12 +0100
Running

	eshell/sudo pacman -Su --noconfirm

Fails with

	sudo: unknown user: --noconfirm
  sudo: unable to initialize policy plugin

This is because `eshell/sudo' reads the -u argument of the subcommand.
I suppose that it should not use `eshell-eval-using-options' for parsing
arguments, or that the latter function should be extended to support
subcommands.



In GNU Emacs 25.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.22.10)
 of 2017-04-22 built on juergen
Windowing system distributor 'The X.Org Foundation', version 11.0.11903000
System Description:	Arch Linux




This bug report was last modified 7 years and 82 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.