From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vladimir Kazanov Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Support for Sqlite Archive files Date: Sat, 22 Jun 2024 10:59:33 +0100 Message-ID: References: <86ed8qlepr.fsf@gnu.org> <86o77ujcw9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22886"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jun 22 12:00:43 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sKxY3-0005l6-FC for ged-emacs-devel@m.gmane-mx.org; Sat, 22 Jun 2024 12:00:43 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sKxXC-0000NS-HK; Sat, 22 Jun 2024 05:59:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sKxXB-0000NG-B5 for emacs-devel@gnu.org; Sat, 22 Jun 2024 05:59:49 -0400 Original-Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sKxX9-0003Fm-Ns; Sat, 22 Jun 2024 05:59:49 -0400 Original-Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2ec50d4e47bso11643541fa.2; Sat, 22 Jun 2024 02:59:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719050385; x=1719655185; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Jc43DWngjlW9+ARNgshggx9Bh/Fz3x8Dp5k0k+w2ViE=; b=mRs+imqu4eSHv7l4n8u2TGrZJCB+sHZEJ4uQRHWO8Pj5ICsNsAzI01RYLElMHtY122 0DO7AK6kpTLLwS6TNeDpzCGB+40ec38L6ZRRjSS9Sl0hjM+01jOgScn7jI4c6qX8BgEt zOJ/lQds/1qc1A4hh3V9O7CECMRPPbOdX5vBQL+PUJjQJFpc79C5Ckzvy5eU8szVFioe ADiwubJ6Ol7LF7gIzLYzn5REm4K59HTwXKMIB1CCR0b0o9yQPaOW2wlAa4aMHLe2/hEi cpstDGGZadmsCFb9ddgrkBJ6jhOSsMpHoDdVMiglnsrmumip32fYGg4GrQ/zsiMtigcj vqiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719050385; x=1719655185; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Jc43DWngjlW9+ARNgshggx9Bh/Fz3x8Dp5k0k+w2ViE=; b=WSAwBK4R2aSAGEaKCBS2ZDYRerhyjsM1Pj07FCvC1WoMtRofsbtgw6oCwmQ+cF1Gfn wgMEKLqoaWs0hFbMLYkY9AjhhQvVrZBGJB1M+gSUbGI6BFiing7AVwpPGElXfTs4HQno bb6ExqdbNHLrcEQyaoewbbH03bpZxrrkB4QrZ4gvVrUDxTMlptyNWSWwPt44WxHOvwK+ rqk5GsqGqC/6bWA7Ub5RcshPr0iiz+0bvQ2s99eGVJ7Nx3KXpmxDnM3DU2g4MJecst7s r7kHzKhcfC8eDCA1pd3HU9lAYeHxxIPNP9z00pYTlkjXYZgJp3LrAWiUsFae7fhBfWcC i1/A== X-Gm-Message-State: AOJu0Yze7KTiBWe4gutr1Id6+oRfqfF6ozv3LWm55V4mZ0S2IZj5PXeo YicBSHbD3tI7BgksBuFwQqGZx1KmKbjxpMkAsjwdgGPS5HmiohfSFFNkLxoT3tN7qErIvxlH8XV iAutnPzuXzd0jf2BBTc5OWScsWICg X-Google-Smtp-Source: AGHT+IHNRHvH/e+s5BlB/HGpLRNbrC0hDBA4ZnB9DFZLFbNr8kwCknjrTZfg/e4HQ9uIE/RLujZyyWAgijLzUW3gNUo= X-Received: by 2002:a2e:7e02:0:b0:2ea:e9f9:6ac2 with SMTP id 38308e7fff4ca-2ec3ce9a97cmr73516101fa.8.1719050385132; Sat, 22 Jun 2024 02:59:45 -0700 (PDT) In-Reply-To: <86o77ujcw9.fsf@gnu.org> Received-SPF: pass client-ip=2a00:1450:4864:20::22c; envelope-from=vekazanov@gmail.com; helo=mail-lj1-x22c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:320465 Archived-At: On Fri, 21 Jun 2024 at 20:48, Eli Zaretskii 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. Either way, the point of this project is to look into how buffers can be backed by a database. I want to see if avoiding using the file system abstraction altogether can work. 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? > Including when the locale has a non-UTF-8 codeset? I'll check this. > Unlikely, since Emacs 30 will not get new features anymore. Sorry. Got it. Exciting release, can't wait! -- Regards, Vladimir Kazanov