Gnus development mailing list
 help / color / mirror / Atom feed
From: ShengHuo ZHU <zsh@cs.rochester.edu>
Subject: Re: MML preview should have a "quit" function
Date: 02 Feb 2001 13:58:18 -0500	[thread overview]
Message-ID: <5b1ytglxo5.fsf@avocet.cs.rochester.edu> (raw)
In-Reply-To: <vxk4ryddkro.fsf@cinnamon.vanillaknot.com> (Karl Kleinpaste's message of "02 Feb 2001 13:04:11 -0500")

Karl Kleinpaste <karl@charcoal.com> writes:

> MML preview buffers are in fundamental mode, with neither keybindings
> nor menus.  It should understand at least a `q' to quit.
> 
> 
> --- mml.el.~1~	Tue Jan 23 09:12:11 2001
> +++ mml.el	Fri Feb  2 13:02:26 2001
> @@ -891,6 +891,7 @@
>  	  (gnus-article-prepare-display))))
>      (fundamental-mode)
>      (setq buffer-read-only t)
> +    (local-set-key "q" '(lambda () (interactive) (kill-buffer nil)))
>      (goto-char (point-min))))
>  
>  (defun mml-validate ()

Committed. BTW, I removed the quote before the lambda.

ShengHuo

-- 
(setq gnus-posting-styles '((".*" (signature-file "~/.signature"))))



  reply	other threads:[~2001-02-02 18:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-02 18:04 Karl Kleinpaste
2001-02-02 18:58 ` ShengHuo ZHU [this message]
2001-02-02 19:03 ` David Z Maze
2001-02-04 23:58   ` Jesper Harder

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=5b1ytglxo5.fsf@avocet.cs.rochester.edu \
    --to=zsh@cs.rochester.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.
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 NNTP newsgroup(s).