* MML preview should have a "quit" function
@ 2001-02-02 18:04 Karl Kleinpaste
2001-02-02 18:58 ` ShengHuo ZHU
2001-02-02 19:03 ` David Z Maze
0 siblings, 2 replies; 4+ messages in thread
From: Karl Kleinpaste @ 2001-02-02 18:04 UTC (permalink / 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 ()
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: MML preview should have a "quit" function
2001-02-02 18:04 MML preview should have a "quit" function Karl Kleinpaste
@ 2001-02-02 18:58 ` ShengHuo ZHU
2001-02-02 19:03 ` David Z Maze
1 sibling, 0 replies; 4+ messages in thread
From: ShengHuo ZHU @ 2001-02-02 18:58 UTC (permalink / raw)
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"))))
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: MML preview should have a "quit" function
2001-02-02 18:04 MML preview should have a "quit" function Karl Kleinpaste
2001-02-02 18:58 ` ShengHuo ZHU
@ 2001-02-02 19:03 ` David Z Maze
2001-02-04 23:58 ` Jesper Harder
1 sibling, 1 reply; 4+ messages in thread
From: David Z Maze @ 2001-02-02 19:03 UTC (permalink / raw)
Karl Kleinpaste <karl@charcoal.com> writes:
KK> MML preview buffers are in fundamental mode, with neither keybindings
KK> nor menus. It should understand at least a `q' to quit.
To go even further, it'd be nice if the MML preview buffer was in
article mode, so the normal keystrokes to look at attachments worked
properly.
--
David Maze dmaze@mit.edu http://www.mit.edu/~dmaze/
"Theoretical politics is interesting. Politicking should be illegal."
-- Abra Mitchell
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: MML preview should have a "quit" function
2001-02-02 19:03 ` David Z Maze
@ 2001-02-04 23:58 ` Jesper Harder
0 siblings, 0 replies; 4+ messages in thread
From: Jesper Harder @ 2001-02-04 23:58 UTC (permalink / raw)
David Z Maze <dmaze@MIT.EDU> writes:
> Karl Kleinpaste <karl@charcoal.com> writes:
> KK> MML preview buffers are in fundamental mode, with neither
> KK> keybindings nor menus. It should understand at least a `q' to
> KK> quit.
>
> To go even further, it'd be nice if the MML preview buffer was in
> article mode, so the normal keystrokes to look at attachments worked
> properly.
It would also be nice to have a key to toggle between preview and raw
preview.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-02-04 23:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-02 18:04 MML preview should have a "quit" function Karl Kleinpaste
2001-02-02 18:58 ` ShengHuo ZHU
2001-02-02 19:03 ` David Z Maze
2001-02-04 23:58 ` Jesper Harder
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).