<<< Date Index >>>     <<< Thread Index >>>

Re: Change of "important" character



in message <20051006075941.GA54696@xxxxxxxxxxxxxxxxxx>,
wrote Parv thusly...
>
> Could somebody please tell me which file(s) to i have to touch in
> source in order to change the "important" character from "!" to
> something thicker?

Thanks for all the replies.  I am just as happy to change source
files as i would be to change my muttrc.

Attached is the patch to solve my problem; in particular, it changes
'!' to '$'.


  - Parv


-- 

--- hdrline.c.orig      Thu Oct  6 17:48:40 2005
+++ hdrline.c   Thu Oct  6 17:49:28 2005
@@ -650,7 +650,7 @@
       else if (hdr->tagged)
        ch = '*';
       else if (hdr->flagged)
-       ch = '!';
+       ch = '$';
       else if (hdr->replied)
        ch = 'r';
       else if (hdr->read && (ctx && ctx->msgnotreadyet != hdr->msgno))
@@ -733,7 +733,7 @@
                ? (hdr->replied ? 'r' : ' ') : (hdr->old ? 'O' : 'N')))),
                hdr->deleted ? 'D' : (hdr->attach_del ? 'd' : ch),
                hdr->tagged ? '*' :
-               (hdr->flagged ? '!' :
+               (hdr->flagged ? '$' :
                 (Tochars && ((i = mutt_user_is_recipient (hdr)) < mutt_strlen 
(Tochars)) ? Tochars[i] : ' ')));
       mutt_format_s (dest, destlen, prefix, buf2);
       break;
--- flags.c.orig        Thu Oct  6 17:57:11 2005
+++ flags.c     Thu Oct  6 17:57:58 2005
@@ -333,7 +333,7 @@
   int i, flag;
   event_t event;
 
-  mvprintw (LINES - 1, 0, "%s? (D/N/O/r/*/!): ", bf ? _("Set flag") : _("Clear 
flag"));
+  mvprintw (LINES - 1, 0, "%s? (D/N/O/r/*/$): ", bf ? _("Set flag") : _("Clear 
flag"));
   clrtoeol ();
 
   event = mutt_getch();
@@ -376,7 +376,7 @@
       flag = M_TAG;
       break;
 
-    case '!':
+    case '$':
       flag = M_FLAG;
       break;