Bhupesh Kothari | 3 Oct 21:22 2008
Picon

Skipping non-existent message during refile

For searching mails by using swish or mairix, an index is created
usually once a day (say by a cron job).  If any operation that changes
the location of the message (delete or refile)  is done after the
index is created, it creates a problem.   For example, if you delete a
message after the index is created and then do a search, the search is
aborted and you get nothing in the scan listing.   What happens  is
that refile  aborts when it is tries to pull the messages based on the
search and one of the messages in the search result no longer exist.
Is it possible to make refile more tolerant and simply skip a message
if it no longer exist?

Thanks
Bhupesh

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Bill Janssen | 6 Oct 21:03 2008

displaying QP text/plain properly?

When I read a message with the following headers:

  Content-Type: text/plain; charset="iso-8859-1"
  Content-Transfer-Encoding: quoted-printable
  MIME-Version: 1.0

I get in my display lines like this:

  You are receiving this message because I think you may be interested in hel=
  ping to to work on a plan to provide good things to the world by reducing o=

In other words, the CTE is not being decoded before display of the text.

What's causing this?  What variable settings should I check?

Bill

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Henrique Martins | 6 Oct 21:39 2008

Re: displaying QP text/plain properly?


> When I read a message with the following headers:
>   Content-Type: text/plain; charset="iso-8859-1"
>   Content-Transfer-Encoding: quoted-printable
>   MIME-Version: 1.0
> ...
> In other words, the CTE is not being decoded before display of the text.

Seems to works out of the box for me.  I fired up:
  xemacs -nw -vanilla
then loaded this from a file to preload 8.1 instead of the
default mh-e:
  (add-to-list 'load-path ("/path/to/mh-e-8.1/emacs/lisp/mh-e"))
  (add-to-list 'load-path ("/path/to/mh-e-8.1"))
  (require 'mh-autoloads)
  (setq mm-discouraged-alternatives '("text/html" "text/richtext"))
Then looked at the message on my inbox right before yours with:
  (mh-rmail)
  (mh-rescan-folder)
  (mh-previous-undeleted-msg)
which basically is:

-----------------------------------------------------------------
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_Part_41615_27055092.1223244609062"

------=_Part_41615_27055092.1223244609062
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
(Continue reading)

Bill Wohler | 6 Oct 22:23 2008
Picon
Picon

Re: displaying QP text/plain properly?

Bill Janssen <janssen <at> parc.com> wrote:

> When I read a message with the following headers:
> 
>   Content-Type: text/plain; charset="iso-8859-1"
>   Content-Transfer-Encoding: quoted-printable
>   MIME-Version: 1.0
> 
> I get in my display lines like this:
> 
>   You are receiving this message because I think you may be interested in hel=
>   ping to to work on a plan to provide good things to the world by reducing o=
> 
> In other words, the CTE is not being decoded before display of the text.
> 
> What's causing this?  What variable settings should I check?

That should work out of the box, as Henrique confirmed.

I'd suggest running emacs -Q (emacs -q before emacs 22) and ensure that
it works. Then you can use divide and conquer on your configuration to
find the problem.

One variable to look at is mh-decode-mime-flag and the command `;'.

Perhaps other quoted-printable messages are being decoded properly, and
this particular message is corrupted. If you suspect that to be the
case, you can forward it to me or us and we could take a look at it.

--

-- 
(Continue reading)

Bill Janssen | 7 Oct 02:00 2008

Re: displaying QP text/plain properly?

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

> Bill Janssen <janssen <at> parc.com> wrote:
> 
> > When I read a message with the following headers:
> > 
> >   Content-Type: text/plain; charset="iso-8859-1"
> >   Content-Transfer-Encoding: quoted-printable
> >   MIME-Version: 1.0
> > 
> > I get in my display lines like this:
> > 
> >   You are receiving this message because I think you may be interested in hel=
> >   ping to to work on a plan to provide good things to the world by reducing o=
> > 
> > In other words, the CTE is not being decoded before display of the text.
> > 
> > What's causing this?  What variable settings should I check?
> 
> That should work out of the box, as Henrique confirmed.
> 
> I'd suggest running emacs -Q (emacs -q before emacs 22) and ensure that
> it works. Then you can use divide and conquer on your configuration to
> find the problem.
> 
> One variable to look at is mh-decode-mime-flag and the command `;'.
> 
> Perhaps other quoted-printable messages are being decoded properly, and
> this particular message is corrupted. If you suspect that to be the
> case, you can forward it to me or us and we could take a look at it.
(Continue reading)

Bill Wohler | 7 Oct 02:24 2008
Picon
Picon

Re: displaying QP text/plain properly?

Bill Janssen <janssen <at> parc.com> wrote:

> I'm guessing I accidentally hit ";" at some point, and toggled
> "mh-decode-mime-flag" off.  That seems like a risky binding for a
> presumably little-used function.  I'll just unbind it.

I use it a lot :-). That's an interesting point that we didn't consider.
The rationale for the binding `;' was that it was like `,'.

--

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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Bill Janssen | 7 Oct 02:58 2008

Re: displaying QP text/plain properly?

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

> Bill Janssen <janssen <at> parc.com> wrote:
> 
> > I'm guessing I accidentally hit ";" at some point, and toggled
> > "mh-decode-mime-flag" off.  That seems like a risky binding for a
> > presumably little-used function.  I'll just unbind it.
> 
> I use it a lot :-). That's an interesting point that we didn't consider.
> The rationale for the binding `;' was that it was like `,'.

Right, I noticed that too, but it's right on the home row...

So, why do you use it a lot?  I can't quite see the point.

Bill

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Bill Wohler | 7 Oct 05:30 2008
Picon
Picon

Re: displaying QP text/plain properly?

Bill Janssen <janssen <at> parc.com> wrote:

> Bill Wohler <wohler <at> newt.com> wrote:
> 
> > Bill Janssen <janssen <at> parc.com> wrote:
> > 
> > > I'm guessing I accidentally hit ";" at some point, and toggled
> > > "mh-decode-mime-flag" off.  That seems like a risky binding for a
> > > presumably little-used function.  I'll just unbind it.
> > 
> > I use it a lot :-). That's an interesting point that we didn't consider.
> > The rationale for the binding `;' was that it was like `,'.
> 
> Right, I noticed that too, but it's right on the home row...

Got me there :-).

