From: Karl Kleinpaste <karl@charcoal.com>
Subject: MML preview should have a "quit" function
Date: 02 Feb 2001 13:04:11 -0500 [thread overview]
Message-ID: <vxk4ryddkro.fsf@cinnamon.vanillaknot.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 128 bytes --]
MML preview buffers are in fundamental mode, with neither keybindings
nor menus. It should understand at least a `q' to quit.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: add `q' keybinding to MML previews --]
[-- Type: text/x-patch, Size: 316 bytes --]
--- 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 ()
next reply other threads:[~2001-02-02 18:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-02 18:04 Karl Kleinpaste [this message]
2001-02-02 18:58 ` ShengHuo ZHU
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=vxk4ryddkro.fsf@cinnamon.vanillaknot.com \
--to=karl@charcoal.com \
/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).