[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sqlite-dump.el
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
database.
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.
sqlite-dump.el
Description: application/emacs-lisp
sqlite-dump.el.asc
Description: Text document
- sqlite-dump.el,
Kevin Ryde <=