help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to edit with forms-mode a table from MySQL?


From: Kevin Dziulko
Subject: Re: How to edit with forms-mode a table from MySQL?
Date: Thu, 22 May 2003 08:26:09 -0400 (EDT)

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
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]