emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch: minor blackbox.el fix


From: Glenn Morris
Subject: Re: Patch: minor blackbox.el fix
Date: Tue, 08 Jan 2008 03:34:09 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Tom Tromey wrote:

> This patch adds a "q" key binding to blackbox, to bury the buffer.

OK.

> Also, locally I found that RET was doing the wrong thing in blackbox,
> and this patch arranges to redefine newline-and-indent as well.

How is it that RET runs newline-and-indent and indent for you? Have
you globally rebound it? Would changing from blackbox-redefine-key to

(define-key map [return] 'bb-done)

be better than adding a binding for newline-and-indent?

> +    (define-key map "q" 'bury-buffer)
>      (blackbox-redefine-key map 'newline 'bb-done)
> +    (blackbox-redefine-key map 'newline-and-indent 'bb-done)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]