Tag Info

New answers tagged

0

Here's something that takes the current region and displays it in a new buffer with a timestamp: (defun date-stamp () (format-time-string " [%a %b %e %H:%M:%S %Z %Y]")) (defun extract-region (start end) (interactive "r") (setq sel (buffer-substring start end)) (switch-to-buffer-other-window (generate-new-buffer "*Command Output*")) (insert (concat ...



Top 50 recent answers are included