On Sun, 2003-06-29 at 11:00, Dave W wrote:
>
> For the most part I'm really enjoying using Cream (v0.22, in Debian
> Sid, more or less <actually Libranet linux>). I'm using it
> primarily as editor for email (mutt; v1.5.4i, I think).
>
> I've managed to get rid of the annoying shift-space behaviour after
> reading the archives and commenting out a line, but there are still
> some things that confuse me <g>.
Heh, that will be gone permenantly next release. ;)
> First, when I reply to an email using mutt, it appears to not be
> considered a text file.
If you use :echo &filetype, what do you get?
> When editing a reply, it's named /tmp/mutt-mydomainname-somenumber.
> I guess because there is no ".txt" extension, cream thinks it's not
> text. I'm not sure if this is ever a problem, but when playing
> around (or trying to) with the tools / addons / email prettyfier, I
> get an error message, "Function only designed for text files, please
> check this document's filetype." Is there a way to force cream/gvim
> to assume it's text?
In the addons/cream-formatter.vim function Cream_email_formatter(),
change the first grouping of lines to include the "email" filetype
check as below:
if &filetype != "txt" &&
\ &filetype != "email" &&
\ &filetype != ""
Does that help?
> Second, I can't figure out what's happening when I either save and
> exit (after editing mutt email) or just ctrl-F4 exit. Mutt tells me
> "abort unmodified message?" as if I didn't actually edit and change
> anything, when it's clear that changes WERE made. This doesn't
> happen using plain old gvim as editor.
Hmm... I've never used g/Vim with Mutt, but the statement sounds like
a Mutt one. I wonder if there is some response it is waiting for? If
you can research it I'll be glad to modify Cream to help you.
> Third, is it possible to have normal cut and paste behaviour? I'm
> used to just highlighting with the mouse and middle-clicking to
> paste, and it seems I have to use ctrl-c / ctrl-v ... am I missing
> something here?
I have to laugh at your use of the word "normal". 'Tis a vile
thing, middle-mouse pasting. /me ducks :))
Seriously, if you want the old unix middle-mouse paste behavior, just
add these lines to your cream-user.vim:
set guioptions+=a
imap <silent> <MiddleMouse> <C-o>:call Cream_paste("i")<CR>
If you also want it to work in visual mode, also add this:
vmap <silent> <MiddleMouse> :<C-u>call Cream_paste("r")<CR>
> And last, where are the addons documented? I see a one-line
> description in the addons/cream-email-formatter.vim file but that's
> it.
The add-ons are documented at the bottom of the Features web page. You
can also read more about how they are implemented toward the bottom of
the FAQ.
> It would be nice to have different quote levels at different levels,
> and I'd like to see if the prettifier does that as well.
Not sure I understand, can you give an example?
> This is a great improvement over generic gvim. Keep up the good
> work!
Thanks for writing. Please let us know if you figure out the Mutt
problem.
--
Steve Hall [ digitect@... ]
Cream... the Vim text editor in sheep's clothing!
http://cream.sourceforge.net
|