Ken Poulton | 12 Apr 03:01 2005

Re: exmh message quoting

In emxh 2.7.2, the "Quote" button quotes the previous message including
the headers. I then manually delete all the cruft like "Received:" header 
lines.

I would like to get just the 4 headers that show in the message display
window quoted: Subject, From, Date, and To.  I have the impression that
there is an emacs tool for this, but I want it to work with the built-in 
sedit.  Is there a way to do this?

Another thing I'd like to do sometimes is the other quoting style with
"---------- Original message follows: -----------" and no indenting.

Thanks,

Ken Poulton
Neil W Rickert | 12 Apr 03:11 2005

Re: exmh message quoting

Ken Poulton <poulton <at> calvin.labs.agilent.com> wrote on Apr 11, 2005:

>In emxh 2.7.2, the "Quote" button quotes the previous message including
>the headers. I then manually delete all the cruft like "Received:" header 
>lines.

>I would like to get just the 4 headers that show in the message display
>window quoted: Subject, From, Date, and To.  I have the impression that
>there is an emacs tool for this, but I want it to work with the built-in 
>sedit.  Is there a way to do this?

If you want that for all messages, you can do it in nmh.  Define a
filter that formats as you want, then add

	repl -filter name_of_your_filter

to your ".mh_profile".

 -NWR
Joao B. Oliveira | 18 Apr 17:54 2005
Picon

question on strange character conversion.


Hi all,

I have just installed exmh 2.7.2 and all seems ok, but when I try
to send latin1 characters like ÿ (o+'), ÿ (e+') and ÿ (a+~) they
come out as ÿ, all of them (as you probably have noticed in the
sentence above).

Does anyone have a solution? Or does anyone know what the problem
is, at least?

Thanks in advance,

joao b. oliveira
Klaus Elsbernd | 18 Apr 20:35 2005
X-Face
Picon
Picon

Re: question on strange character conversion.

Hallo

exmh-users-request <at> redhat.com said:
> I have just installed exmh 2.7.2 and all seems ok, but when I try to send
> latin1 characters like ÿ (o+'), ÿ (e+') and ÿ (a+~) they come out as ÿ, all
> of them (as you probably have noticed in the sentence above).

> Does anyone have a solution? Or does anyone know what the problem is, at
> least? 
Well, I had the same problem when I installed the released version 2.7.2.
I figured out, that our problem was the tcl-tk-Version, which we got from
Sun Solaris 9, companion cd (tcl-tk 8.3).
Compiling our own one (tcl-tk 8.4) solved the problem.
Didn't investigate any further. If you got more information, email me.

Bis dann
Klaus

--

-- 
"Sure, vi is user friendly.
 It's just particular about who it makes friends with." ;-) 
                                      _________________________
Klaus Elsbernd; System Administrator, BOFH        | elsbernd <at> dfki.uni-kl.de
Deutsches Forschungsz. für Künstliche Intelligenz | DFKI GmbH, Geb. 57/285
67657 Kaiserslautern; Germany                     | Tel: (+49) 0631/205-3486

_______________________________________________
Exmh-users mailing list
(Continue reading)

Gilles Benati | 21 Apr 11:48 2005
Picon

Exmh : save mime-part cannot overwrite existing file


Hello,

I have a problem with my fresh exmh installation (version 2.7.2 01/07/2005).
When I try to save an html mime-part as a file (with right-click in
the message, then select the "Save a text/html..." menu entry),
the operation raises an error if I select an existing file to overwrite it,
even though I have all Unix permissions to remove or modify the file.

error copying "/tmp/benati/1.0=1.9272.exmh" to "/tmp/foo.html": file already 
exists

This is something that I used to do every day with a previous version
(exmh 2.4, tcl/tk 8.3.3-65, nmh-1.0.4, Linux RedHat 7.2) so I know that
something is wrong, though I am not sure it is exmh fault.

My current platform is a RedHat Entreprise Linux 3.0.
  Linux 2.4.21-27.0.1.ELsmp #1 SMP i686 i686 i386 GNU/Linux

My current environment is
  exmh 2.7.2
  nmh-1.1-RC3
  metamail-2.7-9.
  Tk 8.3 Tcl 8.3

Thanks for your help

Gilles
Valdis.Kletnieks | 21 Apr 16:32 2005
Picon

Re: Exmh : save mime-part cannot overwrite existing file

On Thu, 21 Apr 2005 11:48:04 +0200, Gilles Benati said:

> I have a problem with my fresh exmh installation (version 2.7.2 01/07/2005).
> When I try to save an html mime-part as a file (with right-click in
> the message, then select the "Save a text/html..." menu entry),
> the operation raises an error if I select an existing file to overwrite it,
> even though I have all Unix permissions to remove or modify the file.
> 
> error copying "/tmp/benati/1.0=1.9272.exmh" to "/tmp/foo.html": file already 
> exists

OK, this one's my semi-intentional fault.

