yeah what you guess is 100 percent correct. I also noticed function 'append'
I'll try to use it. thanks On Tue, Nov 8, 2011 at 8:21 PM, Marc Weber <[email protected]> wrote: > You're still failing. You're still making it hard for others to help. > Let me show you why. > > Excerpts from Steve liu's message of Tue Nov 08 12:51:11 +0100 2011: > > 1) yeah, I've really used help. But result is printed to status line not > on > > the text. > Tell people about what you've tried in your email. So your problem is > not printf, but "How to get text into the buffer" (which is something I > had to guess in the last mail) > > > what i want to do is to use vim internal function to print sth. on > the > > text, editing. > What. Think about Vim being human and imagine Vim understanding the > English language. Then explain to vim what it should do. > Copy paste this text into your reply to this mail. Then you'll be > offered many nice ways to get your job done. > > What do you mean by "print" ? printf outputs to stdout. Vim can't do > that. So its not clear to me what you mean by "print" in the context of > editing text with a text editor. > > You usually > "insert text into a text file at particular position/line/..." > "replace text" > "insert templates you prepared so that you can reuse those lines many > times without retyping" > " .. " > > But you don't "printf" - you printf, then insert somewhere. > It looks like you know how to printf. So the remaining issue is how can > I insert a string into a buffer? Now how to determine at which location > the text should be inserted? Why does append() not suffice? > .. Lot's of lots of questions. > > > 2) though your word is kind of ... > That's a very bad habit: You should *always* make clear to what you're > referring to. The most common way is "bottom posting" which means: > 1) delete everything you don't reply to. > 2) put your text below the text you're referring to. > > So if you say 'your word' I don't know what you're referring to. > There have been many "words" in my mail. And if you want to talk about > the way I express myself (I'm not a native speaker) "wording" would have > been a better word to say this. > > > > sorry for the second time. and thanks very much. > You're welcome. Never feel sorry. Try to improve your communication. > Each additional round trip just means that you've forgotten to add some > important information others need to know before they can help you. > > Marc Weber > > -- > You received this message from the "vim_use" maillist. > Do not top-post! Type your reply below the text you are replying to. > For more information, visit http://www.vim.org/maillist.php > -- steve <[email protected]> -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
