Bill Wohler | 1 Apr 2005 17:09
Picon
Picon
Gravatar

Re: MH-E isn't decoding quoted-printable for me

Jason Larke <jlarke <at> umich.edu> wrote:

> >>>>> On Thu, 31 Mar 2005 07:10:48 -0800, Bill Wohler
> >>>>> <wohler <at> newt.com> said:
> 
> BW> Finally try running MH-E with emacs -q. Use
> 
> BW>   M-: (add-to-list 'load-path "/path/to/mh-e-dir") RET
> 
> BW> to update the load-path and then run "M-x mh-rmail RET".
> 
> That was the clue I needed. I had an old mh-formfile setq in my
> .emacs that was breaking things. Thanks much!

You're welcome. I'm glad you were able to fix the problem.

--

-- 
Bill Wohler <wohler <at> newt.com>  http://www.newt.com/wohler/  GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.

-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
Massimo Bernaschi | 11 Apr 2005 14:25
Picon

Reply-to (all)

Hello, I am experiencing troubles trying to use the "all" option of
the "Reply-to-whom" command (there are three options: From, to, all).
If I select the "all" option, MH-E does not read my replcomps file
and the consequence is that the Reply-To and From fields do not appear
in the reply message.
Everything works fine if I select the "From" option (that is the default)
or the "to" option. I append below the information regarding my configuration
and my replcomps file.
Thanks in advance for any help and best regards,
Massimo

MH-E 7.3

MH-E compilation details:
 Byte compiled:		yes
 Gnus (compile-time):	Gnus v5.9.0
 Gnus (run-time):	Gnus v5.9.0

GNU Emacs 21.3.50.2 (powerpc-apple-darwin7.0.0)
 of 2003-11-14 on marx.local

nmh-1.0.4 [compiled on Massimo-Bernaschis-Computer.local at Mon Dec  8 18:31:26 CET 2003]
 mh-progs:	/usr/local/nmh/bin
 mh-lib:	/usr/local/nmh/etc
 mh-lib-progs:	/usr/local/nmh/lib

Darwin maxapple.iac.rm.cnr.it 7.8.0 Darwin Kernel Version 7.8.0: Wed Dec 22 14:26:17 PST 2004;
root:xnu/xnu-517.11.1.obj~1/RELEASE_PPC  Power Macintosh powerpc
-------------------------------------------------------------------------------
%(lit)%(formataddr %<{reply-to}%|%<{from}%|%{sender}%>%>)\
(Continue reading)

Mark Allman | 19 Apr 2005 17:06

pgp + font question


So, just for grins I wanted to highlight different messages from
pgp-signed messages differently.  So, the line:

  [[PGP Signed Part:Failed]]

might be signed in red, a good yet untrusted signature might be yellow
and a trusted signature might be green.

However, my emacs lisp stupidity prevents me from figuring out how to
accomplish this.  I have tried a couple of hacks, e.g.:

  * brute force - a hook that nicely fontifies everything, but which
    doesn't so much work in mh-e (but, works fine if I just try it in a
    random buffer by hand).  It works if I add a small timeout,
    suggesting that it is in fact working, but then getting overwritten.

  * using a font-lock keyword - I tried adding keywords to the list of
    regexps in the 'mh-show-font-lock-keywords' and
    'mh-show-font-lock-keywords-with-cite' variables to no avail.

Any ideas on this one?

(I am not on the list, so please Cc me.)

Thanks!

allman

--

-- 
(Continue reading)

Peter S Galbraith | 19 Apr 2005 18:47
Favicon

Re: pgp + font question

Mark Allman <mallman <at> icir.org> wrote:

>  
> So, just for grins I wanted to highlight different messages from
> pgp-signed messages differently.  So, the line:
> 
>   [[PGP Signed Part:Failed]]
> 
> might be signed in red, a good yet untrusted signature might be yellow
> and a trusted signature might be green.
> 
> However, my emacs lisp stupidity prevents me from figuring out how to
> accomplish this.  I have tried a couple of hacks, e.g.:
> 
>   * brute force - a hook that nicely fontifies everything, but which
>     doesn't so much work in mh-e (but, works fine if I just try it in a
>     random buffer by hand).  It works if I add a small timeout,
>     suggesting that it is in fact working, but then getting overwritten.
> 
>   * using a font-lock keyword - I tried adding keywords to the list of
>     regexps in the 'mh-show-font-lock-keywords' and
>     'mh-show-font-lock-keywords-with-cite' variables to no avail.
> 
> Any ideas on this one?
> 
> (I am not on the list, so please Cc me.)
> 
> Thanks!

First off, that's a good idea.
(Continue reading)

Satyaki Das | 19 Apr 2005 19:52
Picon

