VM

included text when vm-mime-alternative-select-method is set to all

Bug #778394 reported by mere user
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
VM
Fix Released
Medium
Uday Reddy

Bug Description

Hi Uday, the included text quoting in replies seems to always come from the 'best-internal choice, even if I have vm-mime-alternative-select-method set to 'all. is this OK? The manual says:
"By default, VM uses its MIME displaying mechanism to extract the included text to be cited in replies. The quoted text is then similar to what appears in the message Presentation buffer. "
This is an issue for me once I nuke the html part, and I sometime need to toggle to 'all to see the actual text. In such cases I was hoping 'all to be also used for the included text... cheers, Eli

Tags: new reply

Related branches

Revision history for this message
Uday Reddy (reddyuday) wrote : Re: [Bug 778394] [NEW] included text when vm-mime-alternative-select-method is set to all

mere user writes:

> Public bug reported:
>
> Hi Uday, the included text quoting in replies seems to always come from
> the 'best-internal choice, even if I have
> vm-mime-alternative-select-method set to 'all. is this OK? The manual
> says: "By default, VM uses its MIME displaying mechanism to extract the
> included text to be cited in replies. The quoted text is then similar to
> what appears in the message Presentation buffer. " This is an issue for me
> once I nuke the html part, and I sometime need to toggle to 'all to see
> the actual text. In such cases I was hoping 'all to be also used for the
> included text... cheers, Eli

There is probably a bug in the nuke html code, because if it is really
nuked, it should simply disappear and not affect the rest of the operation.

In any case, I realize that people will probably need better control. So, I
added a new variable `vm-mime-alternative-yank-method'. You can set that to
get what you need. Revision 1214.

Cheers,
Uday

Uday Reddy (reddyuday)
Changed in vm:
status: New → Fix Committed
importance: Undecided → Medium
assignee: nobody → Uday Reddy (reddyuday)
milestone: none → 8.2.0a
tags: added: new reply
Revision history for this message
mere user (emacs-user) wrote : Re: [Bug 778394] [NEW] included text when vm-mime-alternative-select-method is set to all

On Fri, May 6, 2011 at 3:26 PM, Uday Reddy included text to be >
> There is probably a bug in the nuke html code, because if it is really
> nuked, it should simply disappear and not affect the rest of the operation.

The difficulty is with the case where an attachment is included with
the html part only. once the html is nuked, this confuses everything.
 this occurs regularly with apple mail, but also with yahoo and
others. I think you looked into this once and concluded that this way
of attaching contradicts some standard or such.

> In any case, I realize that people will probably need better control.  So, I
> added a new variable `vm-mime-alternative-yank-method'.  You can set that to
> get what you need.  Revision 1214.

thanks! will give this a try right now. cheers, Eli

> Cheers,
> Uday

Revision history for this message
mere user (emacs-user) wrote :

works, fantastic. thanks! Eli

On Fri, May 6, 2011 at 3:26 PM, Uday Reddy

> In any case, I realize that people will probably need better control.  So, I added a new variable `vm-mime-alternative-yank-method'.

Uday Reddy (reddyuday)
Changed in vm:
status: Fix Committed → Fix Released
Revision history for this message
Uday Reddy (reddyuday) wrote :

Arik Mitshchang reports on <email address hidden>

 When I reply a mail with type mixed/alternative and there is a text
   and html part, vm will use the html part in the reply even when I
   have set:

   (setq vm-mime-alternative-select-method '(favorite "text/plain"
   "text/html"))

   I can get around this by adding "text/html" to
   vm-mime-internal-content-type-exceptions but thats not good since
   html only messages will not be seen. I think vm should honor the
   select-method in reply. Now that I think about it, this might be a
   bug

Revision history for this message
Uday Reddy (reddyuday) wrote :

Arik, have you tried the new variable, vm-mime-alternative-yank-method?

Revision history for this message
Uday Reddy (reddyuday) wrote : [Bug 778394] Re: included text when vm-mime-alternative-select-method is set to all

Uday Reddy writes:

> Arik Mitshchang reports on <email address hidden>
>
> When I reply a mail with type mixed/alternative and there is a text
> and html part, vm will use the html part in the reply even when I
> have set:
>
> (setq vm-mime-alternative-select-method '(favorite "text/plain"
> "text/html"))

We can't use this variable because it is not guaranteed to choose an
"internal" method.

I have now updated the doc string to point to the new variable.

Cheers,
Uday

Revision history for this message
Arik (akwm) wrote :

Ah indeed, I hadn't noticed that. It does do the trick. I set it to
that same as the alternative select method. I wonder if a better
default would be to have it evaluate to the definition of alternative
select (and so whatever default that takes or is set to). I would
imagine most users would expect the quoting to look like how their
message looks?

Either way, problem solved. Sorry I didn't find that myself

-Arik

Uday Reddy writes:
 > Arik, have you tried the new variable, vm-mime-alternative-yank-method?
 >
 > --
 > You received this bug notification because you are subscribed to the bug
 > report.
 > https://bugs.launchpad.net/bugs/778394
 >
 > Title:
 > included text when vm-mime-alternative-select-method is set to all
 >
 > Status in VM (View Mail) for Emacs:
 > Fix Released
 >
 > Bug description:
 > Hi Uday, the included text quoting in replies seems to always come from the 'best-internal choice, even if I have vm-mime-alternative-select-method set to 'all. is this OK? The manual says:
 > "By default, VM uses its MIME displaying mechanism to extract the included text to be cited in replies. The quoted text is then similar to what appears in the message Presentation buffer. "
 > This is an issue for me once I nuke the html part, and I sometime need to toggle to 'all to see the actual text. In such cases I was hoping 'all to be also used for the included text... cheers, Eli
 >
 > To manage notifications about this bug go to:
 > https://bugs.launchpad.net/vm/+bug/778394/+subscriptions

Revision history for this message
Uday Reddy (reddyuday) wrote : [Bug 778394] Re: included text when vm-mime-alternative-select-method is set to all

Arik writes:

> Ah indeed, I hadn't noticed that. It does do the trick. I set it to
> that same as the alternative select method. I wonder if a better
> default would be to have it evaluate to the definition of alternative
> select (and so whatever default that takes or is set to). I would
> imagine most users would expect the quoting to look like how their
> message looks?

Well, the users that use external viewers for html may not think so. The
alternative selection methods apply to both internal and external viewing.

> Either way, problem solved. Sorry I didn't find that myself

Yeah, it is hard to figure out that something needs to be "found". The
pointer I added in the doc string should help. Come to think of it, I
should also rename the "select-method" to "view-method" to make it clear
that it is only for viewing.

Cheers,
Uday

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.