unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 41440@debbugs.gnu.org, Warren Lynn <wrn.lynn@gmail.com>
Subject: bug#41440: 26.3; 'replace' argument in function 'shell-command-on-region' is assumed to be always t for rectangle selection
Date: Sun, 24 May 2020 01:53:33 +0300	[thread overview]
Message-ID: <87d06us1oy.fsf@mail.linkov.net> (raw)
In-Reply-To: <83d06v13h2.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 23 May 2020 11:04:57 +0300")

>> 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.
>
> Juri, could you please look into this?  In addition to the problem
> described in the bug report, the 'region-noncontiguous-p' argument is
> not mentioned in the doc string and not in the manual.  I'd like to
> fix that for Emacs 27, please.

This is not a bug, it was implemented so in Emacs 25.
Or you'd like to fix only documentation for Emacs 27?





  parent reply	other threads:[~2020-05-23 22:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-21 18:53 bug#41440: 26.3; 'replace' argument in function 'shell-command-on-region' is assumed to be always t for rectangle selection Warren Lynn
     [not found] ` <83d06v13h2.fsf@gnu.org>
2020-05-23 22:53   ` Juri Linkov [this message]
2020-06-08  0:35   ` Juri Linkov
2020-06-08 14:39     ` Eli Zaretskii
2020-06-08 23:35       ` Juri Linkov
2020-06-09 14:26         ` Eli Zaretskii
2020-06-09 23:03           ` Juri Linkov
2020-08-24  0:36             ` Stefan Kangas
2020-10-01  3:13               ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d06us1oy.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=41440@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=wrn.lynn@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).