Re: Why bottom-posting is prefered on Vim Mainling List?

2007-05-29 Thread Troy Piggins
* [EMAIL PROTECTED] is quoted  my replies are inline below :
 Steve Hall [EMAIL PROTECTED] 写于 2007-05-29 12:19:43:
  You could say that top posting is easier to write, but bottom posting
  is easier to read. The extra effort of one poster saves all the
  readers the same amount of effort. For a group, bottom posting keeps
  everyone on track. And if done well, individual posts can stand alone
  in an archive without a peruser having to go paging through a whole
  thread.
 
 It seems that top-posters and bottom-posters belongs to different party and
 no one can convice another.
 
 An explaination why top-post is easier to read:
 When I am viewing an e-mail, the reply is the main part of the message and
 I usually quite aware of what the original post is. So I should be able to
 see the reply when I open the message.

Notice how I have set up my reply attribution above.  It lets people know to
look down for my comments.

 If the message is bottom post, I will have to scroll down and down to find
 where the author really start to say something. If the reply starts on line
 1000 while the messages ends on line 2000 it will be quite difficult to
 know line 1000 is the start of reply and I should read from that line.

When replying to very long messages it's best to trim the quoted message,
leaving only relevant parts to your reply and noting where you have trimmed
with something like snip, to avoid that problem

 While for the top-post, I know the first line is the start of reply and I
 can read the reply without any difficulty. In an active forum, threads
 grown long quickly, with top-post, we focus on what the message saids and
 waste no time.

That's fine for one to one emails where you can usually remember what the
conversation is with that person, but on lists where there are hundreds of
messages it is difficult to remember details you need to keep context.  In
particular it's better for people searching list archives for similar problems
years later - it minimises the time to find answers.

 Write top-post or bottom-post makes no difference for me, the problem is
 that I found bottom-post is harder to read since I will have to skim all
 original messages before I could read the actual reply.

Again, if people trimmed as they went that shouldn't be a problem.

 Well, since no one could convice another, I'll stick to the community
 rule.

:)

-- 
Troy Piggins | http://piggo.com/~troy __   ___  
RLU#415538\ \ / (_)_ __ ,-O   (o-O 
   \ V /| | '  \   O   )  //\ O
Vim 7.0.22  \_/ |_|_|_|_|   `-O   V_/_  OOO


Re: bullet points and paragraph indenting

2007-05-29 Thread Troy Piggins
* Tobia is quoted  my replies are inline below :
 Troy Piggins wrote:
  When I intend to type a list of bullet points, I start with a - .
  If I type more than one line for that bullet point, the second line is
  automatically indented 2 spaces, so the text lines up with the first
  line's text. However if I type more than 2 lines, the third line
  starts at beginning of line
 
 set autoindent

Thanks.

-- 
Troy Piggins | http://piggo.com/~troy __   ___  
RLU#415538\ \ / (_)_ __ ,-O   (o-O 
   \ V /| | '  \   O   )  //\ O
Vim 7.0.22  \_/ |_|_|_|_|   `-O   V_/_  OOO


Re: mbox format archive?

2007-05-29 Thread Troy Piggins
* A.J.Mechelynck is quoted  my replies are inline below :
 Ali Polatel wrote:
 A.J.Mechelynck [EMAIL PROTECTED] yazmış:
  [EMAIL PROTECTED] wrote:
 hi
 i'd like to get as large an archive as possible of this list in mbox
 format. Looking around I don't see any archive in mbox format
 surprisingly, does anyone know if this exists?
 thanks!
  I've been archiving the vim, vim-dev and vim-multibyte lists locally, 
  ever since I switched over to Linux. The file is 19 meg by now. Shall I 
  send it to you as attachment by private email?
 
  Hi,
  I was reading the vim mailing list today and saw this post :) I would
 be very happy if you can send me the archives of vim and vim-dev when
 you have time..
  thanks!
 
 Hmm... This post of mine seems to be eliciting two kinds of reactions: Me 
 too, me too and Don't, you fool, he may be a spammer harvesting 
 addresses.
 
 I think I'll leave it on the backburner for a while, waiting for the 
 situation to clarify. Comments, anyone?

Regarding people's concerns about email addresses being visible - they do
realise that every post made to the vim mailing list is available on
mail-to-news gateways like gmane, don't they?  Poster's email address are not
munged and available on USENET even though posted on a mailing list.

-- 
Troy Piggins | http://piggo.com/~troy __   ___  
RLU#415538\ \ / (_)_ __ ,-O   (o-O 
   \ V /| | '  \   O   )  //\ O
