GNU bug report logs - #52569
29.0.50; Wishlist: There should be a way for packages to handle files without reading them in first

Previous Next

Package: emacs;

Reported by: Lars Ingebrigtsen <larsi <at> gnus.org>

Date: Fri, 17 Dec 2021 08:41:01 UTC

Severity: wishlist

Found in version 29.0.50

Full log


View this message in rfc822 format

From: Richard Stallman <rms <at> gnu.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: larsi <at> gnus.org, 52569 <at> debbugs.gnu.org, juri <at> linkov.net
Subject: bug#52569: 29.0.50; Wishlist: There should be a way for packages to handle files without reading them in first
Date: Wed, 22 Dec 2021 22:43:20 -0500
[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > >> non-persistent-file-mode, or transient-file-mode, or ephemeral-mode...
  > >
  > > Hm...  if `view-mode' wasn't taken already, perhaps that would have been
  > > an option.

  > Here are some additional ideas:

  >     special-display-mode
  >     special-file-mode
  >     no-load-mode
  >     no-visit-mode    [if it won't be visiting]

If it is useful to have a parent mode for modes that imitate visiting
a file without really doing so with the normal Emacs visit and save
mechanism, I suggest virtual-visit-mode.

But I suspect this will not prove useful, since we don't have
multiple inheritance for major modes.  I tend to think most of
these modes will turn out to have other things as parent modes.

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)






This bug report was last modified 3 years and 178 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.