[Top][All Lists]

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


From: Kevin Ryde
Subject: sqlite-dump.el
Date: Sun, 03 Jan 2010 11:37:16 +1100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)

This few lines lets you view sqlite database files as SQL ".dump" from
the sqlite or sqlite3 program, using the format-alist mechanism.  You
can edit and save, if you trust .dump is round-trip safe on your

There's no auto-mode-alist entries yet, though *.sqlite is one
possibility.  It's used by recent mozilla (under ~/.mozilla) for
bookmarks, history, etc.

The code has a workaround for the write-region-post-annotation-function
problem (the one that turns make-temp-file into kill-buffer), but as
usual I'm not 100% certain of the unibyte/multibyte handling - except it
works for me, at least with underlying file-coding-system-alist set for
raw-text-unix on the file.

Attachment: sqlite-dump.el
Description: application/emacs-lisp

Attachment: sqlite-dump.el.asc
Description: Text document

reply via email to

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