GNU bug report logs - #45084
so-long mode vs. dired-view-file

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Sun, 6 Dec 2020 22:02:02 UTC

Severity: wishlist

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 45084 <at> debbugs.gnu.org (full text, mbox):

From: Richard Stallman <rms <at> gnu.org>
To: Phil Sainty <psainty <at> orcon.net.nz>
Cc: 45084 <at> debbugs.gnu.org, jidanni <at> jidanni.org
Subject: Re: bug#45084: so-long mode vs. dired-view-file
Date: Tue, 08 Dec 2020 00:30:29 -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. ]]]

  > > So so-long mode and whatever dired-view-file calls should somehow make
  > > a deal not to mess up "q".

  > It's true that, by default, so-long changing the major mode is going
  > to cause key bindings for the original mode to not be available.

dired-view-file does something quite unusual: it visits a file and puts
it in View mode.

I think so-long needs to make a special case for View mode.
For instance, if View mode is in effect, it could (1) turn off View mode,
(2) switch modes however it does, then (3) reenable View mode.
 
-- 
Dr Richard Stallman
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 346 days ago.

Previous Next


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