When editing a file over a network or a removable media (USB stick) it's
very easy to misplace the undo file. Also, when a file is edited by
several people, or the same person with different login names or from
different systems, the undo file would go in the wrong place. Also
problems with
On 24/05/10 23:52, Jordan Lewis wrote:
[...]
I should have worded my post better - I did mean the directory of the
file as you indicate. And the patch doesn't blindly name all undo files
the same if they have the same filename - with a common undo directory,
the files will be named
On Tue, May 25, 2010 at 01:21:43PM +0200, Tony Mechelynck wrote:
On 24/05/10 23:52, Jordan Lewis wrote:
[...]
I should have worded my post better - I did mean the directory of the
file as you indicate. And the patch doesn't blindly name all undo files
the same if they have the same filename -
On Tue, May 25, 2010 at 02:29:23PM +0200, Bram Moolenaar wrote:
James Vega wrote:
Are the undo files supposed to be hidden when 'undodir' is not the
current directory? If so, that's not currently the case.
When putting undo files with the edited files they are made hidden, just
like swap
On 25/05/10 14:19, James Vega wrote:
On Tue, May 25, 2010 at 01:21:43PM +0200, Tony Mechelynck wrote:
On 24/05/10 23:52, Jordan Lewis wrote:
[...]
I should have worded my post better - I did mean the directory of the
file as you indicate. And the patch doesn't blindly name all undo files
the
Christian Brabandt wrote:
On Mon, May 24, 2010 10:06 pm, Bram Moolenaar wrote:
I also changed it to put the undofile with the edited file. That should
work, as writing a file usually means the undofile can be written there
as well. It's possible to change this with the 'undodir' option.
On Tue, May 25, 2010 at 12:48, Christian Brabandt cbli...@256bit.org wrote:
On Mon, May 24, 2010 10:06 pm, Bram Moolenaar wrote:
I also changed it to put the undofile with the edited file. That should
work, as writing a file usually means the undofile can be written there
as well. It's
That said, I think persistent undo is more or less useless and, well,
just a big pile of potential problems. Persistent undo is in the
version control system, not in the editor.
I agree with that. This would probably be best left to versionning systems.
Shouldn't Vim be used for purely text
Michael Wookey wrote:
On 25 May 2010 06:06, Bram Moolenaar b...@moolenaar.net wrote:
As you may have noticed, I have added the persistent undo patch
yesterday.
There is a minor typo in the doc for 'persistent-undo'. Patch attached.
Thanks!
--
Bare feet magnetize sharp metal objects
On Tuesday 25 May 2010 13:11:34 Milan Vancura wrote:
When editing a file over a network or a removable media (USB stick) it's
very easy to misplace the undo file. Also, when a file is edited by
several people, or the same person with different login names or from
different systems, the
On Fri, May 14, 2010 at 11:53 AM, Bram Moolenaar b...@moolenaar.net wrote:
Patch 7.2.427
Problem: The swapfile is created using the destination of a symlink, but
recovery doesn't follow symlinks.
Solution: When recovering, resolve symlinks. (James Vega)
Files:
Nikolai Weibull wrote:
That said, I think persistent undo is more or less useless and, well,
just a big pile of potential problems. Persistent undo is in the
version control system, not in the editor.
I think this is a bit harsh. Not every file is in version control.
And even if you do use
2010/5/25 Dominique Pellé dominique.pe...@gmail.com:
Nikolai Weibull wrote:
That said, I think persistent undo is more or less useless and, well,
just a big pile of potential problems. Persistent undo is in the
version control system, not in the editor.
I think this is a bit harsh.
And I
On 25-May-2010 James Vega james...@jamessan.com wrote:
On Fri, May 14, 2010 at 11:53 AM, Bram Moolenaar b...@moolenaar.net wrote:
Patch 7.2.427
Problem: The swapfile is created using the destination of a symlink, but
recovery doesn't follow symlinks.
Solution: When
inoremap esc bug?
http://vim.wikia.com/wiki/Avoid_the_escape_key
I tried the Improving the Esc key on that page.
inoremap Esc Esc`^
In Mac terminal and Linux urxvt it has side effects for the arrow
keys. The arrow keys up, down, right, left produce A, B, C, D
respectively.
Hmmm, vim keycodes
Hi Nikolai!
On Di, 25 Mai 2010, Nikolai Weibull wrote:
2010/5/25 Dominique Pellé dominique.pe...@gmail.com:
Nikolai Weibull wrote:
That said, I think persistent undo is more or less useless and, well,
just a big pile of potential problems. Persistent undo is in the
version control
On Tue, May 25, 2010 at 19:42, Christian Brabandt cbli...@256bit.org wrote:
On Di, 25 Mai 2010, Nikolai Weibull wrote:
2010/5/25 Dominique Pellé dominique.pe...@gmail.com:
Nikolai Weibull wrote:
That said, I think persistent undo is more or less useless and, well,
just a big pile of
Hi,
When I try to complete using C-N or C-P in insert mode, I routinely get
a crash. I just download the latest svn
svn co https://vim.svn.sourceforge.net/svnroot/vim/vim7
I have the following in my _vimrc:
set complete+=s*.py
set complete-=k complete+=k
Below is the error
On Tue, 25 May 2010, Nikolai Weibull wrote:
And no one forced you to defend this feature.
True, nobody is forcing anybody to defend the feature, but what do you
expect to happen when you complain about it?
Why does everyone have to come in and say basically the same thing
in response to
Hello!
Set up a file tmp with a single line: (this line should appear as a -1
with a m exponent; ie. char-0x1D50
-1ᵐ
Use the following command:
vim -u simple.vimrc tmp
and try Yp (yank and put).
simple.vimrc:
set nocp
set enc=utf-8
I see
--11ᵐ
instead of
-1ᵐ
-1ᵐ
ie. its picking up the
On Tue, May 25, 2010 at 21:04, Christian J. Robinson hept...@gmail.com wrote:
On Tue, 25 May 2010, Nikolai Weibull wrote:
And no one forced you to defend this feature.
True, nobody is forcing anybody to defend the feature, but what do you
expect to happen when you complain about it?
I
There is a possibility of Vim crashing when a variable or an option
('omnifunc' or 'completefunc') is unset or has its value modified.
The crash is due to an invalid memory access, which is reported by
Valgrind as follows:
#v+
==19657== Invalid write of size 1
==19657==at 0x8077102:
Patch 7.2.438 (after 7.2.427)
Problem:vim -r crashes.
Solution: Don't use NULL pointer argument.
Files: src/memline.c
*** ../vim-7.2.437/src/memline.c2010-05-14 17:52:35.0 +0200
--- src/memline.c 2010-05-25 21:36:01.0 +0200
***
*** 1404,1418
I have tested successfully the following two netbeans vim73 patches
with pyclewn and by running the pyclewn test suite:
o changeset: 2200:8c6a66e2b3cc
| branch: vim73
| user:Bram Moolenaar b...@vim.org
| date:Sat May 22 21:34:09 2010 +0200
| summary: Add :nbstart
On 25-May-2010 reckoner recko...@gmail.com wrote:
Hi,
When I try to complete using C-N or C-P in insert mode, I routinely
get a crash. I just download the latest svn
svn co https://vim.svn.sourceforge.net/svnroot/vim/vim7
I have the following in my _vimrc:
set complete+=s*.py
2010/5/25 Dominique Pellé dominique.pe...@gmail.com:
Does anybody use all Vim features? :-)
Does anybody actually know all Vim features? :-)
Sometimes I accidentally quit Vim while editing a file (hitting w and
q at the same time when saving for instance), losing the undo history
at the same
On 25/05/10 18:03, Bee wrote:
inoremapesc bug?
http://vim.wikia.com/wiki/Avoid_the_escape_key
I tried the Improving the Esc key on that page.
inoremapEsc Esc`^
In Mac terminal and Linux urxvt it has side effects for the arrow
keys. The arrow keys up, down, right, left produce A, B, C, D
James Vega wrote:
On Fri, May 14, 2010 at 11:53 AM, Bram Moolenaar b...@moolenaar.net wrote:
Patch 7.2.427
Problem: Â Â The swapfile is created using the destination of a symlink,
but
      recovery doesn't follow symlinks.
