dwim-shell-command
dwim-shell-command copied to clipboard
Emacs shell commands with DWIM behaviour
Consider the following defun: ```emacs-lisp (defun dwim-shell-command-thumbnail-with-ffmpeg () "Generate a thumbnail with ffmpeg." (interactive) (dwim-shell-command-on-marked-files "Thumbnail with ffmpeg" " ffmpeg -i '' -vf \"thumbnail,scale=640:360\" -frames:v 1 '/.png'" :utils "ffmpeg" :silent-success...
I just noticed how running `(dwim-shell-command)` from a buffer with custom margin set with something like `(set-window-margins nil 3 3)` gets the margin reset to nil due to the following...