Vim 7.0.22  \_/ |_|_|_|_|   `-O   V_/_  OOO


bullet points and paragraph indenting

2007-05-28 Thread Troy Piggins
When I intend to type a list of bullet points, I start with a - .  If I
type more than one line for that bullet point, the second line is automatically
indented 2 spaces, so the text lines up with the first line's text like this:

- Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
  tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,

However if I type more than 2 lines, the third line starts at beginning of line
like this:

- Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
  tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 

Is there a way to get the whole bullet point item to have that 2 character
indent like this?

- Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
  tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
  quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
  consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
  cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
  proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 

-- 
Troy Piggins | http://piggo.com/~troy __   ___  
RLU#415538\ \ / (_)_ __ ,-O   (o-O 
   \ V /| | '  \   O   )  //\ O
Vim 7.0.22  \_/ |_|_|_|_|   `-O   V_/_  OOO


Re: Vim and email quoting

2007-05-12 Thread Troy Piggins
* Timothy Knox is quoted  my replies are inline below :
 I use vim to write my outgoing email, and for the most part, it
 rocks. Thanks to all the folks who have written modules and
 provided tips that make it the best thing for writing email
 since mailx grin.

What tips/scripts are you using and what are your favourites?

 That said, there is one small annoyance I find: When replying
 to an email, I like to intersperse the original email with my
 commentary. When I am on the last line of a paragraph I wish to
 respond to, I hit o to open a new line. All well and good,
 save that something recognises the leading   of the previous
 paragraph, and adds one to my new line. Can somebody tell me
 how to make it stop? ;-)

I see you have already solved this.

-- 
Troy Piggins | http://piggo.com/~troy __   ___  
RLU#415538\ \ / (_)_ __ ,-O   (o-O 
   \ V /| | '  \   O   )  //\ O
