From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: sqlite3 Date: Sun, 12 Dec 2021 10:10:18 +0100 Message-ID: <87sfuychol.fsf@gnus.org> References: <87tufmjyai.fsf@gnus.org> <877dcil2sj.fsf@ericabrahamsen.net> <87czm98qi1.fsf@gnu.org> <87o85tcwm0.fsf@ericabrahamsen.net> <874k7ljwkr.fsf@gnus.org> <87fsr5cuzq.fsf@ericabrahamsen.net> <878rwx8mdn.fsf@gnu.org> <87r1aphuei.fsf@gnus.org> <837dcex6ub.fsf@gnu.org> <83a6h9tu1c.fsf@gnu.org> <83mtl7r1c5.fsf@gnu.org> <87fsqzihsb.fsf@gnus.org> <87wnkah1zy.fsf@gnus.org> <86o85mb9e0.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24505"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Eli Zaretskii , Stefan Monnier , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 12 10:11:25 2021 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 1mwKtA-00069i-OB for ged-emacs-devel@m.gmane-mx.org; Sun, 12 Dec 2021 10:11:24 +0100 Original-Received: from localhost ([::1]:35184 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwKt9-0006nG-OT for ged-emacs-devel@m.gmane-mx.org; Sun, 12 Dec 2021 04:11:23 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52474) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwKsK-000622-RK for emacs-devel@gnu.org; Sun, 12 Dec 2021 04:10:32 -0500 Original-Received: from [2a01:4f9:2b:f0f::2] (port=36256 helo=quimby.gnus.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwKsI-0005Cn-0N; Sun, 12 Dec 2021 04:10:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=PelmRmQJjixxlPg2DY96DtNzeppYjtyFcKUqNDuRVqM=; b=aeAZW756pysZibBKKIOKuyxGin oCZXfCvemVMR/VgTBrybdtr+SSj8VZeEGSP5QKNo4Ickj5yemzmjsw5PmfCB3BM2PfeF5zsJ4LKc6 ASQTaF2e4OCV8gDmiIs6e/D5o8jHe1OTnURPi0kL0wcM7iU/uHsswKQ/Htq6eC02bEhg=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mwKsB-0003k2-1C; Sun, 12 Dec 2021 10:10:26 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAG1BMVEWwdmqWYVlhLitD MDKROS+nRjXAgXHCbFn///97ekHOAAAAAWJLR0QIht6VegAAAAd0SU1FB+UMDAkIIY4a0/EAAAGy SURBVDjLrZNNTgMxDIUzCA3bZuAC46QHIOEChMwBqBKx7Wr2ICSuz7Od+aNboqpS/eU5L8+pMf+8 rN396HZlXqeb7Z21w2gPImwWAcUYR7trJds6qcdgjz3wPURZz3YVcAkyInJHiXUMnogXwLj4kh6m SwLcBjrWRxUkllDr9SZHmoEo55w2cK9eDAnI6NXA4xEkcgq6uACfa2UJKbhbAeq1sjWE0q+dGEwA JTnStNwGVOI0xuWIaLIoaiH3F3C58uEjz+prBZOC1MDwBxQAme7jLUgMHhBUcDuAi+QF6BQWkGni Oe+AuoLdBoJOJxrfbOXKZwO0rI0XScnpvQH8muAeNy+4O8ArX7wBmIGirQ0UAUsdbs3MriCHiBqg Bbh4ZlAU8Hhf7anfQFqBh6CfZ4AXTchoXcYHgMcWFlBXMCuYOCDirJK0wv75+gmgzc36RiC49gz8 lLNrwBPeYT9f5wHx+ZySgpLOheIIu99EASBvoArpPJq6Fxm0aZnXiwvjwFtd8DjbrQAOop8S5odP FvCB0Dl5cr4mnmwgnyLAT5MUdL/IyL2/NNBeSlAF/hmX+AuOVbuTqAOyYwAAACV0RVh0ZGF0ZTpj cmVhdGUAMjAyMS0xMi0xMlQwOTowODozMyswMDowMCFEhscAAAAldEVYdGRhdGU6bW9kaWZ5ADIw MjEtMTItMTJUMDk6MDg6MzMrMDA6MDBQGT57AAAAAElFTkSuQmCC X-Now-Playing: Insides's _Soft Bonds_: "Subordinate" In-Reply-To: <86o85mb9e0.fsf@mail.linkov.net> (Juri Linkov's message of "Sun, 12 Dec 2021 10:34:47 +0200") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a01:4f9:2b:f0f::2 (failed) Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 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, RCVD_IN_DNSWL_MED=-2.3, RDNS_NONE=0.793, 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" Xref: news.gmane.io gmane.emacs.devel:281777 Archived-At: Juri Linkov writes: > Actually, `find-file-noselect' already contains what is needed, > but for directories: > > (if (file-directory-p filename) > (or (and find-file-run-dired > (run-hook-with-args-until-success > 'find-directory-functions > (if find-file-visit-truename > (abbreviate-file-name (file-truename filename)) > filename))) > (error "%s is a directory" filename)) Ah, excellent. > This could be adapted to files the same way by adding a new similar hook > `find-file-functions'. I think we do want an auto-mode-alist type of variable to allow people to tweak this on that level, though. But that's just a detail. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no