From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Warren Lynn Newsgroups: gmane.emacs.bugs Subject: bug#41440: 26.3; 'replace' argument in function 'shell-command-on-region' is assumed to be always t for rectangle selection Date: Thu, 21 May 2020 14:53:05 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000078768b05a62d06f3" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="10951"; mail-complaints-to="usenet@ciao.gmane.io" To: 41440@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 21 20:54:18 2020 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 1jbqKf-0002cG-BC for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 21 May 2020 20:54:17 +0200 Original-Received: from localhost ([::1]:38130 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jbqKZ-0000Wb-9z for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 21 May 2020 14:54:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34900) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jbqKQ-0000Rh-O6 for bug-gnu-emacs@gnu.org; Thu, 21 May 2020 14:54:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45734) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jbqKQ-0003rj-Di for bug-gnu-emacs@gnu.org; Thu, 21 May 2020 14:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jbqKQ-00043H-Cz for bug-gnu-emacs@gnu.org; Thu, 21 May 2020 14:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Warren Lynn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 May 2020 18:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41440 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.159008720515529 (code B ref -1); Thu, 21 May 2020 18:54:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 May 2020 18:53:25 +0000 Original-Received: from localhost ([127.0.0.1]:57280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jbqJo-00042O-RG for submit@debbugs.gnu.org; Thu, 21 May 2020 14:53:25 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:35814) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jbqJo-00042H-3K for submit@debbugs.gnu.org; Thu, 21 May 2020 14:53:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33856) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jbqJm-0007d2-SG for bug-gnu-emacs@gnu.org; Thu, 21 May 2020 14:53:22 -0400 Original-Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]:46963) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jbqJj-0003CL-FA for bug-gnu-emacs@gnu.org; Thu, 21 May 2020 14:53:22 -0400 Original-Received: by mail-ed1-x52f.google.com with SMTP id f13so6792485edr.13 for ; Thu, 21 May 2020 11:53:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=XdOR6T1BH5qu0+11dnqZBnHx/FmNRobB0BMWzm6yKkU=; b=lTR1lALWLilB01eviJOfO1rXK8Oq/bbAevFV1PI6zWePuOjMxKsX9fLD1sXWlTZixy TSzE9GzmpTLKQRcGKzFsPlyw8tdUbZq2aX9/oQgn89vILCT5EfEv60zOPfMpuu5blpp/ krZ9GvvOlOPdI6GFdadpzGpnLSeD91NzGMRUgdcXpMZyIeasWjCRIy/4aX6rHb5ZgcpX AmG+sAimlAVKApU5SDWF2A6SZjXByzsX/fVU1GeitquWR/ofS5Ieaqunoms5iTjEkZ4g HxfADPBd7N7q3AvaLERUhyMTYUQiFz4ZPc4TabOUfo3X1QvlQhFSKhBNcNg1b00y68nR 6ndw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=XdOR6T1BH5qu0+11dnqZBnHx/FmNRobB0BMWzm6yKkU=; b=PG4AfCw2GMg5H6a00hywk7doc1DQEUQEhSMdqrKSQB+vV2emORmJYYiGSfvG/urCdr B6+TNsmDAsmYTyYEf+WDCd+m46yKQrQb5QhO7WozzB4uHDxM2TTQs5vSRdxxA0D/P4FG hz+xndH+ycGmfSdMcObO12K1N5bHT208NCxLKl1zDjOS079bk2r8bWRX0sKCUEN2p4Kl g20KECv0bQTtbGJw6u4K8UG60mzTCTCIAo+daCCnSlvPHOnLMCNgHrDSoieNyVJXS5it eA89kuus7F35dpUI96X4s4qmxGBjvKd4wMznjTFGRmhSasrpHN+IMQL1V9dhrtR5vqFr 6xsg== X-Gm-Message-State: AOAM532AIVRSTOEdL+Q5zXLEps5GMEXOMCLEgtkG5H3UOqCuZrzVhB/Y 42KEDnerjitOuvGf2iLZz5lOKSNkNMTZt39Lps8dgT6q X-Google-Smtp-Source: ABdhPJzHPp4diXq7VUUM69+aDSI2YjKljihOWEC7gbeL7lareTPyYo0bEhYS4Xo9sK2SwvaRfs+91fy0GXy8RrI8T40= X-Received: by 2002:a05:6402:31b5:: with SMTP id dj21mr110917edb.160.1590087195849; Thu, 21 May 2020 11:53:15 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::52f; envelope-from=wrn.lynn@gmail.com; helo=mail-ed1-x52f.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action 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" Xref: news.gmane.io gmane.emacs.bugs:180714 Archived-At: --00000000000078768b05a62d06f3 Content-Type: text/plain; charset="UTF-8" Hi: I am gladly surprised to find out function shell-command-on-region is supposed to work on rectangle selection also (with 'region-noncontiguous-p' set to t), but then disappointed to find out the feature does not work. It has two problems: 1. As this email title says, argument 'replace' is assumed to be t no matter what. 2. Even if I really want to replace the original selection with the shell-command output, it still does not work. An error will be thrown in function "cua--insert-rectangle" due to some argument type mismatch. This feature will be very useful to me (and hopefully others too) and I hope somebody can fix the above. Thanks a lot. Warren --00000000000078768b05a62d06f3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi:

I am gladly surprised to= find out function
shell-command-on-region
is supposed = to work on rectangle selection also (with 'region-noncontiguous-p' = set to t), but then disappointed to find out the feature does not work. It = has two problems:

1. As this email title says, arg= ument 'replace' is assumed to be t no matter what.
2. Eve= n if I really want to replace the original selection with the shell-command= output, it still does not work. An error will be thrown in function "= cua--insert-rectangle" due to some argument type mismatch.
<= br>
This feature will be very useful to me (and hopefully others = too) and I hope somebody can fix the above.

Thanks= a lot.

Warren

--00000000000078768b05a62d06f3--