Aleksander Matuszak | 10 Jan 01:50 2011
Picon
Picon

Encoding again (in mh-e 8.2)


Hi!

After upgrading system at my work to debian squeeze/sid all
the things with my encoding works wrong.

I receive utf-8 message. While replying, I am converting the
body of message to iso-8859-2. My signature, inserted from
template is already in iso. Converted part of the message is
displayed normally with all diacritics, as well as new
written text, while the signature part is displayed with
\xyz codes.

Trying to send message (C-c C-c) I've got an error:
Multibyte character in QP encoding region.

Trying to make mime manually (C-c C-e) I've got
charset=iso-8859-2 header but the body of the message is in
QP but utf'ed.

My LC_CTYPE is set correctly to iso. This behaviour is also
independent of .emacs, since it can be reproduced with emacs
-q. BTW. I am using emacs -nw.

What I am doing wrong and what should I do to make it right?

Thanks in advance

     max

(Continue reading)

Aleksander Matuszak | 10 Jan 14:27 2011
Picon
Picon

Re: Encoding again (in mh-e 8.2)

On Mon, Jan 10, 2011 at 01:50:30AM +0100, 
Aleksander Matuszak wrote:
> 
[..]
> I receive utf-8 message. While replying, I am converting the
> body of message to iso-8859-2. My signature, inserted from
> template is already in iso. Converted part of the message is
> displayed normally with all diacritics, as well as new
> written text, while the signature part is displayed with
> \xyz codes.
> 

After some digging I've found that this part of the problem
is the "feature" of emacs 23.2.

The copy of the message, saved after repl, then edited by
the emacs as ordinary text file gives the same behaviour.
Part converted from utf-8 is displayed correctly while
another is displayed as codes. Even I set buffer coding to
iso, the display is the same and attempt to saving file
results in another question of coding system. Then, the file is
written correctly.

Yours 

      max

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
(Continue reading)

Bill Wohler | 11 Jan 05:43 2011
Picon
Picon

Re: Encoding again (in mh-e 8.2)

Aleksander Matuszak <max <at> l5.pk.edu.pl> wrote:

> After upgrading system at my work to debian squeeze/sid all
> the things with my encoding works wrong.

Hi Max, it sounds like your setup was working before. What did you have
before? OS? Version of Emacs?

> I receive utf-8 message. While replying, I am converting the
> body of message to iso-8859-2. My signature, inserted from
> template is already in iso. Converted part of the message is
> displayed normally with all diacritics, as well as new
> written text, while the signature part is displayed with
> \xyz codes.

Did this really work before? My memory surrounding character sets memory
is hazy, and maybe iso-8859-2 and utf-8 are largely compatible, but
converting character sets is fraught with peril. It might be best to
stick with utf-8 throughout if you deal with non-ASCII character sets.
Peter, would you agree? What sort of character sets do you work with in
Emacs? MH-E?

Not sure why your signature would have \xyz codes if it was written in
iso-8859-2 and the character set of your reply was in iso-8859-2.

> Trying to send message (C-c C-c) I've got an error:
> Multibyte character in QP encoding region.

Could be remnants of the UTF-8 message.

(Continue reading)

Aleksander Matuszak | 11 Jan 09:19 2011
Picon
Picon

Re: Encoding again (in mh-e 8.2)

On Mon, Jan 10, 2011 at 08:43:29PM -0800, Bill Wohler wrote:
> Aleksander Matuszak <max <at> l5.pk.edu.pl> wrote:
> 
> > After upgrading system at my work to debian squeeze/sid all
> > the things with my encoding works wrong.
> 
> Hi Max, it sounds like your setup was working before. What did you have
> before? OS? Version of Emacs?
> 

Thanks for reply Bill. It was working by some
combination. slocal filtered incoming message out of
transport encoding. So while replying I had (sometimes) to
convert quoted message from one charset to another. I use
external konwert, but emacs recode works also well.

> > I receive utf-8 message. While replying, I am converting the
> > body of message to iso-8859-2. My signature, inserted from
> > template is already in iso. Converted part of the message is
> > displayed normally with all diacritics, as well as new
> > written text, while the signature part is displayed with
> > \xyz codes.
> 
> Did this really work before? 

