Mark D. Baushke | 6 Oct 2004 21:09
X-Face
Picon

Re: Bug displaying strings surrounded by slashes

Satyaki Das <satyaki <at> chicory.stanford.edu> writes:

> Peter Whaite <peta <at> whaite.ca> writes:
> 
> > Now that I know about it, using ';' to toggle the mh-decode-mime-flag
> > isn't too bad, though when there are mime parts in the message its
> > somewhat inconvenient.  Maybe someone else will also find a use for this
> > patch to let ':' toggle emphasis display .
> 
> We should have a separate prefix for these functions.  We can
> imagine similar functions for turning off smileys and graphical
> X-Face display.  And having single keystrokes for all of them
> would be confusing.

Agreed.

> Another thing I noticed is that the attached patch changes a
> customizable variable, which is kind of icky.  A similar criticism
> could also be made for the ";" command.

Well, I did ask for comments about the ";" command before I committed
it. I would understand the desire not to have it in the formal
command-set. It is just very useful to me and I use it a lot. :-)

> Lastly, it might be possible to do a better job of distinguishing
> the type of text attachments with the file command and do smilies
> and emphasis only for plain text and not for source code.

I agree in principle, but I am not sure how easy it would be to do.

(Continue reading)

Satyaki Das | 6 Oct 2004 23:01
Face
Picon

Re: Bug displaying strings surrounded by slashes

Mark D. Baushke <mdb <at> gnu.org> writes:

> Well, I did ask for comments about the ";" command before I committed
> it. I would understand the desire not to have it in the formal
> command-set. It is just very useful to me and I use it a lot. :-)

We should keep";" since it is kind of special and similar to ",".
And I will fix that function to not directly change the
cutomizable variable -- sorry that I didn't catch it earlier (I
didn't remember that mh-decode-mime-flag was customizable).

> > Lastly, it might be possible to do a better job of distinguishing
> > the type of text attachments with the file command and do smilies
> > and emphasis only for plain text and not for source code.
> 
> I agree in principle, but I am not sure how easy it would be to do.

I will investigate this.  Seems like we can run "file -b -" on the
text/plain part and search for "\\(program\\|script\\)" in the
output.

Satyaki

Mark D. Baushke | 6 Oct 2004 23:43
X-Face
Picon

Re: Bug displaying strings surrounded by slashes

Satyaki Das <satyaki <at> chicory.stanford.edu> writes:

> Mark D. Baushke <mdb <at> gnu.org> writes:
> 
> > Well, I did ask for comments about the ";" command before I committed
> > it. I would understand the desire not to have it in the formal
> > command-set. It is just very useful to me and I use it a lot. :-)
> 
> We should keep";" since it is kind of special and similar to ",".
> And I will fix that function to not directly change the
> cutomizable variable -- sorry that I didn't catch it earlier (I
> didn't remember that mh-decode-mime-flag was customizable).

Hmmm... for my own nefarious purposes having different values of
mh-decode-mime-flag per folder would be a nice innovation... that is, if
I could provide the list of folders that are exceptions to the default.

Of course, +inbox is the one that I end up toggling the most before I
refile various of the messages into folders that tend to always have a
stable mh-decode-mime-flag for all the messages in the folder...

	-- Mark

Satyaki Das | 7 Oct 2004 00:25
Face
Picon

Re: Bug displaying strings surrounded by slashes

Mark D. Baushke <mdb <at> gnu.org> writes:

> Hmmm... for my own nefarious purposes having different values of
> mh-decode-mime-flag per folder would be a nice innovation... that is, if
> I could provide the list of folders that are exceptions to the default.

I remember thinking about this at the time.  Should be easy to
have ";" affect only the current folder by changing the setq in
there with
  (set (make-local-variable 'mh-decode-mime-flag) ...).
And we could use a prefix argument to change the global value.

Satyaki


Gmane