Line 2384 of mime.tcl looks like this:

	file copy -- $fileName $name

which won't over-write an existing file. In order to do that, you need to change
that line to 'file copy -force -- $filename $name'.

It was intentional in that I left -force off in order to prevent the accidental
over-writing of an existing file.  Probably what *should* happen there is that
we do a 'file exists $fileName' and if true, we throw up a "File exists, overwrite?"
dialog box.  If there's a rough consensus that's the right way to handle it,
I'll code it up and put it in CVS...	
_______________________________________________
Exmh-users mailing list
Exmh-users <at> redhat.com
(Continue reading)

Chris Garrigues | 21 Apr 16:46 2005

Re: Exmh : save mime-part cannot overwrite existing file

> From:  Valdis.Kletnieks <at> vt.edu
> Date:  Thu, 21 Apr 2005 10:32:00 -0400
>
> OK, this one's my semi-intentional fault.
> 
> Line 2384 of mime.tcl looks like this:
> 
> 	file copy -- $fileName $name
> 
> which won't over-write an existing file. In order to do that, you need to change
> that line to 'file copy -force -- $filename $name'.
> 
> It was intentional in that I left -force off in order to prevent the accidental
> over-writing of an existing file.  Probably what *should* happen there is that
> we do a 'file exists $fileName' and if true, we throw up a "File exists, overwrite?"
> dialog box.  If there's a rough consensus that's the right way to handle it,
> I'll code it up and put it in CVS...	

Sounds right to me.

Chris

--

-- 
Chris Garrigues                         Trinsic Solutions
President                               1611-B West 6th Street
                                        Austin, TX  78703-5074

512-322-0180                            http://www.trinsics.com

                 Would you rather proactively pay for
(Continue reading)

Pierre Blanchet | 21 Apr 16:51 2005
X-Face

Re: Exmh : save mime-part cannot overwrite existing file

On April 21 2005 at 10:32, 
	Valdis.Kletnieks <at> vt.edu wrote:
> 
> It was intentional in that I left -force off in order to prevent the accidental
> over-writing of an existing file.  Probably what *should* happen there is that
> we do a 'file exists $fileName' and if true, we throw up a "File exists, overwrite?"
> dialog box.  If there's a rough consensus that's the right way to handle it,
> I'll code it up and put it in CVS...	
> 

	+1
		
	Pierre.

--

-- 
Pierre BLANCHET       	   Support Manager, EMEA
Solsoft, S.A.                    www.solsoft.com
Phone: +33 1 4715 0399
Email: Pierre.Blanchet <at> solsoft.com
_________________________________________________

       How secure networks are managed.
_________________________________________________

_______________________________________________
Exmh-users mailing list
Exmh-users <at> redhat.com
https://www.redhat.com/mailman/listinfo/exmh-users
(Continue reading)

Gilles Benati | 21 Apr 17:29 2005
Picon

Re: Exmh : save mime-part cannot overwrite existing file


> OK, this one's my semi-intentional fault.
> 
> Line 2384 of mime.tcl looks like this:
> 
> 	file copy -- $fileName $name
> 
> which won't over-write an existing file. In order to do that, you
> need to change that line to 'file copy -force -- $filename $name'.

It works fine.
Thanks a lot.

Gilles
Valdis.Kletnieks | 21 Apr 18:40 2005
Picon

Re: Exmh : save mime-part cannot overwrite existing file

On Thu, 21 Apr 2005 11:48:04 +0200, Gilles Benati said:

> I have a problem with my fresh exmh installation (version 2.7.2 01/07/2005).
> When I try to save an html mime-part as a file (with right-click in
> the message, then select the "Save a text/html..." menu entry),
> the operation raises an error if I select an existing file to overwrite it,
> even though I have all Unix permissions to remove or modify the file.
> 
> error copying "/tmp/benati/1.0=1.9272.exmh" to "/tmp/foo.html": file already 
> exists

Well, that was easy.. Patch against what was-current CVS mime.tcl attached (it should
apply to a clean 2.7.2 tree as well).  It's also in the CVS tree now.

In today's "*that* made me blow 45 minutes", I discovered that the TCL
'file copy' operator will reset the file mtime to the *original* mtime of
the destination file.  So if you saved a new file at 12:21, it would set the mtime
to 12:21.  If you saved again to the same file, over-writing it, the mtime
would remain 12:21. (For the Tcl source hackers, the problem is the utime()
call in CopyFileAtts() in unix/tclUnixFCmd.c - I haven't opened a bug report
yet because I'm not clear on whether it's that function that's borked, or if
the 'file copy' is passing in a *statBufPtr that has the old mtime in it....)

Attachment (savepart.patch): application/x-patch, 880 bytes
_______________________________________________
Exmh-users mailing list
Exmh-users <at> redhat.com
https://www.redhat.com/mailman/listinfo/exmh-users
(Continue reading)


Gmane