Sunday, 15 March 2015

emacs - function to call same shell command in dired -


I would like to be able to call the same shell command on files that were left without the need of eMACC command input As the input will always be the same. Specifically, the command is "open" (for Mac OS X).

I tried to tire-tired-do-shell-command function- in dux-aux.el but at the end of the interactive day.

I want to be able to force this function to tire-mode so that I do not need the Mac OS X Finder to navigate files and navigate files. open them. This will allow me to fully move into emacs.

Thank you.

 (defun direct-open (interactive) (Dior-do-async-shell-command " Open "OpenOffice-RG (Tire-Out-Mark-File-FilesTri-Prefix -RGR)) - 

Edit:

We safeguard existing window configurations To be able to use the save-window-excursion -map (KBD "co") via the output buffer's mess:

 (defun dired-open () (interactive) (Save-window-tour (dired-do-async-shell-command "open" current-prefix-arg (tired-min Cadence-marked-files present-prefix-RGR))) 

No comments:

Post a Comment