unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#41440: 26.3; 'replace' argument in function 'shell-command-on-region' is assumed to be always t for rectangle selection
@ 2020-05-21 18:53 Warren Lynn
       [not found] ` <83d06v13h2.fsf@gnu.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Warren Lynn @ 2020-05-21 18:53 UTC (permalink / raw)
  To: 41440

[-- Attachment #1: Type: text/plain, Size: 667 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 895 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-10-01  3:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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).