Re: How add to address for mailing list semi-automatically?

2000-05-12 Thread Eugene Lee

On Fri, May 12, 2000 at 07:59:09AM +0200, Frank Derichsweiler wrote:
:
:pressing L means: reply to the list.
:I would like to start a new thread, i.e. create a mail with no
:reference to old ones. This one should have the list address in the to
:header field.

Just use 'L'.  Compose your message, quit your editor, then use 'E' to
edit your message with full headers included, and delete any spurious
"In-Reply-To:" header.


-- 
Eugene Lee
[EMAIL PROTECTED]



Re: 'browser' - what is it?

2000-05-12 Thread Chris Green

On Thu, May 11, 2000 at 06:38:15PM +0300, Mikko H?nninen wrote:
> Chris Green <[EMAIL PROTECTED]> wrote on Thu, 11 May 2000:
> > Well, I sort of know what the 'browser' is but there's nowhere in the
> > manual that actually tells you.  There is also nowhere that tells you
> > how to get to the [file] browser.
> 
> I would imagine that the answer is that you can enter the [file] browser
> from anywhere where you get a prompt asking for a file/folder name.
> 
> > Are the only ways to it 'c' followed by '?' and 's' followed by '?' or
> > are there other ways there?
> 
> Also c (copy), at least.
> 
> > There's also no indication of *what*
> > files it browses - i.e. where does it start from?
> 
> It starts from Mutt's current directory, which doesn't change while Mutt
> is running.  (This is AFAIK.)
> 
>From the user's point of view the browser always starts from the
directory where you last left it.

When I first load mutt and issue a 'c?' I get to see a directory
of my $folder which I have set to ~/Mail.

Then I navigate down to ~/Mail/AFM/AFM.Mail using the browser and
leave the browser to take a look at a mailbox there.

Now the next time I use the browser by issuing a 'c?' I get to see
the ~/Mail/AFM/AFM.Mail directory contents.  This is most likely
several minutes later when I'm doing something else completely so
is not really what I want.

In general I think I'd prefer the browser to *always* start from
$folder or, even better, from some user-definable directory.

I can get back to see my $spoolfile with 'c!', I can get back to a
mailbox in $folder with 'c= but there's no simple way to
get the browser back to starting from $folder again.

-- 
Chris Green ([EMAIL PROTECTED])
  Home: [EMAIL PROTECTED]   Work: [EMAIL PROTECTED]
  WWW: http://www.isbd.co.uk/



Re: Ues of TAB key

2000-05-12 Thread Chris Green

On Thu, May 11, 2000 at 06:39:10PM -0500, Corey G. wrote:
> Chris,
> 
> When you have listed your mailboxes via whatever command you bound it
> too, for me it's "l", like Pine, you can hit tab to list those mailboxes
> that you indicated in the .muttrc file as explicit mailboxes to check.
> When I hit "tab" in this menu, it does not show any mailboxes that were
> not given an explicit path, shows only those mailboxes with expicit
> paths, and takes me to the mailbox that has new messages, if any.
> 
> For example, with the two entries below, if I hit tab, the perl mailbox
> disappears and only the mutt mailbox is left showing.  If there were
> more it would jump to the mailbox with any new messages or to the perl
> mailbox if a new message arrived. 
> 
> mailboxes perl
> mailboxes ~/mail/mutt 
> 
> Is this what you were questioning or did I miss your point(s)?
> I do not use IMAP and therefore have no comment about IMAP at this time.
> 
Yes, the above is what 'toggle-mailboxes' does, I don't personally have
much use for it as on the only system where I have multiple mailboxes
I just use 'c' to get to the next mailbox with new mail in it.

However with IMAP I think TAB is supposed to do something different,
specifically it gets you into browsing the IMAP folders, but in what
menus does it work and how does this 'merge' with its use bound to
toggle-mailboxes?

-- 
Chris Green ([EMAIL PROTECTED])
  Home: [EMAIL PROTECTED]   Work: [EMAIL PROTECTED]
  WWW: http://www.isbd.co.uk/



Re: How add to address for mailing list semi-automatically?

2000-05-12 Thread Frank Derichsweiler

On Fri, May 12, 2000 at 12:12:43AM -0700, Eugene Lee wrote:
> Just use 'L'.  Compose your message, quit your editor, then use 'E' to
> edit your message with full headers included, and delete any spurious
> "In-Reply-To:" header.
> 
That is a solution, but not as comfortable as I would like to have. I
have to remember to edit the header... IMHO it is easier to use the
my_hdr to and post the adress in ...

