-->

1010/ap

Diary

testing integration with planner

__

complete remem buffer to kill ring code: 16:52 (tech_notes#3)

1) borrowed much from: http://www.jl42.de/linux/boxquote.el

  
(defun remem-to-kill ()
  (with-current-buffer "*remem-display*"
      (kill-ring-save (point-min) (point-max))))

(defun splice-buffer ()
  (save-excursion
    (setf (point) (point-min))
    (insert "\n<example>\n")
        (setf (point) (point-max))
	(insert "\n</example>")))

(defun remem-yank ()
  (interactive)
  (let ((target (current-buffer)))
    (with-temp-buffer
      (let ((source (current-buffer)))
        (yank)
        (splice-buffer)
        (with-current-buffer target
          (insert-buffer source))))))

(defun remem-append ()
  "remem-display buffer is appended to buffer with correct example tags"
  (interactive)
  (save-excursion
    (remem-to-kill)
    (goto-char (point-max))
        (remem-yank)))

example appended

2) planner-calendar-diary integration

from looking at planner-diary.el

M-x planner-diary-insert-diary - if we are on day page puts diary entry at top of page for day as we can see

planner-calendar-goto - takes us in calendar buffer to planner page entry for day

planner-calendar-show - ???? doesn't seem show entry

/root/elisp/snuff.el

1  +  newlife      Server-Command-Refer                    Server-Comman buffer, complete, target, source, code             
2  +  newlife      debug.lisp                              debug.lisp    buffer, appended, complete, correct, code          
3  +  ring.jl                                                            ring.jl                                            
4  +  newlife      MPEGring.h                              MPEGring.h    buffer, ring, code                                 
5     newlife      rtsp_resp.c                             rtsp_resp.c   buffer, correct, complete, appended, code          
6     newlife      graphics.lsp                            graphics.lsp  buffer, appended, complete                         
7  +  root         w3.txi                                  w3.txi        buffer, kill, source, ring, tags                   
8  +  root         w3.info                                 w3.info       buffer, kill, source, ring, tags                   
9  +               kotl-mode.el                            kotl-mode.el  buffer, kill, ring, appended, correct              
10 +  root         comint.el                               comint.el     buffer, ring, kill, complete, code                 
11 +  root         comint.el                               comint.el     buffer, ring, kill, complete, code                 
12 +               hyperbole.info-3                        hyperbole.inf buffer, ring, kill, appended, code