mailbox showing twice



People,

The attached mailbox show twice in the mailbox panel - any ideas why? - 
must have something to do with escaped characters in the file?

I am using RH7.3 and Balsa 1.4.2 .

Thanks,

Phil.
-- 
Philip Rhoades

Pricom Pty Limited  (ACN  003 252 275)
GPO Box 3411
Sydney NSW	2001
Australia
Mobile:  +61:0411-185-652
Fax:  +61:2:8923-5363
E-mail:  pri@chu.com.au
From phil Mon Jan 20 14:47:37 2003
Return-Path: <vim-return-31508-pri=chu.com.au@vim.org>
Delivered-To: pri@nsw.chu.com.au
Received: (qmail 22715 invoked from network); 20 Jan 2003 00:30:21 -0000
Received: from unknown (HELO mail.chu.com.au) (192.168.0.114)
  by 192.168.0.100 with SMTP; 20 Jan 2003 00:30:21 -0000
Received: (qmail 42823 invoked by alias); 20 Jan 2003 00:27:39 -0000
Delivered-To: pri@chu.com.au
Received: (qmail 42810 invoked from network); 20 Jan 2003 00:27:36 -0000
Received: from scustrelay0.syd.ops.aspac.uu.net (HELO cust-gateway.ipcx.net) (203.166.99.125)
  by 203.102.142.58 with SMTP; 20 Jan 2003 00:27:36 -0000
Received: from server3.syd.mail.ozemail.net (server3.syd.mail.ozemail.net [203.108.7.41])
	by cust-gateway.ipcx.net (8.11.1/8.11.6) with ESMTP id h0K0UCT16942
	for <pri@chu.com.au>; Mon, 20 Jan 2003 00:30:12 GMT
Received: from foobar.math.fu-berlin.de (foobar.math.fu-berlin.de [160.45.45.151]) by server3.syd.mail.ozemail.net (8.9.0/8.6.12) with SMTP id KAA13957 for <pri@chu.com.au>; Mon, 20 Jan 2003 10:27:25 +1100 (EST)
Received: (qmail 11599 invoked by uid 200); 19 Jan 2003 23:30:12 -0000
Mailing-List: contact vim-help@vim.org; run by ezmlm
Precedence: bulk
Delivered-To: mailing list vim@vim.org
Received: (qmail 11574 invoked from network); 19 Jan 2003 23:30:11 -0000
Received: from inergen.sybase.com (192.138.151.43)
  by foobar.math.fu-berlin.de with SMTP; 19 Jan 2003 23:30:11 -0000
Received: from smtp1.sybase.com (sybgate [10.22.97.84])
	by inergen.sybase.com  with ESMTP id PAA27130
	for <vim@vim.org>; Sun, 19 Jan 2003 15:25:38 -0800 (PST)
Received: from smtp1.sybase.com (localhost [127.0.0.1])
	by smtp1.sybase.com (Pro-8.9.3/Pro-8.9.3/sendmail 8.9.3 smtp1 2000/11/20) with ESMTP id PAA16910
	for <vim@vim.org>; Sun, 19 Jan 2003 15:25:37 -0800 (PST)
Received: from hawaska.sybase.com (hawaska.sybase.com [199.93.178.84])
	by smtp1.sybase.com (Pro-8.9.3/Pro-8.9.3/sendmail 8.9.3 smtp1 2000-11-20) with ESMTP id PAA16906;
	Sun, 19 Jan 2003 15:25:36 -0800 (PST)
Received: from FISHBURNT30 (vpn-concord-017 [158.159.8.17])
	by hawaska.sybase.com (8.9.3+Sun/8.9.1) with ESMTP id SAA11757;
	Sun, 19 Jan 2003 18:25:21 -0500 (EST)
Reply-To: <fishburn@sybase.com>
From: "David Fishburn" <fishburn@sybase.com>
To: <petesea@bigfoot.com>, <vim@vim.org>
Subject: RE: Diffing directories
Date: Sun, 19 Jan 2003 18:24:00 -0500
Organization: Sybase
Message-ID: <000701c2c011$e2192170$6501a8c0@sybase.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.2627
In-Reply-To: <Pine.WNT.4.52.0301191426590.952@nikto>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Importance: Normal
Content-Length: 673
Lines: 21
Status: RO

Try this plugin, it is great (thanks William!).

http://vim.sourceforge.net/script.php?script_id=102
DirDiff.vim

-----Original Message-----
From: petesea@bigfoot.com [mailto:petesea@bigfoot.com] 
Sent: Sunday, January 19, 2003 5:51 PM
To: vim@vim.org
Subject: Diffing directories


