Skip to content

Commit

Permalink
Upload version 1.4.9
Browse files Browse the repository at this point in the history
released 2001-04-16
  • Loading branch information
xmailla committed Feb 2, 2025
1 parent fc892fb commit 1fa7706
Show file tree
Hide file tree
Showing 19 changed files with 1,315 additions and 281 deletions.
53 changes: 44 additions & 9 deletions INSTALL
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Make sure that you read the README file first.

1. Run ./configure or ./configure --enable-xemacs
1. If you are installing records on Windows, read INSTALL-NT first.

2. Run ./configure or ./configure --enable-xemacs

The --enable-xemacs flag ensures that the elisp files are compiled using
xemacs. You MUST use this option if you use xemacs.
Expand All @@ -14,11 +16,14 @@ be installed, you could say something like
Make sure ${bindir} (generally ${prefix}/bin) in the Makefile exists and is
writable by you.

2. Run make install (or just make)
Note: if you are getting source from CVS, you will have to generate
./configure by running autoconf first.

3. Run make install (or just make)
After the lisp files have been compiled, this procedure is interactive and asks
for user defaults. Note: The lisp files are not installed anywhere.

3. The changes to your system that "make install" does are the following:
4. The changes to your system that "make install" does are the following:

a) Adds ~/.emacs-records (if this file already exists, it converts only
specific parts of the file).
Expand All @@ -36,7 +41,7 @@ for user defaults. Note: The lisp files are not installed anywhere.
look for the following: HAVE EMBEDDED LINKS IN YOUR RECORDS BEEN
CONVERTED CORRECTLY. Please tell me if this conversion is not okay.

