Raimund Kohl-Fuechsle | 23 Jun 2005 12:07
Picon

question concerning mh-e documentation

Hello,

I may have asked this one question some time before but cannot remember
realy.  However, the documentation of mh-e says:

	"However, when customizing your mail environment, first try to
	change what you want in MH, and only change mh-e if changing MH
	is not possible.  That way you will get the same behavior inside
	and outside GNU Emacs.  Note that mh-e does not provide hooks
	for customizations that can be done in MH; this omission is
	intentional."

So, the question is: am I to first learn mh and nmh or is this nonsense?

The background of my question is: I want to dig deeper into what I can
do with mh-e ... it's such an awesome good work!

ray

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
Bill Wohler | 23 Jun 2005 21:29
Picon
Picon
Gravatar

Re: question concerning mh-e documentation

Raimund Kohl-Fuechsle <Raimund.Kohl <at> nabuli.de> wrote:

> I may have asked this one question some time before but cannot remember
> realy.  However, the documentation of mh-e says:
> 
> 	"However, when customizing your mail environment, first try to
> 	change what you want in MH, and only change mh-e if changing MH
> 	is not possible.  That way you will get the same behavior inside
> 	and outside GNU Emacs.  Note that mh-e does not provide hooks
> 	for customizations that can be done in MH; this omission is
> 	intentional."
> 
> So, the question is: am I to first learn mh and nmh or is this nonsense?
> 
> The background of my question is: I want to dig deeper into what I can
> do with mh-e ... it's such an awesome good work!

Vielen dank, Ray. This sentiment remains true today although you can do
far more with MH-E than with MH.

We hope that you find that you can do most of what you want via
customizing MH-E options (M-x customize-group RET mh-e RET) or hooks. If
you want to dig deeper than *that*, I would suggest that you also learn
more about MH. Jerry's book is a good place to start:

  http://www.ics.uci.edu/~mh/book/

--

-- 
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!
(Continue reading)

Douglas Alan | 30 Jun 2005 20:45
Picon
Favicon

BUG: MH-Folder buffer does not always show correct information

Hi -- sometimes the MH-Folder buffer shows me incorrect information.
For instance, I'm looking at a message right now that is from me to
"Jane Smith", but MH-E is showing the message as being
'To:"Evangeline-Sm' in the MH-Folder buffer.  (The names have been
changed to protect the innocent.)

If I display the message in the MH-Show buffer, it displays properly,
however, as being to Jane Smith.  Also, "scan" on the Unix command line
displays the message properly.

You might wonder where this name "Evangeline" is coming from.
Apparently it is coming from the previous message in the folder which is
from her.

I tried backing out to Mh-E version 7.0, but it exhibits the exact same
bug.  Has anyone else experienced this?

|>oug

P.S. I'm using MH-E version 7.84 with nmh-1.0.4 (installed via fink from
source) and Emacs 21.2.1 (installed with fink from binaries) on OS-X
10.3.9

P.P.S. Another thing I've noticed is that often MH-E will spontaneously
get into a mode where it highlights the third header in the MH-Show
buffer with a green background.  Why and when it choses to do this is a
mystery to me.  It doesn't always do this, but when it does, it always
seems to be the third header displayed that is highlighted.

-------------------------------------------------------
(Continue reading)

Peter S Galbraith | 1 Jul 2005 01:05
Favicon

Re: BUG: MH-Folder buffer does not always show correct information

Douglas Alan <nessus <at> mit.edu> wrote:

> Hi -- sometimes the MH-Folder buffer shows me incorrect information.
> For instance, I'm looking at a message right now that is from me to
> "Jane Smith", but MH-E is showing the message as being
> 'To:"Evangeline-Sm' in the MH-Folder buffer.  (The names have been
> changed to protect the innocent.)

That's an nmh bug that might have been fixed recently.

> P.P.S. Another thing I've noticed is that often MH-E will spontaneously
> get into a mode where it highlights the third header in the MH-Show
> buffer with a green background.  Why and when it choses to do this is a
> mystery to me.  It doesn't always do this, but when it does, it always
> seems to be the third header displayed that is highlighted.

Never seen that!

Peter

--

-- 
Peter S. Galbraith, MH-E developer  <p.galbraith <at> globetrotter.net>
GPG key 1024/D2A913A1 - 97CE 866F F579 96EE  6E68 8170 35FF 799E
6623'rd GNU/Linux user at the Counter - http://counter.li.org/

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
(Continue reading)

Satyaki Das | 1 Jul 2005 01:19
Picon

Re: BUG: MH-Folder buffer does not always show correct information