> So, why do you use it a lot?  I can't quite see the point.

To see the link in an HTML page (to ensure it's legit and not a phish),
especially if I'm ssh'd into the host and can't mouse over the link.
To see the MIME type to see why an attachment isn't displaying as I'd
expect. There's other examples which don't come to mind at the moment.

--

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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
(Continue reading)

Bill Wohler | 7 Oct 07:07 2008
Picon
Picon

"SourceForge.net": [ alexandria-Support Requests-1406898 ] Email: Mailing list services

Hey folks,

I'd like to enlist your help on following up on this bug report. Can you
please check the bottom of your MH-E messages for a little while and let
me know if a) you see naked =s in QP body parts, or b) you see properly
encoded =s in QP body parts (=3D). Thanks for your help!

Picon Picon
From: SourceForge.net <noreply <at> sourceforge.net>
Subject: [ alexandria-Support Requests-1406898 ] Email: Mailing list services
Date: 2008-10-06 12:57:23 GMT
Support Requests item #1406898, was opened at 2006-01-15 22:45
Message generated for change (Comment added) made by travis-w
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=200001&aid=1406898&group_id=1

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Project Mailing Lists/Archives/Services
Group: First Level Support
>Status: Pending
Priority: 5
(Continue reading)

Bill Wohler | 7 Oct 07:13 2008
Picon
Picon

Ohloh

I just discovered a neat new site for evaluating open source projects.
Check out the "Grok Open Source" video at https://www.ohloh.net/.

I've added MH-E to it: https://www.ohloh.net/projects/mh-e.

I encourage users and developers to create accounts and click on the "I
use this" and "I'm a contributor" links in order to see where we all lie
on the map. The world is an empty place when there is only one forlorn
soul on it!

--

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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Gmane