unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Thien-Thi Nguyen <ttn@glug.org>
Subject: Re: Importing tab-delimited text files or connecting to ODBC
Date: Sat, 18 Feb 2006 06:53:39 +0100	[thread overview]
Message-ID: <7epslli55o.fsf@ada2.unipv.it> (raw)
In-Reply-To: u4q2ydpol.fsf@snt.si

Maks Romih <maksr@snt.si> writes:

> I will take a look, of course, however I'm afraid that I still
> won't find what I ask at the moment. Edb seems more a standalone
> database but I want to have some tool to connect to or import
> from other data sources, especially relational DBMS-es, excel,
> MS Access, etc.

it is true that EDB is (still) weak in terms of dealing directly
w/ external processes; you must read from, and write to, a file.
however, this stipulation is not so onerous since emacs allows you
to define file handlers (based on stylized filenames) that can
mediate between EDB and external processes.

to play, look at variable `file-name-handler-alist', and the
source code for the handful of builtin handlers listed there.
EDB itself messes around a bit w/ this handler alist, but very
very simply -- better to study e.g. `tramp-file-name-handler'.

probably a neat hack would be to wrap `x-get-selection' (or
whatever is equivalent for your platform) for reading and the
analog for writing, so that you could select some spreadsheet
range, invoke EDB on it, and save it back into the spreadsheet
(kind of like emacsclient for spreadsheet ranges).

another item for the TODO list, i suppose...

thi

      parent reply	other threads:[~2006-02-18  5:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-16  8:44 Importing tab-delimited text files or connecting to ODBC Maks Romih
2006-02-16 23:33 ` Markus Triska
2006-02-17 12:19   ` Maks Romih
2006-02-17  0:04 ` Thien-Thi Nguyen
2006-02-17 14:29   ` Maks Romih
2006-02-17 16:35     ` Eric Pement
2006-02-17 17:01       ` Maks Romih
2006-02-17 19:06         ` Tim McNamara
2006-02-18 18:25           ` Peter S Galbraith
2006-02-18  5:53     ` Thien-Thi Nguyen [this message]

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=7epslli55o.fsf@ada2.unipv.it \
    --to=ttn@glug.org \
    /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.
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).