all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: Phil Sainty <psainty@orcon.net.nz>
Cc: 45084@debbugs.gnu.org, jidanni@jidanni.org
Subject: bug#45084: so-long mode vs. dired-view-file
Date: Tue, 08 Dec 2020 00:30:29 -0500	[thread overview]
Message-ID: <E1kmVa1-00016i-Dr@fencepost.gnu.org> (raw)
In-Reply-To: <376f3bbf8aa9df9efc2fc798077ea954@webmail.orcon.net.nz> (message from Phil Sainty on Mon, 07 Dec 2020 17:24:12 +1300)

[[[ 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)







  reply	other threads:[~2020-12-08  5:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-06 12:22 bug#45084: so-long mode vs. dired-view-file 積丹尼 Dan Jacobson
2020-12-07  4:24 ` Phil Sainty
2020-12-08  5:30   ` Richard Stallman [this message]
2021-06-06 10:32     ` Lars Ingebrigtsen
2021-06-07  8:14       ` Phil Sainty

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1kmVa1-00016i-Dr@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=45084@debbugs.gnu.org \
    --cc=jidanni@jidanni.org \
    --cc=psainty@orcon.net.nz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.