Nick Bell <m...@nickbell.org> writes:
> It there any way I can confirm all deletions of significant amounts of
> data?
>
> I've  tried wimpy-del.el <http://www.emacswiki.org/emacs/wimpy-del.el>
> but,  although  it  seems  to  work when  called  directly  (e.g.  M-x
> kill-region-wimpy)  it  doesn't intercept  all  other functions  which
> might cause data deletion.

Re-bind keys like C-w et al in org-mode-hook?


Untested:


(defun org/wimpy-kill-setup ()
  "Re-bind keys, that remove a significant amount of data."
  (define-key org-mode-map [(control ?w)] 'kill-region-wimpy)
  ;; ...
)

(add-hook 'org-mode-hook 'org-/wimpy-kill-setup)



  Sebastian


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to