Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!cernvax!chx400!iam!metz From: metz@iam.unibe.ch (Igor Metz) Newsgroups: gnu.emacs Subject: Re: Database for Emacs Message-ID: <1990Feb13.123620.12838@iam.unibe.ch> Date: 13 Feb 90 12:36:20 GMT References: <1070@dialogic.UUCP> Reply-To: metz@iamsm.iam.unibe.ch (Igor Metz) Organization: University of Berne, Dept. of Computer Science Lines: 55 In article <1070@dialogic.UUCP> drich@dialogic.uucp (Dan Rich) writes: > I have recently discovered a need for a simple database, and it >seems to me that GNU Emacs is the perfect enviorment for one. Has >anyone else written a database that runs under Emacs? I am >considering doing this myself, but don't want to put in the time if >someone has already done it. I have implemented a bibliography "database" in elisp. It's menu driven and uses forms for data entry and query. Since we do not have any database system on our machine, I had to make this cheap, quick and dirty elisp hack. The data is held in a text file which uses delimiters (^L) to separate fields and newlines to separate records (BNF grammar included below). When I wrote the program, I didn't think about reusing the code for anything else, so it might not be very useful for others (expect as an example, maybe not even for that...). I can send the code to any interested party. But Achtung, das Zeug ist mit deutschen Kommentaren versehen (comments are in german...). ::= { }. ::= NL. ::= [] [] [] [] [] [] [] . ::= "%A " . ::= "%T " . ::= "%J " . ::= "%Z " . ::= "%B " . ::= "%S " . ::= "%P " . ::= "%I " . ::= "%N " . ::= "%K " }]. ::= "%V " ("y"|"Y"|"n"|"N"). ::= FF. Igor Metz X400: metz@iamsm.iam.unibe.ch Institut fuer Informatik ARPA: metz%iamsm.iam.unibe.ch@relay.cs.net und angewandte Mathematik UUCP: ..!uunet!mcsun!iamsm.iam.unibe.ch!metz Universitaet Bern Phone: (0041) 31 65 49 90 Switzerland Fax: (0041) 31 65 39 65 -- Igor Metz X400: metz@iamsm.iam.unibe.ch Institut fuer Informatik ARPA: metz%iamsm.iam.unibe.ch@relay.cs.net und angewandte Mathematik UUCP: ..!uunet!mcsun!iamsm.iam.unibe.ch!metz Universitaet Bern Phone: (0041) 31 65 49 90