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,617 of 123,932   
   Janis Papanagnou to Lawrence D'Oliveiro   
   Re: How to edit HTML source file on Wind   
   22 Jan 25 11:48:07   
   
   XPost: alt.comp.os.windows-10, alt.comp.software.firefox   
   From: janis_papanagnou+ng@hotmail.com   
      
   On 22.01.2025 01:11, Lawrence D'Oliveiro wrote:   
   > On Tue, 21 Jan 2025 07:41:49 +0100, Janis Papanagnou wrote:   
   >> On 21.01.2025 05:47, Lawrence D'Oliveiro wrote:   
   >>> On Mon, 20 Jan 2025 09:26:04 +0100, Janis Papanagnou wrote:   
   >   
   >> Concerning Vim you can read it supports: "scripting languages (both   
   >> native and through alternative scripting interpreters such as Perl,   
   >> Python, Ruby, Tcl, etc.) including support for plugins". - Sounds   
   >> extremely flexible and powerful to me.   
   >   
   > Which of those languages can be used to write “plugins”? My feeling is,   
   > none of them.   
      
   Frankly, I can't tell since, as I said, it was never necessary (for me)   
   to use plugins and even less to write plugins. (I was merely quoting. -   
   If you have, beyond your feeling, concrete evidence that the quote from   
   Wikipedia is wrong/misinformation your input is certainly appreciated.)   
      
   >   
   >> [*] I recall someone in Usenet - it might even have been you? - showed   
   >> some Lisp-like code (15-20 lines, or so) for Emacs to support some new   
   >> function in Emacs. Vim supported that already natively.   
   >   
   > Was it the function to do word counts in HTML files?   
      
   As you may derive from my formulation above, I don't remember whether   
   it was you and what specifically it was about. (I don't think, though,   
   that it was about a HTML-word count.) - I don't think it's important   
   who or what specifically it was; sometimes people feel the need to post   
   own solutions for specific features/requirements. (Not only concerning   
   editors, BTW; that's also a phenomenon with other tools.)   
      
   The point was that you have a powerful and flexible base. With that   
   you have either things already available or can simply integrate them.   
      
   > Where does Vim support that natively?   
      
   This is a strange question from someone who was elsethread advocating   
   an open, flexible editor interface (as Emacs or Vim have).   
      
   For a concrete way it depends on what you define a "word" in HTML. (If   
   you just mean what Unixes 'wc -w' provides then you could just simply   
   call the tool from within the editor on the actual text (with '!G', as   
   could already be done with classic Vi) or with Vim you can interrogate   
   that information with 'g^g' ("g Ctrl-G") that provides something like,   
   say,  "Col 1 of 61; Line 1 of 835; Word 1 of 4956; Byte 1 of 49324".   
   Concerning the question what a "HTML-word" is there's also features in   
   Vim to _define_ what a "word" actually is considered to be.)   
      
   But, as already indicated, I'm not inclined to contribute to the Editor   
   War. You will certainly find things in Emacs - especially things beyond   
   editing - that some or even all other editors don't [natively] support.   
   So what?   
      
   Janis   
      
   --- SoupGate-DOS v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

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


(c) 1994,  bbs@darkrealms.ca