Michael Ernst | 5 Oct 2009 00:30
Favicon

[mew-int 2740] Display name is stripped off in replies

When I answer an email, the display name is stripped off.

Suppose I receive the following message:

  Subject: I am not a number
  From: John Doe <jd1234 <at> example.com>

If I answer it by pressing "a" in the header view, then a new draft is
created that looks like this:

  To: jd1234 <at> example.com
  Subject: Re: I am not a number

I would prefer that the new draft looks like this instead:

  To: John Doe <jd1234 <at> example.com>
  Subject: Re: I am not a number

Can someone suggest a way to achieve this?

There may be reasons to strip off the display name in certain
circumstances, but in general I want it retained when sending email.

For example, I would also like it remembered when Mew learns an address and
places it in the ~/Mail/.mew-alias file.

Thanks for your help.

                    -Michael Ernst

(Continue reading)

Michael Ernst | 5 Oct 2009 02:27
Favicon

[mew-int 2741] Re: answering and email results in strange buffer arrangement

> i just realised that when i hit "a" for answering an email in mew i
> get a strange layout of emacs buffers.  what happens is that rather
> than having three horizontal buffers like usual (list of email on
> the top, original email in the middle, draft where i compose the
> answer in the bottom), the bottom side of the screen is vertically
> divided between another list view and the draft email.

This is not related to Mew.  It is standard Emacs 23 behavior.

The Emacs 23 NEWS file states:

  ** Changes affecting display-buffer

  *** display-buffer tries to be smarter when splitting windows.
  The new option split-window-preferred-function lets you specify your own
  function to pop up new windows.  Its default value split-window-sensibly
  can split a window either vertically or horizontally, whichever seems
  more suitable in the current configuration.  You can tune the behavior
  of split-window-sensibly by customizing split-height-threshold and the
  new option split-width-threshold.  Both options now take the value nil
  to inhibit splitting in one direction.  Setting split-width-threshold to
  nil inhibits horizontal splitting and gets you the behavior of Emacs 22
  in this respect.  In any case, display-buffer may now split the largest
  window vertically even when it is not as wide as the containing frame.

You can read the NEWS file by typing  C-h C-n.  This will tell you about
other enhancements (or regressions, depending on your point of view).

                    -Michael Ernst

(Continue reading)

maxigas | 6 Oct 2009 02:56
Gravatar

[mew-int 2742] Re: answering and email results in strange buffer arrangement

From: Michael Ernst <mernst <at> cs.washington.edu>
Subject: [mew-int 2741] Re: answering and email results in strange buffer arrangement
Date: Sun, 04 Oct 2009 17:27:00 -0700 (PDT)
> PS: This is a rather late reply, but I didn't see another in the meanwhile.

so great, that solves two of my problems right away!  i was really curious about emacs23 news and
eager to solve this strange window behaviour. :)

thx,

--

×× maxigas
// villanypásztor / kiberpunk / web shepherd //

-= Important communication disclaimer: by replying to my emails you are disclaiming all your
disclaimers. =- 

Michael Ernst | 24 Oct 2009 13:59
Favicon

[mew-int 2744] Documentation typos

The below patches correct some small typos in a documentation string and in
the Mew manual.

                    -Michael Ernst

cvs diff: Diffing .
Index: mew-vars.el
===================================================================
RCS file: /cvsmew/mew/mew-vars.el,v
retrieving revision 1.332
diff -b -u -r1.332 mew-vars.el
--- mew-vars.el	10 Mar 2009 07:04:21 -0000	1.332
+++ mew-vars.el	24 Oct 2009 11:57:10 -0000
 <at>  <at>  -2687,7 +2687,7  <at>  <at> 
 (defcustom mew-auto-get t
   "If *non-nil*, Mew gets messages from your mailbox automatically.
 '\\[universal-argument] \\[mew]' equals to '\\[mew]' with 'mew-auto-get'
-revered."
+reversed."
   :group 'mew-summary
   :type 'boolean)

cvs diff: Diffing alpha
cvs diff: Diffing bin
cvs diff: Diffing bin/d
cvs diff: Diffing bin/hs
cvs diff: Diffing bin/w32
cvs diff: Diffing contrib
cvs diff: Diffing etc
cvs diff: Diffing etc/etc
(Continue reading)

Christophe TROESTLER | 25 Oct 2009 16:37
X-Face
Picon

[mew-int 2745] Emacs 23, uses utf-8 instead of iso-8859-1

Hi,

I am using Emacs 23 with the latest CVS version of Mew.  With this
version of Emacs, Mew systematically uses utf-8 as soon as it sees a
single accented char like "é" while Emacs 22 was using iso-8859-1
whenever possible (with the same config file).  How can I teach Emacs
23 to use iso-8859-1 (or iso-8859-15) if possible ?  (Unfortunately,
some of my friends' mailers do not display well utf-8.)

A happy user of Mew for 8 years !

Best,
ChriS

Harald Hanche-Olsen | 25 Oct 2009 17:36
Picon
Picon
Favicon
Gravatar

[mew-int 2746] Re: Emacs 23, uses utf-8 instead of iso-8859-1

+ Christophe TROESTLER <Christophe.Troestler <at> umons.ac.be>:

> I am using Emacs 23 with the latest CVS version of Mew.  With this
> version of Emacs, Mew systematically uses utf-8 as soon as it sees a
> single accented char like "é" while Emacs 22 was using iso-8859-1
> whenever possible (with the same config file).  How can I teach Emacs
> 23 to use iso-8859-1 (or iso-8859-15) if possible ?  (Unfortunately,
> some of my friends' mailers do not display well utf-8.)

I have been using mew with emacs 23 and its CVS predecessors since
long before mew became officially compatible with emacs 23. I have
this in my .mew.el:

(setq mew-cs-database-for-encoding
      '(((ascii) nil "7bit" "7bit")
	((ascii iso-8859-1) iso-8859-1 "8bit" "Q")
	((ascii latin-iso8859-1) iso-8859-1 "quoted-printable" "Q")
	(nil utf-8 "base64" "Q")))

Hmm, the third element of the list seems distinctly out of place. It
must be something I forgot to delete when adding the second one. The
repeated mention of ascii is probably also nonsensical, so it could
have been whittled down to this:

(setq mew-cs-database-for-encoding
      '(((ascii) nil "7bit" "7bit")
	((iso-8859-1) iso-8859-1 "8bit" "Q")
	(nil utf-8 "base64" "Q")))

I need to upgrade mew and clean my setup.
(Continue reading)

Christophe TROESTLER | 25 Oct 2009 18:38
X-Face
Picon

[mew-int 2747] Re: Emacs 23, uses utf-8 instead of iso-8859-1

On Sun, 25 Oct 2009 12:36:51 -0400, Harald Hanche-Olsen wrote:
> 
> (setq mew-cs-database-for-encoding
>       '(((ascii) nil "7bit" "7bit")
> 	((iso-8859-1) iso-8859-1 "8bit" "Q")
> 	(nil utf-8 "base64" "Q")))

