Update source file encoding list
Update admin/notes/unicode, along with coding system cookies in
other files, so that the two match each other better.
* admin/notes/unicode: lisp/language/ethio-util.el and
lisp/language/ethiopic.el also use utf-8-emacs.
* admin/notes/hydra, doc/misc/dbus.texi, doc/misc/org.texi:
* doc/misc/remember.texi, etc/refcards/cs-dired-ref.tex:
* etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
* etc/refcards/sk-dired-ref.tex, etc/refcards/sk-refcard.tex:
* etc/refcards/sk-survival.tex:
Add "coding: utf-8" so that this file is not mishandled in a
Latin-1 or Big-5 locale.
* lisp/international/robin.el, lisp/org/ox-ascii.el:
Specify utf-8, not utf-8-emacs, as these are plain UTF-8 files.
* lisp/language/ethio-util.el: Fix trailer.
2015-04-28 10:51:21 -07:00
|
|
|
\input texinfo @c -*- mode: texinfo; coding: utf-8 -*-
|
2007-10-30 01:39:14 +00:00
|
|
|
@c %**start of header
|
2014-06-09 22:20:31 -04:00
|
|
|
@setfilename ../../info/remember.info
|
2007-10-30 01:39:14 +00:00
|
|
|
@settitle Remember Manual
|
Fix single-quoting style in PDF manuals
The PDF versions of the GNU manuals used curved single quotes to
represent grave accent and apostrophe, which made it a pain to cut
and paste code examples from them. Fix the PDF versions to use
grave accent and apostrophe for Lisp source code, keystrokes, etc.
This change does not affect the info files, nor does it affect
ordinary uses of curved single quotes in PDF.
* doc/emacs/docstyle.texi: New file, which specifies treatment for
grave accent and apostrophe, as well as the document encoding.
* doc/emacs/emacs-xtra.texi, doc/emacs/emacs.texi:
* doc/lispintro/emacs-lisp-intro.texi:
* doc/lispref/back.texi, doc/lispref/book-spine.texi:
* doc/lispref/elisp.texi, doc/lispref/lay-flat.texi:
* doc/misc/ada-mode.texi, doc/misc/auth.texi:
* doc/misc/autotype.texi, doc/misc/bovine.texi, doc/misc/calc.texi:
* doc/misc/cc-mode.texi, doc/misc/cl.texi, doc/misc/dbus.texi:
* doc/misc/dired-x.texi, doc/misc/ebrowse.texi, doc/misc/ede.texi:
* doc/misc/ediff.texi, doc/misc/edt.texi, doc/misc/efaq-w32.texi:
* doc/misc/efaq.texi, doc/misc/eieio.texi, doc/misc/emacs-gnutls.texi:
* doc/misc/emacs-mime.texi, doc/misc/epa.texi, doc/misc/erc.texi:
* doc/misc/ert.texi, doc/misc/eshell.texi, doc/misc/eudc.texi:
* doc/misc/eww.texi, doc/misc/flymake.texi, doc/misc/forms.texi:
* doc/misc/gnus-coding.texi, doc/misc/gnus-faq.texi:
* doc/misc/gnus.texi, doc/misc/htmlfontify.texi:
* doc/misc/idlwave.texi, doc/misc/ido.texi, doc/misc/info.texi:
* doc/misc/mairix-el.texi, doc/misc/message.texi, doc/misc/mh-e.texi:
* doc/misc/newsticker.texi, doc/misc/nxml-mode.texi:
* doc/misc/octave-mode.texi, doc/misc/org.texi, doc/misc/pcl-cvs.texi:
* doc/misc/pgg.texi, doc/misc/rcirc.texi, doc/misc/reftex.texi:
* doc/misc/remember.texi, doc/misc/sasl.texi, doc/misc/sc.texi:
* doc/misc/semantic.texi, doc/misc/ses.texi, doc/misc/sieve.texi:
* doc/misc/smtpmail.texi, doc/misc/speedbar.texi:
* doc/misc/srecode.texi, doc/misc/todo-mode.texi, doc/misc/tramp.texi:
* doc/misc/url.texi, doc/misc/vhdl-mode.texi, doc/misc/vip.texi:
* doc/misc/viper.texi, doc/misc/widget.texi, doc/misc/wisent.texi:
* doc/misc/woman.texi:
Use it instead of '@documentencoding UTF-8', to lessen the need for
global changes like this in the future.
* doc/emacs/Makefile.in (EMACS_XTRA):
* doc/lispintro/Makefile.in (srcs):
* doc/lispref/Makefile.in (srcs):
Add dependency on docstyle.texi.
* doc/misc/Makefile.in (style): New macro.
(${buildinfodir}/%.info, %.dvi, %.pdf, %.html)
(${buildinfodir}/ccmode.info, ${buildinfodir}/efaq%.info, gnus_deps):
Use it.
2015-05-01 12:05:53 -07:00
|
|
|
@include docstyle.texi
|
2007-10-30 01:39:14 +00:00
|
|
|
@syncodeindex fn cp
|
2009-02-16 17:41:58 +00:00
|
|
|
@c %**end of header
|
2007-10-30 01:39:14 +00:00
|
|
|
|
|
|
|
@copying
|
2014-02-18 00:09:51 -08:00
|
|
|
This manual is for Remember Mode, version 2.0
|
2007-10-30 01:39:14 +00:00
|
|
|
|
2020-01-01 00:19:43 +00:00
|
|
|
Copyright @copyright{} 2001, 2004--2005, 2007--2020 Free Software
|
|
|
|
Foundation, Inc.
|
2007-10-30 01:39:14 +00:00
|
|
|
|
|
|
|
@quotation
|
|
|
|
Permission is granted to copy, distribute and/or modify this document
|
2008-11-19 04:29:29 +00:00
|
|
|
under the terms of the GNU Free Documentation License, Version 1.3 or
|
|
|
|
any later version published by the Free Software Foundation; with no
|
2014-05-07 13:34:53 -04:00
|
|
|
Invariant Sections, with the Front-Cover Texts being ``A GNU Manual'',
|
2008-06-16 01:57:42 +00:00
|
|
|
and with the Back-Cover Texts as in (a) below. A copy of the license
|
|
|
|
is included in the section entitled ``GNU Free Documentation License''.
|
|
|
|
|
|
|
|
(a) The FSF's Back-Cover Text is: ``You have the freedom to copy and
|
2012-12-21 10:36:41 -08:00
|
|
|
modify this GNU manual.''
|
2007-10-30 01:39:14 +00:00
|
|
|
@end quotation
|
|
|
|
@end copying
|
|
|
|
|
2011-02-18 15:57:53 +02:00
|
|
|
@dircategory Emacs misc features
|
2009-02-16 17:41:58 +00:00
|
|
|
@direntry
|
Minor doc/misc/*.texi direntry fixes.
* ada-mode.texi, auth.texi, autotype.texi, calc.texi, cc-mode.texi:
* dired-x.texi, ebrowse.texi, ede.texi, edt.texi, eieio.texi:
* emacs-mime.texi, epa.texi, erc.texi, eshell.texi, eudc.texi:
* flymake.texi, gnus.texi, info.texi, mairix-el.texi, message.texi:
* newsticker.texi, org.texi, pgg.texi, rcirc.texi, reftex.texi:
* remember.texi, sasl.texi, semantic.texi, ses.texi, smtpmail.texi:
* speedbar.texi, tramp.texi, url.texi, viper.texi, widget.texi:
* woman.texi:
Start direntry descriptions in column 32, per Texinfo convention.
Make them end with a period.
2010-06-24 00:10:51 -07:00
|
|
|
* Remember: (remember). Simple information manager for Emacs.
|
2009-02-16 17:41:58 +00:00
|
|
|
@end direntry
|
|
|
|
|
2007-10-30 01:39:14 +00:00
|
|
|
@titlepage
|
|
|
|
@title Guide to Remember Mode
|
|
|
|
@subtitle a simple information manager
|
2019-10-17 13:56:42 +02:00
|
|
|
@subtitle for Emacs
|
2007-10-30 01:39:14 +00:00
|
|
|
|
|
|
|
@c The following two commands
|
|
|
|
@c start the copyright page.
|
|
|
|
@page
|
|
|
|
@vskip 0pt plus 1filll
|
|
|
|
@insertcopying
|
|
|
|
@end titlepage
|
|
|
|
|
|
|
|
@contents
|
|
|
|
|
|
|
|
@ifnottex
|
2012-12-22 11:49:54 -08:00
|
|
|
@node Top
|
2007-10-30 01:39:14 +00:00
|
|
|
@top Remember
|
|
|
|
|
|
|
|
@insertcopying
|
|
|
|
@end ifnottex
|
|
|
|
|
|
|
|
@menu
|
|
|
|
* Preface:: About the documentation.
|
|
|
|
* Introduction:: What is Remember Mode?
|
|
|
|
* Implementation:: How Remember came into existence.
|
|
|
|
* Quick Start:: Get started using Remember.
|
|
|
|
* Function Reference:: Interactive functions in remember.el.
|
2007-10-30 01:53:49 +00:00
|
|
|
* Keystrokes:: Keystrokes bound in Remember Mode.
|
|
|
|
* Backends:: Backends for saving notes.
|
2007-10-30 01:39:14 +00:00
|
|
|
* GNU Free Documentation License:: The license for this documentation.
|
|
|
|
* Concept Index:: Search for terms.
|
|
|
|
|
|
|
|
@detailmenu
|
|
|
|
--- The Detailed Node Listing ---
|
|
|
|
|
|
|
|
Backends
|
|
|
|
|
|
|
|
* Text File:: Saving to a text file.
|
2014-02-18 00:09:51 -08:00
|
|
|
* Separate Text Files:: Saving to separate text files.
|
2007-10-30 13:57:17 +00:00
|
|
|
* Diary:: Saving to a Diary file.
|
2007-10-30 01:39:14 +00:00
|
|
|
* Mailbox:: Saving to a mailbox.
|
2007-10-30 13:57:17 +00:00
|
|
|
* Org:: Saving to an Org Mode file.
|
2007-10-30 01:39:14 +00:00
|
|
|
|
|
|
|
@end detailmenu
|
|
|
|
@end menu
|
|
|
|
|
2012-12-22 11:49:54 -08:00
|
|
|
@node Preface
|
2007-10-30 01:39:14 +00:00
|
|
|
@chapter Preface
|
|
|
|
|
2014-02-23 07:14:49 +08:00
|
|
|
This document describes remember.el, which was written by John Wiegley,
|
2007-10-30 01:39:14 +00:00
|
|
|
was once maintained by Sacha Chua, and is now maintained by the Emacs
|
|
|
|
developers.
|
|
|
|
|
|
|
|
This document is a work in progress, and your contribution will be
|
|
|
|
greatly appreciated.
|
|
|
|
|
2012-12-22 11:49:54 -08:00
|
|
|
@node Introduction
|
2007-10-30 01:39:14 +00:00
|
|
|
@chapter Introduction
|
|
|
|
|
|
|
|
Todo lists, schedules, phone databases... everything we use databases
|
|
|
|
for is really just a way to extend the power of our memory, to be able
|
|
|
|
to remember what our conscious mind may not currently have access to.
|
|
|
|
|
2007-10-30 12:36:46 +00:00
|
|
|
There are many different databases out there---and good ones---which
|
|
|
|
this mode is not trying to replace. Rather, it's how that data gets
|
|
|
|
there that's the question. Most of the time, we just want to say
|
2014-02-19 00:34:45 -08:00
|
|
|
``Remember so-and-so's phone number, or that I have to buy dinner for the
|
|
|
|
cats tonight.'' That's the FACT@. How it's stored is really the
|
2007-10-30 12:36:46 +00:00
|
|
|
computer's problem. But at this point in time, it's most definitely
|
|
|
|
also the user's problem, and sometimes so laboriously so that people
|
|
|
|
just let data slip, rather than expend the effort to record it.
|
2007-10-30 01:39:14 +00:00
|
|
|
|
|
|
|
``Remember'' is a mode for remembering data. It uses whatever
|
|
|
|
back-end is appropriate to record and correlate the data, but its main
|
|
|
|
intention is to allow you to express as @emph{little} structure as
|
|
|
|
possible up front. If you later want to express more powerful
|
|
|
|
relationships between your data, or state assumptions that were at
|
|
|
|
first too implicit to be recognized, you can ``study'' the data later
|
|
|
|
and rearrange it. But the initial ``just remember this'' impulse
|
|
|
|
should be as close to simply throwing the data at Emacs as possible.
|
|
|
|
|
|
|
|
Have you ever noticed that having a laptop to write on doesn't
|
|
|
|
@emph{actually} increase the amount of quality material that you turn
|
|
|
|
out, in the long run? Perhaps it's because the time we save
|
|
|
|
electronically in one way, we're losing electronically in another; the
|
2015-04-11 07:47:25 -07:00
|
|
|
tool should never dominate one's focus. As the mystic Farīd ud-Dīn
|
|
|
|
ʿAṭṭār wrote: ``Be occupied as little as possible with things of the
|
2007-10-30 01:39:14 +00:00
|
|
|
outer world but much with things of the inner world; then right action
|
|
|
|
will overcome inaction.''
|
|
|
|
|
|
|
|
If Emacs could become a more intelligent data store, where brainstorming
|
|
|
|
would focus on the @emph{ideas} involved---rather than the structuring
|
|
|
|
and format of those ideas, or having to stop your current flow of work
|
|
|
|
in order to record them---it would map much more closely to how the mind
|
|
|
|
(well, at least mine) works, and hence would eliminate that very
|
|
|
|
manual-ness which computers from the very beginning have been championed
|
|
|
|
as being able to reduce.
|
|
|
|
|
2012-12-22 11:49:54 -08:00
|
|
|
@node Implementation
|
2007-10-30 01:39:14 +00:00
|
|
|
@chapter Implementation
|
|
|
|
|
|
|
|
Hyperbole, as a data presentation tool, always struck me as being very
|
|
|
|
powerful, but it seemed to require a lot of ``front-end'' work before
|
|
|
|
that data was really available. The problem with BBDB, or keeping up
|
|
|
|
a Bibl-mode file, is that you have to use different functions to
|
|
|
|
record the data, and it always takes time to stop what you're doing,
|
|
|
|
format the data in the manner expected by that particular data
|
|
|
|
interface, and then resume your work.
|
|
|
|
|
|
|
|
With ``remember'', you just hit @kbd{M-x remember} (you'd probably
|
|
|
|
want to bind this to an easily accessible keystroke, like @kbd{C-x
|
|
|
|
M-r}), slam in your text however you like, and then hit @kbd{C-c C-c}.
|
|
|
|
It will file the data away for later retrieval, and possibly indexing.
|
|
|
|
|
2007-10-30 13:57:17 +00:00
|
|
|
Indexing is to data what ``studying'' is in the real world. What you do
|
|
|
|
when you study (or lucubrate, for some of us) is to realize certain
|
2007-10-30 01:39:14 +00:00
|
|
|
relationships implicit in the data, so that you can make use of those
|
|
|
|
relationships. Expressing that a certain quote you remembered was a
|
2007-10-30 13:57:17 +00:00
|
|
|
literary quote, and that you want the ability to pull up all quotes of a
|
|
|
|
literary nature, is what studying does. This is a more labor intensive
|
|
|
|
task than the original remembering of the data, and it's typical in real
|
|
|
|
life to set aside a special period of time for doing this work.
|
2007-10-30 01:39:14 +00:00
|
|
|
|
|
|
|
``Remember'' works in the same way. When you enter data, either by
|
|
|
|
typing it into a buffer, or using the contents of the selected region,
|
|
|
|
it will store that data---unindexed, uninterpreted---in a data pool.
|
|
|
|
It will also try to remember as much context information as possible
|
|
|
|
(any text properties that were set, where you copied it from, when,
|
2013-02-12 09:36:54 -08:00
|
|
|
how, etc.). Later, you can walk through your accumulated set of data
|
2007-10-30 01:39:14 +00:00
|
|
|
(both organized, and unorganized) and easily begin moving things
|
|
|
|
around, and making annotations that will express the full meaning of
|
|
|
|
that data, as far as you know it.
|
|
|
|
|
|
|
|
Obviously this latter stage is more user-interface intensive, and it
|
|
|
|
would be nice if ``remember'' could do it as elegantly as possible,
|
|
|
|
rather than requiring a billion keystrokes to reorganize your
|
|
|
|
hierarchy. Well, as the future arrives, hopefully experience and user
|
|
|
|
feedback will help to make this as intuitive a tool as possible.
|
|
|
|
|
2012-12-22 11:49:54 -08:00
|
|
|
@node Quick Start
|
2007-10-30 01:39:14 +00:00
|
|
|
@chapter Quick Start
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
|
|
|
@item
|
2014-02-19 00:34:45 -08:00
|
|
|
Type @kbd{M-x remember}. The @file{*Remember*} buffer should be
|
2007-10-30 01:39:14 +00:00
|
|
|
displayed.
|
|
|
|
|
|
|
|
@item
|
2014-02-18 00:09:51 -08:00
|
|
|
Type in what you want to remember. The first line will be treated as
|
2007-10-30 01:39:14 +00:00
|
|
|
the headline, and the rest of the buffer will contain the body of the
|
|
|
|
note.
|
|
|
|
|
|
|
|
@item
|
2007-11-03 20:45:20 +00:00
|
|
|
Type @kbd{C-c C-c} (@code{remember-finalize}) to save the note and close
|
2014-02-19 00:34:45 -08:00
|
|
|
the @file{*Remember*} buffer.
|
2007-10-30 01:39:14 +00:00
|
|
|
@end itemize
|
|
|
|
|
2014-01-26 18:02:28 -08:00
|
|
|
By default, @code{remember-finalize} saves the note in @file{~/emacs.d/notes}.
|
2014-02-18 00:09:51 -08:00
|
|
|
You can edit it now to see the remembered and timestamped note. You
|
|
|
|
can edit this file however you want. New entries will always be added
|
2007-10-30 01:39:14 +00:00
|
|
|
to the end.
|
|
|
|
|
2014-02-18 00:09:51 -08:00
|
|
|
To remember a region of text, use the universal prefix. @kbd{C-u M-x
|
2014-02-19 00:34:45 -08:00
|
|
|
remember} displays a @file{*Remember*} buffer with the region as the
|
2007-10-30 01:39:14 +00:00
|
|
|
initial contents.
|
|
|
|
|
|
|
|
As a simple beginning, you can start by using the Text File backend,
|
2014-01-26 18:02:28 -08:00
|
|
|
keeping your @file{~/.emacs.d/notes} file in outline-mode format, with a final
|
2014-02-18 00:09:51 -08:00
|
|
|
entry called @samp{* Raw data}. Remembered data will be added to the
|
|
|
|
end of the file. Every so often, you can move the data that gets
|
2007-10-30 01:39:14 +00:00
|
|
|
appended there into other files, or reorganize your document.
|
|
|
|
|
2014-02-19 00:34:45 -08:00
|
|
|
You can also store remembered data in other backends. @xref{Backends}.
|
2007-10-30 01:39:14 +00:00
|
|
|
|
2014-02-23 07:14:49 +08:00
|
|
|
Here is one way to map the remember functions in your init file
|
|
|
|
(@pxref{Init File, , The Emacs Initialization File, emacs, GNU Emacs
|
|
|
|
Manual}) to very accessible keystrokes facilities using the mode:
|
2007-10-30 01:39:14 +00:00
|
|
|
|
|
|
|
@lisp
|
|
|
|
(define-key global-map (kbd "<f9> r") 'remember)
|
|
|
|
(define-key global-map (kbd "<f9> R") 'remember-region)
|
|
|
|
@end lisp
|
|
|
|
|
2014-02-23 07:14:49 +08:00
|
|
|
@cindex annotation
|
2007-10-30 01:39:14 +00:00
|
|
|
By default, remember uses the first annotation returned by
|
2014-02-18 00:09:51 -08:00
|
|
|
@code{remember-annotation-functions}. To include all of the annotations,
|
2014-02-19 00:34:45 -08:00
|
|
|
set @code{remember-run-all-annotation-functions-flag} to a
|
|
|
|
non-@code{nil} value.
|
2007-10-30 01:39:14 +00:00
|
|
|
|
|
|
|
@defopt remember-run-all-annotation-functions-flag
|
2014-02-19 00:34:45 -08:00
|
|
|
Non-@code{nil} means use all annotations returned by
|
2007-10-30 01:39:14 +00:00
|
|
|
@code{remember-annotation-functions}.
|
|
|
|
@end defopt
|
|
|
|
|
|
|
|
You can write custom functions that use a different set of
|
2014-02-18 00:09:51 -08:00
|
|
|
remember-annotation-functions. For example:
|
2007-10-30 01:39:14 +00:00
|
|
|
|
|
|
|
@lisp
|
|
|
|
(defun my/remember-with-filename ()
|
|
|
|
"Always use the filename."
|
|
|
|
(interactive)
|
|
|
|
(let ((remember-annotation-functions '(buffer-file-name)))
|
|
|
|
(call-interactively 'remember)))
|
|
|
|
@end lisp
|
|
|
|
|
2014-02-19 00:34:45 -08:00
|
|
|
@cindex notes
|
|
|
|
The @code{remember-notes} command creates a @dfn{notes} buffer that
|
|
|
|
visits the file specified by the option @code{remember-data-file}.
|
|
|
|
The option @code{remember-notes-buffer-name} specifies the name of the
|
|
|
|
buffer. The buffer uses @code{remember-notes-initial-major-mode} and
|
|
|
|
@code{remember-notes-mode} minor mode. Use @kbd{C-c C-c} to save
|
|
|
|
and bury the buffer. The command @code{save-some-buffers} saves this
|
|
|
|
buffer without asking. This function is a suitable setting for
|
|
|
|
@code{initial-buffer-choice}.
|
|
|
|
|
|
|
|
|
2012-12-22 11:49:54 -08:00
|
|
|
@node Function Reference
|
2007-10-30 01:53:49 +00:00
|
|
|
@chapter Function Reference
|
|
|
|
|
|
|
|
@file{remember.el} defines the following interactive functions:
|
|
|
|
|
2014-02-19 00:34:45 -08:00
|
|
|
@defun remember &optional initial
|
2014-02-18 00:09:51 -08:00
|
|
|
Remember an arbitrary piece of data. With a prefix, it will use the
|
2007-10-30 01:53:49 +00:00
|
|
|
region as @var{initial}.
|
|
|
|
@end defun
|
|
|
|
|
2014-02-19 00:34:45 -08:00
|
|
|
@defun remember-other-frame &optional initial
|
|
|
|
Like @code{remember}, but uses a new frame.
|
|
|
|
@end defun
|
|
|
|
|
|
|
|
@defun remember-region &optional beg end
|
2007-10-30 01:53:49 +00:00
|
|
|
If called from within the remember buffer, @var{beg} and @var{end} are
|
|
|
|
ignored, and the entire buffer will be remembered. If called from any
|
|
|
|
other buffer, that region, plus any context information specific to
|
|
|
|
that region, will be remembered.
|
|
|
|
@end defun
|
|
|
|
|
|
|
|
@defun remember-clipboard
|
|
|
|
Remember the contents of the current clipboard. This is most useful
|
2015-03-24 23:28:58 -07:00
|
|
|
for remembering things from a web browser or other X Windows applications.
|
2007-10-30 01:53:49 +00:00
|
|
|
@end defun
|
|
|
|
|
2007-11-03 20:45:20 +00:00
|
|
|
@defun remember-finalize
|
2007-10-30 01:53:49 +00:00
|
|
|
Remember the contents of the current buffer.
|
|
|
|
@end defun
|
|
|
|
|
2014-02-19 00:34:45 -08:00
|
|
|
@defun remember-destroy
|
|
|
|
Destroy the current remember buffer.
|
|
|
|
@end defun
|
|
|
|
|
2007-10-30 01:53:49 +00:00
|
|
|
@defun remember-mode
|
2014-02-23 07:14:49 +08:00
|
|
|
This enters the major mode (@pxref{Major Modes, , Major Modes, emacs,
|
|
|
|
GNU Emacs Manual}) for output from @code{remember}. This buffer is
|
|
|
|
used to collect data that you want remember. Just hit @kbd{C-c C-c}
|
|
|
|
when you're done entering, and it will go ahead and file the data for
|
|
|
|
latter retrieval, and possible indexing.
|
2007-10-30 01:53:49 +00:00
|
|
|
@end defun
|
|
|
|
|
2014-02-19 00:34:45 -08:00
|
|
|
@defun remember-notes &optional switch-to
|
|
|
|
This returns the notes buffer, creating it if needed, and switches
|
|
|
|
to it if called interactively (or if @var{switch-to} is non-@code{nil}).
|
|
|
|
The notes buffer visits @code{remember-data-file}, and
|
|
|
|
is named @code{remember-notes-buffer-name}. It uses
|
|
|
|
@code{remember-notes-initial-major-mode} and @code{remember-notes-mode}
|
|
|
|
minor mode.
|
|
|
|
@end defun
|
|
|
|
|
|
|
|
@defun remember-notes-mode &optional arg
|
|
|
|
This is a minor mode for the notes buffer. It sets
|
|
|
|
@code{buffer-save-without-query} so that @code{save-some-buffers} will
|
|
|
|
save the notes buffer without asking. Use @kbd{C-c C-c} to
|
|
|
|
run the command @code{remember-notes-save-and-bury-buffer}.
|
|
|
|
@end defun
|
|
|
|
|
|
|
|
@defun remember-notes-save-and-bury-buffer
|
|
|
|
Save (if it is modified) and bury the current buffer.
|
|
|
|
@end defun
|
|
|
|
|
2012-12-22 11:49:54 -08:00
|
|
|
@node Keystrokes
|
2007-10-30 01:53:49 +00:00
|
|
|
@chapter Keystroke Reference
|
|
|
|
|
|
|
|
@file{remember.el} defines the following keybindings by default:
|
|
|
|
|
|
|
|
@table @kbd
|
|
|
|
|
2014-02-19 00:34:45 -08:00
|
|
|
@item C-c C-c
|
|
|
|
@itemx C-x C-s
|
2015-04-11 07:47:25 -07:00
|
|
|
Remember the contents of the current buffer (@code{remember-finalize}).
|
2007-10-30 01:53:49 +00:00
|
|
|
|
2014-02-19 00:34:45 -08:00
|
|
|
@item C-c C-k
|
2015-04-11 07:47:25 -07:00
|
|
|
Destroy the current @file{*Remember*} buffer (@code{remember-destroy}).
|
2007-10-30 01:53:49 +00:00
|
|
|
|
|
|
|
@end table
|
|
|
|
|
2012-12-22 11:49:54 -08:00
|
|
|
@node Backends
|
2007-10-30 01:39:14 +00:00
|
|
|
@chapter Backends
|
|
|
|
|
|
|
|
You can save remembered notes to a variety of backends.
|
|
|
|
|
|
|
|
@menu
|
|
|
|
* Text File:: Saving to a text file.
|
2014-02-18 00:09:51 -08:00
|
|
|
* Separate Text Files:: Saving to separate text files.
|
2007-10-30 13:57:17 +00:00
|
|
|
* Diary:: Saving to a Diary file.
|
2007-10-30 01:39:14 +00:00
|
|
|
* Mailbox:: Saving to a mailbox.
|
2007-10-30 13:57:17 +00:00
|
|
|
* Org:: Saving to an Org Mode file.
|
2007-10-30 01:39:14 +00:00
|
|
|
@end menu
|
|
|
|
|
2012-12-22 11:49:54 -08:00
|
|
|
@node Text File
|
2007-10-30 01:39:14 +00:00
|
|
|
@section Saving to a Text File
|
2007-10-30 13:57:17 +00:00
|
|
|
@cindex text file, saving to
|
2007-10-30 01:39:14 +00:00
|
|
|
|
2007-10-30 13:57:17 +00:00
|
|
|
@subheading Insinuation
|
2007-10-30 01:39:14 +00:00
|
|
|
|
|
|
|
@lisp
|
|
|
|
(setq remember-handler-functions '(remember-append-to-file))
|
|
|
|
@end lisp
|
|
|
|
|
2007-10-30 13:57:17 +00:00
|
|
|
@subheading Options
|
|
|
|
|
2007-10-30 01:39:14 +00:00
|
|
|
@defopt remember-data-file
|
2007-10-30 13:57:17 +00:00
|
|
|
The file in which to store unprocessed data.
|
2007-10-30 01:39:14 +00:00
|
|
|
@end defopt
|
|
|
|
|
|
|
|
@defopt remember-leader-text
|
2007-10-30 13:57:17 +00:00
|
|
|
The text used to begin each remember item.
|
2007-10-30 01:39:14 +00:00
|
|
|
@end defopt
|
|
|
|
|
2014-02-18 00:09:51 -08:00
|
|
|
|
|
|
|
@node Separate Text Files
|
|
|
|
@section Saving to Separate Text Files
|
|
|
|
@cindex text files, saving to separate
|
|
|
|
|
|
|
|
@subheading Insinuation
|
|
|
|
|
|
|
|
@lisp
|
|
|
|
(setq remember-handler-functions '(remember-store-in-files))
|
|
|
|
@end lisp
|
|
|
|
|
|
|
|
@subheading Options
|
|
|
|
|
|
|
|
@defopt remember-data-directory
|
|
|
|
The directory in which to store remember data as files.
|
|
|
|
@end defopt
|
|
|
|
|
|
|
|
@defopt remember-directory-file-name-format
|
|
|
|
A format string to use for naming files in the remember directory.
|
|
|
|
File names are formed by calling @code{format-time-string} at the time
|
|
|
|
of saving, using this format string.
|
|
|
|
@end defopt
|
|
|
|
|
|
|
|
|
2012-12-22 11:49:54 -08:00
|
|
|
@node Diary
|
2007-10-30 13:57:17 +00:00
|
|
|
@section Saving to a Diary file
|
|
|
|
@cindex diary, integration
|
2007-10-30 01:39:14 +00:00
|
|
|
|
2007-10-30 13:57:17 +00:00
|
|
|
@subheading Insinuation
|
2007-10-30 01:39:14 +00:00
|
|
|
|
|
|
|
@lisp
|
2007-10-30 13:57:17 +00:00
|
|
|
(add-to-list 'remember-handler-functions 'remember-diary-extract-entries)
|
2007-10-30 01:39:14 +00:00
|
|
|
@end lisp
|
|
|
|
|
2007-10-30 13:57:17 +00:00
|
|
|
@subheading Options
|
2007-10-30 01:39:14 +00:00
|
|
|
|
2007-10-30 13:57:17 +00:00
|
|
|
@defopt remember-diary-file
|
|
|
|
File for extracted diary entries.
|
2014-02-19 00:34:45 -08:00
|
|
|
If this is @code{nil}, then @code{diary-file} will be used instead.
|
2007-10-30 13:57:17 +00:00
|
|
|
@end defopt
|
2007-10-30 01:39:14 +00:00
|
|
|
|
2012-12-22 11:49:54 -08:00
|
|
|
@node Mailbox
|
2007-10-30 13:57:17 +00:00
|
|
|
@section Saving to a Mailbox
|
|
|
|
@cindex mailbox, saving to
|
2007-10-30 01:39:14 +00:00
|
|
|
|
2007-10-30 13:57:17 +00:00
|
|
|
@subheading Insinuation
|
2007-10-30 01:39:14 +00:00
|
|
|
|
|
|
|
@lisp
|
2007-10-30 13:57:17 +00:00
|
|
|
(add-to-list 'remember-handler-functions 'remember-store-in-mailbox)
|
2007-10-30 01:39:14 +00:00
|
|
|
@end lisp
|
|
|
|
|
2007-10-30 13:57:17 +00:00
|
|
|
@subheading Options
|
2007-10-30 01:39:14 +00:00
|
|
|
|
2007-10-30 13:57:17 +00:00
|
|
|
@defopt remember-mailbox
|
|
|
|
The file in which to store remember data as mail.
|
2007-10-30 01:39:14 +00:00
|
|
|
@end defopt
|
|
|
|
|
2007-10-30 13:57:17 +00:00
|
|
|
@defopt remember-default-priority
|
|
|
|
The default priority for remembered mail messages.
|
2007-10-30 01:39:14 +00:00
|
|
|
@end defopt
|
|
|
|
|
2012-12-22 11:49:54 -08:00
|
|
|
@node Org
|
2007-10-30 13:57:17 +00:00
|
|
|
@section Saving to an Org Mode file
|
|
|
|
@cindex org mode, integration
|
|
|
|
|
2012-02-16 23:44:31 -08:00
|
|
|
@ignore
|
|
|
|
From org.texi:
|
|
|
|
Up to version 6.36 Org used a special setup
|
|
|
|
for @file{remember.el}. @file{org-remember.el} is still part of Org mode for
|
|
|
|
backward compatibility with existing setups. You can find the documentation
|
|
|
|
for org-remember at @url{http://orgmode.org/org-remember.pdf}.
|
|
|
|
@end ignore
|
2007-10-30 13:57:17 +00:00
|
|
|
For instructions on how to integrate Remember with Org Mode,
|
2012-02-16 23:44:31 -08:00
|
|
|
consult @ref{Capture, , , org}.
|
2007-10-30 01:39:14 +00:00
|
|
|
|
2012-12-22 11:49:54 -08:00
|
|
|
@node GNU Free Documentation License
|
2007-10-30 01:39:14 +00:00
|
|
|
@appendix GNU Free Documentation License
|
|
|
|
@include doclicense.texi
|
|
|
|
|
2012-12-22 11:49:54 -08:00
|
|
|
@node Concept Index
|
2007-10-30 01:39:14 +00:00
|
|
|
@unnumbered Index
|
|
|
|
|
|
|
|
@printindex cp
|
|
|
|
|
|
|
|
@bye
|