On 6/30/05, Douglas Alan <nessus <at> mit.edu> wrote:
> Hi -- sometimes the MH-Folder buffer shows me incorrect information.
> For instance, I'm looking at a message right now that is from me to
> "Jane Smith", but MH-E is showing the message as being
> 'To:"Evangeline-Sm' in the MH-Folder buffer.  (The names have been
> changed to protect the innocent.)

As Peter said, this is because of an nmh bug.

> P.P.S. Another thing I've noticed is that often MH-E will spontaneously
> get into a mode where it highlights the third header in the MH-Show
> buffer with a green background.  Why and when it choses to do this is a
> mystery to me.  It doesn't always do this, but when it does, it always
> seems to be the third header displayed that is highlighted.

The only time I have a green background is when I have the mouse over
the header.  Could that be the reason?

Satyaki

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
Douglas Alan | 1 Jul 2005 05:35
Picon
Favicon

Re: BUG: MH-Folder buffer does not always show correct information

Satyaki Das <satyakid <at> gmail.com> wrote:

> > Hi -- sometimes the MH-Folder buffer shows me incorrect information.

> As Peter said, this is because of an nmh bug.

How can I see the bug in nmh?  As I mentioned, if I do a command-line
"scan", the bug does not appear.  I can only make it appear in MH-E.

> > P.P.S. Another thing I've noticed is that often MH-E will spontaneously
> > get into a mode where it highlights the third header in the MH-Show
> > buffer with a green background.

> The only time I have a green background is when I have the mouse over
> the header.  Could that be the reason?

Hmmm, I don't know -- I think I would have noticed if that were the
cause.  It always seemed to be the third header, but maybe the third
header is where I tend to park the mouse.  I'll pay more attention to
where the mouse is when I see this in the future.

|>oug

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
Satyaki Das | 1 Jul 2005 17:28
Picon

Re: BUG: MH-Folder buffer does not always show correct information

On 6/30/05, Douglas Alan <nessus <at> mit.edu> wrote:

> How can I see the bug in nmh?  As I mentioned, if I do a command-line
> "scan", the bug does not appear.  I can only make it appear in MH-E.

That is because MH-E uses a different scan string from the default
that is used from the command line.  So to see the nmh bug you should
use the scan format from mh-scan-format-nmh in mh-e.el.

Satyaki

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
Douglas Alan | 1 Jul 2005 17:47
Picon
Favicon

Re: BUG: MH-Folder buffer does not always show correct information

Satyaki Das <satyakid <at> gmail.com> wrote:

> That is because MH-E uses a different scan string from the default
> that is used from the command line.  So to see the nmh bug you should
> use the scan format from mh-scan-format-nmh in mh-e.el.

Ah.  A long time ago MH-E used to use the scan format that the user
configured in MH.  I'd have to change the format from time to time as my
mailboxes got bigger and I needed more digits for the msg number.  This
was kind of a pain, but there was something of an advantage to the tight
link between how you configured the command line MH and how MH-E
behaved.  Of course, you couldn't go too crazy with the MH scan line
format, or MH-E could no longer parse the line.

I haven't tried changing my scan line format in a long time, but now
that you mention it, I guess I do recall that I had to change my "inc"
script, which filters my email into different folders, when MH-E started
passing a format into "inc".

In any case, thanks for the info I need to use to generate and track the
bug in nmh, and hopefully, a fix will be forthcoming from the nmh
maintainers.

|>oug

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
(Continue reading)

Bill Wohler | 1 Jul 2005 20:20
Picon
Picon
Gravatar

Re: BUG: MH-Folder buffer does not always show correct information

Douglas Alan <nessus <at> mit.edu> wrote:

> Satyaki Das <satyakid <at> gmail.com> wrote:
> 
> > That is because MH-E uses a different scan string from the default
> > that is used from the command line.  So to see the nmh bug you should
> > use the scan format from mh-scan-format-nmh in mh-e.el.
> 
> Ah.  A long time ago MH-E used to use the scan format that the user
> configured in MH.  I'd have to change the format from time to time as my
> mailboxes got bigger and I needed more digits for the msg number.

By the way, one of the reasons that MH-E now has its own scan format is
so that it can automatically change the format to display longer (or
shorter) message numbers. If that's the only reason you had changed the
format, you may happily reset that customization to the default.

>                                                                    This
> was kind of a pain, but there was something of an advantage to the tight
> link between how you configured the command line MH and how MH-E
> behaved.  Of course, you couldn't go too crazy with the MH scan line
> format, or MH-E could no longer parse the line.

MH-E can still parse the scan lines, but you may have to update the
variables that handle the parsing. I've appended the content of the
appendix that discusses that. I'd appreciate any feedback from you or
anyone else for the upcoming manual update.

p.s. Satyaki mentioned that the green line you saw was under the mouse;
I'd wager a case of beer--good beer--that that was the case.
(Continue reading)


Gmane