Re: pgp + font question

On 4/19/05, Mark Allman <mallman <at> icir.org> wrote:
> 
> So, just for grins I wanted to highlight different messages from
> pgp-signed messages differently.  So, the line:
> 
>   [[PGP Signed Part:Failed]]
> 
> might be signed in red, a good yet untrusted signature might be yellow
> and a trusted signature might be green.

Sounds like a cool idea.

I think this could be implemented by passing an appropriate face to
the button created with widget-convert-button.  That is add a
:button-face sig-failed-face in the call to widget-convert-button in
mh-insert-mime-security-button (and define sig-failed-face
appropriately).

Since I don't have a installation of MH-E handy at the moment, all
this is just idle speculation.

Satyaki

-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
Mark Allman | 19 Apr 2005 20:41

Re: pgp + font question


> I think this could be implemented by passing an appropriate face to
> the button created with widget-convert-button.  That is add a
> :button-face sig-failed-face in the call to widget-convert-button in
> mh-insert-mime-security-button (and define sig-failed-face
> appropriately).

Ah, I made this work quickly.  But, I now have the problem that the face
to plug in depends on whether the signature is trusted or not (or, even
good).

I poked for a moment and can't see any magic way to figure this out from
the variables in mh-mime.el.  Surely there must be some sort of variable
that I could latch onto to set which font will be used for the button.
Anyone have any easy pointers?

Thanks!

allman

--

-- 
Mark Allman -- ICIR -- http://www.icir.org/mallman/

Reiner Steib | 19 Apr 2005 22:19
X-Face

Re: pgp + font question

On Tue, Apr 19 2005, Peter S Galbraith wrote:

> Mark Allman <mallman <at> icir.org> wrote:
>> So, just for grins I wanted to highlight different messages from
>> pgp-signed messages differently.  So, the line:
>> 
>>   [[PGP Signed Part:Failed]]
>> 
>> might be signed in red, a good yet untrusted signature might be yellow
>> and a trusted signature might be green.
[...]
> First off, that's a good idea.
>
> The thing is, if mh-highlight-citation-p is set to gnus then MH-E only
> fontifies the header and calls on gnus to do the body.  So it would be
> best to get this done within gnus.

I think it would be nice to have this in Gnus.

Bye, Reiner.
--

-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
(Continue reading)

Satyaki Das | 19 Apr 2005 23:31
Picon

Re: pgp + font question

On 4/19/05, Mark Allman <mallman <at> icir.org> wrote:
> 
> Ah, I made this work quickly.

Good :-).

> I poked for a moment and can't see any magic way to figure this out from
> the variables in mh-mime.el.  Surely there must be some sort of variable
> that I could latch onto to set which font will be used for the button.
> Anyone have any easy pointers?

You did modify mh-insert-mime-security-info, right?  If you did then
inside of the let block one of the variables, `details' and `info' has
the necessary info (that is use string-match on them).

Hope that helps,
Satyaki

-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
Bill Wohler | 20 Apr 2005 16:50
Picon
Picon
Gravatar

Re: pgp + font question

Mark Allman <mallman <at> icir.org> wrote:

> Ah, I made this work quickly.

Great! When you're happy with your finished product, can you please
submit a patch at:

  http://sourceforge.net/tracker/?group_id=13357&atid=313357

Seems that the consensus says your idea is a good one so we should fold
it in.

Thanks for your interest in MH-E.

--

-- 
Bill Wohler <wohler <at> newt.com>  http://www.newt.com/wohler/  GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.

-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
Satyaki Das | 23 Apr 2005 21:18
Face
Picon

Re: pgp + font question

Bill Wohler <wohler <at> newt.com> writes:

> Great! When you're happy with your finished product, can you please
> submit a patch at:

Here is a patch which works reasonably for highlighting PGP
messages.  I don't know if it works for SMIME too, since I haven't
checked with that.

Satyaki

Index: mh-customize.el
===================================================================
RCS file: /cvsroot/mh-e/src/mh-customize.el,v
retrieving revision 1.161
diff -u -r1.161 mh-customize.el
--- mh-customize.el	20 Mar 2005 02:04:38 -0000	1.161
+++ mh-customize.el	23 Apr 2005 19:13:09 -0000
 <at>  <at>  -2318,6 +2318,27  <at>  <at> 

 ;;; Faces Used in Message Display (:group 'mh-show-faces)

+(defvar mh-show-pgg-good-face 'mh-show-pgg-good-face
+  "Face for highlighting good PGG signature.")
+(defface mh-show-pgg-good-face
+  '((t (:bold t :foreground "LimeGreen")))
+  "Face for highlighting good PGG signature."
+  :group 'mh-show-faces)
(Continue reading)


Gmane