Loading ...
Sorry, an error occurred while loading the content.
Advanced Search
Author
Subject
Message
Special notice only

88 results from messages in vimdev

Advanced Search
  • Some of this discussion is old ground - (from discussions about the difference between indent and alignment - see http://www.vim.org/scripts/script.php?script_id=231) For those that think that hard tabs MUST be 8, yout should know that on a windows system, tabs are more likely to be set at 4 than they are at 8 (or 3 for borland).. and my counter argument to aligning items that are...
    Michael Geddes Mar 3, 2004
  • In showing source-control status on the statusline, I use a function that displays a variable - and the variable is set by another function called by a BufRead autocommand. The interesting thing was that in the Win32 GUI, the statusline WAS updated after the CursorHold was executed. I'm assuming that you are not seeing this in whatever platform you run on. I just checked on the...
    Michael Geddes Nov 16, 2003
  • Wouldn't a simpler solution to put a variable in the statusline and just update the variable - or have a function call to return the required line. I do this all the time (without the cursorhold)- and it works very nicely for me in a number of circumstances. I tried this on my own vim (Win32 Gvim)using CursorHold and incrementing , and it worked very nicely - and it even updated...
    Michael Geddes Nov 13, 2003
  • Fetching Sponsored Content...
  • In my tab-size independent style, this would be: /* only when XYZ */ if (some_condition) { /* the real work */ do_something(); } As I said in my previous spiel, use more vertical space - it's usually easier to read anyway. If it's a big-enough function to warrant a description, then it's big enough to handle braces :) //. -----Original Message----- From: Bram Moolenaar...
    Michael Geddes Oct 21, 2003
  • That's a good way of putting it Douglas ... INDENT v ALIGNMENT .. good choice of words! Bram, I know that my scheme breaks if you have different levels of INDENT on the left, and if you are trying to ALIGN comments on the right. However I don't ever do that, partly for that reason, and partly because I prefer to put more vertical space in than to try and squish comments on the...
    Michael Geddes Oct 20, 2003
  • I'm trying not to add too much to what is normally an emotional topic however... On win32 systems, a lot/most? editors use/default to 4 for their tabstop settings (or 3 like borland used to)... just for those who are in the 'tabstop is always 8' camp. Using a shiftwidth smaller than tabstop is a real pain if you consider mutable tabstop settings (ie giving mixed spaces/tabs on the...
    Michael Geddes Oct 19, 2003
  • Er no. Renaming doesn't work with win32, sorry David. This question has been asked before, and the answer was something along the lines that there a bunch of potentially different versions of vim.exe that could sensibly be deployed, and that Bram was unable to choose any one of them (yes?). I tend to make my own deployment that includes a vim.exe .. I find it very useful. The one I...
    Michael Geddes Oct 2, 2003
  • The messages are all being archived by yahoo groups, as long as you aren't going back too far! There are a couple of other archives floating about, but hopefully you won't need them. //.ichael G -----Original Message----- From: Dan Hulme [mailto:dan_256@^$1] Sent: Saturday, 5 July 2003 4:43 PM To: vim-dev@^$2 Subject: Question about the mailing list I am new here, and posted a...
    Michael Geddes Jul 7, 2003
  • That works. Even with this patch, if you :breakadd the function being called, then it will break back into the debugger as expected (very nice, I thought)! We could always add support for doing :breakadd func remote_expr that would cause the debugger to run on any remote_expr, which would then go into debug mode whether we were in debug mode originally or not! This, I believe...
    Michael Geddes Jul 2, 2003
  • This is getting a bit gnarly, so I'll let somebody who has had more experience with this area have a go. I've found the basic reason for the problem, which is that within do_debug, it is doing an 'inchar' passing a pointer indexing into the global typebuf.tb_buf ... the problem is then that when you send a message via remote_send, this calls 'server_to_input_buf' which calls 'ins...
    Michael Geddes Jul 1, 2003