Solution: Â When recovering, resolve
Charles Campbell wrote:
Set up a file tmp with a single line: (this line should appear as a -1
with a m exponent; ie. char-0x1D50
-1áµ
Use the following command:
vim -u simple.vimrc tmp
and try Yp (yank and put).
simple.vimrc:
set nocp
set enc=utf-8
I see
--11áµ
Dominique Pelle wrote:
I see the following error with Valgrind in Vim-7.3a BETA (c81f0a037059)
when doing :wundo foo and when file foo already exists and has size 0:
==4957== Conditional jump or move depends on uninitialised value(s)
==4957==at 0x81BCB49: u_write_undo (undo.c:1293)
Milan Vancura wrote:
When editing a file over a network or a removable media (USB stick) it's
very easy to misplace the undo file. Also, when a file is edited by
several people, or the same person with different login names or from
different systems, the undo file would go in the wrong
Lech Lorens wrote:
There is a possibility of Vim crashing when a variable or an option
('omnifunc' or 'completefunc') is unset or has its value modified.
The crash is due to an invalid memory access, which is reported by
Valgrind as follows:
#v+
==19657== Invalid write of size 1
On Tue, May 25, 2010 at 2:27 PM, Nikolai Weibull n...@bitwi.se wrote:
I figured that “That said, I think persistent undo is more or less
useless and, well, just a big pile of potential problems. Persistent
undo is in the version control system, not in the editor.” is me
stating an opinion
Lech:
Thanks for your reply. I'm attaching the _vimrc (sorry it's kind of messy).
The tricky part is that I can't reliably reproduce the error, even
though it happens consistently. In other words, I can't exactly
articulate a finite series of steps that lead to the crash other than I
keep
On 25-May-2010 Lech Lorens lech.lor...@gmail.com wrote:
On 25-May-2010 James Vega james...@jamessan.com wrote:
On Fri, May 14, 2010 at 11:53 AM, Bram Moolenaar b...@moolenaar.net wrote:
Patch 7.2.427
Problem: The swapfile is created using the destination of a symlink,
but
On May 25, 1:19 pm, Tony Mechelynck antoine.mechely...@gmail.com
wrote:
On 25/05/10 18:03, Bee wrote:
inoremapesc bug?
http://vim.wikia.com/wiki/Avoid_the_escape_key
I tried the Improving the Esc key on that page.
inoremapEsc Esc`^
In Mac terminal and Linux urxvt it has side
On Tue, May 25, 2010 at 22:38, Jordan Lewis jordanthele...@gmail.com wrote:
For example, pretend you're developing the ultimate novel Vim feature, but
you've caused a bug, and want to trace it in gdb. You edit Vim's makefile to
enable -g in CFLAGS, recompile, track down the bug, and want to
Hi Bram!
On Di, 25 Mai 2010, Bram Moolenaar wrote:
Christian Brabandt wrote:
This completely depends on what you are doing. When a file has been
edited by someone else, using Vim, you can undo his changes. That can
be very useful. On the other hand, the undo file will reveal anything
On 25/05/10 19:51, reckoner wrote:
Hi,
When I try to complete using C-N or C-P in insert mode, I routinely get
a crash. I just download the latest svn
svn co https://vim.svn.sourceforge.net/svnroot/vim/vim7
I have the following in my _vimrc:
set complete+=s*.py
set complete-=k complete+=k
On May 22, 4:03 pm, Stefan Karlsson te...@gmail.com wrote:
/.../ My attempt to contact the original maintainer resulted in a
mail bounce /.../
It was me that you were trying to contact -- sorry about that :-)
No worries, just glad you're alive!
As I don't have much spare time these
Hi
3 remarks about vim/src/undo.c (at changeset: 271a5907f944):
(1) Using persistent-undo, I notice once in a while the following memory
leak, but I have not found the way to reproduce it all the time:
==3371== 10 bytes in 2 blocks are definitely lost in loss record 23 of 116
==3371==at
Charles Campbell wrote:
Hello!
Set up a file tmp with a single line: (this line should appear as a -1
with a m exponent; ie. char-0x1D50
-1ᵐ
Use the following command:
vim -u simple.vimrc tmp
and try Yp (yank and put).
simple.vimrc:
set nocp
set enc=utf-8
I see
--11ᵐ
instead
On 25/05/10 22:37, Bram Moolenaar wrote:
Charles Campbell wrote:
Set up a filetmp with a single line: (this line should appear as a -1
with a m exponent; ie. char-0x1D50
-1áµ
Use the following command:
vim -u simple.vimrc tmp
and try Yp (yank and put).
simple.vimrc:
set nocp
set enc=utf-8
On 25-May-2010 reckoner recko...@gmail.com wrote:
Lech:
Thanks for your reply. I'm attaching the _vimrc (sorry it's kind of messy).
The tricky part is that I can't reliably reproduce the error, even
though it happens consistently. In other words, I can't exactly
articulate a finite series
On Tue, May 25, 2010 at 4:53 PM, Bee beeyaw...@gmail.com wrote:
On May 25, 1:19 pm, Tony Mechelynck antoine.mechely...@gmail.com
wrote:
On 25/05/10 18:03, Bee wrote:
Is this a bug? Seems inoremap is not working here.
I recommend
:set timeout timeoutlen=5000 ttimeoutlen=100
(or
45 matches
Mail list logo