Commit 7ee68ed5 authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

* textmodes/remember.el (remember-region): Doc fix.

  (remember-filter-functions, remember-handler-functions)
  (remember-save-after-remembering, remember-mailbox)
  (remember-default-priority, remember-data-file, remember-leader-text)
  (remember-diary-file): Remove * from defcustom docstrings.
  (remember-run-all-annotation-functions-flag)
  (remember-all-handler-functions): Reflow docstrings.
  (remember-store-in-mailbox): Fix typo in docstring.
  (remember-mode): Define with `define-derived-mode'.  Doc fix.
parent fa40e633
2008-11-23 Juanma Barranquero <lekktu@gmail.com>
* textmodes/remember.el (remember-region): Doc fix.
(remember-filter-functions, remember-handler-functions)
(remember-save-after-remembering, remember-mailbox)
(remember-default-priority, remember-data-file, remember-leader-text)
(remember-diary-file): Remove * from defcustom docstrings.
(remember-run-all-annotation-functions-flag)
(remember-all-handler-functions): Reflow docstrings.
(remember-store-in-mailbox): Fix typo in docstring.
(remember-mode): Define with `define-derived-mode'. Doc fix.
2008-11-23 Glenn Morris <rgm@gnu.org> 2008-11-23 Glenn Morris <rgm@gnu.org>
   
