[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sqlite3
From: |
Stefan Monnier |
Subject: |
Re: sqlite3 |
Date: |
Sun, 12 Dec 2021 11:02:02 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
> So perhaps the way to make this workable, we should introduce a new
> thing that short-circuits most of the logic in... `find-file-noselect'?
> Like a `special-file-alist' (with the same syntax as `auto-mode-alist')
> that calls out to functions to interpret the file and present us with a
> buffer in the correct mode.
Something like that, yes. Modulo visiting "literally", tho. And maybe
it might be worthwhile to have a way for those special files to
"fallthrough" to the usual behavior in case something happens.
> The buffer returned shouldn't be visiting the file, I guess?
I think it should.
> Because we don't want to accidentally overwrite the file contents,
> since what we're displaying in the buffer is just a view into the
> file, and not the file itself.
That's the responsibility of the special handler.
Stefan
- Re: sqlite3, (continued)
- Re: sqlite3, Stefan Monnier, 2021/12/11
- Re: sqlite3, Juri Linkov, 2021/12/11
- Re: sqlite3, Lars Ingebrigtsen, 2021/12/11
- Re: sqlite3, Lars Ingebrigtsen, 2021/12/11
- Re: sqlite3, Juri Linkov, 2021/12/12
- Re: sqlite3, Lars Ingebrigtsen, 2021/12/12
- Re: sqlite3,
Stefan Monnier <=
- Re: sqlite3, Lars Ingebrigtsen, 2021/12/12
- Re: sqlite3, Juri Linkov, 2021/12/11
- Re: sqlite3, Lars Ingebrigtsen, 2021/12/11
- Re: sqlite3, Richard Stallman, 2021/12/11
- persistent data feature, or sqlite3 feature?, Richard Stallman, 2021/12/09
- persistent data feature, Richard Stallman, 2021/12/09
- Re: persistent data feature, Lars Ingebrigtsen, 2021/12/10
- Re: persistent data feature, Po Lu, 2021/12/10
- Re: persistent data feature, Lars Ingebrigtsen, 2021/12/10
- Re: persistent data feature, Eli Zaretskii, 2021/12/10