As far as I understand emacs (but I am rather emacs user and
do not know too much about how it works inside) the change
is that now every buffer has its own encoding. After
converting contents of bufer from one charset to another
emacs does not notice that change and keep information of
(Continue reading)

Bill Wohler | 11 Jan 17:27 2011
Picon
Picon

Re: Encoding again (in mh-e 8.2)

Aleksander Matuszak <max <at> l5.pk.edu.pl> wrote:

> On Mon, Jan 10, 2011 at 08:43:29PM -0800, Bill Wohler wrote:
> > It might be best to stick with utf-8 throughout if you
> > deal with non-ASCII character sets.  Peter, would you
> > agree? What sort of character sets do you work with in
> > Emacs? MH-E?
> 
> It does not change anything. Suppose I am using
> utf-8. Suppose, replied message is in ISO-8859-2. We end up
> with same problem but charsets reversed.

Sigh. That's true.

--

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

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
Olivier Lecarme | 16 Jan 11:51 2011
Picon
Picon

Re: how to have my address appear when replying to all

I add to my previous message that when I reply to the copy of this
previous message I just got, and answer "all" to the customary question,
the message I'm preparing does not contain a To: field, as you can see
in it.

--

-- 

			Olivier Lecarme

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
Olivier Lecarme | 16 Jan 11:49 2011
Picon
Picon

how to have my address appear when replying to all

I'm encountering a problem which seems new to me. If I reply to a
message and answer "all" to the question "Reply to whom", my own address
does not appear in the Cc: field and I have to add it by hand. Has
something changed, or what should I do?

--

-- 

			Olivier Lecarme

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
Bill Wohler | 16 Jan 19:15 2011
Picon
Picon

Re: how to have my address appear when replying to all

Olivier Lecarme <ol <at> unice.fr> wrote:

> I add to my previous message that when I reply to the copy of this
> previous message I just got, and answer "all" to the customary question,
> the message I'm preparing does not contain a To: field, as you can see
> in it.

Hi Olivier, I've noticed that too. Note this is an MH issue; if you run
repl, you'll see the same behavior. If you find a solution, please let
us know!

--

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

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
Bill Wohler | 16 Jan 19:20 2011
Picon
Picon

Re: how to have my address appear when replying to all

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

> Olivier Lecarme <ol <at> unice.fr> wrote:
> 
> > I add to my previous message that when I reply to the copy of this
> > previous message I just got, and answer "all" to the customary question,
> > the message I'm preparing does not contain a To: field, as you can see
> > in it.
> 
> Hi Olivier, I've noticed that too. Note this is an MH issue; if you run
> repl, you'll see the same behavior. If you find a solution, please let
> us know!

I was incorrect. If you use repl -cc all to your own message, your
address does appear in the To header field. Maybe we should consider
this a bug in MH-E? Can you please lodge a bug report?

--

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

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
Jeffrey Honig | 16 Jan 19:51 2011
Picon

Re: how to have my address appear when replying to all

This behavior is documented in the documentation of mh-reply.  So I would not call it a ``bug'' per-se, but more of an enhancement, or change of behavior.  It would be worth reading the archives to see if they document why it was done this way.


Thanks

Jeff

--
Jeffrey C. Honig <jch <at> honig.net>
http://www.honig.net/jch
GnuPG ID:14E29E13 <http://www.honig.net/jch/key.shtml>



On Sun, Jan 16, 2011 at 13:20, Bill Wohler <wohler <at> newt.com> wrote:
Bill Wohler <wohler <at> olgas.newt.com> wrote:

> Olivier Lecarme <ol <at> unice.fr> wrote:
>
> > I add to my previous message that when I reply to the copy of this
> > previous message I just got, and answer "all" to the customary question,
> > the message I'm preparing does not contain a To: field, as you can see
> > in it.
>
> Hi Olivier, I've noticed that too. Note this is an MH issue; if you run
> repl, you'll see the same behavior. If you find a solution, please let
> us know!

I was incorrect. If you use repl -cc all to your own message, your
address does appear in the To header field. Maybe we should consider
this a bug in MH-E? Can you please lodge a bug report?

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

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
mh-e-users mailing list
mh-e-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mh-e-users

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
mh-e-users mailing list
mh-e-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mh-e-users

Gmane