From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Deniz Dogan Newsgroups: gmane.emacs.devel Subject: Re: Bind `q' to `quit-window' or similar in *Messages* Date: Mon, 15 Feb 2010 14:46:14 +0100 Message-ID: <7b501d5c1002150546y2249fe3eqdf956dcbadd791b6@mail.gmail.com> References: <7b501d5c1002030148j2df7b01eu92eb0729eb6cc28f@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1266241606 5334 80.91.229.12 (15 Feb 2010 13:46:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Feb 2010 13:46:46 +0000 (UTC) To: Emacs-Devel devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 15 14:46:44 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Nh1Hf-0005eA-H3 for ged-emacs-devel@m.gmane.org; Mon, 15 Feb 2010 14:46:43 +0100 Original-Received: from localhost ([127.0.0.1]:34839 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nh1He-0004kG-SM for ged-emacs-devel@m.gmane.org; Mon, 15 Feb 2010 08:46:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nh1HZ-0004jd-QI for emacs-devel@gnu.org; Mon, 15 Feb 2010 08:46:37 -0500 Original-Received: from [140.186.70.92] (port=54699 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nh1HZ-0004jI-9O for emacs-devel@gnu.org; Mon, 15 Feb 2010 08:46:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nh1HY-0005fW-VV for emacs-devel@gnu.org; Mon, 15 Feb 2010 08:46:37 -0500 Original-Received: from mail-ew0-f228.google.com ([209.85.219.228]:40885) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nh1HY-0005fI-R5 for emacs-devel@gnu.org; Mon, 15 Feb 2010 08:46:36 -0500 Original-Received: by ewy28 with SMTP id 28so161031ewy.8 for ; Mon, 15 Feb 2010 05:46:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=rYGytyra7k50LetkSTKaH3Xa8onYiaHSnNSkfzHq0+4=; b=rJbmEHkkuMdxUEuTqLexo0NXLvWL1SxOUaEUjxrPj7jBPe7f3mkCkPkSFGO6xJXN2u KGVkdaRJf0NJrxS6U8fLtXo5Yvg7jtbuDKk7UuBZoHbMbE7EpT1zl7mnp5ogAiw5GbZl lQ9YrMXFsCA0ZNZdDhkS0zanUxASZe9fGt564= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=CuQEFOSJY55vEVnzijiXcMSCna5aHGWlbIq7o4g1ckhZ9GGXBmQmxb1MZmGxHNu5b+ GdoYumvz+8s44sn7ghkEe8vDlPSR8NZfI9iD7FuHdRd3yF2Mda4qvGx1WyI/kmotxMoE GTnkdD9yQQsL++55fXpXpktjQ2CDRfKQZDQvQ= Original-Received: by 10.213.24.17 with SMTP id t17mr258898ebb.19.1266241594557; Mon, 15 Feb 2010 05:46:34 -0800 (PST) In-Reply-To: <7b501d5c1002030148j2df7b01eu92eb0729eb6cc28f@mail.gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:121129 Archived-At: 2010/2/3 Deniz Dogan : > In a lot of buffers that are not associated with files, such as > *Occur*, *Help*, etc., =A0`q' is bound to `quit-window', `View-quit', or > similar. > > Why is this not the case in *Messages*? > Inspired by this proposal I set off to write a function which binds `q' to `quit-window' in any read-only buffer. However, I was unable to find a suitable hook to call the function from. Any ideas? --=20 Deniz Dogan