I've added $memwithbuffers to complement $mem, $memeasyfree, etc. This variable indicates the used system memory, regardless of buffers/caches. If the "no_buffers" option is set to "no", it will be the same as $mem. The reason I find this change useful is that I like to display both the total used system memory and the memory being used by applications.
I've also included a memwithbuffersbar, which is the same as membar except that it uses $memwithbuffers as the size instead of $mem.
This is my first patch to an open-source project, so please let me know if I've done something wrong :) I wasn't sure if I was supposed to update the changelog, so I left it alone. I did, however, update the relevant xml doc file (variables.xml).
I tested this against the latest git trunk.
Patch for the changed cc and header files, as well as docbook file.
I have applied this.
Thanks for the patch.