Frank



Re: Priority set to urgent possible?!

2000-05-12 Thread Martin Schröder

On 2000-05-11 13:32:21 -0700, Eugene Lee wrote:
> On Thu, May 11, 2000 at 06:49:33PM +0100, Lars Hecking wrote:
> :Mikko Hänninen <[EMAIL PROTECTED]> mentioned:
> :> And oh, there's no standard specifying the possible values for this
> :> header.  I've mostly seen "urgent" and "high" used, and of course
> :> "bulk", "junk" and "list" for list emails.
> :
> : It is well documented in the SENDMAIL INSTALLATION AND OPERATION GUIDE.
> 
> But there's no RFC for it, is there?

It's documented in rfc2076:


3.9 Quality information

[...]
   Sometimes used as a priority Precedence:Non-standard,
   value which can influence   controversial,
   transmission speed and delivery.discouraged.
   Common values are "bulk" and
   "first-class". Other uses is to
   control automatic replies and to
   control return-of-content
   facilities, and to stop mailing
   list loops.


Best regards
Martin
-- 
  Martin Schröder, [EMAIL PROTECTED]
ArtCom GmbH, Grazer Straße 8, D-28359 Bremen
   Voice +49 421 20419-44 / Fax +49 421 20419-10



Re: How add to address for mailing list semi-automatically?

2000-05-12 Thread Mikko Hänninen

Frank Derichsweiler <[EMAIL PROTECTED]> wrote on Fri, 12 
May 2000:
> I would like to start a new thread, i.e. create a mail with no
> reference to old ones. This one should have the list address in the to
> header field.
> I know that I can use aliases etc. But I would like to have one key
> press in order to create a new mail with proper to header field. 

Well, if you sort your emails into separate folders for each list, you
can create a macro which is changed for each folder with a folder-hook.
Not perhaps the most elegant solution but it should work.


Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
Driver's mantra: To slow is to falter, to brake is to fail, to stop is defeat.



Chinese in mutt internal pager

2000-05-12 Thread Michael C. Wu

Hi Everyone:

I am a mutt user who just switched from mutt1.0.1 to 1.2i on
FreeBSD4.0-stable.  I used to be able to view chinese with
the mutt internal pager after setting the shell envirnment variable
to LC_CTYPE=zh_TW.Big5 and other C locale variables to be the same.

However, after the upgrade to 1.2i, I find that this is not sufficient
anymore.  It seems that mutt thinks my locale is not set and
displays chinese characters as "? /..." or somesuch

Is there a setting in .muttrc or something else I should do?

I am not subscribed to the list. I know that this is not a very good
behavior for asking questions, Hence, please reply to my mail specifically.

Thank you very much,

--
+---+
| [EMAIL PROTECTED]  |
| [EMAIL PROTECTED] - Yes, this is a conspiracy.|
+---+




Re: How add to address for mailing list semi-automatically?

2000-05-12 Thread Marius Gedminas

On Fri, May 12, 2000 at 08:03:37AM +0200, Frank Derichsweiler wrote:
> > > Now I would like to be abe to create a header with To:
> > >  by pressing e.g. M. 

Which mailing list?  Should it depend on the folder/current
message/phase of the moon?  You could, for example, define a macro in a
folder-hook.

> I have already set the subscribe option, I can send reply to the
> list. But then I get the In-Reply-To: header field which is stupid for
> a new thread in the list ...

