unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* quitting help buffer
@ 2005-09-09  3:56 Drew Adams
  2005-09-09 12:50 ` Richard M. Stallman
  0 siblings, 1 reply; 15+ messages in thread
From: Drew Adams @ 2005-09-09  3:56 UTC (permalink / raw)


I cannot figure out how to make `q' do what it used to do in Emacs 20, to
quit the *Help* buffer.

I use non-nil `pop-up-frames'. I want `q' to do the equivalent of
`quit-window'. In my context, that will kill the buffer and delete its frame
(thanks to my redefining `delete-window' to DTRT for one-window
pop-up-frames).  Bye; good riddance.

I don't want `q' to iconify the frame, slip it in my back pocket, mail it to
me, or do any of the other strange and wonderful things I see advertised in
the doc for `view-mode'. How can I get `q' to do something as simple as kill
the buffer and delete its window (frame)?

BTW, I find the doc string for view-mode difficult to understand wrt the
various quitting scenarios. It doesn't help that there are multiple
similarly named commands that use synonyms for "quit" as their only
distinction:

 View-quit
 View-exit
 View-exit-and-edit
 View-quit-all
 View-leave
 View-kill-and-leave

What is this? The variations don't tell us anything in particular about what
the functions do - there is no significant difference between the words
"quit", "exit", and "leave".

Why not also
View-split, -give-up, -depart, -drop-out, -relinguish, -throw-in-the-towel, 
-take-leave, -go-away, -go-out, -get-out, -pull-up-stakes, and -escape? Or
are those variants being saved for Emacs 23? Not to mention combinations of
these with possible subsequent
actions: -and-kill, -and-pass-out, -and-hang-around, -and-go-down-to-the-poo
l-hall,...

Could this be a sign that something is wrong in the design? Isn't it a bit
bizarre for a command to spend so much effort trying to deal with all of the
possible ways and contexts in which it might be called (used)? Shouldn't
such concerns be for the callers and not the callee? This seems bass
ackwards, to me.

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2005-12-03 22:46 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-09  3:56 quitting help buffer Drew Adams
2005-09-09 12:50 ` Richard M. Stallman
2005-09-09 16:05   ` Drew Adams
2005-09-10  8:14     ` Richard M. Stallman
2005-12-01  0:44       ` view mode: `q' does not delete frame Drew Adams
2005-12-01  1:16         ` Drew Adams
2005-12-01 20:42         ` Eli Zaretskii
2005-12-02  1:57           ` Drew Adams
2005-12-03  9:55             ` Eli Zaretskii
2005-12-03 15:08               ` Stefan Monnier
2005-12-03 15:37                 ` Drew Adams
2005-12-03 21:35                   ` Stefan Monnier
2005-12-03 22:46                     ` Drew Adams
2005-12-02 18:21           ` Richard M. Stallman
2005-12-03 12:08           ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).