Is there a way to do a diff on directories with vim/gvim?

What I'm looking for, is something where you can compare 2 directory
trees side-by-side.  The diff should show if a file exists in both trees
and if so, if the files different.  If you click on a file it should
replace the current windows (or maybe create 2 new vertically split
windows) that shows the diff between the 2 files.



From phil Mon Jan 20 14:47:37 2003
Return-Path: <vim-return-31505-pri=chu.com.au@vim.org>
Delivered-To: pri@nsw.chu.com.au
Received: (qmail 20089 invoked from network); 19 Jan 2003 17:45:08 -0000
Received: from unknown (HELO mail.chu.com.au) (192.168.0.114)
  by 192.168.0.100 with SMTP; 19 Jan 2003 17:45:08 -0000
Received: (qmail 36206 invoked by alias); 19 Jan 2003 17:42:30 -0000
Delivered-To: pri@chu.com.au
Received: (qmail 36203 invoked from network); 19 Jan 2003 17:42:29 -0000
Received: from scustrelay0.syd.ops.aspac.uu.net (HELO cust-gateway.ipcx.net) (203.166.99.125)
  by 203.102.142.58 with SMTP; 19 Jan 2003 17:42:29 -0000
Received: from foobar.math.fu-berlin.de (foobar.math.fu-berlin.de [160.45.45.151])
	by cust-gateway.ipcx.net (8.11.1/8.11.6) with SMTP id h0JHj8T23437
	for <pri@chu.com.au>; Sun, 19 Jan 2003 17:45:09 GMT
Received: (qmail 24810 invoked by uid 200); 19 Jan 2003 17:47:06 -0000
Mailing-List: contact vim-help@vim.org; run by ezmlm
Precedence: bulk
Delivered-To: mailing list vim@vim.org
Received: (qmail 24802 invoked from network); 19 Jan 2003 17:47:05 -0000
Received: from smtp01.web.de (HELO smtp.web.de) (217.72.192.180)
  by foobar.math.fu-berlin.de with SMTP; 19 Jan 2003 17:47:05 -0000
