From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Adam Edge Newsgroups: gmane.emacs.bugs Subject: bug#52569: 29.0.50; Wishlist: There should be a way for packages to handle files without reading them in first Date: Fri, 17 Dec 2021 12:04:12 +0300 Message-ID: <8ccabcc0-44e7-d8ae-eb80-bc33f7b49bc7@airmail.cc> References: <87tuf7zksh.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2795"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1 To: 52569@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 17 10:17:32 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1my9Mm-0000T0-Vh for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 17 Dec 2021 10:17:31 +0100 Original-Received: from localhost ([::1]:49322 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1my9Ml-0001Pi-N8 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 17 Dec 2021 04:17:27 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48452) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1my9Ak-0005G4-N0 for bug-gnu-emacs@gnu.org; Fri, 17 Dec 2021 04:05:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54634) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1my9Ak-0002d0-E1 for bug-gnu-emacs@gnu.org; Fri, 17 Dec 2021 04:05:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1my9Ak-0002YV-5q for bug-gnu-emacs@gnu.org; Fri, 17 Dec 2021 04:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Adam Edge Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Dec 2021 09:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52569 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16397318709773 (code B ref -1); Fri, 17 Dec 2021 09:05:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Dec 2021 09:04:30 +0000 Original-Received: from localhost ([127.0.0.1]:37947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1my9AE-0002XZ-37 for submit@debbugs.gnu.org; Fri, 17 Dec 2021 04:04:30 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:46692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1my9AC-0002XR-5y for submit@debbugs.gnu.org; Fri, 17 Dec 2021 04:04:28 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1my9AB-0004cL-VV for bug-gnu-emacs@gnu.org; Fri, 17 Dec 2021 04:04:28 -0500 Original-Received: from mail.cock.li ([37.120.193.124]:36932) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1my9A8-0002YU-Fn for bug-gnu-emacs@gnu.org; Fri, 17 Dec 2021 04:04:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=airmail.cc; s=mail; t=1639731858; bh=7WRFtOJiW20myVjDLLgm5zcXjV181ogGcNq8I0gk+MA=; h=Date:Subject:To:References:From:In-Reply-To:From; b=ydeoiBY6hGCjtilj48pzO8lDYiI72Fa5sPkSxmh/0dOhqD+kMm0jqMluZ/eNMBUyJ YkpgkGiFXw5PB4+dD/cxsPDRbTsYWR+qGuAO7mXhvI7qNaRNu+r1BkX+VcmpilWU+H 7tn5e3tT+4xiHq8iZiJhvZ3gpwFlxZdxj12eTArzQSuTPLDx/pPkIEZmg4jbbib/mO KlADO5KAfltFB8MgsGVOQERPopX1oejoUFI+iJwQB8dEDs9Jed6XLnucuwXPYaEqzp Q8rJB/ixNOrpnGtsbdKHDTpWUrJHpmW3D2MTGbBcZh59Fp5igi0GmRQsHK5fjG/VMd T18OcxNj4pZ7A== Content-Language: en-US In-Reply-To: <87tuf7zksh.fsf@gnus.org> Received-SPF: pass client-ip=37.120.193.124; envelope-from=baronedge@airmail.cc; helo=mail.cock.li X-Spam_score_int: -37 X-Spam_score: -3.8 X-Spam_bar: --- X-Spam_report: (-3.8 / 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, NICE_REPLY_A=-1.716, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:222558 Archived-At: On 12/17/21 11:40, Lars Ingebrigtsen wrote: > Should there be another general mode these things should inherit from, > like special-mode, but taking care of things like write-file-functions > (i.e., disallow saving if the mode hasn't implemented a function for > that)? If so, what should it be called? `really-special-mode' is > probably too special. Uhm... Something that expresses "the displayed > contents of this mode doesn't match up the saved contents much"... > `unloaded-file-mode'? Hm... any ideas? Just my $.02, but would something related to "file projection" work? Since things like `sqlite-mode-open-file' "project" the file into a format that's more usable in Emacs. So my suggestion would be `projected-file-mode'.