unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Stuart D. Herring" <herring@lanl.gov>
Cc: Nick Roberts <nickrob@snap.net.nz>, emacs-devel@gnu.org
Subject: Re: Keybinding nit
Date: Fri, 20 Oct 2006 09:09:53 -0700 (PDT)	[thread overview]
Message-ID: <53880.128.165.123.18.1161360593.squirrel@webmail.lanl.gov> (raw)
In-Reply-To: <85vemgowxv.fsf@lola.goethe.zz>

> Serves me right.  If it weren't for disagreement, I'd have no
> agreement at all.  I'd have proposed to move C-x 4 0
> (`kill-buffer-and-window') to C-x 4 k and have C-x 5 k be mapped to
> `kill-buffer-and-frame' (which does not yet exist).

It's obviously of little real importance, what with such convenient
functions as `global-set-key', but in case anyone's interested: obviously
the 0 in C-x 4 0 doesn't parallel the 0 in C-x 0 or C-x 5 0, but it's
possible to think of the 4 as a modifier on the 0 instead of the other way
around.  Since C-x 0 is already a window command, and 4 is a window
modifier, I treat it as an emphatic; -kill- this window (by which I mean
`kill-buffer-and-window', of course) rather than merely -close- it.

(4 also has the meaning of "other window" sometimes, as in C-x 4 f; in
that sense, I have C-x 4 k bound to my own command
`kill-other-buffer-and-window' with obvious semantics.  I frequently use
it after using ediff or help so as to quickly clear my workspace of both
windows and buffers I no longer need.)

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.

  parent reply	other threads:[~2006-10-20 16:09 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-18 15:37 Keybinding nit David Kastrup
2006-10-18 18:29 ` Peter Lee
2006-10-18 23:22   ` Miles Bader
2006-10-19 16:53     ` Kevin Rodgers
2006-10-23  1:43       ` Miles Bader
2006-10-24 22:11         ` Kevin Rodgers
2006-10-24 23:29           ` Miles Bader
2006-10-25 21:38             ` Kevin Rodgers
2006-10-19 12:56 ` Richard Stallman
2006-10-19 13:07   ` David Kastrup
2006-10-19 20:06     ` Nick Roberts
2006-10-19 20:46       ` David Kastrup
2006-10-19 21:19         ` Nick Roberts
2006-10-19 21:37           ` David Kastrup
2006-10-20 16:09         ` Stuart D. Herring [this message]
2006-10-20  5:40     ` Jan D.
2006-10-20  7:43       ` David Kastrup
2006-10-20 19:13         ` Drew Adams

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=53880.128.165.123.18.1161360593.squirrel@webmail.lanl.gov \
    --to=herring@lanl.gov \
    --cc=emacs-devel@gnu.org \
    --cc=nickrob@snap.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 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).