const char *filename = g_mime_part_get_filename (GMIME_PART (part));
content_type = g_mime_object_get_content_type (GMIME_OBJECT (part));
- printf ("%%attachment{ ID: %d, Content-type: %s, ",
+ printf ("\fattachment{ ID: %d, Content-type: %s, ",
*part_count,
g_mime_content_type_to_string (content_type));
printf ("Filename: %s ", filename);
- printf ("%%attachment}\n");
+ printf ("\fattachment}\n");
return;
}
content_type = g_mime_object_get_content_type (GMIME_OBJECT (part));
- printf ("%%part{ ID: %d, Content-type: %s\n",
+ printf ("\fpart{ ID: %d, Content-type: %s\n",
*part_count,
g_mime_content_type_to_string (content_type));
g_mime_data_wrapper_write_to_stream (wrapper, stream);
}
- printf ("%%part}\n");
+ printf ("\fpart}\n");
g_object_unref (stream);
}
{
message = notmuch_messages_get (messages);
- printf ("%%message{\n");
+ printf ("\fmessage{\n");
- printf ("%%header{\n");
+ printf ("\fheader{\n");
printf ("%s\n", _get_one_line_summary (local, message));
printf ("%s: %s\n", name, value);
}
- printf ("%%header}\n");
+ printf ("\fheader}\n");
show_message_body (notmuch_message_get_filename (message));
- printf ("%%message}\n");
+ printf ("\fmessage}\n");
notmuch_message_destroy (message);
}
"Keymap for \"notmuch show\" buffers.")
(fset 'notmuch-show-mode-map notmuch-show-mode-map)
-(defvar notmuch-show-message-begin-regexp "%message{")
+(defvar notmuch-show-message-begin-regexp "\fmessage{")
(defun notmuch-show-next-message ()
"Advance point to the beginning of the next message in the buffer."