Bug#351232: better handling of word boundaries

2006-02-10 Thread Santiago Vila
On Fri, 3 Feb 2006, martin f krafft wrote:

 also sprach Santiago Vila [EMAIL PROTECTED] [2006.02.03.1351 +0100]:
  It is a little bit late to change the behaviour of this program.
  Instead, why don't you wdiff the result of running dvi2tty on the .dvi 
  files?
 
 What if I cannot produce the .dvi files because my publisher has all
 the periphery?

(Hmm, why in earth would you want to create a non-free document? :-)

Even if you can't produce the exact final .dvi, I would try to produce
a .dvi anyway (maybe by using an alternative periphery).

 How about adding a new option that deals with language words, rather
 than whitespace-separated chunks? Would it be too difficult? I am
 not saying it should be the default...

I don't know, really. Would rewriting from scratch count as difficult? :-)

Anyway, this was already in /usr/share/doc/wdiff/TODO:

[...]
* Select by options exactly what is whitespace.
[...]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#351232: better handling of word boundaries

2006-02-10 Thread martin f krafft
also sprach Santiago Vila [EMAIL PROTECTED] [2006.02.10.1643 +0100]:
  What if I cannot produce the .dvi files because my publisher has all
  the periphery?
 
 (Hmm, why in earth would you want to create a non-free document? :-)

It's not non-free for me. I just can't be bothered.

 Anyway, this was already in /usr/share/doc/wdiff/TODO:
 
 [...]
 * Select by options exactly what is whitespace.
 [...]

Ok.

-- 
 .''`. 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
 
Invalid/expired PGP (sub)keys? Use subkeys.pgp.net as keyserver!
 
micro$oft dns service terminates abnormally
when it receives a response
to a dns query that was never made.
fix information: run your dns service on a different platform.
-- bugtraq


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


Bug#351232: better handling of word boundaries

2006-02-03 Thread martin f krafft
Package: wdiff
Version: 0.5-16
Severity: wishlist

If using wdiff on TeX files, it's really annoying if a change
involves attached TeX tags. E.g.:

  This 
link\footnote{\link{http://www.chiark.greenend.org.uk/{\tilde}sgtatham/bugs.html}}

If I wanted to capitalise link, wdiff would say that

  
link\footnote{\link{http://www.chiark.greenend.org.uk/{\tilde}sgtatham/bugs.html}}

was deleted and  

  
Link\footnote{\link{http://www.chiark.greenend.org.uk/{\tilde}sgtatham/bugs.html}}

added. It should just know that [^[:alnum:]] marks the end of
a word.

-- 
 .''`. 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
 
Invalid/expired PGP (sub)keys? Use subkeys.pgp.net as keyserver!
 
women can keep a secret just as well as men,
but it takes more of them to do it.


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


Bug#351232: better handling of word boundaries

2006-02-03 Thread Santiago Vila
On Fri, 3 Feb 2006, martin f krafft wrote:

 Package: wdiff
 Version: 0.5-16
 Severity: wishlist
 
 If using wdiff on TeX files, it's really annoying if a change
 involves attached TeX tags. E.g.:
 
   This 
 link\footnote{\link{http://www.chiark.greenend.org.uk/{\tilde}sgtatham/bugs.html}}
 
 If I wanted to capitalise link, wdiff would say that
 
   
 link\footnote{\link{http://www.chiark.greenend.org.uk/{\tilde}sgtatham/bugs.html}}
 
 was deleted and  
 
   
 Link\footnote{\link{http://www.chiark.greenend.org.uk/{\tilde}sgtatham/bugs.html}}
 
 added. It should just know that [^[:alnum:]] marks the end of
 a word.

Hmm, no, it should not, because the behaviour matches documentation,
namely, a word is anything between whitespace.

It is a little bit late to change the behaviour of this program.
Instead, why don't you wdiff the result of running dvi2tty on the .dvi files?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#351232: better handling of word boundaries

2006-02-03 Thread martin f krafft
also sprach Santiago Vila [EMAIL PROTECTED] [2006.02.03.1351 +0100]:
 It is a little bit late to change the behaviour of this program.
 Instead, why don't you wdiff the result of running dvi2tty on the .dvi files?

What if I cannot produce the .dvi files because my publisher has all
the periphery?

How about adding a new option that deals with language words, rather
than whitespace-separated chunks? Would it be too difficult? I am
not saying it should be the default...

-- 
 .''`. 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
 
Invalid/expired PGP (sub)keys? Use subkeys.pgp.net as keyserver!
 
the unix philosophy basically involves
giving you enough rope to hang yourself.
and then some more, just to be sure.


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