Vim 7.0.22  \_/ |_|_|_|_|   `-O   V_/_  OOO


figlet script

2007-05-03 Thread Troy Piggins
I was looking for some helper commands for using something like
'figlet' from within vim.

Searched the vim scripts and closest I could find was the
larlet.vim script http://www.vim.org/scripts/script.php?script_id=1357

At present I have this in my .vimrc:

map ,f :r!figlet 

I was wondering if anyone has something a little more advanced.
Perhaps a font chooser?

-- 
Troy Piggins | http://piggo.com/~troy


Re: figlet script

2007-05-03 Thread Troy Piggins
* A.J.Mechelynck is quoted  my replies are inline below :
 Troy Piggins wrote:
 I was looking for some helper commands for using something like
 'figlet' from within vim.
 
 Searched the vim scripts and closest I could find was the
 larlet.vim script http://www.vim.org/scripts/script.php?script_id=1357
 
 At present I have this in my .vimrc:
 map ,f :r!figlet 
 
 I was wondering if anyone has something a little more advanced.
 Perhaps a font chooser?
 
 - Vim or gvim is meant to display exactly one character per character cell, 
 except in the case of wide East-Asian characters (which occupy two 
 character cells), combining characters (which do not occupy a distinct 
 character cell), nonprinting or invalid characters (which may be shown as 
 ^P (two cells), fffe (six cells) etc.); and, of course, hard tabs 
 (which occupy between 1 and 'tabstop' character cells). There is no 
 provision for ASCII-art characters in Vim.

I understand that.  Figlet is just arranging single chars into
patterns that appear as large (multiple row/column) fonts -
similar to ascii art.  I know there is no provision for that
directly in vim.  But there are ways to make it easier to invoke.

 - You can use figlet as a filter (see :help filter). It must of course be 
 present on your system (I have it in /usr/games/).

Filter looks promising.  If you have figlet on your system, how do
you use it?  Do you ever use it within vim?  Do you have keys
mapped, or scripts?

 - A font chooser exists in the Windows, Mac, Photon, GTK1 and GTK2 versions 
 of gvim (for system fonts, be they bitmapped, TrueType, OpenType etc.):
 
   :set guifont=*
[snip]

By 'font', I meant figlet fonts.   Sorry for not being clearer.  So
a way of choosing a selection of files in
/usr/local/share/figlet/*.flf files to use as the '-f' option for
figlet:

:!figlet -f xxx.flf

Thanks.

-- 
Troy Piggins | http://piggo.com/~troy


Re: figlet script

2007-05-03 Thread Troy Piggins
* A.J.Mechelynck is quoted  my replies are inline below :
 Troy Piggins wrote:
 [...]
 Filter looks promising.  If you have figlet on your system, how do
 you use it?  Do you ever use it within vim?  Do you have keys
 mapped, or scripts?
 [...]
 
 You can replace a range of lines by its figlet representation: Here are a 
 few examples:
 
   Visual!figlet
 or
   Visual:!figlet
 which appears as
   :','!figlet
   replace the (linewise) Visual selection
[snip]
 see
   :help filter
   :help [range]
 
 In all the above examples, add after !figlet any command-line parameters 
 required by the figlet command (which takes its input on stdin and writes 
 its output to stdout, Vim takes care of that).

Got it.  And a big

 _ _ __ _ 
|_   _| |__   __ _ _ __ | | ___   _  ___  _   _  |_   _|__  _ __  _   _| |
  | | | '_ \ / _` | '_ \| |/ / | | |/ _ \| | | |   | |/ _ \| '_ \| | | | |
  | | | | | | (_| | | | |   | |_| | (_) | |_| |   | | (_) | | | | |_| |_|
  |_| |_| |_|\__,_|_| |_|_|\_\\__, |\___/ \__,_|   |_|\___/|_| |_|\__, (_)
  |___/   |___/   

    
  _  |  _ \ 
 (_)  _  | | | |
  _  |_| | |_| |
 (_) |/ 


-- 
Troy Piggins | http://piggo.com/~troy


Re: Useful Tools to Assist Editing (Not just VIM)

2006-11-30 Thread Troy Piggins
* zzapper [EMAIL PROTECTED] :
[snip]
 
 I also use a Text Replacement Utility called ShortKeys which acts a bit 
 like a VIM abbreviation ie you type a short code and it replaces the code 
 with a long sequence of text or code that you use frequently eg a chunk of 
 code, an address etc.
[snip]

Can that program invoke applications, or just keystrokes?  

I have tried in the past to do the recommendations of this Vim
Everywhere[1] page which uses a similar program to the one you
mention called Shortcut[2].  The idea is that you can
(supposedly) invoke vim from any text input application.

I had trouble getting it to work - the help files are only in
German and I am Australian :(

Anyway, I was thinking if ShortKeys could do the same.

[1] http://www.karpfenteich.net/pit/vimall.html
[2] http://www.typer.de/

-- 
Troy Piggins,-O   (o-O  
   O   )  //\ O
If you're into bondage, make sure More`-O   V_/_  OOO
  isn't your safety word.RLU#415538


Re: Useful Tools to Assist Editing (Not just VIM)

2006-11-30 Thread Troy Piggins
* Gary Johnson [EMAIL PROTECTED] :
 On 2006-12-01, Troy Piggins [EMAIL PROTECTED] wrote:
  * zzapper [EMAIL PROTECTED] :
  [snip]
   
   I also use a Text Replacement Utility called ShortKeys which acts a bit 
   like a VIM abbreviation ie you type a short code and it replaces the code 
   with a long sequence of text or code that you use frequently eg a chunk 
   of 
   code, an address etc.
  [snip]
  
  Can that program invoke applications, or just keystrokes?  
  
  I have tried in the past to do the recommendations of this Vim
  Everywhere[1] page which uses a similar program to the one you
  mention called Shortcut[2].  The idea is that you can
  (supposedly) invoke vim from any text input application.
 
 I've been using 'external' for quite a while and am very happy with 
 it.
 
 http://bur.st/~benc/?p=external
 
 I found out about it from
 
 http://vim.sourceforge.net/tips/tip.php?tip_id=805

Oh excellent.  I'll look into it Gary, thanks!

-- 
Troy Piggins,-O   (o-O  
   O   )  //\ O
If you're into bondage, make sure More`-O   V_/_  OOO
  isn't your safety word.RLU#415538


Re: Useful Tools to Assist Editing (Not just VIM)

2006-11-30 Thread Troy Piggins
* Gary Johnson [EMAIL PROTECTED] :
 On 2006-12-01, Troy Piggins [EMAIL PROTECTED] wrote:
  * zzapper [EMAIL PROTECTED] : [snip]
   
   I also use a Text Replacement Utility called ShortKeys
   which acts a bit like a VIM abbreviation ie you type a
   short code and it replaces the code with a long sequence of
   text or code that you use frequently eg a chunk of code, an
   address etc.
  [snip]
  
  Can that program invoke applications, or just keystrokes?  
  
  I have tried in the past to do the recommendations of this
  Vim Everywhere[1] page which uses a similar program to the
  one you mention called Shortcut[2].  The idea is that you
  can (supposedly) invoke vim from any text input application.
 
 I've been using 'external' for quite a while and am very happy
 with it.
 
 http://bur.st/~benc/?p=external

What a surprise, it works for Thunderbird but not Outlook.
/sarcasm

-- 
Troy Piggins,-O   (o-O  
   O   )  //\ O
If you're into bondage, make sure More`-O   V_/_  OOO
  isn't your safety word.RLU#415538


Re: yank and put 'over' instead of 'insert'

2006-11-14 Thread Troy Piggins
* A.J.Mechelynck [EMAIL PROTECTED] :
 Troy Piggins wrote:
 I use 'R' replace mode when doing, for example, ascii art etc
 because it allows me to change characters without affecting the
 layout of the rest of the window/page.
 
 But if I want to yank a section using visual or visual block, is
 there a way to put 'p' that block in without affecting the
 layout?  The way I've been doing it, the rest gets pushed along.
 
 Use visual again, and the put will replace the selection: see :help v_p.

Thanks for the quick response Tony!

That works if the 2nd visual selection is the same size, but if
different size text to the right is moved along.

Also, if I want to delete a block to move it instead of copy it,
text to the right of the deleted block is shifted left.  Is there
a way around that?

-- 
Troy Piggins