If you set edit_headers, you can simply delete In-Reply-To: in your
editor (that's what I sometimes use for new threads).

Marius Gedminas
-- 
A Law of Computer Programming:
Make it possible for programmers to write in English
and you will find that programmers cannot write in English.




The browser (again!) - now I know what I need, but is it possible?

2000-05-12 Thread Chris Green

After all my recent mumblings about the browser, browsing IMAP
folders, moving around, etc. I think I finally understand how it works
now and, as a consequence, how I would like it to work.

My basic need is to be able to specify where to start browsing,
instead of the browser starting off where it left off.

Thus I want a way to specify the directory at the times when one
enters the browser, there are already some special characters
recognised here (e.g. '?') so it should be possible to have a new
special character which prompts for a 'start-browsing-at' directory.

This would be useful in various ways I think, especially if one wants
to switch back and forth between IMAP folders and local folders.  It
would also be useful if one has two sets of 'local' mail folders deep
down two different directory hierarchies.

Is this something that other users would like, what are the chances of
it being implemented?  Assuming mutt is written in C/C++ I'm actually
keen enough to have a go at it myself, especially if somoene can point
me in the direction of the browser code.

Alternatively have I missed something that's already present that
would allow me to get what I want with the existing mutt?

-- 
Chris Green ([EMAIL PROTECTED])
  Home: [EMAIL PROTECTED]   Work: [EMAIL PROTECTED]
  WWW: http://www.isbd.co.uk/



Re: [mutt-1.2] Broken world-writable /var/mail detection!

2000-05-12 Thread Vincent Lefevre

On Wed, May 10, 2000 at 20:47:39 +0200, Thomas Roessler wrote:
> If all you want to do is changing folder formats, mutt
> itself will be a nice tool.

No, not if it is configured to use dotlocking only.

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web:  - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathématiques et Logiques, TETRHEX, etc.
Computer science / computer arithmetic / Arénaire project at LIP, ENS-Lyon



SOLVED Re: How add to address for mailing list semi-automatically?

2000-05-12 Thread Frank Derichsweiler

On Fri, May 12, 2000 at 08:27:52AM +0200, Marius Gedminas wrote:
> Which mailing list?  Should it depend on the folder/current
> message/phase of the moon?  You could, for example, define a macro in a
> folder-hook.

Yes, the following works fine:

folder-hook  bind generic  refresh
folder-hook  'macro index "\CL" ":my_hdr to: foo@bar^M:push m^M"'
folder-hook  'macro index "\CL" ":my_hdr to: foo@bar>^M:push m^M"'

Thanks to the other people who suggested a macro, too.

Frank




"mutt " != "Mail "

2000-05-12 Thread Randall Hopper

Got a question.  When I want to drop TODO notes in my inbox, I find myself
using Mail instead of mutt because mutt always wants to tack on a domain
name, which causes the mail to be relayed out to my ISP and then fetched
back in.

Is there a To: syntax which will tell mutt "not" to tack on a domain name?



For example:

Mail rhh

issues mail which is delivered to the local sendmail and from there to my
inbox directly.

However:

mutt rhh

always causes mutt to stack on a domain name, which relays the mail out to
my ISP.  

-- 
Randall Hopper
[EMAIL PROTECTED]



FWIW, I've also tried:

mutt rhh@[127.0.0.1]

which should work, but somewhere along the line sendmail or mutt is
replacing the domain string with the "dummy domain name" assigned to
machines on my local home ethernet.




Really SOLVED Re: How add to address for mailing list semi-automatically?

2000-05-12 Thread Frank Derichsweiler


Now I copied the right version

folder-hook  bind generic  refresh
folder-hook  'macro index "\CL" ":my_hdr to: foo@bar^M:push m^M:unmy_hdr 
to^M"'
folder-hook  'macro pager "\CL" ":my_hdr to: foo@bar^M:push m^M:unmy_hdr 
to^M"'

Frank



Re: "mutt " != "Mail "

2000-05-12 Thread Mikko Hänninen

Randall Hopper <[EMAIL PROTECTED]> wrote on Fri, 12 May 2000:
> FWIW, I've also tried:
> 
> mutt rhh@[127.0.0.1]

How about trying "mutt rhh@localhost"?


Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
#define QUESTION ((bb) || !(bb))  /* Shakespeare */



Re: How add to address for mailing list semi-automatically?

2000-05-12 Thread Christian Ordig

On Fri, May 12, 2000 at 03:39:42PM +0300, Mikko Hänninen wrote:
> Well, if you sort your emails into separate folders for each list, you
> can create a macro which is changed for each folder with a folder-hook.
> Not perhaps the most elegant solution but it should work.
why a macro? You can simply use the "my_hdr To: list" combined with a 
folder-hook ... that's the nicest solution I think...

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/ 
Germany |eMail: Christian Ordig <[EMAIL PROTECTED]>

 PGP signature


Re: printf like sequences for folder_format

2000-05-12 Thread Christian Ordig

On Thu, May 11, 2000 at 06:44:16PM +0300, Mikko Hänninen wrote:
> Marius Gedminas <[EMAIL PROTECTED]> wrote on Thu, 11 May 2000:
> > I mean there's no percent display.  With mbox you see: 
> > `Reading ... 310 (10%)', with Maildir you only see the number of
> > messages.  Psychologically this makes the waiting seem longer ;)
> 
> Oh right.  It shouldn't be difficult to add a display like that to
> Maildir though?  I mean, you can find out how many files there are in
> advance, and you don't even need to worry about the messages being
> different sizes since only the mail headers get read, anyway.
not even the header needs to be read when just searching for the number of
new / old mail... 
simply count the files in ./new and the files in ./cur ... the sum of them
is the total count of messages and in ./new are the new ones...
I've got some information to my private eMail address about where these
printf like sequences are interpreted. If someone is interested I'll bounce
the mail.
As I am consumed quite much with my scanner driver project I don't think I'll
have enough time to understand/change the mutt sources.
If there should really be noone willing to try it, I'll go and do it... but
don't expect it to be today or tomorrow... 
 
cu.

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/ 
Germany |eMail: Christian Ordig <[EMAIL PROTECTED]>

 PGP signature


Re: "mutt " != "Mail "

2000-05-12 Thread David Ellement

On 000512, at 10:15:07, Randall Hopper wrote:
> Is there a To: syntax which will tell mutt "not" to tack on a domain name?

Can you use "unset use_domain" in your muttrc?

-- 
David Ellement



Re: How add to address for mailing list semi-automatically?

2000-05-12 Thread Mikko Hänninen

Christian Ordig <[EMAIL PROTECTED]> wrote on Fri, 12 May 2000:
> On Fri, May 12, 2000 at 03:39:42PM +0300, Mikko Hänninen wrote:
> > Well, if you sort your emails into separate folders for each list, you
> > can create a macro which is changed for each folder with a folder-hook.
> > Not perhaps the most elegant solution but it should work.
> why a macro? You can simply use the "my_hdr To: list" combined with a 
> folder-hook ... that's the nicest solution I think...

Well, there's many different ways to do things.  It depends what you
want to happen.

What I had in mind was define a new key as a macro that will send a
new email to the list, eg. "macro \el list@somewhere".
Then define this macro for each folder in a folder-hook, and define
it as a NOP in the default folder-hook.  Then you have a new command,
"send email to list".

If you set my_hdr to: list, I'm not sure how it behaves but it's
possible that *all* emails will be sent to the list, even when you'd
want to send private replies.  If it doesn't, then good. :-)
You also need to remember to do unmy_hdr to: for those folders where
you don't want it.

Anyway, whatever works, is right for you...


Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
After the prices hit the ceiling they go through the roof.



Re: 'browser' - what is it?

2000-05-12 Thread Michael Tatge

On Fri, May 12, 2000 at 08:57:40AM +0100, Chris Green wrote:
> In general I think I'd prefer the browser to *always* start from
> $folder or, even better, from some user-definable directory.
> 
> I can get back to see my $spoolfile with 'c!', I can get back to a
> mailbox in $folder with 'c= but there's no simple way to
> get the browser back to starting from $folder again.

There is a rather uncomfortable way to achieve this. Type
c?cPath/to/folder

Michael
-- 
When we write programs that "learn", it turns out we do and they don't.

PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65  40FA 5967 ACA1 0B57 7C13



emacs in separate window

2000-05-12 Thread Jonathan Pennington

I just reinstalled my entire system (cracker attack) and lost my
.muttrc and .emacs files so I'm starting from scratch. Before this
attack, when I edited a message, emacs would start *within* the Mutt
window. Now, it runs a separate window. I can't seem to figure out how
to make it run in the same mutt window again. I'm thinking it's
something simple. Thanks.

-J



Re: emacs in separate window

2000-05-12 Thread daniel

On Fri, May 12, 2000 at 07:07:05PM -0400, Jonathan Pennington wrote:
> I just reinstalled my entire system (cracker attack) and lost my
> .muttrc and .emacs files so I'm starting from scratch. Before this
> attack, when I edited a message, emacs would start *within* the Mutt
> window. Now, it runs a separate window. I can't seem to figure out how
> to make it run in the same mutt window again. I'm thinking it's
> something simple. Thanks.

Set your editor to "emacs -nw" (No Window)

-- 
[]'s
Daniel Serodio <[EMAIL PROTECTED]>




Re: 'browser' - what is it?

2000-05-12 Thread Greg Matheson

On Fri, May 12, 2000 at 05:00:37PM +0200, Michael Tatge wrote:

> On Fri, May 12, 2000 at 08:57:40AM +0100, Chris Green wrote:
> > In general I think I'd prefer the browser to *always* start from
> > $folder...

> There is a rather uncomfortable way to achieve this. Type
> c?cPath/to/folder

And this could be made a folder hook, couldn't it. I had the
opposite problem. I wanted to get back to the place in the
mailboxes screen I had just been so I now have 38 folder-hooks in
my .muttrc of the form:

folder-hook . 'macro index h ?0'
folder-hook '!' 'macro index h ?1'
folder-hook =tn 'macro index h ?2'

-- 
Greg Matheson  The Internet from time
Chinmin College, Taiwanto time claims this 
[EMAIL PROTECTED] address does not exist




Re: 'browser' - what is it?

2000-05-12 Thread Greg Matheson

On Thu, May 11, 2000 at 10:08:12AM +0100, Chris Green wrote:

> Well, I sort of know what the 'browser' is but there's nowhere in the
> manual that actually tells you.  There is also nowhere that tells you
> how to get to the [file] browser.

I found the browser very confusing. The default 'c' which means
 in the index and pager has the similar but
different meaning of  in the browser. 

I finally gave up and wrote these macros:
macro browser c 
bind browser C change-dir

I just found out that this first macro hangs mutt when the cursor
is on the parent directory for example. I hit  and I can
see from ps that it is eating up CPU. Usually it works, because
on mailboxes,  places you in the index, where
 is defined. There is no 
function in the browser. 

In fact, I rarely use anything else than the mailboxes screen
from the browser. I do not send attachments or stuff that I've
worked on from other directories I have. I would be quite happy
to see the file browser ripped out and made a separate program
like urlview to be interfaced with mutt. Then it could have
things like rm, mkdir, etc which would make it really useful to
me. In fact, does anyone know of a file manager like this with
menus I can use instead of doing it all on the command line?  

Instead, the functions of the mailbox screen could then be
beefed up so they were more similar to those of the index. Things
like  for example. And cycling through mailboxes on 
.

-- 
Greg Matheson   "Vent the pent:"
Chinmin College, Taiwan Samuel Beckett
[EMAIL PROTECTED]  




C-c C-c

2000-05-12 Thread Jonathan Pennington

Again with the lost configs. I used to just type that sequence after
writing an email and emacs would save and exit, automagically
releasing control to Mutt. Unfortunately, now I have to explicitily
exit before continuing. Does anyone know what I want to adjust to
make the sequence C-c C-c (or any sequence for that matter) do this
automagically again? I know that this is really a .emacs question, but
I thought it was in post.el, so it's a Mutt specific .emacs question
:-)

-J



Re: The browser (again!) - now I know what I need, but is it possible?

2000-05-12 Thread billy chan

[00.05.12 15:09] Chris Green 
> Thus I want a way to specify the directory at the times when one
> enters the browser, there are already some special characters
> recognised here (e.g. '?') so it should be possible to have a new
> special character which prompts for a 'start-browsing-at' directory.
> 
> This would be useful in various ways I think, especially if one wants
> to switch back and forth between IMAP folders and local folders.  It
> would also be useful if one has two sets of 'local' mail folders deep
> down two different directory hierarchies.

Not sure what I'm doing is what you want. I created some symbolic links
under the mail folder to directories holding my saved posts and my own
posts in the newsgroups. When I want to switch back and forth, I change
folder by "c" and "=" or "=" bring me to the default. 

It's possible to set folder= which holds the only
symbolic links to different mail directories. "c=" will bring
you back to the topmost hierarchy.



Re: Chinese in mutt internal pager

2000-05-12 Thread billy chan

[00.05.11 21:34] Michael C. Wu 
> I am a mutt user who just switched from mutt1.0.1 to 1.2i on
> FreeBSD4.0-stable.  I used to be able to view chinese with
> the mutt internal pager after setting the shell envirnment variable
> to LC_CTYPE=zh_TW.Big5 and other C locale variables to be the same.
> 
> However, after the upgrade to 1.2i, I find that this is not sufficient
> anymore.  It seems that mutt thinks my locale is not set and
> displays chinese characters as "? /..." or somesuch

I am not sure if the following will work. But no harm to try. Either or
both.

set locale="zh_TW.Big5" in .muttrc

export LANG="zh_TW.Big5" in bash shell



Re: /tmp persists to be used

2000-05-12 Thread Michael Tatge

On Fri, May 12, 2000 at 12:32:49AM +0100, Telsa Gwynne wrote:
> 
> On my RH 6.1 box with mutt-1.0pre3i and a muttrc that doesn't set a
> tmpdir and sets joe as the editor, I have much the same: files of the 
> style mutt-aloss-31900-47~
> 
> [hobbit@aloss ~]$ ls /tmp | grep mutt | wc -l
>  73
> 
> Ouch.

*grin*

I use editor="joe -nobackups" for this purpose.

Michael
-- 
1: No code table for op: ++post

PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65  40FA 5967 ACA1 0B57 7C13