From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/22774 Path: main.gmane.org!not-for-mail From: Per Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Writing enriched text Date: 23 Apr 1999 17:45:42 +0200 Organization: The Church of Emacs Sender: owner-ding@hpc.uh.edu Message-ID: References: <87so9rcx6m.fsf@pc-hrvoje.srce.hr> <87btgfcvar.fsf@pc-hrvoje.srce.hr> <86pv4vl6yh.fsf@kramer.bp.aventail.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035160632 31082 80.91.224.250 (21 Oct 2002 00:37:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:37:12 +0000 (UTC) Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id LAA03292 for ; Fri, 23 Apr 1999 11:46:59 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.1/8.9.1) with ESMTP id KAB11520; Fri, 23 Apr 1999 10:46:15 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 23 Apr 1999 10:46:46 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id KAA23266 for ; Fri, 23 Apr 1999 10:46:36 -0500 (CDT) Original-Received: from sheridan.dina.kvl.dk (sheridan.dina.kvl.dk [130.225.40.227]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id LAA03273 for ; Fri, 23 Apr 1999 11:46:24 -0400 (EDT) Original-Received: from my.dina.kvl.dk (my.dina.kvl.dk [130.225.40.137]) by sheridan.dina.kvl.dk (8.9.0.Beta5/8.9.0.Beta5) with SMTP id RAA06086; Fri, 23 Apr 1999 17:46:07 +0200 Original-Received: by my.dina.kvl.dk (SMI-8.6/SMI-SVR4) id RAA06930; Fri, 23 Apr 1999 17:45:42 +0200 Original-To: ding@gnus.org X-Face: +kRV2]2q}lixHkE{U)mY#+6]{AH=yN~S9@IFiOa@X6?GM|8MBp/ Original-Lines: 26 User-Agent: Gnus/5.070082 (Pterodactyl Gnus v0.82) Emacs/20.3 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:22774 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:22774 wmperry@aventail.com (William M. Perry) writes: > M-x message-prettification-minor-mode > > It could add some keybinding to do the fun things like bold, italic, etc. But the keybindings are already there, in the Edit->Text Properties menu or the M-g prefix. In fact, `M-g u' and `M-g b' will already make the text _u_n_d_e_r_l_i_n_e or bboolldd, even in a clumsy way. > You could even make it smart enough that if the user has used _only_ things > that can be represented as *bold* or /italic/, it would send them out like > that, otherwise it could drop it into HTML or richtext. I think the best thing to do would be to make message-mode smart about understanding text properties, combined with a `format preference'. (defcustom message-rich-text-preferences '("text/plain" "text/plain + _b_a_c_k_s_p_a_c_e hack." "text/plain + /format/ *conventions*" "text/enriched" "text/html") "Use the first format in the list supporting text properties in buffer.")