On Do, 06 Feb 2014, Martin Lundberg wrote: > I've been asking for better documentation on the vim source-code before > but after downloading the code, reading README.md in the src folder and > going through the code itself, I have to say I'm sorry I didn't do it > before. > > However, after following the main and main_loop functions I've got some > questions about the code. > > 1. There's some prefixes used that I don't understand, what does mch_ > and p_ stand for? If there are more prefixes which is used a lot it > would be great if you could list them too?
mch_ are system dependent functions (e.g. there is one mch_chdir() function in os_unix.c, os_mswin.c and os_amiga.c p_ are usually global options, like e.g. p_acd (it uses the shortform of the option name, so you can easily look those up in options.txt Don't know, if there are more of those. > 2. What is the stuff buffer? A buffer containing characters, that will be executed next. I think this is mainly used for repeating with the '.' command or macros. > 3. What is topline? This is the *topline* of the buffer displayed in the current window. Best, Christian -- -- You received this message from the "vim_dev" 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 --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
