all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Glenn Morris <rgm@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Patch: minor blackbox.el fix
Date: Tue, 08 Jan 2008 17:47:41 -0700	[thread overview]
Message-ID: <m3k5mjq0ya.fsf@fleche.redhat.com> (raw)
In-Reply-To: <v0odbwg1ha.fsf@fencepost.gnu.org> (Glenn Morris's message of "Tue\, 08 Jan 2008 03\:34\:09 -0500")

GM> (define-key map [return] 'bb-done)
GM> be better than adding a binding for newline-and-indent?

I neglected to send the updated patch.
Here it is.

Tom

2008-01-08  Tom Tromey  <tromey@redhat.com>

	* play/blackbox.el (blackbox-mode-map): Bind [return] and "q".

Index: lisp/play/blackbox.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/play/blackbox.el,v
retrieving revision 1.28
diff -u -r1.28 blackbox.el
--- lisp/play/blackbox.el	8 Jan 2008 20:44:08 -0000	1.28
+++ lisp/play/blackbox.el	9 Jan 2008 01:18:27 -0000
@@ -107,6 +107,8 @@
     (blackbox-redefine-key map 'move-beginning-of-line 'bb-bol)
     (define-key map " " 'bb-romp)
     (define-key map [insert] 'bb-romp)
+    (define-key map "q" 'bury-buffer)
+    (define-key map [return] 'bb-done)
     (blackbox-redefine-key map 'newline 'bb-done)
     map))

      parent reply	other threads:[~2008-01-09  0:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-06 16:29 Patch: minor blackbox.el fix Tom Tromey
2008-01-08  8:34 ` Glenn Morris
2008-01-08 19:36   ` Tom Tromey
2008-01-09  0:47   ` Tom Tromey [this message]

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=m3k5mjq0ya.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=emacs-devel@gnu.org \
    --cc=rgm@gnu.org \
    /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.