Thanks.  Since the default value is

(((ascii)
  nil "7bit" "7bit" nil)
 ((ascii latin-iso8859-1)
  iso-8859-1 "quoted-printable" "Q" nil)
  ...

I thought I was fine...  Following your suggestion, I set

(setq mew-cs-database-for-encoding
      '(((ascii) nil "7bit" "7bit")
	((ascii iso-8859-1)  iso-8859-1 "8bit" "Q")
	(nil utf-8 "base64" "Q")))

and it is working as I want.  Any idea how to make it work also for
latin-0 ?  I tried adding the line

	((ascii iso-8859-15) iso-8859-15 "8bit" "Q")

but that does not work (the presence of the euro sign triggers utf-8).
Also, What is the relation with mew-charset-latin (which I set to
"iso-8859-15") ?
(Continue reading)

Kazu Yamamoto | 26 Oct 2009 08:08
Picon
Gravatar

[mew-int 2748] Re: Documentation typos

Hello,

Sorry for the delay. I have just come back from a vacation.

> The below patches correct some small typos in a documentation string and in
> the Mew manual.

Thanks. I applied your patch.

--Kazu

Kazu Yamamoto | 27 Oct 2009 10:33
Picon
Gravatar

[mew-int 2749] Re: Emacs 23, uses utf-8 instead of iso-8859-1

Hello,

> I am using Emacs 23 with the latest CVS version of Mew.  With this
> version of Emacs, Mew systematically uses utf-8 as soon as it sees a
> single accented char like "é" while Emacs 22 was using iso-8859-1
> whenever possible (with the same config file).  How can I teach Emacs
> 23 to use iso-8859-1 (or iso-8859-15) if possible ?  (Unfortunately,
> some of my friends' mailers do not display well utf-8.)

Thank you for your report.

Since I'm sticking to Emacs 22, this is a very first time for me to
know this problem.

This problem is caused because the internal representation of
character set is completely changed. I observed it and it appeared
that this problem is deeper than I expected. 

So, I'm asking a correct solution to an expert of Emacs. When I
receive an answer, I will fix this problem.

--Kazu

Kazu Yamamoto | 28 Oct 2009 06:47
Picon
Gravatar

[mew-int 2750] Re: Emacs 23, uses utf-8 instead of iso-8859-1

Hello,

> I am using Emacs 23 with the latest CVS version of Mew.  With this
> version of Emacs, Mew systematically uses utf-8 as soon as it sees a
> single accented char like "é" while Emacs 22 was using iso-8859-1
> whenever possible (with the same config file).  How can I teach Emacs
> 23 to use iso-8859-1 (or iso-8859-15) if possible ?  (Unfortunately,
> some of my friends' mailers do not display well utf-8.)

The following patch should work. Please test especially for
iso-8859-15.

--Kazu

Index: mew-mule3.el
===================================================================
RCS file: /cvsroot/mew/mew/mew-mule3.el,v
retrieving revision 1.53
diff -c -r1.53 mew-mule3.el
*** mew-mule3.el	21 Jan 2009 05:54:56 -0000	1.53
--- mew-mule3.el	28 Oct 2009 05:46:24 -0000
***************
*** 192,198 ****
  ;; CS
  ;;

! (defalias 'mew-find-cs-region 'find-charset-region)

  ;; to internal
  (defun mew-cs-decode-region (beg end cs)
(Continue reading)


Gmane