* Re: Support "Importance:" header
[not found] <9t1g30$u24$1@quimby2.netfonds.no>
@ 2001-11-16 19:25 ` Roland Mas
2001-11-16 20:30 ` Simon Josefsson
0 siblings, 1 reply; 14+ messages in thread
From: Roland Mas @ 2001-11-16 19:25 UTC (permalink / raw)
Simon Josefsson (2001-11-15 23:21:55 +0100) :
> I'll commit this now, if someone objects I can remove it.
Is it disablable? I didn't see any defcustom's in your patch (not
that I'm that Elisp-skilled), but I'd certainly want to be able not to
let people dictate to me the order in which I read my emails.
Thanks,
Roland.
--
Roland Mas
C'est dans la boue la plus nauséeuse que plongent les racines de
l'étincelante fleur de lotus. -- in Sri Raoul le petit yogi (Gaudelette)
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Support "Importance:" header
2001-11-16 19:25 ` Support "Importance:" header Roland Mas
@ 2001-11-16 20:30 ` Simon Josefsson
2001-11-16 21:28 ` Matt Armstrong
0 siblings, 1 reply; 14+ messages in thread
From: Simon Josefsson @ 2001-11-16 20:30 UTC (permalink / raw)
Roland Mas <mas@echo.fr> writes:
> Simon Josefsson (2001-11-15 23:21:55 +0100) :
>
>> I'll commit this now, if someone objects I can remove it.
>
> Is it disablable? I didn't see any defcustom's in your patch (not
> that I'm that Elisp-skilled), but I'd certainly want to be able not to
> let people dictate to me the order in which I read my emails.
This is for sending only, and the header is not inserted unless you
tell Gnus to insert it.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Support "Importance:" header
2001-11-16 20:30 ` Simon Josefsson
@ 2001-11-16 21:28 ` Matt Armstrong
2001-11-16 21:48 ` Simon Josefsson
0 siblings, 1 reply; 14+ messages in thread
From: Matt Armstrong @ 2001-11-16 21:28 UTC (permalink / raw)
Simon Josefsson <jas@extundo.com> writes:
> Roland Mas <mas@echo.fr> writes:
>
>> Simon Josefsson (2001-11-15 23:21:55 +0100) :
>>
>>> I'll commit this now, if someone objects I can remove it.
>>
>> Is it disablable? I didn't see any defcustom's in your patch (not
>> that I'm that Elisp-skilled), but I'd certainly want to be able not to
>> let people dictate to me the order in which I read my emails.
>
> This is for sending only, and the header is not inserted unless you
> tell Gnus to insert it.
Yeah, it doesn't look like the new important.xpm/unimportant.xpm files
are hooked into anything.
--
matt
Piki, you handsome cat, rest in peace http://www.lickey.com/piki/
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Support "Importance:" header
2001-11-16 21:28 ` Matt Armstrong
@ 2001-11-16 21:48 ` Simon Josefsson
0 siblings, 0 replies; 14+ messages in thread
From: Simon Josefsson @ 2001-11-16 21:48 UTC (permalink / raw)
"Matt Armstrong" <matt+dated+1008538115.6ad84b@lickey.com> writes:
>>>> I'll commit this now, if someone objects I can remove it.
>>>
>>> Is it disablable? I didn't see any defcustom's in your patch (not
>>> that I'm that Elisp-skilled), but I'd certainly want to be able not to
>>> let people dictate to me the order in which I read my emails.
>>
>> This is for sending only, and the header is not inserted unless you
>> tell Gnus to insert it.
>
> Yeah, it doesn't look like the new important.xpm/unimportant.xpm files
> are hooked into anything.
They should be hooked into the Message mode tool-bar. Don't you see a
exclamation point and a down-arrow icon in the tool-bar in
message-mode?
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Support "Importance:" header
2001-11-19 8:54 ` Per Abrahamsen
@ 2001-11-19 9:51 ` Simon Josefsson
0 siblings, 0 replies; 14+ messages in thread
From: Simon Josefsson @ 2001-11-19 9:51 UTC (permalink / raw)
Cc: ding
Per Abrahamsen <abraham@dina.kvl.dk> writes:
> Simon Josefsson <jas@extundo.com> writes:
>
>> C-c C-f X seems to only _goto_ a header, whereas
>> message-insert-or-toggle-importance inserts or toggles the importance
>> header (and doesn't goto the header).
>
> Nonetheless, I think it would be a good mnemonic. Being intuitive is
> more important than being logical for an UI, and 'C-c C-f C-i' would
> probably be my first guess if I wanted to set or modify the importance
> header.
Changed.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Support "Importance:" header
2001-11-17 10:48 ` Simon Josefsson
2001-11-18 13:33 ` Kai Großjohann
@ 2001-11-19 8:54 ` Per Abrahamsen
2001-11-19 9:51 ` Simon Josefsson
1 sibling, 1 reply; 14+ messages in thread
From: Per Abrahamsen @ 2001-11-19 8:54 UTC (permalink / raw)
Simon Josefsson <jas@extundo.com> writes:
> C-c C-f X seems to only _goto_ a header, whereas
> message-insert-or-toggle-importance inserts or toggles the importance
> header (and doesn't goto the header).
Nonetheless, I think it would be a good mnemonic. Being intuitive is
more important than being logical for an UI, and 'C-c C-f C-i' would
probably be my first guess if I wanted to set or modify the importance
header.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Support "Importance:" header
2001-11-17 10:48 ` Simon Josefsson
@ 2001-11-18 13:33 ` Kai Großjohann
2001-11-19 8:54 ` Per Abrahamsen
1 sibling, 0 replies; 14+ messages in thread
From: Kai Großjohann @ 2001-11-18 13:33 UTC (permalink / raw)
Simon Josefsson <jas@extundo.com> writes:
> Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:
>
>> Or maybe use a `C-c C-f' binding? After all, Importance is a header,
>> so `C-c C-f' seems to be the right place. (But I didn't look exactly
>> what does your binding do.)
>
> C-c C-f X seems to only _goto_ a header, whereas
> message-insert-or-toggle-importance inserts or toggles the importance
> header (and doesn't goto the header).
Ah, thanks for the clarification.
kai
--
I like BOTH kinds of music.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Support "Importance:" header
2001-11-16 8:22 ` Kai Großjohann
@ 2001-11-17 10:48 ` Simon Josefsson
2001-11-18 13:33 ` Kai Großjohann
2001-11-19 8:54 ` Per Abrahamsen
0 siblings, 2 replies; 14+ messages in thread
From: Simon Josefsson @ 2001-11-17 10:48 UTC (permalink / raw)
Cc: ding
Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:
> Simon Josefsson <jas@extundo.com> writes:
>
>> I stole the C-c C-p binding in the *Message* buffer, hopefully noone
>> uses it?
>
> SC uses it, and so does Trivial Cite (I think). This has been the
> case for so long that I think it's not a good idea to change this now.
>
> `C-c C-u' seems to be free.
Changed, thanks.
> Or maybe use a `C-c C-f' binding? After all, Importance is a header,
> so `C-c C-f' seems to be the right place. (But I didn't look exactly
> what does your binding do.)
C-c C-f X seems to only _goto_ a header, whereas
message-insert-or-toggle-importance inserts or toggles the importance
header (and doesn't goto the header).
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Support "Importance:" header
2001-11-16 13:48 ` Daniel Pittman
@ 2001-11-16 14:13 ` Simon Josefsson
0 siblings, 0 replies; 14+ messages in thread
From: Simon Josefsson @ 2001-11-16 14:13 UTC (permalink / raw)
Cc: ding
On Sat, 17 Nov 2001, Daniel Pittman wrote:
> On Fri, 16 Nov 2001, Simon Josefsson wrote:
> > On Fri, 16 Nov 2001, Pavel [iso-8859-2] Janík wrote:
> >
> >> > The following adds support for those pesky
> >> > Outlookish-but-really-X.400 Importance: headers (and fixes
> >> > various bugs found in the process of writing it). If there are
> >> > artists out there that can make the icons less ugly that would
> >> > be a good thing. I stole the C-c C-p binding in the *Message*
> >> > buffer, hopefully noone uses it?
> >>
> >> What about inventing mechanism for marking such messages in a summary
> >> buffer?
> >
> > Scoring?
>
> Little flag icons in the summary buffer. :)
Attaching certain icons to different scores could be useful. You could
reuse the smileys, happy smileys for positive scores and angry smileys for
negative scores. :-) Or a Gnus icon for Gnus related posts, or a Emacs
icon for Emacs related posts, much like KDE Konqueror's icons for various
URLs.
> I don't know what those Emacs 20 users would want; maybe a glyph with
> text substituted like the read, etc, marks.
The "+" and "-" in the summary buffer which is present now is probably
enough.
It would be non-obtrusive, the icon wouldn't appear unless you score
articles to a certain level. Unlike the smileys icons, which probably
everyone disables. (Or maybe it is just me.)
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Support "Importance:" header
2001-11-16 13:08 ` Simon Josefsson
@ 2001-11-16 13:48 ` Daniel Pittman
2001-11-16 14:13 ` Simon Josefsson
0 siblings, 1 reply; 14+ messages in thread
From: Daniel Pittman @ 2001-11-16 13:48 UTC (permalink / raw)
On Fri, 16 Nov 2001, Simon Josefsson wrote:
> On Fri, 16 Nov 2001, Pavel [iso-8859-2] Janík wrote:
>
>> > The following adds support for those pesky
>> > Outlookish-but-really-X.400 Importance: headers (and fixes
>> > various bugs found in the process of writing it). If there are
>> > artists out there that can make the icons less ugly that would
>> > be a good thing. I stole the C-c C-p binding in the *Message*
>> > buffer, hopefully noone uses it?
>>
>> What about inventing mechanism for marking such messages in a summary
>> buffer?
>
> Scoring?
Little flag icons in the summary buffer. :)
I don't know what those Emacs 20 users would want; maybe a glyph with
text substituted like the read, etc, marks.
Daniel
--
A breakdown doesn't necessarily have to be a collapse. It can also take the
form of a quiet slide into resignation.
-- Smilla Jasperson, _Smilla's Sense of Snow_ by Peter Hoeg
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Support "Importance:" header
2001-11-16 9:30 ` Pavel Janík
@ 2001-11-16 13:08 ` Simon Josefsson
2001-11-16 13:48 ` Daniel Pittman
0 siblings, 1 reply; 14+ messages in thread
From: Simon Josefsson @ 2001-11-16 13:08 UTC (permalink / raw)
Cc: ding
On Fri, 16 Nov 2001, Pavel [iso-8859-2] Janík wrote:
> > The following adds support for those pesky Outlookish-but-really-X.400
> > Importance: headers (and fixes various bugs found in the process of
> > writing it). If there are artists out there that can make the icons
> > less ugly that would be a good thing. I stole the C-c C-p binding in
> > the *Message* buffer, hopefully noone uses it?
>
> What about inventing mechanism for marking such messages in a summary
> buffer?
Scoring?
Adding default scores for this in Gnus requires us to include Importance:
in `nnmail-extra-headers' and `gnus-extra-headers' by default, and
Customize handles this badly, so people that are already customizing these
variables will not see the new default. Maybe we need two new variables,
say `nnmail-extra-headers-internal' and `gnus-extra-headers-internal', but
two more variables is perhaps not what the world desires the most right
now. This problem start to come up in many places in Gnus now (alot of
mm-* variables, e.g. `mm-automatic-display'), maybe one of the solutions
discussed on the Custom list could be tried.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Support "Importance:" header
2001-11-15 22:21 Simon Josefsson
2001-11-16 8:22 ` Kai Großjohann
@ 2001-11-16 9:30 ` Pavel Janík
2001-11-16 13:08 ` Simon Josefsson
1 sibling, 1 reply; 14+ messages in thread
From: Pavel Janík @ 2001-11-16 9:30 UTC (permalink / raw)
From: Simon Josefsson <jas@extundo.com>
Date: Thu, 15 Nov 2001 23:21:55 +0100
> The following adds support for those pesky Outlookish-but-really-X.400
> Importance: headers (and fixes various bugs found in the process of
> writing it). If there are artists out there that can make the icons
> less ugly that would be a good thing. I stole the C-c C-p binding in
> the *Message* buffer, hopefully noone uses it?
What about inventing mechanism for marking such messages in a summary
buffer?
--
Pavel Janík
panic("IRQ, you lose...");
-- 2.2.16 arch/mips/sgi/kernel/indy_int.c
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Support "Importance:" header
2001-11-15 22:21 Simon Josefsson
@ 2001-11-16 8:22 ` Kai Großjohann
2001-11-17 10:48 ` Simon Josefsson
2001-11-16 9:30 ` Pavel Janík
1 sibling, 1 reply; 14+ messages in thread
From: Kai Großjohann @ 2001-11-16 8:22 UTC (permalink / raw)
Simon Josefsson <jas@extundo.com> writes:
> I stole the C-c C-p binding in the *Message* buffer, hopefully noone
> uses it?
SC uses it, and so does Trivial Cite (I think). This has been the
case for so long that I think it's not a good idea to change this now.
`C-c C-u' seems to be free.
Or maybe use a `C-c C-f' binding? After all, Importance is a header,
so `C-c C-f' seems to be the right place. (But I didn't look exactly
what does your binding do.)
Opinions?
kai
--
I like BOTH kinds of music.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Support "Importance:" header
@ 2001-11-15 22:21 Simon Josefsson
2001-11-16 8:22 ` Kai Großjohann
2001-11-16 9:30 ` Pavel Janík
0 siblings, 2 replies; 14+ messages in thread
From: Simon Josefsson @ 2001-11-15 22:21 UTC (permalink / raw)
The following adds support for those pesky Outlookish-but-really-X.400
Importance: headers (and fixes various bugs found in the process of
writing it). If there are artists out there that can make the icons
less ugly that would be a good thing. I stole the C-c C-p binding in
the *Message* buffer, hopefully noone uses it?
I'll commit this now, if someone objects I can remove it.
2001-11-15 Simon Josefsson <jas@extundo.com>
* etc/gnus/unimportant.xpm, etc/gnus/important.xpm: New files.
2001-11-15 Simon Josefsson <jas@extundo.com>
* message.texi (Insertion): Add C-c C-p,
message-insert-importance-{low,high}.
(Various Commands): Fix typo.
(Insertion Variables): New section, all variables moved from
Commands->Insertion into this node, Variables->Insertion
Variables.
2001-11-15 Simon Josefsson <jas@extundo.com>
Support "Importance:" header in Message.
* message.el (message-mode-map): Bind C-c C-p to
`message-insert-or-toggle-importance'
(message-mode-menu): Add message-insert-importance-{high,low}.
(message-insert-importance-high, message-insert-importance-low)
(message-insert-or-toggle-importance): New functions.
(message-tool-bar-map): Add {un,}important.
(message-mode): Doc fix.
2001-11-15 Simon Josefsson <jas@extundo.com>
* message.el (message-tool-bar-map): Fix attach toolbar tooltip.
* mml.el (mml-menu): Fix toolbar tooltip.
--- GNUS-NEWS.~6.12.~ Tue Nov 13 20:32:54 2001
+++ GNUS-NEWS Thu Nov 15 23:18:18 2001
@@ -8,6 +8,10 @@
\f
* Changes in Oort Gnus
+** Message supports the Importance: header.
+
+In the message buffer, C-c C-p cycles through the valid values.
+
** Gnus supports Cancel Locks in News.
This means a header "Cancel-Lock" is inserted in news posting. It is
--- /dev/null Thu Aug 30 22:30:55 2001
+++ etc/gnus/important.xpm Thu Nov 15 22:44:49 2001
@@ -0,0 +1,32 @@
+/* XPM */
+static char *magick[] = {
+/* columns rows colors chars-per-pixel */
+"24 24 2 1",
+"! c red",
+"w c Gray75",
+/* pixels */
+"wwwwwwwwwwwwwwwwwwwwwwww",
+"wwwwwwwwwwwwwwwwwwwwwwww",
+"wwwwwwwww!!wwwwwwwwwwwww",
+"wwwwwwwww!!!wwwwwwwwwwww",
+"wwwwwwww!!!!!wwwwwwwwwww",
+"wwwwwwww!!!!!wwwwwwwwwww",
+"wwwwwwww!!!!wwwwwwwwwwww",
+"wwwwwww!!!!!wwwwwwwwwwww",
+"wwwwwww!!!!!wwwwwwwwwwww",
+"wwwwwww!!!!!wwwwwwwwwwww",
+"wwwwwww!!!!!wwwwwwwwwwww",
+"wwwwwww!!!!!wwwwwwwwwwww",
+"wwwwwww!!!!!wwwwwwwwwwww",
+"wwwwwwww!!!!wwwwwwwwwwww",
+"wwwwwwww!!!!wwwwwwwwwwww",
+"wwwwwwww!!!!!wwwwwwwwwww",
+"wwwwwwwww!!!!wwwwwwwwwww",
+"wwwwwwwwwwwwwwwwwwwwwwww",
+"wwwwwwwww!!!wwwwwwwwwwww",
+"wwwwwwww!!!!!wwwwwwwwwww",
+"wwwwwwww!!!!!wwwwwwwwwww",
+"wwwwwwwww!!!wwwwwwwwwwww",
+"wwwwwwwwwwwwwwwwwwwwwwww",
+"wwwwwwwwwwwwwwwwwwwwwwww"
+};
--- /dev/null Thu Aug 30 22:30:55 2001
+++ etc/gnus/unimportant.xpm Thu Nov 15 22:43:07 2001
@@ -0,0 +1,32 @@
+/* XPM */
+static char *magick[] = {
+/* columns rows colors chars-per-pixel */
+"24 24 2 1",
+"! c blue",
+"w c Gray75",
+/* pixels */
+"wwwwwwwwwwwwwwwwwwwwwwww",
+"wwwwwwwwwwwwwwwwwwwwwwww",
+"wwwwwwwwww!!wwwwwwwwwwww",
+"wwwwwwwwww!!wwwwwwwwwwww",
+"wwwwwwwwww!!wwwwwwwwwwww",
+"wwwwwwwwww!!wwwwwwwwwwww",
+"wwwwwwwwww!!wwwwwwwwwwww",
+"wwwwwwwwww!!wwwwwwwwwwww",
+"wwwwwwwwww!!wwwwwwwwwwww",
+"wwwwwwwwww!!wwwwwwwwwwww",
+"wwwwwwwwww!!wwwwwwwwwwww",
+"wwwwwwwwww!!wwwwwwwwwwww",
+"wwwwwwwwww!!wwwwwwwwwwww",
+"wwwwwwwwww!!wwwwwwwwwwww",
+"wwwwwwwwww!!wwwwwwwwwwww",
+"ww!!wwwwww!!wwwwww!!wwww",
+"www!!wwwww!!wwwww!!wwwww",
+"wwww!!wwww!!wwww!!wwwwww",
+"wwwww!!www!!www!!wwwwwww",
+"wwwwww!!ww!!ww!!wwwwwwww",
+"wwwwwww!!w!!w!!wwwwwwwww",
+"wwwwwwww!!!!!!wwwwwwwwww",
+"wwwwwwwww!!!!wwwwwwwwwww",
+"wwwwwwwwww!!wwwwwwwwwwww"
+};
--- message.el.~6.155.~ Sun Nov 11 11:28:38 2001
+++ message.el Thu Nov 15 22:59:28 2001
@@ -1509,6 +1509,7 @@
(define-key message-mode-map "\C-c\C-t" 'message-insert-to)
(define-key message-mode-map "\C-c\C-n" 'message-insert-newsgroups)
+ (define-key message-mode-map "\C-c\C-p" 'message-insert-or-toggle-importance)
(define-key message-mode-map "\C-c\C-y" 'message-yank-original)
(define-key message-mode-map "\C-c\M-\C-y" 'message-yank-buffer)
@@ -1551,6 +1552,12 @@
["Kill To Signature" message-kill-to-signature t]
["Newline and Reformat" message-newline-and-reformat t]
["Rename buffer" message-rename-buffer t]
+ ["Flag as important" message-insert-importance-high
+ ,@(if (featurep 'xemacs) '(t)
+ '(:help "Mark this message as important"))]
+ ["Flag as unimportant" message-insert-importance-low
+ ,@(if (featurep 'xemacs) '(t)
+ '(:help "Mark this message as unimportant"))]
["Spellcheck" ispell-message
,@(if (featurep 'xemacs) '(t)
'(:help "Spellcheck this message"))]
@@ -1646,6 +1653,7 @@
C-c C-z `message-kill-to-signature' (kill the text up to the signature).
C-c C-r `message-caesar-buffer-body' (rot13 the message body).
C-c C-a `mml-attach-file' (attach a file as MIME).
+C-c C-p `message-insert-or-toggle-importance' (insert or cycle importance)
M-RET `message-newline-and-reformat' (break the line and reformat)."
(set (make-local-variable 'message-reply-buffer) nil)
(make-local-variable 'message-send-actions)
@@ -2061,6 +2069,40 @@
(goto-char (point-max))
(or (bolp) (insert "\n")))))
+(defun message-insert-importance-high ()
+ "Insert header to mark message as important."
+ (interactive)
+ (message-remove-header "Importance")
+ (message-goto-eoh)
+ (insert "Importance: high\n"))
+
+(defun message-insert-importance-low ()
+ "Insert header to mark message as unimportant."
+ (interactive)
+ (message-remove-header "Importance")
+ (message-goto-eoh)
+ (insert "Importance: low\n"))
+
+(defun message-insert-or-toggle-importance ()
+ "Insert a \"Importance: high\" header, or cycle through the header values.
+The three allowed values according to RFC 1327 are `high', `normal'
+and `low'."
+ (interactive)
+ (save-excursion
+ (let ((valid '("high" "normal" "low"))
+ (new "high")
+ cur)
+ (when (setq cur (message-fetch-field "Importance"))
+ (message-remove-header "Importance")
+ (setq new (cond ((string= cur "high")
+ "low")
+ ((string= cur "low")
+ "normal")
+ (t
+ "high"))))
+ (message-goto-eoh)
+ (insert (format "Importance: %s\n" new)))))
+
(defun message-elide-region (b e)
"Elide the text in the region.
An ellipsis (from `message-elide-ellipsis') will be inserted where the
@@ -5064,9 +5106,15 @@
(tool-bar-add-item-from-menu
'message-dont-send "cancel" message-mode-map)
(tool-bar-add-item-from-menu
- 'mml-attach-file "attach" message-mode-map)
+ 'mml-attach-file "attach" mml-mode-map)
(tool-bar-add-item-from-menu
'ispell-message "spell" message-mode-map)
+ (tool-bar-add-item-from-menu
+ 'message-insert-importance-high "important"
+ message-mode-map)
+ (tool-bar-add-item-from-menu
+ 'message-insert-importance-low "unimportant"
+ message-mode-map)
tool-bar-map)))))
;;; Group name completion.
--- mml.el.~6.40.~ Mon Nov 12 20:17:39 2001
+++ mml.el Thu Nov 15 22:10:39 2001
@@ -728,8 +728,10 @@
(easy-menu-define
mml-menu mml-mode-map ""
- '("Attachments"
- ["Attach File" mml-attach-file t]
+ `("Attachments"
+ ["Attach File" mml-attach-file
+ ,@(if (featurep 'xemacs) '(t)
+ '(:help "Attach a file at point"))]
["Attach Buffer" mml-attach-buffer t]
["Attach External" mml-attach-external t]
["Insert Part" mml-insert-part t]
--- message.texi.~6.26.~ Thu Nov 15 19:11:25 2001
+++ message.texi Thu Nov 15 23:14:10 2001
@@ -481,109 +481,29 @@
@findex message-insert-headers
Insert the message headers (@code{message-insert-headers}).
-@end table
-
-@table @code
-@item message-ignored-cited-headers
-@vindex message-ignored-cited-headers
-All headers that match this regexp will be removed from yanked
-messages. The default is @samp{.}, which means that all headers will be
-removed.
-
-@item message-cite-prefix-regexp
-@vindex message-cite-prefix-regexp
-Regexp matching the longest possible citation prefix on a line.
-
-@item message-citation-line-function
-@vindex message-citation-line-function
-@cindex attribution line
-Function called to insert the citation line. The default is
-@code{message-insert-citation-line}, which will lead to citation lines
-that look like:
-
-@example
-Hallvard B Furuseth <h.b.furuseth@@usit.uio.no> writes:
-@end example
-
-Point will be at the beginning of the body of the message when this
-function is called.
-
-Note that Gnus provides a feature where clicking on `writes:' hides the
-cited text. If you change the citation line too much, readers of your
-messages will have to adjust their Gnus, too. See the variable
-@code{gnus-cite-attribution-suffix}. @xref{Article Highlighting, ,
-Article Highlighting, gnus}, for details.
-
-@item message-yank-prefix
-@vindex message-yank-prefix
-@cindex yanking
-@cindex quoting
-When you are replying to or following up an article, you normally want
-to quote the person you are answering. Inserting quoted text is done
-by @dfn{yanking}, and each line you yank will have
-@code{message-yank-prefix} prepended to it (except for quoted and
-empty lines which uses @code{message-yank-cited-prefix}). The default
-is @samp{> }.
-
-@item message-yank-cited-prefix
-@vindex message-yank-cited-prefix
-@cindex yanking
-@cindex cited
-@cindex quoting
-When yanking text from a article which contains no text or already
-cited text, each line will be prefixed with the contents of this
-variable. The default is @samp{>}. See also
-@code{message-yank-prefix}.
-
-@item message-indentation-spaces
-@vindex message-indentation-spaces
-Number of spaces to indent yanked messages.
-
-@item message-cite-function
-@vindex message-cite-function
-@findex message-cite-original
-@findex sc-cite-original
-@findex message-cite-original-without-signature
-@cindex Supercite
-Function for citing an original message. The default is
-@code{message-cite-original}, which simply inserts the original message
-and prepends @samp{> } to each line.
-@code{message-cite-original-without-signature} does the same, but elides
-the signature. You can also set it to @code{sc-cite-original} to use
-Supercite.
-
-@item message-indent-citation-function
-@vindex message-indent-citation-function
-Function for modifying a citation just inserted in the mail buffer.
-This can also be a list of functions. Each function can find the
-citation between @code{(point)} and @code{(mark t)}. And each function
-should leave point and mark around the citation text as modified.
-
-@item message-signature
-@vindex message-signature
-String to be inserted at the end of the message buffer. If @code{t}
-(which is the default), the @code{message-signature-file} file will be
-inserted instead. If a function, the result from the function will be
-used instead. If a form, the result from the form will be used instead.
-If this variable is @code{nil}, no signature will be inserted at all.
-
-@item message-signature-file
-@vindex message-signature-file
-File containing the signature to be inserted at the end of the buffer.
-The default is @samp{~/.signature}.
+@item C-c C-p
+@kindex C-c C-p
+@findex message-insert-or-toggle-importance
+This inserts the @samp{Importance:} header with a value of
+@samp{high}. This header is used to signal the importance of the
+message to the receiver. If the header is already present in the
+buffer, it cycles between the three valid values according to RFC
+1376: @samp{low}, @samp{normal} and @samp{high}.
+
+@item M-x message-insert-importance-high
+@kindex M-x message-insert-importance-high
+@findex message-insert-importance-high
+Insert a @samp{Importance:} header with a value of @samp{high},
+deleting headers if necessary.
+
+@item M-x message-insert-importance-low
+@kindex M-x message-insert-importance-low
+@findex message-insert-importance-low
+Insert a @samp{Importance:} header with a value of @samp{low},
+deleting headers if necessary.
@end table
-Note that RFC1036bis says that a signature should be preceded by the three
-characters @samp{-- } on a line by themselves. This is to make it
-easier for the recipient to automatically recognize and process the
-signature. So don't remove those characters, even though you might feel
-that they ruin your beautiful design, like, totally.
-
-Also note that no signature should be more than four lines long.
-Including ASCII graphics is an efficient way to get everybody to believe
-that you are silly and have nothing important to say.
-
@node MIME
@section MIME
@@ -786,7 +706,7 @@
@item M-RET
@kindex M-RET
-@kindex message-newline-and-reformat
+@findex message-newline-and-reformat
Insert four newlines, and then reformat if inside quoted text.
Here's an example:
@@ -941,6 +861,7 @@
* Mail Variables:: Other mail variables.
* News Headers:: Customizing news headers.
* News Variables:: Other news variables.
+* Insertion Variables:: Customizing how things are inserted.
* Various Message Variables:: Other message variables.
* Sending Variables:: Variables for sending.
* Message Buffers:: How Message names its buffers.
@@ -1284,6 +1205,111 @@
@end table
+@node Insertion Variables
+@section Insertion Variables
+
+@table @code
+@item message-ignored-cited-headers
+@vindex message-ignored-cited-headers
+All headers that match this regexp will be removed from yanked
+messages. The default is @samp{.}, which means that all headers will be
+removed.
+
+@item message-cite-prefix-regexp
+@vindex message-cite-prefix-regexp
+Regexp matching the longest possible citation prefix on a line.
+
+@item message-citation-line-function
+@vindex message-citation-line-function
+@cindex attribution line
+Function called to insert the citation line. The default is
+@code{message-insert-citation-line}, which will lead to citation lines
+that look like:
+
+@example
+Hallvard B Furuseth <h.b.furuseth@@usit.uio.no> writes:
+@end example
+
+Point will be at the beginning of the body of the message when this
+function is called.
+
+Note that Gnus provides a feature where clicking on `writes:' hides the
+cited text. If you change the citation line too much, readers of your
+messages will have to adjust their Gnus, too. See the variable
+@code{gnus-cite-attribution-suffix}. @xref{Article Highlighting, ,
+Article Highlighting, gnus}, for details.
+
+@item message-yank-prefix
+@vindex message-yank-prefix
+@cindex yanking
+@cindex quoting
+When you are replying to or following up an article, you normally want
+to quote the person you are answering. Inserting quoted text is done
+by @dfn{yanking}, and each line you yank will have
+@code{message-yank-prefix} prepended to it (except for quoted and
+empty lines which uses @code{message-yank-cited-prefix}). The default
+is @samp{> }.
+
+@item message-yank-cited-prefix
+@vindex message-yank-cited-prefix
+@cindex yanking
+@cindex cited
+@cindex quoting
+When yanking text from a article which contains no text or already
+cited text, each line will be prefixed with the contents of this
+variable. The default is @samp{>}. See also
+@code{message-yank-prefix}.
+
+@item message-indentation-spaces
+@vindex message-indentation-spaces
+Number of spaces to indent yanked messages.
+
+@item message-cite-function
+@vindex message-cite-function
+@findex message-cite-original
+@findex sc-cite-original
+@findex message-cite-original-without-signature
+@cindex Supercite
+Function for citing an original message. The default is
+@code{message-cite-original}, which simply inserts the original message
+and prepends @samp{> } to each line.
+@code{message-cite-original-without-signature} does the same, but elides
+the signature. You can also set it to @code{sc-cite-original} to use
+Supercite.
+
+@item message-indent-citation-function
+@vindex message-indent-citation-function
+Function for modifying a citation just inserted in the mail buffer.
+This can also be a list of functions. Each function can find the
+citation between @code{(point)} and @code{(mark t)}. And each function
+should leave point and mark around the citation text as modified.
+
+@item message-signature
+@vindex message-signature
+String to be inserted at the end of the message buffer. If @code{t}
+(which is the default), the @code{message-signature-file} file will be
+inserted instead. If a function, the result from the function will be
+used instead. If a form, the result from the form will be used instead.
+If this variable is @code{nil}, no signature will be inserted at all.
+
+@item message-signature-file
+@vindex message-signature-file
+File containing the signature to be inserted at the end of the buffer.
+The default is @samp{~/.signature}.
+
+@end table
+
+Note that RFC1036bis says that a signature should be preceded by the three
+characters @samp{-- } on a line by themselves. This is to make it
+easier for the recipient to automatically recognize and process the
+signature. So don't remove those characters, even though you might feel
+that they ruin your beautiful design, like, totally.
+
+Also note that no signature should be more than four lines long.
+Including ASCII graphics is an efficient way to get everybody to believe
+that you are silly and have nothing important to say.
+
+
@node Various Message Variables
@section Various Message Variables
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2001-11-19 9:51 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <9t1g30$u24$1@quimby2.netfonds.no>
2001-11-16 19:25 ` Support "Importance:" header Roland Mas
2001-11-16 20:30 ` Simon Josefsson
2001-11-16 21:28 ` Matt Armstrong
2001-11-16 21:48 ` Simon Josefsson
2001-11-15 22:21 Simon Josefsson
2001-11-16 8:22 ` Kai Großjohann
2001-11-17 10:48 ` Simon Josefsson
2001-11-18 13:33 ` Kai Großjohann
2001-11-19 8:54 ` Per Abrahamsen
2001-11-19 9:51 ` Simon Josefsson
2001-11-16 9:30 ` Pavel Janík
2001-11-16 13:08 ` Simon Josefsson
2001-11-16 13:48 ` Daniel Pittman
2001-11-16 14:13 ` Simon Josefsson
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).