Received: from [212.114.172.73] (helo=dialin172073.nefkom.net)
	by smtp.web.de with esmtp (WEB.DE(Exim) 4.93 #1)
	id 18aJSl-0007S3-00; Sun, 19 Jan 2003 18:42:28 +0100
Date: Sun, 19 Jan 2003 18:44:51 +0100 (=?ISO-8859-1?Q?=28MEZ=29_Mitteleurop=E4ische_Zeit?=)
From: Klaus Bosau <kbosau@web.de>
To: "Ross A. Osborn" <rosborn@motorola.com>
cc: "'Vim Mailing List'" <vim@vim.org>
Subject: Re: paste and replace
In-Reply-To: <20030119140826.GB29130@motorola.com>
Message-ID: <Pine.WNT.4.50.0301191811140.-644969@t0m6a0>
References: <Pine.WNT.4.50.0301182207150.-323513@t0m6a0>
 <001401c2bf39$1ab9f1f0$efb0d7d9@jonbo372> <20030119140826.GB29130@motorola.com>
X-X-Sender: kbosau@pop3.web.de
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Sender: kbosau@web.de
Content-Length: 1080
Lines: 37
Status: RO

On Sun, 19 Jan 2003, Ross A. Osborn wrote:

> [step by step...]
>
> This may sound like a lot of steps but once these commands are a part
> of your repertoire so that you can use them without thinking, then
> this is very fast.

Hi Ross,

you spent a lot of time on helping an unknown Vim novice from abroad...
Thanks a lot for this! Based upon your suggestion I created a function
that indeed does what I wanted. I'll place it here for those who are
looking for something similar... (Actually I missed this feature when
reading on *visual-operators* in Vim's user manual. I think it should
become "hardcoded" some day...)

   func Rep()
     norm ma
     let top = line("'<")
     while top <= line("'>")
       exe top . 'norm 0"by$'
       norm `aRb`ajma
       let top = top + 1
     endwhile
   endfunc

   nmap <M-r> :call Rep()<Cr>

One has to catch what should be pasted at first (I used visual-line for
this (V{move around}V)) and then move the cursor to the place it should
appear. Hitting <M-r> should "paste over" then.

Thanks again! (Thanks to Jonas too!)

Klaus


From phil Mon Jan 20 14:47:36 2003
Return-Path: <benji@member.ams.org>
Delivered-To: pri@nsw.chu.com.au
Received: (qmail 16254 invoked from network); 19 Jan 2003 15:09:15 -0000
Received: from unknown (HELO mail.chu.com.au) (192.168.0.114)
  by 192.168.0.100 with SMTP; 19 Jan 2003 15:09:15 -0000
Received: (qmail 33860 invoked by alias); 19 Jan 2003 15:06:38 -0000
Delivered-To: pri@chu.com.au
Received: (qmail 33857 invoked from network); 19 Jan 2003 15:06:38 -0000
Received: from scustrelay0.syd.ops.aspac.uu.net (HELO cust-gateway.ipcx.net) (203.166.99.125)
  by 203.102.142.58 with SMTP; 19 Jan 2003 15:06:38 -0000
Received: from grebe.mail.pas.earthlink.net (grebe.mail.pas.earthlink.net [207.217.120.46])
	by cust-gateway.ipcx.net (8.11.1/8.11.6) with ESMTP id h0JF9HT28916
	for <pri@chu.com.au>; Sun, 19 Jan 2003 15:09:17 GMT
Received: from bstnma1-ar1-4-64-202-158.bstnma1.elnk.dsl.genuity.net ([4.64.202.158] helo=member.AMS.org)
	by grebe.mail.pas.earthlink.net with esmtp (Exim 3.33 #1)
	id 18aH2e-0007RU-00; Sun, 19 Jan 2003 07:07:20 -0800
Message-ID: <3E2AC1D6.20108@member.AMS.org>
Date: Sun, 19 Jan 2003 10:18:46 -0500
From: Benji Fisher <benji@member.ams.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: pri@chu.com.au
CC: vim@vim.org
Subject: Re: Question for gurus
References: <20030119144840.GC8564@phil.chu.com.au>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Content-Length: 287
Lines: 22
Status: RO
X-Status: A

Philip Rhoades wrote:
> Hi people,
> 
> Is it possible to capitalise the _first_ letter of _every_ word in a 
> file with one command? - I can't see how.
> 
> Thanks,
> 
> Phil.

      Does

:%s/\k\+/\u&/g

do what you want?

:help :s
:help sub-replace-special

HTH					--Benji Fisher



From phil Mon Jan 20 14:47:36 2003
Return-Path: <vim-return-31503-pri=chu.com.au@vim.org>
Delivered-To: pri@nsw.chu.com.au
Received: (qmail 19311 invoked from network); 19 Jan 2003 17:13:17 -0000
Received: from unknown (HELO mail.chu.com.au) (192.168.0.114)
  by 192.168.0.100 with SMTP; 19 Jan 2003 17:13:17 -0000
Received: (qmail 35764 invoked by alias); 19 Jan 2003 17:10:39 -0000
Delivered-To: pri@chu.com.au
Received: (qmail 35758 invoked from network); 19 Jan 2003 17:10:00 -0000
Received: from scustrelay0.syd.ops.aspac.uu.net (HELO cust-gateway.ipcx.net) (203.166.99.125)
  by 203.102.142.58 with SMTP; 19 Jan 2003 17:10:00 -0000
Received: from foobar.math.fu-berlin.de (foobar.math.fu-berlin.de [160.45.45.151])
	by cust-gateway.ipcx.net (8.11.1/8.11.6) with SMTP id h0JHCdT19455
	for <pri@chu.com.au>; Sun, 19 Jan 2003 17:12:39 GMT
Received: (qmail 21211 invoked by uid 200); 19 Jan 2003 17:14:38 -0000
Mailing-List: contact vim-help@vim.org; run by ezmlm
Precedence: bulk
Delivered-To: mailing list vim@vim.org
Received: (qmail 21203 invoked from network); 19 Jan 2003 17:14:37 -0000
Received: from unknown (HELO mail.tickbox.co.za) (196.14.187.34)
  by foobar.math.fu-berlin.de with SMTP; 19 Jan 2003 17:14:37 -0000
Received: by mail.tickbox.co.za (Postfix, from userid 1000)
	id 6A3FB31A; Sun, 19 Jan 2003 19:09:51 +0200 (SAST)
Date: Sun, 19 Jan 2003 19:09:51 +0200
From: Piet Delport <pjd@303.za.net>
To: vim@vim.org
Subject: Re: Question for gurus
Message-ID: <20030119170951.GA2057@turing.tickbox.co.za>
Mail-Followup-To: vim@vim.org
References: <20030119144840.GC8564@phil.chu.com.au> <3E2AC1D6.20108@member.AMS.org>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="mYCpIKhGyMATD0i+"
Content-Disposition: inline
In-Reply-To: <3E2AC1D6.20108@member.AMS.org>
X-Operating-System: FreeBSD 4.5-RELEASE-p4
X-Editor: VIM - Vi IMproved 6.1 (http://www.vim.org/)
X-Crypto: gpg (GnuPG) 1.2.1 (http://www.gnupg.org/)
X-GPG-Key-ID: 58BCD4A5
X-GPG-Key-Fingerprint: AE75 639B 40B7 F507 1544  D3A0 1C0B C521 58BC D4A5
User-Agent: Mutt/1.5.3i
Content-Length: 858
Lines: 43
Status: RO


--mYCpIKhGyMATD0i+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, 19 Jan 2003 at 10:18:46 -0500, Benji Fisher wrote:
> Philip Rhoades wrote:
>>
>>Is it possible to capitalise the _first_ letter of _every_ word in a=20
>>file with one command? - I can't see how.
>>
>>Thanks,
>>
>>Phil.
>=20
>      Does
>=20
> :%s/\k\+/\u&/g
>=20
> do what you want?

Minor quibble, but surely using \w instead of \k would be better in this
case?

--=20
Piet Delport
Today's subliminal thought is:

--mYCpIKhGyMATD0i+
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+KtvfHAvFIVi81KURAio+AKCp7D/NLy3yUZPsWjec+OHdeXiM+QCeKPq3
2lLLdyLZYmgvfuYXpW9N8zU=
=KcIG
-----END PGP SIGNATURE-----

--mYCpIKhGyMATD0i+--


From phil Mon Jan 20 14:47:36 2003
Return-Path: <vim-return-31499-pri=chu.com.au@vim.org>
Delivered-To: pri@nsw.chu.com.au
Received: (qmail 16307 invoked from network); 19 Jan 2003 15:10:24 -0000
Received: from unknown (HELO mail.chu.com.au) (192.168.0.114)
  by 192.168.0.100 with SMTP; 19 Jan 2003 15:10:24 -0000
Received: (qmail 33944 invoked by alias); 19 Jan 2003 15:07:47 -0000
Delivered-To: pri@chu.com.au
Received: (qmail 33941 invoked from network); 19 Jan 2003 15:07:47 -0000
Received: from scustrelay0.syd.ops.aspac.uu.net (HELO cust-gateway.ipcx.net) (203.166.99.125)
  by 203.102.142.58 with SMTP; 19 Jan 2003 15:07:47 -0000
Received: from foobar.math.fu-berlin.de (foobar.math.fu-berlin.de [160.45.45.151])
	by cust-gateway.ipcx.net (8.11.1/8.11.6) with SMTP id h0JFAPT29055
	for <pri@chu.com.au>; Sun, 19 Jan 2003 15:10:25 GMT
Received: (qmail 7824 invoked by uid 200); 19 Jan 2003 15:12:04 -0000
Mailing-List: contact vim-help@vim.org; run by ezmlm
Precedence: bulk
Delivered-To: mailing list vim@vim.org
Received: (qmail 7798 invoked from network); 19 Jan 2003 15:12:03 -0000
Received: from mail.gmx.net (213.165.64.20)
  by foobar.math.fu-berlin.de with SMTP; 19 Jan 2003 15:12:03 -0000
Received: (qmail 8986 invoked by uid 0); 19 Jan 2003 15:07:31 -0000
Received: from pd9e1d20d.dip.t-dialin.net (HELO rivendell.middleearth) (217.225.210.13)
  by mail.gmx.net (mp021-rz3) with SMTP; 19 Jan 2003 15:07:31 -0000
Content-Type: text/plain;
  charset="iso-8859-15"
From: Sebastian Korten <sebastian.korten@gmx.de>
Organization: Core10
To: vim@vim.org
Subject: Re: Question for gurus
Date: Sun, 19 Jan 2003 16:30:43 +0000
User-Agent: KMail/1.4.3
References: <20030119144840.GC8564@phil.chu.com.au>
In-Reply-To: <20030119144840.GC8564@phil.chu.com.au>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200301191630.44003.sebastian.korten@gmx.de>
Content-Length: 533
Lines: 19
Status: RO
X-Status: A

I'm not really a guru... (in NO way!) but this works for me:

  :%s/\(\(^\)\(\w\)\)\|\(\(\W\)\(\w\)\)/\2\U\4/g

don't panic... its not that bad:
The first letter of every word in a file is either:
the first letter in the line:                                  ^\w
or a non-word char followed by a word-char :   \W\w

all the parantheses are there only for grouping and back-referencing...
you can read it this way:

substitute (^\w) or (\W\w) with (^(uppercase)\w) or (\W(uppercase)\w ever=
ytime=20
you find it...

Thats all...
Bass




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]