unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Miles Bader <miles@gnu.org>
Cc: Roland Winkler <rwinkler@niu.edu>, emacs-devel@gnu.org
Subject: Re: Bind `q' to `quit-window' or similar in *Messages*
Date: Thu, 04 Feb 2010 10:33:22 -0500	[thread overview]
Message-ID: <jwvljf9rpb9.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <buod40lk4lm.fsf@dhlpc061.dev.necel.com> (Miles Bader's message of "Thu, 04 Feb 2010 13:27:33 +0900")

>> ...which brings us back to the original request: most often it is
>> used for viewing what is happening, so that most people probably
>> were happy if `q' had the same quit-window binding it has in other
>> buffers that are not intended for editing.
> Indeed.

Agreed.  I think we need:
1- define a major mode for it with `q' bound to quit-window.
2- default it to read-only.

The major-mode will make it possible for people to add keybindings
and things.


        Stefan


PS: BTW, I've often felt that C-x C-q should turn on the undo-log when
making a buffer writeable.  It hasn't bothered me enough to actually
code it up and try it, but maybe people could try it out and see if it
leads to problems.





  parent reply	other threads:[~2010-02-04 15:33 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-04  3:24 Bind `q' to `quit-window' or similar in *Messages* Roland Winkler
2010-02-04  4:27 ` Miles Bader
2010-02-04  8:15   ` Tassilo Horn
2010-02-04  8:24     ` Tassilo Horn
2010-02-04 15:33   ` Stefan Monnier [this message]
2010-02-04 16:58     ` C-x C-q and undo [was: Bind `q' to `quit-window' or similar in *Messages*] Drew Adams
2010-02-04 23:40     ` Bind `q' to `quit-window' or similar in *Messages* Miles Bader
  -- strict thread matches above, loose matches on Subject: below --
2010-02-04  1:28 Roland Winkler
2010-02-04  1:41 ` Drew Adams
2010-02-04  2:32 ` Miles Bader
2010-02-03  9:48 Deniz Dogan
2010-02-03 10:27 ` Tassilo Horn
2010-02-03 15:48   ` Drew Adams
2010-02-03 15:54     ` Lennart Borgman
2010-02-03 15:59     ` Tassilo Horn
2010-02-03 17:03     ` Drew Adams
2010-02-04 15:30       ` Drew Adams
2010-02-04 16:23         ` Tassilo Horn
2010-02-04 18:01           ` Thierry Volpiatto
2010-02-15 13:46 ` Deniz Dogan
2010-02-16 16:42   ` Davis Herring

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=jwvljf9rpb9.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=miles@gnu.org \
    --cc=rwinkler@niu.edu \
    /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).