GNU-devel ELPA - shell-command+

shell-command+ Atom Feed

Description
An extended shell-command
Latest
shell-command+-2.4.2.0.20240912.220425.tar (.sig), 2024-Sep-13, 70.0 KiB
Maintainer
Philip Kaludercic <~pkal/public-inbox@lists.sr.ht>
Website
https://git.sr.ht/~pkal/shell-command-plus
Browse ELPA's repository
CGit or Gitweb
Badge

To install this package from Emacs, use package-install or list-packages.

Full description

`shell-command+' is a `shell-command' substitute, that extends the
regular Emacs command with several features.  After installed,
configure the package as follows:

	(global-set-key (kbd "M-!") #'shell-command+)

A few examples of what `shell-command+' can do:

* Count all lines in a buffer, and display the result in the
  minibuffer:

  > wc -l

* Replace the current region (or buffer in no region is selected)
  with a directory listing of the parent directory.

  .. < ls -l

* Delete all instances of the charachters a, b, c, ..., z, in the
  selected region (or buffer, if no region was selected).

  | tr -d a-z

* Open a man-page using Emacs default man page viewer.
  `shell-command+' can be extended to use custom Elisp handlers via
  as specified in `shell-command+-substitute-alist'.

  man fprintf

See `shell-command+'s docstring for more details on how it's input
is interpreted.  See `shell-command+-features' if you want to
disable or add new features.

`shell-command+' was originally based on the command `bang' by Leah
Neukirchen (https://leahneukirchen.org/dotfiles/.emacs).

Old versions

shell-command+-3.0.0pre0.20220825.214308.tar.lz2022-Aug-2613.7 KiB
shell-command+-3.0.0pre0.20220825.143135.tar.lz2022-Aug-2513.7 KiB
shell-command+-3.0.0pre0.20220824.215013.tar.lz2022-Aug-257.30 KiB
shell-command+-3.0.0pre0.20220817.154709.tar.lz2022-Aug-177.31 KiB
shell-command+-3.0.0pre0.20220813.105019.tar.lz2022-Aug-137.06 KiB
shell-command+-2.4.2.0.20240801.143007.tar.lz2024-Aug-0117.7 KiB
shell-command+-2.3.2.0.20220726.91507.tar.lz2022-Jul-266.21 KiB
shell-command+-2.2.1.0.20211006.102226.tar.lz2021-Oct-065.67 KiB
shell-command+-2.1.0.0.20210418.211153.tar.lz2021-Apr-193.44 KiB
shell-command+-2.0.0.0.20200927.160257.tar.lz2020-Dec-143.32 KiB

News

Version 2.4.0 (???)

- Allow adding or removing features using
  `shell-command+-features'.
- Add `shell-command+-default-region' user option.
- Remove `shell-command+-use-eshell'.
- Deprecate `shell-command+-enable-file-substitution'.
- Minor bug fixes and stability improvements.

Thanks to Visuwesh for many productive discussions on the mailing
list:

- https://lists.sr.ht/~pkal/public-inbox/%3C87czduxwt4.fsf%40gmail.com%3E
- https://lists.sr.ht/~pkal/public-inbox/%3C878roixwds.fsf%40gmail.com%3E
- https://lists.sr.ht/~pkal/public-inbox/%3C87edxmakqq.fsf%40gmail.com%3E