emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Support for Sqlite Archive files


From: Eli Zaretskii
Subject: Re: [PATCH] Support for Sqlite Archive files
Date: Sat, 22 Jun 2024 13:44:42 +0300

> From: Vladimir Kazanov <vekazanov@gmail.com>
> Date: Sat, 22 Jun 2024 10:59:33 +0100
> Cc: emacs-devel@gnu.org
> 
> On Fri, 21 Jun 2024 at 20:48, Eli Zaretskii <eliz@gnu.org> wrote:
> 
> > Why do it via arc-mode at all? why not directly via sqlite.c?  Also,
> > arc-mode can use internal methods as well, not only external
> > utilities.
> 
> Going through the standard interface of "sqlite3 -A *" simplifies
> things a bit. On the other hand all the calls have to go through
> call-process, which is suboptimal. Let me try going straight to the
> database.

The use of an external command has one disadvantage: some people have
the library installed, but not the command-line utilities.

> On arc-mode vs custom code. Archive mode provides a generic dired-like
> file browsing UI. Why come up with a copy when it's probably gonna
> look just about the same?

AFAIR, arc-mode allows to use extraction and update methods that are
implemented as Lisp functions, without calling external programs.



reply via email to

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