Your message dated Sun, 23 Jul 2006 21:13:09 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#379453: vimdiff should detect edits within a line
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: vim-python
Version: 1:7.0-017+5
Severity: wishlist
File: /usr/bin/vim.python

If I am comparing two files with vimdiff and I add or delete a line
to/from one, vimdiff automatically updates the display and lets me
use the usual commands to push the change over to the other file.

However, if I simply edit part of an existing line without changing
linebreaks , vimdiff does not notice the change and I have to employ
a hack to be able to push the change: yank-paste the line, then
delete the original one.

It would be nice if this were fixed. Thanks,

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`.     martin f. krafft <[EMAIL PROTECTED]>
: :'  :    proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system

Attachment: signature.asc
Description: Digital signature (GPG/PGP)


--- End Message ---
--- Begin Message ---
On Sun, Jul 23, 2006 at 06:58:18PM +0100, martin f krafft wrote:
> If I am comparing two files with vimdiff and I add or delete a line
> to/from one, vimdiff automatically updates the display and lets me
> use the usual commands to push the change over to the other file.
> 
> However, if I simply edit part of an existing line without changing
> linebreaks , vimdiff does not notice the change and I have to employ
> a hack to be able to push the change: yank-paste the line, then
> delete the original one.

This is not a bug (intended as: misbehaviour wrt a specification), but
the documented behaviour of vim's diff mode.

Quoting from :help :diffupdate

  :diffu[pdate]                   Update the diff highlighting and folds.

  Vim attempts to keep the differences updated when you make changes to the
  text.  This mostly takes care of inserted and deleted lines.  Changes within a
  line and more complicated changes do not cause the differences to be updated.
  To force the differences to be updated use: >

          :diffupdate

I'm thus closing this bug report with this mail, assuming you weren't
aware of :diffupdate.

If you intended this bug report as upstream whishlist item please reopen
it (tough it would be better to first discover the issues in
implementing the behaviour you want in vim's code ... and no, I don't
know them right now :-))

Cheers.

-- 
Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
[EMAIL PROTECTED],debian.org,bononia.it} -%- http://www.bononia.it/zack/
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. -!-

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to