* eshell/esh-cmd.el (eshell-in-pipeline-p): Add doc-string. * eshell/esh-cmd.el (eshell-in-pipeline-p): Add doc-string.
...@@ -8,13 +20,12 @@ ...@@ -8,13 +20,12 @@
* eshell/esh-proc.el (eshell-gather-process-output): * eshell/esh-proc.el (eshell-gather-process-output):
Set process-connection-type nil for all but the first element of a Set process-connection-type nil for all but the first element of a
pipeline. (Bug#1388) pipeline. (Bug#1388)
2008-11-22 Michael Kifer <kifer@cs.stonybrook.edu> 2008-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
* ediff-hook.el: added tooltips to Emacs menus. * ediff-hook.el: added tooltips to Emacs menus.
* ediff.el: changed date of last update. * ediff.el: changed date of last update.
   
2008-11-22 Juri Linkov <juri@jurta.org> 2008-11-22 Juri Linkov <juri@jurta.org>
   
......
...@@ -207,13 +207,13 @@ ...@@ -207,13 +207,13 @@
:group 'remember) :group 'remember)
(defcustom remember-filter-functions nil (defcustom remember-filter-functions nil
"*Functions run to filter remember data. "Functions run to filter remember data.
All functions are run in the remember buffer." All functions are run in the remember buffer."
:type 'hook :type 'hook
:group 'remember) :group 'remember)
(defcustom remember-handler-functions '(remember-append-to-file) (defcustom remember-handler-functions '(remember-append-to-file)
"*Functions run to process remember data. "Functions run to process remember data.
Each function is called with the current buffer narrowed to what the Each function is called with the current buffer narrowed to what the
user wants remembered. user wants remembered.
If any function returns non-nil, the data is assumed to have been If any function returns non-nil, the data is assumed to have been
...@@ -226,8 +226,7 @@ recorded somewhere by that function. " ...@@ -226,8 +226,7 @@ recorded somewhere by that function. "
:group 'remember) :group 'remember)
(defcustom remember-all-handler-functions nil (defcustom remember-all-handler-functions nil
"If non-nil every function in `remember-handler-functions' is "If non-nil every function in `remember-handler-functions' is called."
called."
:type 'boolean :type 'boolean
:group 'remember) :group 'remember)
...@@ -237,7 +236,7 @@ called." ...@@ -237,7 +236,7 @@ called."
"The name of the remember data entry buffer.") "The name of the remember data entry buffer.")
(defcustom remember-save-after-remembering t (defcustom remember-save-after-remembering t
"*Non-nil means automatically save after remembering." "Non-nil means automatically save after remembering."
:type 'boolean :type 'boolean
:group 'remember) :group 'remember)
...@@ -260,8 +259,7 @@ called." ...@@ -260,8 +259,7 @@ called."
:group 'remember) :group 'remember)
(defcustom remember-run-all-annotation-functions-flag nil (defcustom remember-run-all-annotation-functions-flag nil
"Non-nil means use all annotations returned by "Non-nil means use all annotations returned by `remember-annotation-functions'."
`remember-annotation-functions'."
:type 'boolean :type 'boolean
:group 'remember) :group 'remember)
...@@ -342,19 +340,19 @@ With a prefix or a visible region, use the region as INITIAL." ...@@ -342,19 +340,19 @@ With a prefix or a visible region, use the region as INITIAL."
;; Remembering to UNIX mailboxes ;; Remembering to UNIX mailboxes
(defcustom remember-mailbox "~/Mail/remember" (defcustom remember-mailbox "~/Mail/remember"
"*The file in which to store remember data as mail." "The file in which to store remember data as mail."
:type 'file :type 'file
:group 'remember) :group 'remember)
(defcustom remember-default-priority "medium" (defcustom remember-default-priority "medium"
"*The default priority for remembered mail messages." "The default priority for remembered mail messages."
:type 'string :type 'string
:group 'remember) :group 'remember)
(defun remember-store-in-mailbox () (defun remember-store-in-mailbox ()
"Store remember data as if it were incoming mail. "Store remember data as if it were incoming mail.
In which case `remember-mailbox' should be the name of the mailbox. In which case `remember-mailbox' should be the name of the mailbox.
Each piece of psuedo-mail created will have an `X-Todo-Priority' Each piece of pseudo-mail created will have an `X-Todo-Priority'
field, for the purpose of appropriate splitting." field, for the purpose of appropriate splitting."
(let ((who (read-string "Who is this item related to? ")) (let ((who (read-string "Who is this item related to? "))
(moment (moment
...@@ -391,12 +389,12 @@ Subject: %s\n\n" ...@@ -391,12 +389,12 @@ Subject: %s\n\n"
;; Remembering to plain files ;; Remembering to plain files
(defcustom remember-data-file (convert-standard-filename "~/.notes") (defcustom remember-data-file (convert-standard-filename "~/.notes")
"*The file in which to store unprocessed data." "The file in which to store unprocessed data."
:type 'file :type 'file
:group 'remember) :group 'remember)
(defcustom remember-leader-text "** " (defcustom remember-leader-text "** "
"*The text used to begin each remember item." "The text used to begin each remember item."
:type 'string :type 'string
:group 'remember) :group 'remember)
...@@ -426,7 +424,7 @@ that was entered. ...@@ -426,7 +424,7 @@ that was entered.
If BEG and END are nil, the entire buffer will be remembered. If BEG and END are nil, the entire buffer will be remembered.
If you want to remember a region, supply a universal prefix to If you want to remember a region, supply a universal prefix to
`remember' instead. For example: C-u M-x remember RET." `remember' instead. For example: \\[universal-argument] \\[remember] RET."
;; Sacha: I have no idea where remember.el gets this context information, but ;; Sacha: I have no idea where remember.el gets this context information, but
;; you can just use remember-annotation-functions. ;; you can just use remember-annotation-functions.
(interactive) (interactive)
...@@ -465,7 +463,7 @@ application." ...@@ -465,7 +463,7 @@ application."
;;; Diary integration ;;; Diary integration
(defcustom remember-diary-file nil (defcustom remember-diary-file nil
"*File for extracted diary entries. "File for extracted diary entries.
If this is nil, then `diary-file' will be used instead." If this is nil, then `diary-file' will be used instead."
:type 'file :type 'file
:group 'remember) :group 'remember)
...@@ -524,25 +522,18 @@ If this is nil, then `diary-file' will be used instead." ...@@ -524,25 +522,18 @@ If this is nil, then `diary-file' will be used instead."
(define-key map "\C-x\C-s" 'remember-finalize) (define-key map "\C-x\C-s" 'remember-finalize)
(define-key map "\C-c\C-c" 'remember-finalize) (define-key map "\C-c\C-c" 'remember-finalize)
(define-key map "\C-c\C-k" 'remember-destroy) (define-key map "\C-c\C-k" 'remember-destroy)
map) map)
"Keymap used in Remember mode.") "Keymap used in Remember mode.")
(defun remember-mode () (define-derived-mode remember-mode indented-text-mode "Remember"
"Major mode for output from \\[remember]. "Major mode for output from \\[remember].
This buffer is used to collect data that you want to remember. This buffer is used to collect data that you want to remember.
\\<remember-mode-map>
Just hit `C-c C-c' when you're done entering, and it will file Just hit \\[remember-finalize] when you're done entering, and it will file
the data away for latter retrieval, and possible indexing. the data away for latter retrieval, and possible indexing.
\\{remember-mode-map}" \\{remember-mode-map}"
(interactive) (set-keymap-parent remember-mode-map nil))
(kill-all-local-variables)
(indented-text-mode)
(use-local-map remember-mode-map)
(setq major-mode 'remember-mode
mode-name "Remember")
(run-hooks 'remember-mode-hook))
;; arch-tag: 59312a05-06c7-4da1-b6f7-5ea41c9d5577 ;; arch-tag: 59312a05-06c7-4da1-b6f7-5ea41c9d5577
;;; remember.el ends here ;;; remember.el ends here
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment