GNU bug report logs - #20626
Wishlist: M-x shell-command-on-rectangle-region

Previous Next

Package: emacs;

Reported by: asparagus <at> comcast.net

Date: Thu, 21 May 2015 22:05:02 UTC

Severity: normal

Merged with 19829, 20070

Found in versions 24.3, 25.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Juri Linkov <juri <at> linkov.net>
Cc: 20626 <at> debbugs.gnu.org, asparagus <at> comcast.net
Subject: bug#20626: Wishlist: M-x shell-command-on-rectangle-region
Date: Wed, 24 Jun 2015 23:45:16 -0400
> e.g. a list in the form ‘(rectangle …)’.  Then the command's body
> will check the car of the arg REGION and act accordingly depending
> on the region shape.

Same difference.  It'd still have rectangle-specific code.

Instead it should call something like region-extract-function to do what
it needs to do and *this* thing will have rectangle-specific code (via
something like an add-function in rect.el).

IIUC the current region-extract-function doesn't satisfy all the needs
of shell-command-on-region, so either it will have to be extended again,
or we have to add more region-<foo>-function or equivalent methods.


        Stefan




This bug report was last modified 9 years and 195 days ago.

Previous Next


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