Deutsch   English   Français   Italiano  
<slrnvp2cbh.lhh.apple.universe@freight.zombinet>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Eric Pozharski <apple.universe@posteo.net>
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: <slrnvp2cbh.lhh.apple.universe@freight.zombinet>
References: <vm7ule$18gd$1@nnrp.usenet.blueworldhosting.com>
 <vm8f86$2vlvs$1@dont-email.me>
 <vm8tks$1d1j$1@nnrp.usenet.blueworldhosting.com>
 <vm8vur$32j3l$1@dont-email.me> <vmfiqs$l143$1@dont-email.me>
 <vmgclb$t14t$1@dont-email.me> <18qs5lx634.ln2@Telcontar.valinor>
 <vmgtcu$12ejq$1@dont-email.me> <quet5lx7dd.ln2@Telcontar.valinor>
 <vmh4fb$14jae$4@dont-email.me> <jjmt5lxgls.ln2@Telcontar.valinor>
 <vmhhtl$18s3c$1@dont-email.me> <bt5u5lxh94.ln2@Telcontar.valinor>
 <l86u5lxq34.ln2@Telcontar.valinor> <vmie0e$238qi$1@dont-email.me>
 <vmjqni$2r1f$1@nnrp.usenet.blueworldhosting.com>
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 <vmjqni$2r1f$1@nnrp.usenet.blueworldhosting.com> 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: <A HREF=https://www.amazon.com/s?k=foo+bar>(amazon)
> foo bar</A><P> <A
> HREF=https://www.amazon.com/vine/vine-items?search=foo%20bar>(vine)
> foo bar</A><P>
>
> CHANGE HTML TO: <A HREF=https://www.amazon.com/s?k=windows+pc>(amazon)
> windows pc</A><P> <A
> HREF=https://www.amazon.com/vine/vine-items?search=windows%20pc>(vine)
> windows pc</A><P>

*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,\<foo\>\(.\+\{-1,}\)\<bar\>,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