Re: Crash with strftime()
I've forgotten. The version of mine is 7.1. -- Anatoli Sakhnik. On 23/05/07, Andy Wokula <[EMAIL PROTECTED]> wrote: Also no crash with the original GVim 7.0 Win32 distribution (returns empty string). -- Regards, Andy
Re: Crash with strftime()
Anatoli Sakhnik schrieb: Hi! I observe different results. The compiled on MinGW gvim doesn't crash, but displays nothing. Under linux it works quite well, and prints the day of the month, i.e. 23. So the crash may refer to a bug in the system libraries or environments. It'd be interesting to have look at the crash from a debugger. -- Anatoli Sakhnik. On 23/05/07, Andy Wokula <[EMAIL PROTECTED]> wrote: Not nice: :echo strftime("%e") " %e - some undefined code I used by accident makes Vim crash. (GVim 7.0.235, Win32) -- Regards, Andy Also no crash with the original GVim 7.0 Win32 distribution (returns empty string). -- Regards, Andy
Re: Crash with strftime()
Hi! I observe different results. The compiled on MinGW gvim doesn't crash, but displays nothing. Under linux it works quite well, and prints the day of the month, i.e. 23. So the crash may refer to a bug in the system libraries or environments. It'd be interesting to have look at the crash from a debugger. -- Anatoli Sakhnik. On 23/05/07, Andy Wokula <[EMAIL PROTECTED]> wrote: Not nice: :echo strftime("%e") " %e - some undefined code I used by accident makes Vim crash. (GVim 7.0.235, Win32) -- Regards, Andy
Re: Wish: filetype .txx files as cpp
Tomáš Kazmar schrieb: # > # Users can define there own filetype.vim to detect additional filetypes. # > # Other places in the runtimepath are suited as well. # > # > Thanks for your answer but I am aware of this and have .vim/filetype.vim # > properly edited, just thought it would not break anything if vim worked # > like # > that by default...? # # It's just detection, I cannot see any problems. # Is there something special about *.txx files? Exactly, its just detection but vim does not get it right by default, as i wrote earlier, it detects it either as a conf file or not at all. So, the question is if it is worth to fix it? Tomas You should ask the maintainer (Bram) if he will add it. -- Regards, Andy
Crash with strftime()
Not nice: :echo strftime("%e") " %e - some undefined code I used by accident makes Vim crash. (GVim 7.0.235, Win32) -- Regards, Andy
Re: Wish: filetype .txx files as cpp
# > # Users can define there own filetype.vim to detect additional filetypes. # > # Other places in the runtimepath are suited as well. # > # > Thanks for your answer but I am aware of this and have .vim/filetype.vim # > properly edited, just thought it would not break anything if vim worked # > like # > that by default...? # # It's just detection, I cannot see any problems. # Is there something special about *.txx files? Exactly, its just detection but vim does not get it right by default, as i wrote earlier, it detects it either as a conf file or not at all. So, the question is if it is worth to fix it? Tomas