I know I can set the EDITOR variable and edit my crontab with emacs but that requires starting the process from a shell with
$ crontab -e
My question is how can I directly modify my crontab if I'm inside of emacs already? I tried running starting up eshell and running crontab -e from there but the terminal complains:
$ crontab -e emacs: Terminal type "dumb" is not powerful enough to run Emacs. It lacks the ability to position the cursor. If that is not the actual type of terminal you have, use the Bourne shell command `TERM=... export TERM' (C-shell: `setenv TERM ...') to specify the correct type. It may be necessary to do `unset TERMINFO' (C-shell: `unsetenv TERMINFO') as well. /usr/bin/crontab: no changes made to crontab
If using crontab in eshell worked that would be a step in the right direction but it's still not exactly what I was hoping for. Attempts to execute crontab -e from within an M-x term buffer in emacs fail as well (at least on OpenBSD 5.6 with emacs 24.3.1). In the ideal case, there would be a crontab mode that allowed me to
that fires up a major mode and allowed me to do the usual stuff I do at the command line with crontab and have it all bound to keys. I figured for sure there'd be a mode or something for this but I haven't had much luck locating one.