Emacs: Quick way to collect references

| emacs
(defvar sacha/planner-collector-buffer nil "Buffer for collecting links.")
(defun sacha/planner-collect-reference ()
  (interactive)
  (let ((text (sacha/yank-blog-reference-for-summary)))
    (with-current-buffer sacha/planner-collector-buffer
      (insert text))))

(defun sacha/planner-collect-reference ()
  (interactive)
  (let ((text (buffer-substring (line-beginning-position)
                                (1+ (line-end-position)))))
    (with-current-buffer sacha/planner-collector-buffer
      (insert text))))

Random Emacs symbol: sgml-tag – Command: Prompt for a tag and insert it, optionally with attributes.

You can comment with Disqus or you can e-mail me at sacha@sachachua.com.