In emacs I always have the need to run a command to validate the file.
I want to run a shell command against the file I am editing in the buffer how should I do that ?
the shell command ( I wrote using python ) only accept file names as argument. so probably two solutions:
- how do I pass the file-name in the mini-buffer to the command ?
- how do I change the script so that it can accept the buffer region as input?