4. Copy the next set of lines from
5. Copy the next set of lines from
";;;; records-mode" to
";;;; records-mode end" into your ~/.emacs. Make sure that these lines occur
after the following line (which has been automatically added during install) in
Expand Down Expand Up @@ -65,23 +70,53 @@ often. Bind it to a simple key.
(lambda ()
(define-key calendar-mode-map "n" 'records-calendar-to-record))))

; Hook up to the latex mode
(add-hook 'LaTeX-mode-hook
(function
(lambda ()
(define-key LaTeX-mode-map "\C-clw" 'records-widen-latex))))

; Hook to insert a template when a record is inserted.
; See function records-insert-template
(add-hook 'records-make-record-hook
(function (lambda ()
(records-insert-template current-prefix-arg))))
;;;*** OPTIONAL ***;;;

; If you like abbrev mode
(add-hook 'records-mode-hooks
(function
(lambda ()
(abbrev-mode 1))))
(function
(lambda ()
(abbrev-mode 1))))

; If you like to use auto filling and/or filladapt modes while editing text.
; If you have these functions in the text-mode-hook, then you don't need
; them here.
(add-hook 'records-mode-hooks
(function
(lambda ()
(turn-on-auto-fill)
(turn-on-filladapt-mode)
)))

; If you want to always start up in outline mode
(add-hook 'records-mode-hooks 'records-outline-mode)

; Using imenu: imenu will invoke a popup menu of records subjects
; 1. In Xemacs:
; (define-key global-map [(shift button3)] 'imenu)
; 2. In gnu emacs:
; (define-key global-map [(shift mouse-3)] 'imenu)

; If you want to be brought to today's record on startup
(records-goto-today)

;;;; records-mode end

5. Restart your emacs (unless you know how to evaluate regions in a buffer - in
6. Restart your emacs (unless you know how to evaluate regions in a buffer - in
which case get the key bindings and load in .emacs-records).

After restarting emacs, go back to the README file for using records mode in
emacs.

Ashvin Goel (ashvin@cse.ogi.edu)
Ashvin Goel (ashvin@users.sourceforge.net)
40 changes: 40 additions & 0 deletions INSTALL-NT
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
- Make sure that you read the README file first.

DISCLAIMER: The records functionality on windows has only been tested on
Windows 2000 running the Windows native port of Xemacs version
21.1.13. Your milage may vary.

For running records on Windows, do the following:

1. Download cygwin from http://www.cygwin.com

2. Make sure you have the HOME environment variable set. This variable should
not have trailing slashes or backslashes. In Windows 2000, environment
variables are set by right clicking "Properties" on the "My Computer" icon,
then clicking "Advanced -> Environment Variables".

3. Run the cygwin shell program, a.k.a, bash.

4. Make a symbolic link from your xemacs.exe executable to /usr/bin/xemacs.
The xemacs.exe executable will probably be located in an area such as
//C/Program Files/Xemacs/XEmacs-21.1.13/i386/-pc-win32/xemacs.exe

Thus ln -s "//C/Program Files/Xemacs/XEmacs-21.1.13/i386/-pc-win32/xemacs.exe" /usr/bin/xemacs

Thats it. Now go to the INSTALL file or the info file.

NOTES and (potential) BUGS:

1. The native port of xemacs and cygwin treat file paths quite differently. In
particular, xemacs doesn't understand file paths generated by cygwin. The
recordsadmin program goes to some trouble to fix this problem (Look at
cygwin_translate_path). However, this functionality has not be well tested
and it is very possible that records won't work on other Windows ports of
emacs.

2. Records uses cygwin for programs such as make and perl. Cygwin programs are
not used after records is installed.

3. If you have problems during (or after) installation, fix the paths in
~/.emacs-records by hand (however much the file may claim that you
shouldn't do it!). Then run make again.
16 changes: 8 additions & 8 deletions Makefile.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
###
### Makefile.in
###
### $Id: Makefile.in,v 1.10 2000/01/27 20:55:07 ashvin Exp $
### $Id: Makefile.in,v 1.12 2001/04/11 18:14:12 ashvin Exp $
###
### Copyright (C) 1996 by Ashvin Goel
###
Expand Down Expand Up @@ -46,16 +46,16 @@ TAR=tar
srcdir = @srcdir@
VPATH = @srcdir@

SOURCES = records-vars.el records-dindex.el records-index.el records-util.el records-search.el records.el
OBJECTS = records-vars.elc records-dindex.elc records-index.elc records-util.elc records-search.elc records.elc
SOURCES = records-autoloads.el records-dindex.el records-index.el records-search.el records-tex.el records-util.el records-vars.el records.el
OBJECTS = records-autoloads.elc records-dindex.elc records-index.elc records-search.elc records-tex.elc records-util.elc records-vars.elc records.elc

PRELOADS = -l records-load.el -l records-vars.el -l records.el
EFLAGS =-batch -q -no-site-file $(PRELOADS)

DISTFILES = $(SOURCES) FAQ INSTALL Makefile.in NEWS \
DISTFILES = $(SOURCES) FAQ INSTALL INSTALL-NT Makefile.in NEWS \
README configure configure.in install-sh \
mkinstalldirs recordsadmin.in records-load.el \
records.info records.ps \
records-templ.tex records.info records.ps \
mailcrypt/FSF-timer.el mailcrypt/expect.el mailcrypt/mailcrypt.el \
mailcrypt/mc-gpg.el mailcrypt/mc-pgp.el mailcrypt/mc-pgp5.el \
mailcrypt/mc-remail.el mailcrypt/mc-setversion.el \
Expand Down Expand Up @@ -122,7 +122,7 @@ clean:

distclean: clean
-rm -f *~ *.tar.gz
rm -f records.ps records.info
rm -f recordsadmin records.ps records.info
rm -f Makefile config.status config.cache config.log

${srcdir}/configure: configure.in
Expand All @@ -135,7 +135,7 @@ config.status: ${srcdir}/configure
./config.status --recheck

dist: $(DISTFILES)
version=`perl -ne 'print $$1 if /defconst records-version \"(.*)\"/' \
version=`perl -ne 'print $$1 if /defvar records-version \"([.1-9]*)\"/' \
records.el`; \
distname=records-$$version; \
rm -rf $$distname; \
Expand All @@ -144,5 +144,5 @@ dist: $(DISTFILES)
for file in $(DISTFILES); do \
ln $$file $$distname/$$file; \
done; \
$(TAR) -chz -f $$distname.tar.gz $$distname; \
$(TAR) -chz -f distributions/$$distname.tar.gz $$distname; \
rm -rf $$distname
95 changes: 68 additions & 27 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,58 +1,99 @@
;; -*-text-*-
Version 1.4.9
* Installation now works for native Windows NT port of xemacs. Look at
the INSTALL-NT file for more details.
* Added a mode specific menu that pops up when the right button is
pressed. This button pops up a link specific menu when the button is
clicked on a records link.
* When records are inserted, template code can be added to
records (by subject). For instance, this allows adding the current
time when a record is inserted. Uses the tempo lisp package.
* Added support for editing a record in outline minor mode.
* Added support for editing a record in latex mode (interaction with
outline minor mode not tested).
* Added support for outputing the concatenation of records in latex
mode (see records-concatenate-records-latex and
records-concatenate-record-files-latex).
* Records can now be concatenated and presented in most-recent first or
the reverse order.
* Made almost all records variables customizable.
* records-goto-link now supports html links of the form <a href=...>
* Pressing the middle button when on a records link chases the link,
while pressing it at any other place on a record invokes the default
binding of the middle button.
* Added a newline to the end of the index and dindex files when they
are created the first time.
* Changed the records-mode-font-lock-keywords variable so that all
references (links enclosed in <..>) are highlighted and not just
the link in the header of the records subject. As always, use the
middle button to go to the link.
* Fixed a bug where the first entry in the dindex file was
out-of-order.
* Fixed a date normalization bug in recordsadmin (this bug was kicking
in when the year is stored in 2 digits and the year is greater than
or equal to 2001!)
* Fixed a bug in records encryption and decryption where the correct
encryption scheme (such as pgp, gpg, etc.) was not being loaded.
* Removed the use of ripem user id for encryption and decryption of
records. Now the encryption scheme's user id is used by default.
* Added records-autoloads file, which has the records autoloaded
functions.

Version 1.4.8
Fix fontification bugs in gnu emacs introduced in 1.4.7.
* Fix fontification bugs in gnu emacs introduced in 1.4.7.

Version 1.4.7
Clicking with the middle button on a records link invokes
* Clicking with the middle button on a records link invokes
records-goto-link

Enabled font-lock support instead of using home-grown fontification,
* Enabled font-lock support instead of using home-grown fontification,
code by Robert Mihram. records-bold-face not used anymore. See
records-mode-use-font-lock and records-mode-font-lock-keywords.
Renamed records-insert-file-link to records-insert-link. This function
will now also insert urls and news message ids.
records-goto-link will follow message ids to jump to news messages
records-use-font-lock and records-mode-font-lock-keywords.
* Renamed records-insert-file-link to records-insert-link. This
function will now also insert urls and news message ids.
* records-goto-link will follow message ids to jump to news messages
on deja.com.
Added support for PGP version 5.0 for encrypting and decrypting
* Added support for PGP version 5.0 for encrypting and decrypting
records. Users must set mc-default-scheme. Look at the mailcrypt
package.

Version 1.4.6
Fixed a Y2K bug when years were specified in 2 digits!
Added functionality so that records of the same subject can be
* Fixed a Y2K bug when years were specified in 2 digits!
* Added functionality so that records of the same subject can be
searched across records files. Thanks to Kaarthik Sivakumar.
Fixed fontification bug for emacs so that the first character after
* Fixed fontification bug for emacs so that the first character after
the record subject is not read-only. This fixes an
encryption/decryption bug in emacs also.

Version 1.4.5
configure now takes an argument so that xemacs can be specified
* configure now takes an argument so that xemacs can be specified
for byte compiling the elisp files.
recordsadmin now updates the load path in ~/.emacs-records even
* recordsadmin now updates the load path in ~/.emacs-records even
when the user specifies that the init file variables should not be
updated. This is needed otherwise the load path becomes inconsistent
with the new installation. The init file variables are ofcourse not
with the new installation. The init file variables are of course not
updated.

Version 1.4.4
Fixed small bugs in TODO processing
Files are saved after TODO processing, records insertion and
* Fixed small bugs in TODO processing
* Files are saved after TODO processing, records insertion and
deletion if they were not modified previously.
Empty record files are deleted after TODO processing and
* Empty record files are deleted after TODO processing and
deletion of records.
Added records-move-record that will allow moving a record to
* Added records-move-record that will allow moving a record to
another date.
Added records-insert-file-link for inserting the current file
* Added records-insert-file-link for inserting the current file
as a link into today's record file.

Version 1.4
New function records-create-todo for creating new todos.
The default values of records-todo-begin-move-regexp,
records-todo-begin-copy-regexp and records-todo-end-regexp
has been changed and made more sane.
The info file has minor updates.
Added the NEWS file!
* New function records-create-todo for creating new todos.
* The default values of records-todo-begin-move-regexp,
* records-todo-begin-copy-regexp and records-todo-end-regexp
* has been changed and made more sane.
* The info file has minor updates.
* Added the NEWS file!

Version 1.3
Records now has an info file available.
Bug fixes in encryption and decryption of records.
* Records now has an info file available.
* Bug fixes in encryption and decryption of records.

2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ found bugs.

Good Luck.

Ashvin Goel (ashvin@cse.ogi.edu)
Ashvin Goel (ashvin@users.sourceforge.net)


44 changes: 43 additions & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,47 @@ test -n "$PERL" && break
done


for ac_prog in cygpath
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:649: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_CYGPATH'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
case "$CYGPATH" in
/*)
ac_cv_path_CYGPATH="$CYGPATH" # Let the user override the test with a path.
;;
?:/*)
ac_cv_path_CYGPATH="$CYGPATH" # Let the user override the test with a dos path.
;;
*)
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then
ac_cv_path_CYGPATH="$ac_dir/$ac_word"
break
fi
done
IFS="$ac_save_ifs"
;;
esac
fi
CYGPATH="$ac_cv_path_CYGPATH"
if test -n "$CYGPATH"; then
echo "$ac_t""$CYGPATH" 1>&6
else
echo "$ac_t""no" 1>&6
fi

test -n "$CYGPATH" && break
done


ac_aux_dir=
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
if test -f $ac_dir/install-sh; then
Expand Down Expand Up @@ -671,7 +712,7 @@ ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
echo "configure:675: checking for a BSD compatible install" >&5
echo "configure:716: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
Expand Down Expand Up @@ -879,6 +920,7 @@ s%@infodir@%$infodir%g
s%@mandir@%$mandir%g
s%@EMACS_BIN@%$EMACS_BIN%g
s%@PERL@%$PERL%g
s%@CYGPATH@%$CYGPATH%g
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
s%@INSTALL_DATA@%$INSTALL_DATA%g
Expand Down
Loading

0 comments on commit 1fa7706

Please sign in to comment.