Re: Setting mutt on FC7

2008-04-28 Thread hce
Thanks for all responses, the problem has been resolved. It was an
error in my muttrc file.

Thank you.

Kind Regards.

Jim

On Mon, Apr 28, 2008 at 4:44 PM, hce <[EMAIL PROTECTED]> wrote:
> On Fri, Apr 25, 2008 at 7:02 PM, Michael Kjorling <[EMAIL PROTECTED]> wrote:
>  > On 25 Apr 2008 16:50 +1000, by [EMAIL PROTECTED] (hce):
>  >
>  > >>> 1. The receiving mail seems ok, but I could not post mails. On the
>  >  >>> menu, there is a o:Mail, but when I pressed the o key, it always print
>  >  >>> out "Aborted unmodified message.", it did not bring me to the edit
>  >  >>> page, the same when I pressed "r" key for replying. How can I fix it?
>  >  >
>  >
>  > > I am using vim on xterm, and I set up the editor at muttrc:
>  >  >
>  >  > set editor="vim +':set textwidth=77' +':set wrap' +\`awk '/^$/ {print
>  >  > i+2; exit} {i++}' %s\` %s"
>  >
>  >  For one thing, backticks are expanded at config parse time. Without
>  >  having tried, this would seem likely to cause problems in your
>  >  case. With an editor invocation like that, you could try trimming it
>  >  down to the bare essentials (so just "vim" to start with), or moving
>  >  it to a script that does whatever argument processing etc. you want
>  >  and then launches the actual editor.
>
>  Alright, let me remove all but just leave the vim as I've tried following:
>
>  set editor="vim"
>
>  It came to the same error "Aborted unmodified message." after pressing
>  the "o" key for Mailing. I am not so sure that the problem was caused
>  by the editor setup, or doesn't?
>
>
>
>  Thank you.
>
>  Kind Regards,
>
>  Jim
>


Re: Setting mutt on FC7

2008-04-27 Thread hce
On Fri, Apr 25, 2008 at 7:02 PM, Michael Kjorling <[EMAIL PROTECTED]> wrote:
> On 25 Apr 2008 16:50 +1000, by [EMAIL PROTECTED] (hce):
>
> >>> 1. The receiving mail seems ok, but I could not post mails. On the
>  >>> menu, there is a o:Mail, but when I pressed the o key, it always print
>  >>> out "Aborted unmodified message.", it did not bring me to the edit
>  >>> page, the same when I pressed "r" key for replying. How can I fix it?
>  >
>
> > I am using vim on xterm, and I set up the editor at muttrc:
>  >
>  > set editor="vim +':set textwidth=77' +':set wrap' +\`awk '/^$/ {print
>  > i+2; exit} {i++}' %s\` %s"
>
>  For one thing, backticks are expanded at config parse time. Without
>  having tried, this would seem likely to cause problems in your
>  case. With an editor invocation like that, you could try trimming it
>  down to the bare essentials (so just "vim" to start with), or moving
>  it to a script that does whatever argument processing etc. you want
>  and then launches the actual editor.

Alright, let me remove all but just leave the vim as I've tried following:

set editor="vim"

It came to the same error "Aborted unmodified message." after pressing
the "o" key for Mailing. I am not so sure that the problem was caused
by the editor setup, or doesn't?

Thank you.

Kind Regards,

Jim


Re: Setting mutt on FC7

2008-04-25 Thread Breen Mullins

* Michael Kjorling <[EMAIL PROTECTED]> [2008-04-25 09:02 +]:


On 25 Apr 2008 16:50 +1000, by [EMAIL PROTECTED] (hce):


I am using vim on xterm, and I set up the editor at muttrc:

set editor="vim +':set textwidth=77' +':set wrap' +\`awk '/^$/ {print
i+2; exit} {i++}' %s\` %s"


For one thing, backticks are expanded at config parse time. Without
having tried, this would seem likely to cause problems in your
case. 


I think that's right. My .muttrc has

set editor="vim +':set textwidth=72' +':set wrap' +\`awk '/^$/ {print
i+2; exit} {i++}' %s\` %s"

which works for me.

--
Breen Mullins
Menlo Park, California


Re: Setting mutt on FC7

2008-04-25 Thread Michael Kjorling
On 25 Apr 2008 16:50 +1000, by [EMAIL PROTECTED] (hce):
>>> 1. The receiving mail seems ok, but I could not post mails. On the
>>> menu, there is a o:Mail, but when I pressed the o key, it always print
>>> out "Aborted unmodified message.", it did not bring me to the edit
>>> page, the same when I pressed "r" key for replying. How can I fix it?
> 
> I am using vim on xterm, and I set up the editor at muttrc:
> 
> set editor="vim +':set textwidth=77' +':set wrap' +\`awk '/^$/ {print
> i+2; exit} {i++}' %s\` %s"

