Greg Minshall | 2 May 05:52 2008
Picon

"r", "R"

hi.  Berkeley Mail (and probably the "mail" that proceeded it), as well
as Brent Welch's exmh, use "r" to reply to sender and "R" to reply to
all senders, receivers, etc.  since my fingers have been programmed for
so many years, i wanted "R" to do reply all.

below is my bumbling attempt, in case it is of use to anyone.

cheers, Greg Minshall
----
;; my reply-all function
(defun ggm-mh-reply-all (message &optional includep)
  "Reply to a MESSAGE to *all* parties"
  (interactive (list
                (mh-get-msg-num t)
                current-prefix-arg))
  (mh-reply message "all" includep))

;; get ggm-mh-reply-all hooked in

(defun ggm-mh-folder-mode-hook ()
  "Hook to set key bindings in mh-e"
  ;; in folder mode, "R" is "reply all"
  (local-set-key "R" 'ggm-mh-reply-all)
  (remove-hook 'mh-folder-mode-hook 'ggm-mh-folder-mode-hook))

(add-hook 'mh-folder-mode-hook 'ggm-mh-folder-mode-hook)

(defun ggm-mh-show-mode-hook ()
  "Hook to set key bindings in mh-e"
  ;; in show mode, "R" is "reply all"
(Continue reading)

Christophe Garion | 12 May 22:44 2008
Face
Picon

mh-e as part of your GTD system with sequences

Hello everybody,

Pete Phillips has sent an email about using MH-E as a support for a GTD
system (see http://ccgi.philfam.co.uk/wordpress/2008/04/20/24). It is a
very interesting system based on cron tasks to refile the mail you have
classified into folders to be treated next week, next month etc. into
the inbox folder right on time.

I personally use procmail to sort my mail into MH folders and use the
unseen sequence to see new mails, so I cannot use Pete's system. If you
are interested, I have attached a shell-script to move all mails from a
specified sequence (today, nextweek etc.) into the unseen sequence. As I
am not a shell-script specialist, there are maybe some improvements to
do.

You can then use the same cron-based system as Pete's.

Best,

Christophe

--

-- 
Christophe Garion          ISAE/DMIA - SUPAERO/IN
garion <at> isae.fr             10 avenue Edouard Belin
Tél : (33)5 61 33 80 57    BP 54032
Fax : (33)5 61 33 83 45    31055 Toulouse Cedex 4

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
(Continue reading)

Peter S Galbraith | 13 May 15:16 2008
Picon

Re: mh-e as part of your GTD system with sequences

Christophe Garion <garion <at> isae.fr> wrote:

> Hello everybody,
> 
> Pete Phillips has sent an email about using MH-E as a support for a GTD
> system (see http://ccgi.philfam.co.uk/wordpress/2008/04/20/24). It is a
> very interesting system based on cron tasks to refile the mail you have
> classified into folders to be treated next week, next month etc. into
> the inbox folder right on time.

Very sweet!

> I personally use procmail to sort my mail into MH folders and use the
> unseen sequence to see new mails, so I cannot use Pete's system. 

I use procmail, but move everything into separate mailboxes which are
inc'ed into distincts folders as I am ready to read them.  I could use
this.  Thanks for the heads-up!

Peter

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Nick Dokos | 15 May 05:02 2008
Picon

Re: mh-e, mairix and org-mode

Hi Bill,

You have probably forgotten the email that I am replying to (it was
back in December! I found it in the mh-e-users archives at

https://sourceforge.net/mailarchive/forum.php?thread_name=18867.1196806703%40localhost&forum_name=mh-e-users

in case you haven't kept it).

Briefly, Pete Phillips was trying to get org-mode links to email
messages (kept in mh folders) working, but was getting type mismatches.
Bastien Guerry (iirc) had suggested the workaround that Pete included
in his message.

I debugged the problem a bit and I found out that there are problems on
both sides of the fence: mh-e's mairix interface does not handle
message-IDs properly (as Bastien had suggested) and I think org-mode's
handling of mh-e searches (other than the pick case) is wrong.

I am going to send a patch to the org-mode mailing list about the latter
problem in just a little bit, but it depends on the following mh-e
patch, so I'd appreciate it very much if you could apply it: the mh-e
patch extends the capabilities of mh-mairix-regexp-builder to include
several search options (including the message-id "m:" one) that are
supported by the current version (0.21) of mairix. It only affects the
mairix interface, so it's rather unlikely to break anything else and
since it extends the current interface, it should be backwards
compatible as well.

I've been running with this plus the org-mode patch for a couple of
(Continue reading)

Nick Dokos | 15 May 05:31 2008
Picon

Bug fix: org-mhe links don't work with mairix

Hi Carsten,

Pete Phillips had run into a problem back in November 2007 with mhe
links to emails not working (he was using mairix as the mh search
method). I just sent a patch to Bill Wohler about the mh-e part (and
copied both the mh-e list and the org list: the problem is described in
more detail there). Here is the org-mode patch.

I've tested the patch both with the default "pick" search in mh-e and
with "mairix" search. Pete Phillips also did some testing (I believe
with mairix) - thanks Pete!

I would feel better if there had been some swish++/namazu/etc testing as
well, but it's unlikely that I'll find the time in the foreseeable
future. In particular, I'm not sure where the angle brackets are needed:
it's clear they are needed for the pick search and I've found out that
they are *not* needed for mairix search, but if swish++ needs them, that
would complicate things. The patch assumes that they are not needed for
any search method, other than pick. If somebody on the list could try it
and report success/failure, I, for one, would appreciate it very much.

If it looks OK to you, could you please apply it?

Thanks very much,
Nick

--- a/lisp/org-mhe.el
+++ b/lisp/org-mhe.el
 <at>  <at>  -194,16 +194,16  <at>  <at>  folders."
   (mh-find-path)
(Continue reading)

Carsten Dominik | 16 May 16:27 2008
Picon

Re: Bug fix: org-mhe links don't work with mairix

I have applied the patch, thank you.

- Carsten

On May 15, 2008, at 5:31 AM, Nick Dokos wrote:

> Hi Carsten,
>
> Pete Phillips had run into a problem back in November 2007 with mhe
> links to emails not working (he was using mairix as the mh search
> method). I just sent a patch to Bill Wohler about the mh-e part (and
> copied both the mh-e list and the org list: the problem is described  
> in
> more detail there). Here is the org-mode patch.
>
> I've tested the patch both with the default "pick" search in mh-e and
> with "mairix" search. Pete Phillips also did some testing (I believe
> with mairix) - thanks Pete!
>
> I would feel better if there had been some swish++/namazu/etc  
> testing as
> well, but it's unlikely that I'll find the time in the foreseeable
> future. In particular, I'm not sure where the angle brackets are  
> needed:
> it's clear they are needed for the pick search and I've found out that
> they are *not* needed for mairix search, but if swish++ needs them,  
> that
> would complicate things. The patch assumes that they are not needed  
> for
> any search method, other than pick. If somebody on the list could  
(Continue reading)

Thomas Baumann | 17 May 17:15 2008
Picon

Re: Bug fix: org-mhe links don't work with mairix

Hi Nick,

your patch actually breaks namazu, swish and grep searches. 

A look at mh-search-choices (mh-search.el) reveals that for namazu,
swish and grep mh-search-regexp-builder is nil and therefore 

(funcall mh-search-regexp-builder ...

raises an error. One might be tempted to solve this on the mh-e side but
there's no reason to add a mh-search-regexp-builder for those search
engines. There's a patch against todays git below.

BTW. Namazu and pick searches work fine without angular brackets, however, it
doesn't harm to have them.

Greetings
Thomas

--- /data/cvs/org-mode/lisp/org-mhe.el	2008-05-17 12:54:07.000000000 +0200
+++ org-mhe.el	2008-05-17 16:55:22.000000000 +0200
 <at>  <at>  -204,8 +204,10  <at>  <at> 
                      (not (org-mhe-get-message-real-folder)))
             (kill-this-buffer)
             (mh-search "+" (list "--message-id" article))))
-      (mh-search "+" (funcall mh-search-regexp-builder
-			      (list (cons 'message-id article)))))
+      (if mh-search-regexp-builder
+          (mh-search "+" (funcall mh-search-regexp-builder
+			      (list (cons 'message-id article))))
(Continue reading)

Nick Dokos | 17 May 22:23 2008

Re: Re: Bug fix: org-mhe links don't work with mairix

Thomas Baumann <dtbaumann <at> yahoo.de> wrote:

> Hi Nick,
> 
> your patch actually breaks namazu, swish and grep searches. 
> 
> A look at mh-search-choices (mh-search.el) reveals that for namazu,
> swish and grep mh-search-regexp-builder is nil and therefore 
> 
> (funcall mh-search-regexp-builder ...
> 
> raises an error. One might be tempted to solve this on the mh-e side but
> there's no reason to add a mh-search-regexp-builder for those search
> engines. There's a patch against todays git below.
> 
> BTW. Namazu and pick searches work fine without angular brackets, however, it
> doesn't harm to have them.
> 
> 
> Greetings
> Thomas
> 

Thomas,

Yes indeed: sorry for the breakage and thanks for coming up with a
fix. I agree that it's preferable to change the call site rather than
asking for changes to mh-e.

Thanks very much,
(Continue reading)

Bill Wohler | 17 May 23:17 2008
Picon
Picon

Re: Bug fix: org-mhe links don't work with mairix

Thomas Baumann <dtbaumann <at> yahoo.de> wrote:

> your patch actually breaks namazu, swish and grep searches. 
> 
> A look at mh-search-choices (mh-search.el) reveals that for namazu,
> swish and grep mh-search-regexp-builder is nil and therefore 
> 
> (funcall mh-search-regexp-builder ...
> 
> raises an error. One might be tempted to solve this on the mh-e side but
> there's no reason to add a mh-search-regexp-builder for those search
> engines.

Thank you, Thomas. I agree.

--

-- 
Bill Wohler <wohler <at> newt.com>  http://www.newt.com/wohler/  GnuPG ID:610BD9AD

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Bill Wohler | 17 May 23:38 2008
Picon
Picon

Re: mh-e, mairix and org-mode

Nick Dokos <nicholas.dokos <at> hp.com> wrote:

> I've been running with this plus the org-mode patch for a couple of
> weeks. Thanks to Pete Phillips for taking time out to do some testing as
> well.

Hi Pete,

Please confirm that you've been running with Nick's patch and I'll patch
MH-E with it. Thanks to you both.

--

-- 
Bill Wohler <wohler <at> newt.com>  http://www.newt.com/wohler/  GnuPG ID:610BD9AD

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Gmane