Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Eric Pozharski Newsgroups: alt.comp.os.windows-10,alt.comp.software.firefox,comp.editors Subject: Re: How to edit HTML source file on Windows in one step (not two)? Followup-To: comp.editors Date: Wed, 22 Jan 2025 17:57:05 +0000 Organization: A noiseless patient Spider Lines: 40 Message-ID: References: <18qs5lx634.ln2@Telcontar.valinor> Injection-Date: Wed, 22 Jan 2025 19:33:08 +0100 (CET) Injection-Info: dont-email.me; posting-host="e12fec4a93d4c6cf639fcae29b3496ef"; logging-data="1215494"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/GPBHIwG5Iw5RoFDJPmL65" User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:KyMu6XdWWMiEE9D0yqVuc/n8COQ= Bytes: 3033 ["Followup-To:" header set to comp.editors.] # a.c.o.w10 and a.c.s.f are irrelevant for this branch now with Marion wrote: > On Sun, 19 Jan 2025 09:43:57 +0100, Janis Papanagnou wrote : >> PS (as an aside): While IDEs usually try to increase their feature >> set for a yet better support of their dedicated tasks Emacs is often >> [humorously] despised (especially by Vi users) as not being an editor >> but more of an IDE. > The problem set is (& always was) to edit HTML templates in a single > step. > > CHANGE HTML FROM: (amazon) > foo bar

HREF=https://www.amazon.com/vine/vine-items?search=foo%20bar>(vine) > foo bar

> > CHANGE HTML TO: (amazon) > windows pc

HREF=https://www.amazon.com/vine/vine-items?search=windows%20pc>(vine) > windows pc

*SKIP* [ 16 lines 1 level deep] > Has anyone proposed a simpler one-step solution than that above? If > so, I'd love to see it as I'm seeking real working actual solutions. Please define 'simpler one-step solution'. Preferably in terms others can comprehend. (Also, "comprehend" and "value" are two distinct concepts). :%s,\\(.\+\{-1,}\)\,windows\1pc,gc This looks pretty simple to me. But I'm not into IDEs, so there's that. -- Torvalds' goal for Linux is very simple: World Domination Stallman's goal for GNU is even simpler: Freedom