all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Dziulko <dziulko@klaatu.canisius.edu>
Subject: Re: How to edit with forms-mode a table from MySQL?
Date: Thu, 22 May 2003 08:26:09 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.44.0305220815480.20096-100000@klaatu.canisius.edu> (raw)
In-Reply-To: <3ECBAC20.BEED5A6C@spam.de>

Sounds like you will want to rely heavily on regular expressions.  The 
double quotes inside the column fields will be the difficult part, because 
the regular expression is normally greedy.  You should be able to find 
help on this on the web.  Good luck!


On Wed, 21 May 2003, R. Readi wrote:

> Dear Sirs!
> 
> I have a table exported from a database (I think MySQL) and want to edit
> it with emacs forms-mode. Although this should be a very usual thing, I
> dont think I can do it without some (more or less trivial) elisp
> programming. I wanted to ask you here if you know a more direct way
> before I begin writing programms.
> 
> The rows (records) of the tables are separated as DOS separate lines
> (with ^M^J), the collumns (fields) are separated with commas and their
> contents are quoted with the double-quote-symbol (") at the beginning
> and the end. The problem I see: some fields contain commas, line-feeds
> (^J) and even double-quotes-symbols (not followed by comma).
> 
> I would thank you any hint,
> Rodrigo Readi
> (scire_AT_web_DOT_de).
> 
> 
> 
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
> 

      parent reply	other threads:[~2003-05-22 12:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-21 16:41 How to edit with forms-mode a table from MySQL? R. Readi
2003-05-21 23:51 ` Robert Pollard
2003-05-22  9:00 ` Kai Großjohann
2003-05-22 12:26 ` Kevin Dziulko [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

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

  git send-email \
    --in-reply-to=Pine.LNX.4.44.0305220815480.20096-100000@klaatu.canisius.edu \
    --to=dziulko@klaatu.canisius.edu \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.