For one thing, backticks are expanded at config parse time. Without
having tried, this would seem likely to cause problems in your
case. With an editor invocation like that, you could try trimming it
down to the bare essentials (so just "vim" to start with), or moving
it to a script that does whatever argument processing etc. you want
and then launches the actual editor.

-- 
Michael Kjörling .. [EMAIL PROTECTED] .. http://michael.kjorling.se
* . No bird soars too high if he soars with his own wings . *
* ENCRYPTED email preferred -- OpenPGP key ID: 0x 758F8749 BDE9ADA6 *
* ASCII Ribbon Campaign: Against HTML mail, proprietary attachments *



signature.asc
Description: Digital signature


Re: Setting mutt on FC7

2008-04-24 Thread hce
On 4/24/08, Michael Kjorling <[EMAIL PROTECTED]> wrote:
> On 24 Apr 2008 15:15 +1000, by [EMAIL PROTECTED] (hce):
>
> > 1. The receiving mail seems ok, but I could not post mails. On the
>  > menu, there is a o:Mail, but when I pressed the o key, it always print
>  > out "Aborted unmodified message.", it did not bring me to the edit
>  > page, the same when I pressed "r" key for replying. How can I fix it?
>
>
> This is most likely because your $editor is failing to launch.

I am using vim on xterm, and I set up the editor at muttrc:

set editor="vim +':set textwidth=77' +':set wrap' +\`awk '/^$/ {print
i+2; exit} {i++}' %s\` %s"

Could you please elaborate more what I was missing?

Thank you.

Kind Regards,

Jim

>


Re: Setting mutt on FC7

2008-04-24 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday, April 24 at 03:15 PM, quoth hce:
> 3. How can I setting a signature to attach a jpeg file or doc file? 
> Is it like following set in the muttrc? set 
> signature="~/mysignature.doc"

That won't work, no. The standard signature settings are for *text*. 
Using a non-text signature is both annoying, and very 
email-client-dependent (e.g. mutt doesn't display jpegs inline). I 
don't know of a way to do what you describe offhand, but I'd ask you 
to reconsider your desire to use such "signatures".

~Kyle
- -- 
I couldn't give you something mediocre even if that's all you asked 
for.
  -- Michelangelo, in The Agony and the Ecstasy
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iEYEARECAAYFAkgQqE4ACgkQBkIOoMqOI16pbACgqEqup6hotWP1yPHQ0tiTWZyF
p54An0mPKsYtoeK5EVEQM2zaQ5IuUcJg
=PVZr
-END PGP SIGNATURE-


Re: Setting mutt on FC7

2008-04-24 Thread Michael Kjorling
On 24 Apr 2008 15:15 +1000, by [EMAIL PROTECTED] (hce):
> 1. The receiving mail seems ok, but I could not post mails. On the
> menu, there is a o:Mail, but when I pressed the o key, it always print
> out "Aborted unmodified message.", it did not bring me to the edit
> page, the same when I pressed "r" key for replying. How can I fix it?

This is most likely because your $editor is failing to launch.


> 2. I'd like to set up color in white when I reading the mail, but
> there are two lines, "Subject:" and "From:" are always in red. How can
> I set up the color in muttrc to make those two lines to white?

Look at "color" and "uncolor" in the manual.

-- 
Michael Kjörling .. [EMAIL PROTECTED] .. http://michael.kjorling.se
* . No bird soars too high if he soars with his own wings . *
* ENCRYPTED email preferred -- OpenPGP key ID: 0x 758F8749 BDE9ADA6 *
* ASCII Ribbon Campaign: Against HTML mail, proprietary attachments *



signature.asc
Description: Digital signature


Setting mutt on FC7

2008-04-23 Thread hce
Hi,

I've just set up the mutt on FC7 using vim editor. Appreciate any
helps for my following questions:

1. The receiving mail seems ok, but I could not post mails. On the
menu, there is a o:Mail, but when I pressed the o key, it always print
out "Aborted unmodified message.", it did not bring me to the edit
page, the same when I pressed "r" key for replying. How can I fix it?

2. I'd like to set up color in white when I reading the mail, but
there are two lines, "Subject:" and "From:" are always in red. How can
I set up the color in muttrc to make those two lines to white?

3. How can I setting a signature to attach a jpeg file or doc file? Is
it like following set in the muttrc?
set signature="~/mysignature.doc"

Thank you.

Kind Regards,

Jim