https://github.com/runekaagaard/emacs-transform
https://github.com/runekaagaard/emacs-transform
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/runekaagaard/emacs-transform
- Owner: runekaagaard
- License: gpl-3.0
- Created: 2016-08-09T18:30:48.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-08-09T20:35:18.000Z (over 9 years ago)
- Last Synced: 2025-05-19T03:09:44.354Z (9 months ago)
- Language: Emacs Lisp
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Welcome to transform.el
transform.el lets you write a script in any language that transforms the currently selected region. The workflow is:
1. Mark the region you want to work on and run `M-x transform-start`.
2. A new buffer is opened in transform-mode with the content of the active region in it's `#input...#endinput` block.
3. Create your transformation in the `#transform...#endtransform` block. Use shebang to specify the interpreter and access the input via stdin.
4. Test your transformation with `transform-run` (C-c C-r) and see the result in the `#output...#endoutput` block.
5. When you are satisfied with the transformation execute `transform-confirm` (C-c C-c) to replace the original region with the output of the transformation.
# Todo
* Screenshots
* Docs