home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.editors      What? Edlin ain't good enough for you?      123,932 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 123,311 of 123,932   
   Julieta Shem to Eli the Bearded   
   Re: [vim] Jumping from current Unicode s   
   27 Dec 23 23:45:07   
   
   From: jshem@yaxenu.org   
      
   Eli the Bearded <*@eli.users.panix.com> writes:   
      
   > In comp.editors, Janis Papanagnou   wrote:   
   >> In Vim I frequently jump from string to the next equal string using the   
   >> commands '*' (forward search'n'jump) and '#' (backward search'n'jump).   
   >>   
   >> With Unicode characters that doesn't seem to always work (at least not   
   >> per default).   
   >>   
   >> In the following (UTF-8 encoded) test sample there is one subset of   
   >> Omega words where * and # works correctly and one where it doesn't   
   >> (starting with the cursor on the first letter of any word)   
   >>   
   >>     Ωmega Ωmega Ωmega Ωmega Ωmega Ωmega Ωmega Ωmega   
   >   
   > This is like complaining that a search for "MISS" does not also match   
   > "МІЅЅ". They are completely different strings that just happen to look   
   > alike with certain font choices.   
      
   It looks very much alike with Google's ``Fira Code''.   
      
   > Some of those are "ohm sign", "Latin small letter m", "Latin small   
   > letter e", "Latin small letter g", "Latin small letter a" and the   
   > others are "Greek capital letter omega", "Latin small letter m",   
   > "Latin small letter e", "Latin small letter g", "Latin small letter   
   > a".   
   >   
   > Your "difference is only the encoding" fails to grasp that Unicode is   
   > semiotics aware, even if users might not be.   
      
   There's a package for the GNU EMACS that implements the search as the OP   
   desires.  You can invoke it with saying   
      
     C-u 42 S E M I O T I C A W A R E RET C-c A I RET A W Y E A H RET   
      
   to the minibuffer.  (Then press * and # as you wish.)   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca