]> code.delx.au - gnu-emacs-elpa/blob - packages/notes-mode/notes-mode.texi
Merge commit '0cda39255827f283e7578cd469ae42daad9556a2' from js2-mode
[gnu-emacs-elpa] / packages / notes-mode / notes-mode.texi
1 \input texinfo @c -*-texinfo-*-
2 @c %**start of header
3 @setfilename notes-mode.info
4 @settitle Notes-mode: Organizing on-line note-taking.
5 @c For double-sided printing, uncomment:
6 @c @setchapternewpage odd
7 @c %**end of header
8
9 @c FIXME: Figure out a way to keep these things up-to-date w/o RCS/CVS!
10 @set EDITION $Revision: 1.40 $
11 @c XXX: the next line should track the release file.
12 @set VERSION 1.16
13 @set UPDATED $Date: 2010/06/20 18:30:34 $
14
15 @iftex
16 @finalout
17 @end iftex
18
19 @dircategory Emacs
20 @direntry
21 * Notes-mode: (notes-mode). Organizing on-line note-taking.
22 @end direntry
23
24 @c FIXME: The leading spaces lead to double spaces inside the
25 @c generated .info file!
26
27 @ifinfo
28 Notes-mode: Organizing on-line note-taking.
29
30 This file documents notes-mode, a package
31 for organizing on-line note-taking.
32 @end ifinfo
33
34 @copying
35 Copyright (C) 1994-1996,2012 Free Software Foundation, Inc.
36
37 @quotation
38 Permission is granted to copy, distribute and/or modify this document
39 under the terms of the GNU Free Documentation License, Version 1.3 or
40 any later version published by the Free Software Foundation; with no
41 Invariant Sections, with the Front-Cover texts being ``A GNU Manual'',
42 and with the Back-Cover Texts as in (a) below. A copy of the license
43 is included in the section entitled ``GNU Free Documentation License''.
44
45 (a) The FSF's Back-Cover Text is: ``You have the freedom to copy and
46 modify this GNU manual. Buying copies from the FSF supports it in
47 developing GNU and promoting software freedom.''
48 @end quotation
49 @end copying
50
51 @titlepage
52 @title Notes-mode
53 @subtitle Organizing on-line note-taking
54 @subtitle Edition @value{EDITION}, for notes-mode version @value{VERSION}
55 @subtitle @value{UPDATED}
56 @author by John Heidemann
57
58 @end titlepage
59
60 @node Top, Introduction, (dir), (dir)
61 @comment node-name, next, previous, up
62
63 @ifinfo
64 This file documents notes-mode, a package
65 for organizing on-line note-taking.
66 This is edition @value{EDITION}, for notes-mode version @value{VERSION},
67 last updated @value{UPDATED}.
68
69 @end ifinfo
70
71 @c
72 @c Outline as of 16-Apr-96:
73 @c
74 @c introduction
75 @c - what is notes mode
76 @c - why keep notes on-line
77 @c - easier to type than write
78 @c - information already on-line (program errors, measurement data, etc.)
79 @c - easy to search (grep, glimpse)
80 @c - easy to index (notes-mode)
81 @c - why use notes-mode
82 @c - automates indexing
83 @c - supports links
84 @c - emacs helpers (subject completion, elisp customization)
85 @c - alternatives:
86 @c HTML (+formatting, +links, -tags are intrusive, -errors are bad, -index by hand)
87 @c word processor (+formatting, -links, -indexing)
88 @c - related work
89 @c - notes-mode is not related to Lotus Notes
90 @c basics
91 @c - notes-file
92 @c (text mode)
93 @c - front-matter
94 @c - entries
95 @c - subject
96 @c - links
97 @c like urls, but not quite
98 @c mouse-2 follows a link (and also pastes)
99 @c - text
100 @c can contain other, embedded links
101 @c - notes-index
102 @c - subjects
103 @c mouse-2 follows links
104 @c - re-indexing
105 @c - file layout
106 @c - root ~/NOTES, changing
107 @c - intermediate directories @cY@cm
108 @c - notes-files @cy@cm@cd
109 @c intermediate features
110 @c - notes-files
111 @c - conventions
112 @c today
113 @c Monday
114 @c date in front-matter
115 @c hierarchical subjects
116 @c - C-c C-s subject summary
117 @c - C-c C-k current-url-as-kill
118 @c - getting around
119 @c - C-c C-i notes-goto-index-entry
120 @c - C-c C-n notes-follow-next-link, C-c C-p notes-follow-prev-link
121 @c - C-c C-f notes-w3-follow-link
122 @c - M-C-a notes-beginning-of-defun, M-C-e notes-end-of-defun
123 @c - C-c C-e, C-c C-s encryption
124 @c - notes-index
125 @c - RET notes-index-follow-link
126 @c - o notes-index-link
127 @c - C-c C-s summarize subject
128 @c advanced features:
129 @c - .notesrc
130 @c history
131 @c - genesis: minimal functionality: subject collection
132 @c - Leviticus: indexing, urls
133 @c - exodus: share with others
134 @c - Deuteronomy: features are added
135 @c
136
137
138
139 @c The master menu, created with texinfo-master-menu, goes here.
140
141 @menu
142 * Introduction::
143 * Basics::
144 * Advanced Features::
145 * History::
146 * Installation::
147 * Keystroke index::
148 * Concept index::
149
150 @detailmenu
151 --- The Detailed Node Listing ---
152
153 Introduction
154
155 * What is it?::
156 * Why keep notes at all?::
157 * Why keep notes on-line?::
158 * Why use notes-mode?::
159 * Y2K Statement::
160 * Related work::
161 * Staying on top::
162
163 Basics
164
165 * Getting started::
166 * A notes file::
167 * The notes index::
168 * The notes directories::
169
170 Advanced Features
171
172 * Notes files::
173 * Notes indices::
174 * Notes-mode configuration::
175
176 Notes files
177
178 * Getting around::
179 * Subject summary::
180 * Encryption::
181 * Useful conventions::
182
183 History
184
185 * Notes-mode history::
186 * Credits::
187 * Changes::
188
189 @end detailmenu
190 @end menu
191
192 @c ----------------------------------------------------------------------
193
194 @node Introduction, Basics, Top, Top
195 @chapter Introduction
196
197 What is notes-mode and why should you (perhaps) use it?
198
199 @menu
200 * What is it?::
201 * Why keep notes at all?::
202 * Why keep notes on-line?::
203 * Why use notes-mode?::
204 * Y2K Statement::
205 * Related work::
206 * Staying on top::
207 @end menu
208
209 @node What is it?, Why keep notes at all?, Introduction, Introduction
210 @comment node-name, next, previous, up
211 @section What is it?
212
213 Notes-mode is an indexing system for on-line note-taking.
214 Notes-mode is composed of two parts, the visible part,
215 a major-mode for emacs to aid note-taking;
216 and the invisible part,
217 scripts which periodically index your notes for you.
218
219 Note that notes-mode provides tools to @dfn{index} your notes,
220 not to @dfn{search} them.
221 (Other existing tools such as @file{grep}, @file{agrep}, and @file{glimpse}
222 already allow file search.)
223
224 A digression about indexing vs. searching:
225 Indexing in this sense means
226 organize them according to categories you give,
227 while searching looks through all text for arbitrary strings.
228 Drawing on the World Wide Web for examples,
229 Yahoo (@file{http://www.yahoo.com/}) is an index,
230 while Alta Vista (@file{http://www.altavista.digital.com/})
231 is a search-engine.
232 In (potentially) more familiar terms,
233 the yellow pages
234 @footnote{Trademarked, in Great Britain, Sunone tells me.}
235 are an index,
236 while directory information (411 in the USA)
237 is sort of a search-engine.
238
239
240 @node Why keep notes at all?, Why keep notes on-line?, What is it?, Introduction
241 @comment node-name, next, previous, up
242 @section Why keep notes at all?
243
244 So why should you use notes-mode?
245 Well, first, consider why you should (perhaps)
246 keep your notes on line.
247 First,
248 I assume that you take notes as part of your work or school.
249 If you don't,
250 you can stop reading now and go back to watching TV.
251
252 If you keep notes, ask yourself why you keep them.
253 Reasons vary for different people, but some include:
254
255 @itemize @bullet
256
257 @item
258 To remember what is said or done.
259
260 @item
261 To focus on what is important about what is said.
262
263 @item
264 To provide proof of having done something
265 at a particular time or date.
266
267 @item
268 I know there were other reasons here,
269 but they slipped my mind.
270 @end itemize
271
272
273 @node Why keep notes on-line?, Why use notes-mode?, Why keep notes at all?, Introduction
274 @comment node-name, next, previous, up
275 @section Why keep notes on-line?
276
277 OK, I've talked you into keeping notes.
278 Why do it on-line?
279 Again, there are different reasons for different people.
280 If you don't want to consider keeping your notes on-line,
281 you're welcome to go back to your (clay tablets)
282 paper notes.
283
284 However, if you do much of your work on-line,
285 or if you have portable computer,
286 then you might want to consider keeping your notes on-line.
287
288 @itemize @bullet
289
290 @item
291 It's faster to type than write,
292 and possibly more legible at high speed.
293
294 @item
295 Often information is already on-line.
296 For example, in software development, bug reports,
297 measurement results, and everything else that's useful
298 is on-line.
299
300 @item
301 You can take down more detail than you otherwise would
302 (especially if the data is already on-line).
303 Taking more copious notes can be helpful when you go back
304 to figure out why that strange thing was happening.
305
306 @item
307 On-line notes are easy to search.
308 Full-text search with
309 grep, agrep, and glimpse are all much faster
310 and are often more accurate than paging through paper notes
311 looking for a particular keyword.
312
313 @item
314 On-line notes are easy to index.
315 (At least with notes-mode!)
316 In addition to full-text search,
317 it's helpful to organize notes by category.
318 If you keep a table-of-contents of your paper notes,
319 you are either extremely fastidious
320 or a librarian (Nadia?).
321
322 @item
323 You can keep all of your notes with you at all times
324 (if you have a portable computer).
325 Even at a page a day,
326 paper notes quickly become bulky and awkward to carry around.
327 On-line notes fit on your computer's hard disk,
328 an extraordinarily compact medium
329 by comparison.
330
331 @item
332 Your notes can be automatically backed up.
333 Paper notes can become damaged with time,
334 and as a graduate student
335 one of my fears was fire in Boelter Hall
336 consuming all my research experiments
337 and and therefore hopes of a degree.
338 Electronic notes are extremely easy to duplicate
339 and can be automatically backed up with the rest of your computer.
340 (You @emph{do} back up your computer, don't you?)
341
342 @end itemize
343
344 While these advantages are undoubtedly clear to any
345 right-thinking computer user,
346 it should be said that there are a few disadvantages
347 for on-line note-taking.
348
349 @itemize @bullet
350
351 @item
352 If you don't have a computer with you most of the time,
353 it's difficult take notes on-line (because you're off-line, of course).
354 @footnote{I consider myself pretty anal about this subject,
355 often typing notes in from paper after-the-fact,
356 and @emph{I} certainly don't manage to back-enter
357 my notes all time time.}
358
359 @item
360 Computers require power.
361 If your portable computer runs out of juice,
362 you're on your own.
363 Corollary: watch your power, or bring paper.
364 Better corollary: watch your power, @emph{and} bring paper.
365
366 @item
367 Social limitations.
368 It's not always socially acceptable to take notes-on-line.
369 For example,
370 at a party,
371 few people would use a computer
372 to take down the phone number of a person
373 to whom they're attracted
374 (at least, if they wanted the attraction to be mutual).
375 @footnote{
376 On the other hand, some folks at MIT are working
377 on this problem from both the hardware and the social side of
378 things (@file{http://wearables.www.media.mit.edu/projects/wearables/})
379 (Perhaps they have wild parties with computers, too.)
380 }
381 Sometimes other people find the sound of typing distracting.
382
383 @item
384 Health issues.
385 Repetitive stress injuries do occur
386 writing (slower) by hand is at least
387 an alternate motion than typing.
388
389 @item
390 Legal limitations.
391 If you want to use your electronic notes
392 to justify a patent or invention,
393 you may be breaking legal ground.
394 Being on the legal cutting-edge is rarely an easy thing
395 for the person involved.@footnote{My hat is off to Rosa Parks
396 and the many other normal people who triggered landmark cases.}
397
398 @end itemize
399
400
401 @node Why use notes-mode?, Y2K Statement, Why keep notes on-line?, Introduction
402 @comment node-name, next, previous, up
403 @section Why use notes-mode?
404
405 OK, I've sold you on note-taking and even on on-line note-taking.
406 What about notes-mode?
407 Naturally,
408 it slices, dices, and makes julienne fries.
409 But wait, there's more:
410
411 @itemize @bullet
412
413 @item
414 It automates indexing your notes,
415 linking notes with the same subject together.
416
417 @item
418 It supports embedded links,
419 allowing you to manually link together different topics
420 and external files.
421
422 @item
423 It includes a number of convenience-features in emacs.
424 Subjects can be completed based on existing subjects.
425 The usual emacs customization mechanisms are available.
426
427 @item
428 Notes containing sensitive information can be encrypted.
429
430 @item
431 Notes-mode seems better than the other, currently available alternatives.
432 @end itemize
433
434 What are the alternatives? I'm glad you asked.
435 @footnote{If you think I'm missing an alternative, please let me know.}
436
437 @itemize @bullet
438
439 @item
440 @strong{HTML}.
441 HTML has better formatting capabilities than notes-mode,
442 and it has excellent linking capabilities.
443 Unfortunately,
444 HTML's tags are fairly intrusive
445 (each is at least four characters long and most come with a pair),
446 tags can get confused with normal text,
447 errors in HTML can be bad (obscuring data),
448 and there's no automatic indexing feature
449 (at least with plain HTML).
450 Besides,
451 all data should be kept as close to the ASCII from whence it came,
452 as God Intended (hi, Steve).
453
454 @item
455 @strong{Word Processors}.
456 Word processors are strong in the formatting department,
457 but most don't really have linking capabilities,
458 and have poor or restricted indexing.
459
460 @end itemize
461
462 @node Y2K Statement, Related work, Why use notes-mode?, Introduction
463 @comment node-name, next, previous, up
464 @section Y2K Statement
465
466 Notes mode uses dates extensively,
467 both two-digit years and seconds-since-1970.
468 However, notes-mode has been coded to function correctly through
469 the year 2038.
470
471 To avoid problems with the year 2000, notes-mode assumes
472 that any two-digit years before ``70'' are 20xx, not 19xx.
473 Notes-mode should therefore work correctly in both the year 1999 and 2000.
474
475 (Notes-mode 1.17 released February 1999 fixes a lingering Y2K problem.)
476
477 Because notes-mode uses seconds-since-1970 for some date calculations
478 it will fail beyond the year 2038 on computers with 32-bit integers.
479
480 If I'm still using notes-mode then on a 32-bit machine I'll see what I can do.
481
482
483 @node Related work, Staying on top, Y2K Statement, Introduction
484 @comment node-name, next, previous, up
485 @section Related work
486
487 What would a document be without related work?
488
489 Notes-mode is not related in any way to Lotus Notes.
490
491 I am told (by David Weisman)
492 that it's something like the now defunct Lotus Agenda.
493
494 Ashvin Goel, one of the contributors to notes-mode,
495 has gone off and done a from-scratch reimplementation
496 called records-mode.
497 It's very similar to notes mode,
498 and emphasizes on-the-fly updates to entry links
499 but lacks a manual.
500 You may want to check it out at
501 @file{http://www.cse.ogi.edu/~ashvin/software.html}.
502
503 Hyperbole (by Bob Weiner) offers better linking facilities
504 than notes-mode, but it has a bunch of stuff notes-mode doesn't need
505 and it's missing notes-specific indexing provided by notes-mode.
506 For people already using Hyperbole
507 it would be interesting to replace notes-mode's linking
508 with Hyperbole's.
509 Contributions in this area are welcome, provided they make Hyperbole
510 optional.
511
512 @node Staying on top, , Related work, Introduction
513 @comment node-name, next, previous, up
514 @section Staying on top
515
516 The most recent distribution of notes-mode
517 is always available via
518 @file{http://www.isi.edu/~johnh/SOFTWARE/NOTES_MODE/}.
519
520 After you've installed notes mode you're encouraged to subscribe
521 to the mailing lists.
522 To subscribe, go to the web page
523 Send the message "subscribe" to
524 @file{http://www.heidemann.la.ca.us/mailman/listinfo/notes-mode-announce} or
525 @file{http://www.heidemann.la.ca.us/mailman/listinfo/notes-mode-talk}.
526
527 The announce list will contain only release announcements
528 and so is guaranteed to be very low bandwidth.
529
530
531 @c ----------------------------------------------------------------------
532
533 @node Basics, Advanced Features, Introduction, Top
534 @comment node-name, next, previous, up
535 @chapter Basics
536
537 All you need to use notes-mode
538 in a chapter.
539 (Except for installation, @xref{Installation}.)
540
541 @menu
542 * Getting started::
543 * A notes file::
544 * The notes index::
545 * The notes directories::
546 @end menu
547
548 @node Getting started, A notes file, Basics, Basics
549 @comment node-name, next, previous, up
550 @section Getting started
551 @cindex notesinit
552 @cindex setup
553
554 To get started with notes-mode,
555 read the introduction this chapter,
556 then either:
557
558 @itemize @bullet
559
560 @item
561 Start emacs, do
562 @kbd{M-x} @code{load-library} @kbd{RET} @code{notes-mode} @kbd{RET}
563 This approach will set up notes-mode with the default parameters.
564
565 @item
566 OR, from the shell,
567 run the program @file{notesinit}.
568 This approach will ask you some questions about how you want to configure
569 notes mode.
570
571 @end itemize
572
573 Either way these should set up everything notes-mode needs.
574 This program will modify your environment (as described in this section),
575 or it will give you the exact commands you should run yourself.
576
577 After you've done one of these,
578 start up emacs and note-away.
579 I usually begin a
580 day of note-taking by running the command
581 @kbd{M-x} @code{notes-index-todays-link}
582 to jump directly to today's note.
583 You may even wish to bind this to something,
584 perhaps with
585 @code{(define-key global-map "\C-cn" 'notes-index-todays-link)}
586 in your @file{.emacs}.
587
588 If you want to browse your existing notes,
589 you might instead want to edit the
590 @file{~/NOTES/index}.
591 (What is a notes file and the index? Hurry up and finish
592 reading this chapter.)
593
594
595 @node A notes file, The notes index, Getting started, Basics
596 @comment node-name, next, previous, up
597 @section A notes file
598 @c - notes-file
599 @c (text mode)
600 @c - front-matter
601 @c - entries
602 @c - subject
603 @c - links
604 @c like urls, but not quite
605 @c mouse-2 follows a link (and also pastes)
606 @c - text
607 @c can contain other, embedded links
608
609 @cindex Notes files
610
611 The notes file is the focus of most of the activity in notes-mode,
612 it's where you take your notes.
613 Notes files are mostly free-form text
614 broken up into @dfn{entries}.
615 Here's an example:
616
617 @cindex Notes entries
618
619 @example
620 8-Jun-95 Thursday
621 -----------------
622
623 * Today
624 -------
625 prev: <none>
626 next: <file:///~/NOTES/199506/950609#* Today>
627
628 next week - release notes-mode
629
630
631 * Environment/notes
632 -------------------
633
634 I explained notes mode to Ashvin and Geoff.
635 ...
636 @end example
637
638 Each entry has a subject-block, (maybe) some links, and then (maybe) some text.
639
640 The subject-block must begin with an asterisk-space (@kbd{* })
641 at the beginning of a line, followed by the subject itself.
642 Subjects must be underlined with a row of dashes
643 (if they're not exact, that's OK;
644 notes-mode will fix them periodically).
645 For convenience,
646 notes-mode will automatically add the underlines when you
647 hit @kbd{@key{RTN}} (@code{notes-electric-return}),
648 and @kbd{@key{TAB}} on a partially completed subject will
649 invoke completion based on indexed subjects (@code{notes-complete-subject}).
650 @cindex Notes subjects
651 @kindex RTN
652 @kindex TAB
653
654 Following the subject may be links.
655 (In the example, the ``Today'' entry has links,
656 the ``Environment/notes'' entry doesn't.)
657 These links will be automatically updated by notes-mode
658 when your notes are re-indexed;
659 just leave a blank line when writing the note.
660 @cindex Notes links
661
662 Links are made with pseudo-URLs,
663 sort of like those in the World Wide Web.
664 Any of these URLs can be followed in notes-mode files
665 by clicking @kbd{S-mouse-2} on the pseudo-URL
666 (@code{notes-w3-follow-link-mouse}).
667 @cindex Pseudo-URLs
668 @cindex URLs
669 @kindex S-mouse-2
670
671 Finally comes the text.
672 Go wild, but just don't include text that looks like a subject.
673 You can embed pseudo-URLs to link notes together manually.
674
675 The more anal of you may have noticed
676 that the lines before the first subject
677 are not part of any entry.
678 These lines are
679 @dfn{front matter}.
680 They're not usually used for much,
681 but they can be a good place to label the file.
682 @cindex Notes files, font matter
683 @cindex Font matter
684
685 There are a number of useful conventions
686 that can be adopted to organize your notes.
687 The most common is the ``Today'' entry.
688 If you keep an entry with the same subject
689 at the beginning of each file,
690 you link all of your notes together.
691 Notes-mode will help you out with some of these convetions
692 by automatically creating or copying some fields for you;
693 see @pxref{Useful conventions} for details.
694
695 Finally, notes-mode can also work with outline-minor-mode
696 (thanks to Tim Carroll for pointing this out).
697 Outline-mode supports hiding and revealing text and other helpful
698 features beyond the scope of this document.
699 @xref{Outline Mode, Outline Mode, , emacs, The Emacs Editor}, for details.
700
701 @node The notes index, The notes directories, A notes file, Basics
702 @comment node-name, next, previous, up
703 @section The notes index
704 @c - notes-index
705 @c - subjects
706 @c mouse-2 follows links
707 @c - re-indexing
708
709 @cindex Notes index
710
711 The notes index lists all subjects you've kept notes about,
712 and each date of each note.
713 Impress your friends,
714 show your advisor why you're worth the @emph{big} peanuts,
715 you'll soon have the biggest index of all.
716
717 The index has one line per subject, listing the subject
718 and each day a note was made about that subject.
719 For example:
720
721 @example
722 Bicycle: 950314, 950316
723 Bicycle/maintenance/books: 951028
724 Bridge/hands: 951113, 951114, 951116, 951117
725 Bridge/UCLA: 960222, 960409
726 @end example
727
728 Clicking on any of the dates with @kbd{mouse-2}
729 will take you to that note
730 (@code{notes-index-mouse-follow-link}).
731 (You can also move the point over the date and hit @kbd{@key{RTN}}
732 if you're musaphobic [@code{notes-index-follow-link}].)
733 @kindex mouse-2
734 @kindex RTN
735
736 The notes index is automatically updated by the program @file{mkall}.
737 Typically @file{mkall} is run nightly by @file{cron}.
738 On most modern versions of Unix, you can add this command to cron by
739 running @file{crontab -e} and adding the line:
740
741 @example
742 0 4 * * * /usr/local/lib/notes-mode/mkall
743 @end example
744 @cindex Crontab
745 @cindex mkall
746 @cindex re-indexing
747
748 (Assuming that your notes programs are installed
749 in /usr/local/lib/notes-mode, the default location.)
750
751
752 @node The notes directories, , The notes index, Basics
753 @comment node-name, next, previous, up
754 @section The notes directories
755
756 @cindex Notes directories
757 @cindex Directory hierarchy
758
759 The final thing needed to tie basic notes-mode together his how
760 the pieces fit together.
761 Since my graduate work is in file systems,
762 you can bet that directories are involved.
763
764 Notes-mode keeps its files in a two-level hierarchy:
765
766 @example
767 ~/NOTES
768 ~/NOTES/index
769 ~/NOTES/rawindex
770 ~/NOTES/199603
771 ~/NOTES/199603/960329
772 ~/NOTES/199603/960330
773 ~/NOTES/199604
774 ~/NOTES/199604/960401
775 @end example
776
777 The top level, @file{~/NOTES}, is the notes directory.
778 It keeps all notes in one place.
779 (The name of this directory is configurable, @xref{Notes-mode configuration}.)
780
781 Inside the notes directory are two files and a number of directories.
782 The files are @file{index},
783 the index of all entries (@pxref{The notes index}),
784 and @file{rawindex},
785 used internally.
786 @cindex Root directory
787
788 The notes directory also contains a number of subdirectories,
789 sometimes called @dfn{intermediate directories}.
790 These directories group the actual notes files into manageable chunks,
791 keeping any directory from getting too large.
792 Intermediate directories are named
793 by the four-digit year and the two-digit month
794 of the entries they contain.
795 (The format of intermediate directories
796 is configurable, @xref{Notes-mode configuration}.)
797 @cindex Intermediate directories
798
799 Finally,
800 in each intermediate directory are the notes files themselves,
801 named according to the two-digit year, month, and day-of-month.
802 @cindex Notes files
803
804 For the most part,
805 notes-mode will automatically maintain this organization of files,
806 once you create the top-level directory.
807 Notes-mode will also automatically ensure
808 that all files in the notes directory are unreadable by
809 anyone other than their owner.
810 Notes are personal things.
811 (This behavior is not currently configurable,
812 but it probably should be.)
813 @cindex Notes file permissions
814
815
816 @c ----------------------------------------------------------------------
817
818 @node Advanced Features, History, Basics, Top
819 @comment node-name, next, previous, up
820 @chapter Advanced Features
821
822 Notes-mode, the minutiae, and some other good stuff.
823
824 @menu
825 * Notes files::
826 * Notes indices::
827 * Notes-mode configuration::
828 @end menu
829
830 @node Notes files, Notes indices, Advanced Features, Advanced Features
831 @comment node-name, next, previous, up
832 @section Notes files
833
834 @menu
835 * Getting around::
836 * Subject summary::
837 * Encryption::
838 * Useful conventions::
839 @end menu
840
841 @node Getting around, Subject summary, Notes files, Notes files
842 @comment node-name, next, previous, up
843 @subsection Getting around
844
845 Moving between notes entries and around the hierarchy is fairly common,
846 so there are some accelerators.
847
848 @table @kbd
849 @item C-c C-i
850 Jump to the index entry for the current entry's subject
851 (@code{notes-goto-index-entry}).
852 @kindex C-c C-i
853
854 @item C-c C-n
855 @item C-c C-p
856 Move to the next or prior note with the same subject
857 (@code{notes-follow-next-link} and @code{notes-follow-prev-link}).
858 These functions follow the links in the note,
859 if they're defined.
860 If not,
861 they look through the index file.
862 This approach usually works,
863 but will fail if there are multiple new entries created
864 with the given subject
865 between when the index is recomputed.
866 @kindex C-c C-n
867 @kindex C-c C-p
868
869 @item C-c@key{RTN}
870 Follow the link under the point
871 (@code{notes-w3-follow-link}),
872 a keyboard equivalent of @key{S-mouse-2}.
873 @kindex C-c@key{RTN}
874
875 @item M-C-a
876 @item M-C-e
877 Jump to the beginning or end of the current note entry
878 (@code{notes-beginning-of-defun} and @code{notes-end-of-defun}).
879 @kindex M-C-a
880 @kindex M-C-e
881
882 @item C-c C-k
883 Copies the pseudo-URL for the current note into the kill-ring
884 (@code{current-url-as-kill}).
885 To link two entries, go to the target,
886 grab its URL with @kbd{C-c C-k},
887 go to where you want to make the link,
888 and yank the URL with @kbd{C-y}.
889 @kindex C-c C-k
890
891 @end table
892
893 Notes mode supports imenu,
894 if you have it bound to something
895 (I use @code{(global-set-key [down-mouse-3] 'imenu)}).
896 @cindex imenu
897
898
899 @node Subject summary, Encryption, Getting around, Notes files
900 @comment node-name, next, previous, up
901 @subsection Subject summary
902
903 It's often helpful to look at all
904 entries for a given subject
905 @kbd{C-c C-s}
906 collects all entries with the subject of the current
907 entry in a new buffer
908 (@code{notes-summarize-subject}).
909 @kindex C-c C-s
910 @cindex Subject summary
911
912
913 @node Encryption, Useful conventions, Subject summary, Notes files
914 @comment node-name, next, previous, up
915 @subsection Encryption
916
917 @cindex Encryption
918 @cindex Decryption
919
920 @c - C-c C-e, C-c C-d encryption
921 Notes occasionally contain private material.
922 While Unix has strong services for file protection
923 (compared to other, say, more wide-selling operating systems),
924 in many systems root passwords are shared,
925 while other systems are vulnerable to physical compromise.
926 In such systems,
927 properly used encryption is the best approach to security.
928
929 Notes-mode encryption is based
930 Phill Zimmerman's PGP (Pretty Good Privacy)
931 (see @file{http://www.mantis.co.uk/pgp/pgp.html})
932 and either
933 with Rick Campbell's
934 emacs interface, PAM (PGP Augmented Messaging)
935 (from @file{ftp://h.gp.cs.cmu.edu/usr/rfb/pam/})
936 (note that as of January 1997, PAM is no longer at this ftp site
937 and appears to not be publicly available),
938 or LoPresti and Choi's mailcrypt
939 (from @file{http://cag-www.lcs.mit.edu/mailcrypt/}).
940 @cindex PGP
941 @cindex Pretty good privacy
942 @cindex PAM
943 @cindex PGP Augmented Messaging
944 @cindex mailcrypt
945
946 @table @kbd
947 @item C-c C-e
948 Encrypt the current note
949 (@code{notes-encrypt-note}).
950 By default this function encrypts the whole entry.
951 With a prefix argument,
952 only the part from the point to the end of the entry is encrypted.
953 @kindex C-c C-e
954
955 @item C-c C-d
956 Decrypt the current note
957 (@code{notes-decrypt-note}).
958 @end table
959 @kindex C-c C-d
960
961 By default notes-mode determines your public key by looking
962 up your @code{user-full-name} in your PGP keyring.
963 You can override this default by setting
964 @code{notes-encryption-key-id}
965 to the desired key-id.
966 @cindex key-id
967
968
969 @node Useful conventions, , Encryption, Notes files
970 @comment node-name, next, previous, up
971 @subsection Useful conventions
972
973 @c - conventions
974 @c date, 12-Jan-96 Friday
975 @c Today
976 @c Monday
977 @c hierarchical subjects
978
979 @cindex conventions
980 @cindex mknew
981
982 There are a number of conventions which can make notes-mode
983 easier to use.
984 These conventions are a matter of personal taste,
985 of course.
986 Do what works for you.
987
988 First,
989 I find it helpful to keep the date of each notes-file at the top
990 of the file.
991 This makes the file self-identifying
992 if the filename is lost.
993
994 Second,
995 I find it useful to have the first entry of each file
996 have the same subject (perhaps ``Today'').
997 This entry then links all notes together,
998 making it easy to go to yesterday and tomorrow.
999 I keep a to-do list on this entry,
1000 bringing the list forward each day.
1001 @cindex Today
1002
1003 A third useful convention is to keep an
1004 entry with the name based on the day of the week
1005 in each file.
1006 Analogous to ``Today'', this entry links together
1007 weeks.
1008
1009 Notes-mode supports these conventions.
1010 When you make a new notes-file in emacs,
1011 notes-mode searches for the preceding file.
1012 If it follows any of these conventions,
1013 the new file is initialized appropriately.
1014 Currently
1015 the approach to do this process
1016 (in the program @file{mknew})
1017 is fairly sensitive,
1018 so it may not work in all cases.
1019 In particular,
1020 the date convention works only on
1021 for English-language dates.
1022 (If you use notes-mode with a non-English language,
1023 let me know and I'll work with you to fix this limitation.)
1024
1025 If you find other helpful conventions,
1026 please let me know.
1027 Modifications to @file{mknew} to implement
1028 new conventions are also invited.
1029
1030 If you don't want to use these conventions,
1031 or if you want to use different ones,
1032 set the emacs variable notes-mode-initialization-program
1033 to nil or the name of your initialization program.
1034 @cindex notes-mode-initialization-program
1035
1036
1037 @node Notes indices, Notes-mode configuration, Notes files, Advanced Features
1038 @comment node-name, next, previous, up
1039 @section Notes indices
1040
1041 @c - notes-index
1042 @c - RET notes-index-follow-link
1043 @c - o notes-index-link
1044 @c - C-c C-s summarize subject
1045
1046 Only two features of notes index mode haven't yet been described.
1047 First,
1048 you can open any notes-file based on date
1049 with @code{notes-index-link},
1050 normally bound to @key{o}.
1051 @kindex o
1052
1053 Second,
1054 you can get a subject-summary
1055 with @key{C-c C-s}
1056 (@pxref{Subject summary}).
1057 The subject defaults to that of the current index line.
1058 @kindex C-c C-s
1059
1060
1061 @node Notes-mode configuration, , Notes indices, Advanced Features
1062 @comment node-name, next, previous, up
1063 @section Notes-mode configuration
1064
1065 @cindex configuration
1066 @cindex .notesrc
1067
1068 Several aspects of notes mode are particularly visible
1069 to the user.
1070 Because I'm not a fascist,
1071 a user can change most of these.
1072
1073 Preferences are specified in @file{~/.notesrc}.
1074 This file lists things to change:
1075
1076 @example
1077 # lines beginning with a hash are comments
1078 dir: ~/NOTES
1079 int_form: %Y%m
1080 @end example
1081
1082 Currently, two things can be changed:
1083
1084 @table @code
1085 @item dir
1086 Specifies the root of the notes directory hierarchy
1087 (@pxref{The notes directories}).
1088
1089 @item int_form
1090 Specifies the form of the intermediate directory.
1091 A limited subset of @code{strftime(3)}
1092 formatting is allowed.
1093 @end table
1094
1095 The subset of @code{strftime(3)} supported in @code{int_form} is:
1096 @table @code
1097 @item %Y
1098 The four-digit year.
1099
1100 @item %y
1101 The two-digit year.
1102
1103 @item %m
1104 A two-digit numeric month.
1105
1106 @item %d
1107 A two-digit day.
1108 @end table
1109
1110 In addition to @file{.notesrc},
1111 there are a number of emacs-specific variables.
1112 These variables are documented in the file
1113 @file{notes-variables.el}.
1114
1115
1116
1117 @c ----------------------------------------------------------------------
1118
1119 @node History, Installation, Advanced Features, Top
1120 @comment node-name, next, previous, up
1121 @chapter History
1122
1123 More about notes-mode than you wanted to know,
1124 and some thanks.
1125
1126 @menu
1127 * Notes-mode history::
1128 * Credits::
1129 * Changes::
1130 * Suggested features::
1131 @end menu
1132
1133 @c history
1134 @c - genesis: minimal functionality: subject collection
1135 @c - Leviticus: indexing, urls
1136 @c - exodus: share with others
1137 @c - Deuteronomy: features are added
1138
1139
1140 @node Notes-mode history, Credits, History, History
1141 @comment node-name, next, previous, up
1142 @section Notes-mode history
1143
1144 Briefly,
1145 I started keeping notes on-line shortly after I got a portable computer
1146 in January, 1994.
1147 After a month-and-a-half of notes, I realized that
1148 one does not live by grep alone,
1149 so I started adding indexing facilities.
1150
1151 In June of 1995
1152 some other Ficus-project members started
1153 keeping and indexing on-line notes
1154 using other home-grown systems.
1155 After some discussion,
1156 we generalized my notes-mode work and
1157 they started using it.
1158
1159 Over the next 18 months notes-mode grew.
1160 Finally, in April, 1996 I wrote documentation,
1161 guaranteeing that innovation on notes-mode will now cease
1162 or the documentation will become out of date.
1163
1164
1165 @node Credits, Changes, Notes-mode history, History
1166 @comment node-name, next, previous, up
1167 @section Credits
1168
1169 I (John Heidemann, <johnh@@isi.edu>)
1170 started, documented, and currently maintain notes-mode.
1171 I take ultimate responsibility for the code,
1172 especially for the ugly parts that I won't let others change.
1173
1174 Ashvin Goel
1175 <ashvin@@ficus.cs.ucla.edu>
1176 has been a very enthusiastic notes-mode user and contributor.
1177 He is responsible for at least
1178 the ideas behind @code{notes-summarize-subject}
1179 and the ideas and initial implementations of
1180 some of the original generalization and modularity improvements,
1181 @code{notes-follow-next-link} and @code{notes-follow-prev-link},
1182 @code{notes-goto-index-entry},
1183 programmed subject completion,
1184 and
1185 context-sensitive mouse-2 handling.
1186 In addition,
1187 he is an invaluable second opinion about
1188 what and how things should be done
1189 (even if I don't always agree with him).
1190
1191 Geoff Kuenning
1192 <geoff@@ficus.cs.ucla.edu>
1193 has been another enthusiastic notes-mode user and victim.
1194 He is responsible for
1195 finding several bugs,
1196 motivation for mouse-less operation,
1197 comments about the documentation,
1198 the day-of-week convention,
1199 and an initial implementation and the idea of
1200 multiple entries with the same subjects in a single notes-file.
1201
1202 Ramesh Govindan <govindan@@isi.edu> did the xemacs port.
1203
1204 Since it's release on Usenet in April 1996 several
1205 other folks have contributed.
1206 Thanks to
1207 David Weisman <weisman@@app1.osf.org>,
1208 Martin L. Smith <martin@@ner.com>,
1209 Jason Bastek <jason@@aai.com>,
1210 Ulrich Herbst <Ulrich.Herbst@@t-systems.com>.
1211 See the next section (@xref{Changes}.) for details of their exploits.
1212
1213 Thanks to Larry Ayers <layers@@marktwain.net>
1214 for popularizing notes-mode with reviews in
1215 the Linux Gazette
1216 (at <http://www.linuxgazette.com/issue22/notes-mode.html> and
1217 <http://www.linuxgazette.com/issue35/ayers.html>).
1218
1219 @node Changes, Suggested features, Credits, History
1220 @comment node-name, next, previous, up
1221 @section Changes
1222
1223 For the bored:
1224
1225 First semi-public release. 12-Jul-95: version 0.1
1226 Shared a version with Ashvin and Geoff.
1227
1228 Changed 6-Dec-95: version 0.3
1229 Ashvin's changes for note traversal added (C-c C-p and C-c C-n now
1230 move to the prev/next note in note-mode).
1231 URL parsing changed so that "localhost" is optional.
1232
1233 Changed 19-Dec-95: version 0.4
1234 More robust prev/next code added, both to handle going back and
1235 forward in the middle of chains through the index file, and to handle
1236 back/forward in a single file.
1237 URL parsing changed so that notes-goto-index-entry correctly handles
1238 lookups on notes names such as "252A".
1239
1240 Changed 20-Dec-95: version 0.5.
1241 Fixed a missing variable in notes-url.el.
1242 Added a work-around to a bug in emacs-19.30's define-derived-mode.
1243
1244 Changed 24-Dec-95: version 0.6.
1245 Prev/next code re-re-written to be more robust.
1246
1247 Changed 26-Dec-96: version 0.7.
1248 Bug fix release.
1249
1250 Changed 23-Jan-96: version 0.8.
1251 Initialization code added to set up a new note.
1252 New variable: notes-bin-dir.
1253
1254 I'm skipping version 0.9 because I erroneously release version 0.1
1255 as version 0.9 (only on the web, not on Usenet).
1256
1257 I'm bumping from version "0" to version "1" since the code is has been
1258 in production use for more than a year by several people. Minor
1259 numbers are the same.
1260
1261 Changed 26-Mar-96: version 1.10.
1262 Setup code completely re-written.
1263 Several incompatible changes have been made:
1264 - the lisp and Perl code must be installed via make install,
1265 not by copying.
1266 - some data is specified in a .notesrc file; copy and modify sample.notesrc.
1267 - several internal elisp changes.
1268 - catsubject added (bound to C-cC-s): collect all notes about the
1269 current subject.
1270 - new notes-files are initialized with fields based on the prior
1271 day's notes; see mknew for details.
1272 - daily_work is gone; mkall is rewritten to use .notesrc.
1273
1274 Changed 29-Apr-96: version 1.11.
1275 Real documentation.
1276 Mknew caching added.
1277
1278 Changed 9-Aug-96: version 1.12.
1279 Added notesinit to do all setup for new users.
1280
1281 Changed 24-Aug-96: version 1.13.
1282 Minor documentation fixes.
1283
1284 Changed 20-Dec-97: version 1.14.
1285 Autoconf support.
1286
1287 Fontification of the index buffer is now pre-computed in perl
1288 other than done when the file is needed (in elisp with slow regular
1289 expressions). 2000-line index files are now 1-2 seconds rather than
1290 15-30 on a 100MHz Pentium. If necessary (the
1291 pre-computed version isn't up-to-date) we fall back on the slower
1292 code.
1293
1294 Related work improved (suggestion by David Weisman <weisman@@app1.osf.org>).
1295
1296 Documentation improvement (problem found by Martin L. Smith
1297 <martin@@ner.com>).
1298
1299 Installation improved (code by Jason Bastek <jason@@aai.com>).
1300
1301 Bug in notes-index mode with subjects containing colons fixed (johnh).
1302
1303 Encryption now supports mailcrypt.el.
1304
1305 Support for emacs 20 (a small font-lock change).
1306
1307 Changed 5-Jan-98: version 1.15.
1308 Bug in decryption for non-PAM users fixed
1309 (suggestion by Kevin Davidson <tkld@@quadstone.com>).
1310
1311 Y2K statement added
1312 (suggestion by Kevin Davidson <tkld@@quadstone.com>).
1313
1314 Pointer to mailcrypt added (as a supported encryption package).
1315 Problem pointed out by K. Ueda <kueda@@jupiter.qse.tohoku.ac.jp>.
1316
1317 Changed 4-Nov-98: version 1.16.
1318 Bug in kill-ring handling of notes-old-underline-line
1319 fixed by Tim Potter <timp@@jna.com.au>.
1320 Bug in whitespace handling after PGP encryption fixed by Tim Potter.
1321 Bugs in handling of entries with hash signs in their name fixed
1322 (found by Tim Potter).
1323 Fontification of index buffer further improved
1324 (mapcar is your friend).
1325 Xemacs support added based on code contributed by Ramesh Govindan.
1326
1327 Changed 28-Feb-99: version 1.17:
1328 Improvement: notes-electric-return now fixes up the prev/next links
1329 of new entries (only). Code contributed by
1330 Takashi Nishimoto.
1331
1332 Bug fix: reversed options -batch and -q in configure.in to placate
1333 XEmacs 20.0; changed notesinit to not downcase the pathname
1334 (bugs found by Thierry Bezecourt).
1335
1336 Clarification: Autofilling of new notes more clear in the manual (hopefully,
1337 suggested by Solofo Ramangalahy).
1338
1339 Bug fix: a y2k bug in was found and fixed in mkindex. Sigh.
1340
1341 New: Two mailing lists for notes-mode have been created:
1342 @file{notes-mode-announce@@heidemann.la.ca.us} and
1343 @file{notes-mode-talk@@heidemann.la.ca.us}.
1344 Send the line ``subscribe notes-mode-announce''
1345 (or ``subscribe notes-mode-talk'')
1346 to @file{majordomo@@heidemann.la.ca.us}
1347 to join them.
1348 [@emph{These instructions are now superceeded; to subscribe, go to
1349 @file{http://www.heidemann.la.ca.us/mailman/listinfo/notes-mode-talk}
1350 and
1351 @file{http://www.heidemann.la.ca.us/mailman/listinfo/notes-mode-announce}.}]
1352
1353 Changed 6-Oct-99: version 1.18:
1354 Bug fix: handling of electric-prevnext is better when there are
1355 existing prev/next links.
1356
1357 Clarification: I added some pointers in the code to the installation
1358 instructions. (Apparently people can't RTF README.)
1359
1360 Extension: mailcrypt-3.5.x suported including pgp, pgp5 and gpg.
1361
1362 Changed (date 23-Dec-00): version 1.19:
1363 Bug fix (cosmetic): suppress comments in encrypted nodes.
1364
1365 Install fixes from Kannan Varadhan: elisp directories changed on install.
1366
1367 Added C-j as a synonym for RET in notes-mode to parallel C++ or perl mode.
1368 (Suggested by Fred Jaggi @file{jaggi@@rsn.hp.com}.)
1369
1370 Outline-minor-mode support added and documented.
1371 (Suggested by Tim Carroll @file{tim@@boomboom.com}.)
1372
1373 Bug/typo fixes in gpg support
1374 (Contributed by William A. Perkins @file{wa_perkins@@pnl.gov},
1375 with separate patches from Knut Anders Hatlen @file{kahatlen@@online.no}.)
1376
1377 Installation improvements suggested by Christophe Troestler
1378 @file{Ch.Troestler@@linkline.be}:
1379 use install-info to update the info dir,
1380 warn users of --prefix that lisp files go elsewhere.
1381
1382 Changed (date 1-Feb-01): version 1.20:
1383 Bug fix: missing file notes-first.el added to the distribution.
1384 (Bug found by Michael Totschnig @file{michaelt@@supernet.ca}.)
1385
1386 Changed ( 5-Dec-01): version 1.21:
1387 (backed-out---didn't work with spaced URLs)
1388 URL lookup now uses thing-at-point.
1389
1390 Fix to make notes-mode work with emacs-21.1
1391 (Fix from Klaus Zeitler @file{kzeitler@@lucent.com}.)
1392
1393 Changed ( 3-Jan-02): version 1.22:
1394 Several bugs in @file{notesinit} for stricter Perl implementations
1395 (bug found by Paul Craven" @file{pcraven@@yorku.ca},
1396 and Kasper van Wijk @file{kasper@@acoustics.mines.edu})
1397 and to make it run cleanly more often.
1398
1399 Notes-first now autoinitializes notes mode from emacs.
1400 (As instisted by rms, unfortunately about two years later than requested.)
1401
1402
1403 Changed (20-Feb-05): version 1.23:
1404 Outline mode is now forcebly turned on to avoid interactions
1405 with user's text-mode hooks
1406 (bug and fix from Nils Ackermann @file{nils@@nieback.de}).
1407
1408 Install bug involving ordering of scripts and byte-compilation
1409 fixed (bug and fix from Mark Allman @file{mallman@@grc.nasa.gov}).
1410
1411 Fix obscure bug in configure, reported by Klaus Zeitler @file{kzeitler@@lucent.com}.
1412
1413 Fix for notes-summarize-subject when no subject is specified (bug and fix
1414 from Geoff Kuenning).
1415
1416 Changed (14-Jan-06): version 1.24:
1417
1418 install-info bug documented with the Debian install-info
1419 (bug reported by Aaron Falk @file{falk@@isi.edu}).
1420
1421 Automatic date completion in new days is now done in the current
1422 locale, so it should now work for non-English languages. Bug reported
1423 by Torsten Bronger @file{bronger@@physik.rwth-aachen.de}.
1424
1425 Fixed a bug in mkindexcache, triggered by subjects with percent signs
1426 in them. Bug reported by Philip Austin @file{paustin@@eos.ubc.ca}.
1427
1428 We're a bit more robust about subjects, I hope. Warnings should
1429 appear about embedded number signs, and leading spaces should be
1430 filtered. Bug reported by Philip Austin @file{paustin@@eos.ubc.ca}.
1431
1432 Notes-mode now dervies from indented-text-mode rather than
1433 paragraph-indent-text mode. Unfortunatley this is not customizable
1434 because of limitations of define-derived-mode. Change suggested by
1435 Aaron Falk @file{falk@@isi.edu}.
1436
1437 Provide better hints about how to get started after installation or
1438 running notes-mode in emacs for the first time.
1439
1440 In notes init, the default path for dir was the full path, not the tilde
1441 version of the path. Now it defaults to using tidle for home
1442 directory. Bug reported by Mark Allman @file{allman@@icir.org}.
1443
1444 Changed (26-May-06): version 1.25:
1445
1446 fixed a bug in the release tar.gz file that had a additional copies
1447 copy nested.
1448
1449 Changed (30-Jun-08): version 1.26:
1450
1451 Force unicode I/O in @file{mkindexcache} to fix highlighting mis-alignment
1452 when using emacs-21 with unicode subject lines.
1453
1454 Changed mkprevnext and mkrawindex to optionally take the list of notes files
1455 to index from stdin rather than from the command line. Yes, I finally
1456 have 4093 notes files, overflowing the Unix command line buffer.
1457
1458 Changes notes-mode.el to put path in quotes, allowing spaces to appear in home directory names (bug fix from Ulrich Herbst).
1459
1460 Added a suggested features section.
1461
1462 Changed ( 8-Aug-08): version 1.27:
1463
1464 Change I/O in @file{mkindexcache} to use locale (the sadly correct thing)
1465 rather than forcing utf-8 (the Righteous Path).
1466 Bug report from Geoff Kuenning, a man with an older Unix environment than I.
1467
1468 Changed (20-Jun-10): version 1.28:
1469
1470 Changed a regular expression in @file{notes-index-mode.el} that was
1471 causing emacs-v23 (a pre-release version)
1472 to regular expression infinite recursion.
1473
1474 Changed (2012-04-04): version 1.29
1475
1476 (2011-08-23) Changed @code{run-hooks} to @code{run-mode-hooks}.
1477 Bug report from Geoff Kuenning.
1478
1479 Changed some handling of PGP encryption to account for
1480 some apparent API changes.
1481
1482 (2012-04-04) Fixed encyrption to handle encrypting empty notes at the end
1483 of buffers without going into an infinite loop.
1484 Clearly wrong code, but you have to ask this guy for why he tried:
1485 Bug report from Geoff Kuenning.
1486
1487
1488 @c ----------------------------------------------------------------------
1489
1490 @node Suggested features, , Changes, History
1491 @comment node-name, next, previous, up
1492 @section Suggested features
1493
1494 Features suggested by users but not yet implemented:
1495
1496 21-Feb-08: (from Xavier Maillard): should support ``disconnected'' notes that
1497 are indexed but not date-based.
1498
1499 21-Feb-08: (from John Heidemann): should switch all notes files to have an extension (maybe @file{.notes}).
1500 @c ----------------------------------------------------------------------
1501
1502 @node Installation, Keystroke index, History, Top
1503 @comment node-name, next, previous, up
1504 @chapter Installation
1505
1506 @c FIXME: Out-of-date now that we install via package.el.
1507
1508 To install notes-mode,
1509
1510 @enumerate
1511 @item
1512 Unpack and extract the distribution
1513 (gunzip notes-mode-xxx.tar.gz; tar xvf notes-mode-xxx.tar; cd notes-mode-xxx).
1514
1515 @item
1516 Run configure (./configure).
1517
1518 @item
1519 Type ``make install''.
1520 @end enumerate
1521
1522 (To control what's installed where, use --prefix=/where, or
1523 --with-lisp-dir=/where, --datadir=/where (for scripts),
1524 and --infodir=/where.)
1525
1526 For each user:
1527 @enumerate
1528 @item
1529 Run notesinit
1530 @end enumerate
1531
1532 If you have problems with paths being incorrect, please be aware that
1533 you @emph{cannot} run notes directly out of where you untar it. The
1534 installation process customizes the programs for where things are on
1535 your system.
1536 Make sure you move out of the directory where you untarred it
1537 before running it.
1538
1539
1540 The most recent distribution of notes-mode
1541 is always available via
1542 @file{http://www.isi.edu/~johnh/SOFTWARE/NOTES_MODE/}.
1543
1544
1545 @c ----------------------------------------------------------------------
1546
1547 @node Keystroke index, Concept index, Installation, Top
1548 @comment node-name, next, previous, up
1549 @unnumbered Keystroke index
1550
1551 This index lists notes-mode keystrokes.
1552
1553 @printindex ky
1554
1555
1556 @node Concept index, , Keystroke index, Top
1557 @comment node-name, next, previous, up
1558 @unnumbered Concept index
1559
1560 This index lists notes-mode concepts.
1561
1562 @printindex cp
1563
1564
1565
1566
1567 @contents
1568 @bye
1569
1570 @c Geoff, make ispell support texinfo mode!
1571 @c
1572 @c LocalWords: texinfo setfilename settitle iftex finalout ifinfo DIR vskip
1573 @c LocalWords: titlepage pt filll dir urls prev defun dfn Yahoo yahoo com Jun
1574 @c LocalWords: alta Trademarked Sunone Grep agrep Nadia emph HTML's notesrc
1575 @c LocalWords: altavista julienne kbd RTN pxref musaphobic mkall cron crontab
1576 @c LocalWords: usr lib rawindex xref cC url imenu Phill PGP Campbell's ftp gp
1577 @c LocalWords: cmu rfb pam keyring mknew Apr int strftime cindex kindex grep
1578 @c LocalWords: isi ashvin geoff printindex ky cp wearables mit mantis co uk
1579 @c LocalWords: pgp html setchapternewpage XXX elisp cY cy cd RET Weisman cn
1580 @c LocalWords: reimplementation mode's Hyperbole's notesinit weisman app osf
1581 @c LocalWords: org ner Bastek jason aai Jul Ashvin's localhost catsubject Aug
1582 @c LocalWords: Autoconf Fontification perl mailcrypt LoPresti Choi's cag lcs
1583 @c LocalWords: Ramesh govindan xemacs tkld quadstone Ueda kueda jupiter qse
1584 @c LocalWords: tohoku ac jp Nov timp jna au mapcar gunzip xxx gz xvf xxx xxx
1585 @c LocalWords: datadir infodir untar