From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.bugs Subject: bug#60999: 30.0.50; [PATCH] Add support for negative indices and index ranges in Eshell Date: Fri, 27 Jan 2023 10:02:30 -0800 Message-ID: <3e591737-a545-a296-5c69-1500d26465a5@gmail.com> References: <83zgabjd4v.fsf@gnu.org> <3de45afd-c721-9b3a-ff97-5e6dc8d0c390@gmail.com> <83cz70ctr0.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18024"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60999@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 27 19:03:24 2023 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 1pLT4N-0004Ub-1h for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 Jan 2023 19:03:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pLT45-00016J-M4; Fri, 27 Jan 2023 13:03:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pLT42-00015U-OD for bug-gnu-emacs@gnu.org; Fri, 27 Jan 2023 13:03:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pLT42-0008FL-FI for bug-gnu-emacs@gnu.org; Fri, 27 Jan 2023 13:03:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pLT41-0002Ih-VR for bug-gnu-emacs@gnu.org; Fri, 27 Jan 2023 13:03:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Jan 2023 18:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60999 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 60999-submit@debbugs.gnu.org id=B60999.16748425598813 (code B ref 60999); Fri, 27 Jan 2023 18:03:01 +0000 Original-Received: (at 60999) by debbugs.gnu.org; 27 Jan 2023 18:02:39 +0000 Original-Received: from localhost ([127.0.0.1]:38415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLT3e-0002I3-GD for submit@debbugs.gnu.org; Fri, 27 Jan 2023 13:02:38 -0500 Original-Received: from mail-pf1-f176.google.com ([209.85.210.176]:45964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLT3d-0002Hp-H0 for 60999@debbugs.gnu.org; Fri, 27 Jan 2023 13:02:37 -0500 Original-Received: by mail-pf1-f176.google.com with SMTP id z1so832243pfg.12 for <60999@debbugs.gnu.org>; Fri, 27 Jan 2023 10:02:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=PQuCmZzN4XH04dCp7cpH7Et/tS/s6isbQU5sEPD1CQU=; b=mXxrLN4PTbfeZRuONesBOQMjIRaBRqWM0fiWGvqwo2vSJ4GZBQCl/df8g1865EC3Ft Pk6Bggf64wqQbFDEqJ7TFS/Laaw0r+6tkngr0lIyXVkYoryiNrfC3bY+w5aeO7p/PTsz 3MLCyfbYKyYbhu6MixVdqB+S0MjB7mkLrbcUfxghXHPyk87Z1KIh/xozUt08ZxGj0Uxu D7jV7akxSgxWnwOnfnUx3VDFofcrqG4uS4T4QCtjL5oBGPBcHfj4tpbpiuToh93AQVRY 3xSIxeJ+839Yw4PrBKK7t7/5M66KD8AZGK+mhfnZ8vbp+F3vTa4RJWL+V7B6FRqfaySD sZ1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=PQuCmZzN4XH04dCp7cpH7Et/tS/s6isbQU5sEPD1CQU=; b=waBQRddbt+68LMgzGeMfIthcsrQ9zgkjrSs6LCa0A6upH0qXJnR4Z4vw0kFiNE6DlT f1OvQz6IWuqMpKpklT9e0Ze5dE+WnHr2wWAamTTWxM8g/vgrDAUOM8xT/n4WFF+vQSax FqpmdEvFZvSc0BQcf51KosUhmaMUyAw9TQCu1DfFIj9/KEYvBRC7FdugB8SAcXfk0Hex 4W7CSsWLQj6e1IRK73fcZfbIdpRrAO/0Ga6tqAipgkRmNLGJpp3PDCfkm7iH2jpPvoFa wN7BkfJG0tbwBDWSfn9NwprgvcQ591y7fzA7ws9VDbWNNuWLPfUt2w+2fVwwviuVls9C 8mMw== X-Gm-Message-State: AO0yUKVTmu/O+03UPBj7W/UHQBTTI5JK24hD/I0DKElsLM55aNy+AV2y /txN7iD5yBZIcr7MwS/yBJQ= X-Google-Smtp-Source: AK7set/ACQJqrs8+VX+ub9yoXFKJX/kG//fcCjcyH8H9/Sxy02OWVnT91Zuyjt95NjW+Es0GU9AG7Q== X-Received: by 2002:aa7:888f:0:b0:588:9c15:65c4 with SMTP id z15-20020aa7888f000000b005889c1565c4mr8021475pfe.3.1674842551518; Fri, 27 Jan 2023 10:02:31 -0800 (PST) Original-Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id c3-20020aa78803000000b0058d54960eccsm1776307pfo.151.2023.01.27.10.02.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 27 Jan 2023 10:02:30 -0800 (PST) Content-Language: en-US In-Reply-To: <83cz70ctr0.fsf@gnu.org> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:254267 Archived-At: On 1/26/2023 11:38 PM, Eli Zaretskii wrote: > I have no strong feelings, as I don't expect to be using this feature. > I just think this could be confusing to people who do use it in other > shells, and a potential source of complaints and bug reports. But it > is your call. Ok, thanks. Would it make sense to merge this patch as-is then, and afterwards I can post a message on emacs-devel soliciting feedback? If people clearly prefer the Bash semantics, I don't have any major issues with changing the code to match that.