emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Masterson <dsmasterson@outlook.com>
To: Eric Abrahamsen <eric@ericabrahamsen.net>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: exported contacts problem
Date: Fri, 16 Aug 2019 00:07:39 +0000	[thread overview]
Message-ID: <SN2PR07MB2557CA4F4EA096299F82D6F1A5AF0@SN2PR07MB2557.namprd07.prod.outlook.com> (raw)
In-Reply-To: <8736i3wkhv.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Wed, 14 Aug 2019 13:38:20 -0700")

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> David Masterson <dsmasterson@outlook.com> writes:
>
>> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>>
>>> But Org can be an excellent *interface* to those tools, mostly through
>>> dynamic blocks. I've started using small sqlite databases to keep track
>>> of things, and dynamic blocks as sql composers/views, and it works
>>> great. It's very easy to play with the queries, and this is the first
>>> time I'm actually starting to feel comfortable with sql.
>>>
>>> I think in general Org is best used as a compositional tool for data
>>> drawn from elsewhere.
>>
>> What do you think of RDB? It seems to be an old set of Perl scripts
>> derived from /rdb (an older set of Unix shell scripts) that can be used
>> to do basic relational database commands on textual database tables.  If
>> it could be translated into an Elisp package, it would fit the Emacs
>> model of open source and easily understandable data storage.  It can be
>> gotten via ftp here:
>>
>> cdb.netbsd.org/pub/pkgsrc/distfiles/RDB-2.6d.tar.gz
>
> I've never heard of it! But from your description it kind of sounds like
> another attempt to use relational databases without actually using
> relational databases :) I guess I think databases are one of those
> things you should delegate to an external program. Org is already pretty
> good at interfacing with them.

The interesting point is that it was originally done as a series of
shell scripts (in /rdb) and now is a series of Perl scripts (in RDB)
that implement the key features of relational functions using textual
tables as a relational database system in the Unix sense.  Were I an
Elisp expert (which I'm not), each script could probably be translated
into Elisp and, rather than pipe from stdin to stdout, it could load the
database into an Emacs buffer and then process the result into another
buffer.  *OR*, since RDB is open source, perhaps an Elisp front-end
could be put on it to incorporate it into Org.

Just an idea...
--
David

  reply	other threads:[~2019-08-16  0:07 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-02 15:47 exported contacts problem Jude DaShiell
2019-08-02 16:00 ` Jean Louis
2019-08-02 16:02 ` Jean Louis
2019-08-02 16:06   ` Jude DaShiell
2019-08-02 21:09   ` Eric Abrahamsen
2019-08-02 21:34     ` Jean Louis
2019-08-03  0:26       ` Eric Abrahamsen
2019-08-03 10:33         ` Jean Louis
2019-08-03 15:38           ` Eric Abrahamsen
2019-08-03 16:32             ` Jean Louis
2019-08-03 17:48               ` Neil Jerram
2019-08-03 18:25                 ` Jean Louis
2019-08-03 21:32                 ` Eric Abrahamsen
2019-08-03 22:12                   ` Jean Louis
2019-08-04  1:28                   ` Tim Cross
2019-08-13 22:24                   ` David Masterson
2019-08-14 20:38                     ` Eric Abrahamsen
2019-08-16  0:07                       ` David Masterson [this message]
2019-08-03 10:48         ` Jean Louis
2019-08-02 22:19   ` John Kitchin
2019-08-02 20:33 ` Tim Cross
2019-08-02 20:57   ` Jude DaShiell
2019-08-02 21:25     ` Tim Cross
2019-08-02 21:39       ` Jean Louis
2019-08-02 22:07         ` Tim Cross
2019-08-03  8:25           ` Jean Louis
2019-08-02 21:00   ` Jean Louis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SN2PR07MB2557CA4F4EA096299F82D6F1A5AF0@SN2PR07MB2557.namprd07.prod.outlook.com \
    --to=dsmasterson@outlook.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=eric@ericabrahamsen.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).