Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.comp.os.windows-10 > #181381

Re: How to edit HTML source file on Windows in one step (not two)?

Path csiph.com!tncsrv06.tnetconsulting.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED!not-for-mail
From Marion <marion@facts.com>
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)?
Date Wed, 15 Jan 2025 18:09:32 -0000 (UTC)
Organization BWH Usenet Archive (https://usenet.blueworldhosting.com)
Message-ID <vm8tks$1d1j$1@nnrp.usenet.blueworldhosting.com> (permalink)
References <vm7ule$18gd$1@nnrp.usenet.blueworldhosting.com> <vm8f86$2vlvs$1@dont-email.me>
MIME-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
Injection-Date Wed, 15 Jan 2025 18:09:32 -0000 (UTC)
Injection-Info nnrp.usenet.blueworldhosting.com; logging-data="46131"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent tin/1.6.2-20030910 ("Pabbay") (UNIX) (CYGWIN_NT-10.0-WOW/2.8.0(0.309/5/3) (i686)) Hamster/2.0.2.2
Cancel-Lock sha1:x63n6Z17A2hINE/5w/QZFdH/UO8= sha256:7uQvPbr0ojtIXudb+0JnK9KtiVRdyqQ4Pnb0nRaQCe4= sha1:c6cRezj/DSQrb2d2O3U7sVACqYI= sha256:Ulu5mcPn37JHNBkDZoxYL5sWBDwCc0PrkxDr/iPFs5Y=
Xref csiph.com alt.comp.os.windows-10:181381 alt.comp.software.firefox:11979 comp.editors:106448

Cross-posted to 3 groups.

Show key headers only | View raw


On Wed, 15 Jan 2025 09:04:34 -0500, Newyana2 wrote :


>> If it takes 2 steps to do something; that's twice as much as it should;
>   You must be a barrel of fun as a lover and a chef. :)

It's true. I'm boring. But at least I'm boringly efficient on a PC. :)

The whole point of computers is everything should be a single step.
Our job is to know Windows & editing files well enough for us to do that.

With gvim, the use of regular expressions becomes finger memory over time.
Plus it works on all platforms, especially those Linux or Windows based.

With regular expressions, your hands do all the editing. Not the mouse.

>> Hence, I'm trying to reduce the following interaction to a single step.
>> STEP 1: Win+R > gurl
>> STEP 2: Click on the backgrounded icon on the taskbar

>    My approach -- just one option -- is that I have a half dozen
> context menu items for all files (HKCR\*) that are like Open with
> Notepad, Open with Paint Shop Pro, Open with HxD, etc.  So I can
> open any file in the program I want with just a right click/click.

Good idea. I have something similar for editing images using an editor that
isn't the default editor. For example, Irfanview is the default viewer, but
sometimes I want to edit images in a different editor so I've added similar
context menu additions for JPEG/GIF/BMP/etc style files.

I only generally define context menus once or twice in the long life of a
PC (unless I install & delete paintshoppro which screws up the menus).

I think I last used either "Default Programs Editor" or "ecmenu" or
NirSoft's context-menu editing tools (of which there are too many to
remember off hand so I just list the URLs for each in my sys log).

 <http://defaultprogramseditor.com>
 <https://www.techspot.com/guides/1670-windows-right-click-menu/>
 <https://shellfix.nirsoft.net/context_menu_list.html>

>    In the rare occasions when I need the Run window, it's one
> of 4 items on my Start Menu, so there's no need for hotkeys.

It's a good idea no matter how you reduce all tasks to a single step.

Everyone reduces common actions to a single click in different ways.
Some (like Herbert) add batch files to a batch folder in the path.
Others (like me) add runbox commands to the system registry.

Both approaches to editing in a single step are supported by Microsoft.

My philosophy is that if a person even once in the entire lifetime of a
Windows PC has to laboriously LOOK or SEARCH for a file or editor...
... then they failed to understand what the purpose of a computers is. :)

>   If you're going to edit HTML very often it makes sense to find
> an HTML-specific editor with syntax highlighting at the very
> least. The trouble with generic editors like vim, emacs, notepad++,
> etc, is that they're really just text editors that support rudimentary
> colorcoding for 50 languages. Like a 50-bit screwdriver, they don't
> work very well for any particular screw.

I do very much agree with you that an HTML editor with regular expressions
would be lovely to find but I've never seen such an efficient HTML editor. 

Have you?

>      I just tried Vim for the
> first time. It looks like a relic from 1980, without even support for
> non-fixed-width fonts. Really? 

You want the 'g' in front of Vim for the graphical bells & whistles.

I have bad eyes, so my Windows gvim editing windows have huge fonts.
I forgot how I set that up but you can change the font & size.

I think maybe I used "Edit > Select Font" in the gvim editing window.

> That's your favorite editor? 

In the olden days, every computer was guaranteed to have ex on it, so you
first learned ex and then you hoped that the customer also had vi set up.

You couldn't bank on any other editor being there when you did support.
And, in those days, there was no such thing as a "floppy disk" or "USB".

You were on your own. 
Once you learned how to use vi, it hasn't changed in 45 years.

One editor does everything on every platform using the same expressions.
That's pretty efficient, isn't it?

> Few people
> actually hand-code HTML anymore, but there must still be decent
> editors around.

Philosophically, there should be only one bookmark file per person.
It's a text file. With an HTML (or HTM) extension. 

It contains only three things essentially:
1. The <A HREF=xxx>foo</A> link itself
2. White-space padding (such as <P> & <HR>)
3. Descriptive text (which is displayed verbatim)

That's it.
It's not fancy HTML.

A powerful text editor with regular expressions handles that easily.


>     I took a look out of curiosity. At DDG, the whole first
> page of results was links to online editors! It seems CoffeeCup Free is
> still out there. I never tried it, but it was popular at one time.

I pine for a decent (and powerful) HTML editor that works on all platforms.
Philosophically, I'm only one person, so I only need one bookmark file. 

Not one per browser.
Not one per computer.

One bookmark file per person.

The problem is a mix of platforms, bookmarks and multiple browsers. 
Each web browser should use the same bookmark file.
Not a copy. The same file. 

But they don't.

There should be only a single text bookmark file on Linux.
There should be only a single text bookmark file on Windows.
There should be only a single text bookmark file on Android.
etc.

It's the same bookmark file - just synced from the master file.

>   The trouble with this kind of thing is that the reviewers don't know the
> products. One site rated Notepad++ #1, with no HTML-specific functionality,
> yet with some other editors they complained that there wasn't built-in
> FTP. 

I agree with you which is why 'comp.editors' was included on this thread.
Even gvim can run HTML conversion - but most people don't know about it.

Even I don't use it, but I know it's there. Let me look for it.
OK. Found it.

Let's try it on this recipe (since you disparage my cooking anyway!) :)
 Recipe for Italian Vinaigrette 
  1/2 cup red wine vinegar
  1/4 cup balsamic vinegar
  1/4 cup lemon juice
  4 cloves garlic, minced
  2 teaspoons Dijon mustard
  1 teaspoon dried oregano
  1 teaspoon dried basil
  1/2 teaspoon dried thyme
  1/4 teaspoon salt
  1/8 teaspoon black pepper

1. Paste that recipe.txt text file into gvim (white space included)
2. gvim:Syntax > Convert to HTML 
3. Save it as recipe.html (or as recipe.htm)
4. Firefox:File > Open File > recipe.html
   It displays perfectly (with the desired white space in its proper place.

Now edit it in Firefox:
5. Firefox:Control+U

I just tried it on that recipe text file and it worked for me.
But I like regular expressions since my hands do all the work.

Not the mouse.

> Another best-of site lists Vim and Atom along with Dreamweaver.
> They rated Sublime Text #1 for customizability, even though it, too,
> is only a general editor. Putting Dreamweaver on the same list with the
> others is like listing MSPaint with Photoshop. Only someone who's never
> edited photos would do that.

If someone can suggest a good free HTML editor that works on all major
platforms which incorporates regular expressions - I'd love to test it.

Even without the power of regular expressions, if it can do single-click
macros (like Notepad can do with its shortcuts.xml file), that'd be OK.

Back to alt.comp.os.windows-10 | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How to edit HTML source file on Windows in one step (not two)? Marion <marion@facts.com> - 2025-01-15 09:20 +0000
  Re: How to edit HTML source file on Windows in one step (not two)? Herbert Kleebauer <klee@unibwm.de> - 2025-01-15 11:42 +0100
    Re: How to edit HTML source file on Windows in one step (not two)? Marion <marion@facts.com> - 2025-01-15 11:28 +0000
      Re: How to edit HTML source file on Windows in one step (not two)? "R.Wieser" <address@is.invalid> - 2025-01-15 13:35 +0100
        Re: How to edit HTML source file on Windows in one step (not two)? Marion <marion@facts.com> - 2025-01-15 18:10 +0000
          Re: How to edit HTML source file on Windows in one step (not two)? "R.Wieser" <address@is.invalid> - 2025-01-15 22:15 +0100
            Re: How to edit HTML source file on Windows in one step (not two)? "R.Wieser" <address@is.invalid> - 2025-01-16 14:29 +0100
      Re: How to edit HTML source file on Windows in one step (not two)? "Carlos E.R." <robin_listas@es.invalid> - 2025-01-15 13:36 +0100
        Re: How to edit HTML source file on Windows in one step (not two)? Marion <marion@facts.com> - 2025-01-15 18:10 +0000
          Re: How to edit HTML source file on Windows in one step (not two)? "Carlos E.R." <robin_listas@es.invalid> - 2025-01-16 23:08 +0100
            Re: How to edit HTML source file on Windows in one step (not two)? Marion <marion@facts.com> - 2025-01-17 04:28 +0000
              Re: How to edit HTML source file on Windows in one step (not two)? Herbert Kleebauer <klee@unibwm.de> - 2025-01-17 10:03 +0100
                Re: How to edit HTML source file on Windows in one step (not two)? Marion <marion@facts.com> - 2025-01-17 18:37 +0000
              Re: How to edit HTML source file on Windows in one step (not two)? "Carlos E.R." <robin_listas@es.invalid> - 2025-01-18 14:33 +0100
  Re: How to edit HTML source file on Windows in one step (not two)? Newyana2 <newyana@invalid.nospam> - 2025-01-15 09:04 -0500
    Re: How to edit HTML source file on Windows in one step (not two)? Marion <marion@facts.com> - 2025-01-15 18:09 +0000
      Re: How to edit HTML source file on Windows in one step (not two)? Newyana2 <newyana@invalid.nospam> - 2025-01-15 13:49 -0500
        Re: How to edit HTML source file on Windows in one step (not two)? Marion <marion@facts.com> - 2025-01-15 20:03 +0000
          Re: How to edit HTML source file on Windows in one step (not two)? Newyana2 <newyana@invalid.nospam> - 2025-01-15 16:00 -0500
            Re: How to edit HTML source file on Windows in one step (not two)? Marion <marion@facts.com> - 2025-01-16 02:16 +0000
        Re: How to edit HTML source file on Windows in one step (not two)? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-18 06:47 +0000
          Re: How to edit HTML source file on Windows in one step (not two)? Newyana2 <newyana@invalid.nospam> - 2025-01-18 09:09 -0500
            Re: How to edit HTML source file on Windows in one step (not two)? "Carlos E.R." <robin_listas@es.invalid> - 2025-01-18 15:25 +0100
              Re: How to edit HTML source file on Windows in one step (not two)? Newyana2 <newyana@invalid.nospam> - 2025-01-18 13:55 -0500
                Re: How to edit HTML source file on Windows in one step (not two)? gazelle@shell.xmission.com (Kenny McCormack) - 2025-01-18 20:15 +0000
                Re: How to edit HTML source file on Windows in one step (not two)? "Carlos E.R." <robin_listas@es.invalid> - 2025-01-18 21:19 +0100
                Re: How to edit HTML source file on Windows in one step (not two)? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-18 20:55 +0000
                Re: How to edit HTML source file on Windows in one step (not two)? "Carlos E.R." <robin_listas@es.invalid> - 2025-01-18 23:29 +0100
                Re: How to edit HTML source file on Windows in one step (not two)? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-19 00:44 +0000
                Re: How to edit HTML source file on Windows in one step (not two)? "Carlos E.R." <robin_listas@es.invalid> - 2025-01-19 03:50 +0100
                Re: How to edit HTML source file on Windows in one step (not two)? "Carlos E.R." <robin_listas@es.invalid> - 2025-01-19 03:56 +0100
                Re: How to edit HTML source file on Windows in one step (not two)? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-01-19 09:43 +0100
                Re: How to edit HTML source file on Windows in one step (not two)? "Carlos E.R." <robin_listas@es.invalid> - 2025-01-19 14:16 +0100
                Re: How to edit HTML source file on Windows in one step (not two)? Marion <marion@facts.com> - 2025-01-19 21:27 +0000
                Re: How to edit HTML source file on Windows in one step (not two)? Eric Pozharski <apple.universe@posteo.net> - 2025-01-22 17:57 +0000
                Re: How to edit HTML source file on Windows in one step (not two)? Newyana2 <newyana@invalid.nospam> - 2025-01-19 08:18 -0500
                Re: How to edit HTML source file on Windows in one step (not two)? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-20 01:13 +0000
                Re: How to edit HTML source file on Windows in one step (not two)? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-20 01:15 +0000
                Re: How to edit HTML source file on Windows in one step (not two)? "Carlos E.R." <robin_listas@es.invalid> - 2025-01-20 14:00 +0100
                Re: How to edit HTML source file on Windows in one step (not two)? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-21 04:48 +0000
                Re: How to edit HTML source file on Windows in one step (not two)? "Carlos E.R." <robin_listas@es.invalid> - 2025-01-21 13:28 +0100
                Re: How to edit HTML source file on Windows in one step (not two)? Newyana2 <newyana@invalid.nospam> - 2025-01-21 08:39 -0500
                Re: How to edit HTML source file on Windows in one step (not two)? Frank Slootweg <this@ddress.is.invalid> - 2025-01-21 14:00 +0000
                Re: How to edit HTML source file on Windows in one step (not two)? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-22 00:09 +0000
                Re: How to edit HTML source file on Windows in one step (not two)? Newyana2 <newyana@invalid.nospam> - 2025-01-18 16:56 -0500
                Re: How to edit HTML source file on Windows in one step (not two)? gazelle@shell.xmission.com (Kenny McCormack) - 2025-01-18 21:57 +0000
                Re: How to edit HTML source file on Windows in one step (not two)? Newyana2 <newyana@invalid.nospam> - 2025-01-18 17:40 -0500
                Re: How to edit HTML source file on Windows in one step (not two)? "Carlos E.R." <robin_listas@es.invalid> - 2025-01-18 23:33 +0100
                Re: How to edit HTML source file on Windows in one step (not two)? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-18 20:54 +0000
            Re: How to edit HTML source file on Windows in one step (not two)? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-18 20:50 +0000
              Re: How to edit HTML source file on Windows in one step (not two)? Newyana2 <newyana@invalid.nospam> - 2025-01-18 17:36 -0500
                Re: How to edit HTML source file on Windows in one step (not two)? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-19 00:46 +0000
                Re: How to edit HTML source file on Windows in one step (not two)? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-01-19 10:00 +0100
                Re: How to edit HTML source file on Windows in one step (not two)? Marion <marion@facts.com> - 2025-01-19 21:16 +0000
                Re: How to edit HTML source file on Windows in one step (not two)? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-20 03:04 +0000
                Re: How to edit HTML source file on Windows in one step (not two)? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-01-20 09:26 +0100
                Re: How to edit HTML source file on Windows in one step (not two)? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-21 04:47 +0000
                Re: How to edit HTML source file on Windows in one step (not two)? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-01-21 07:41 +0100
                Re: How to edit HTML source file on Windows in one step (not two)? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-22 00:11 +0000
                Re: How to edit HTML source file on Windows in one step (not two)? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-01-22 11:48 +0100
                Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) gazelle@shell.xmission.com (Kenny McCormack) - 2025-01-22 13:13 +0000
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Marion <marion@facts.com> - 2025-01-22 19:54 +0000
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-22 22:25 +0000
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Marion <marion@facts.com> - 2025-01-23 04:29 +0000
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Newyana2 <newyana@invalid.nospam> - 2025-01-23 08:20 -0500
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Marion <marion@facts.com> - 2025-01-23 21:02 +0000
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Marion <marion@facts.com> - 2025-01-23 22:18 +0000
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Frank Miller <miller@posteo.ee> - 2025-01-24 00:25 +0100
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Marion <marion@facts.com> - 2025-01-23 23:35 +0000
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-23 23:48 +0000
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Marion <marion@facts.com> - 2025-01-24 00:48 +0000
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-01-24 11:30 +0100
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Frank Miller <miller@posteo.ee> - 2025-01-24 00:49 +0100
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-01-24 10:40 +0100
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Marion <marion@facts.com> - 2025-01-24 18:03 +0000
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Marion <marion@facts.com> - 2025-01-24 18:14 +0000
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-01-25 14:22 +0100
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) "Carlos E.R." <robin_listas@es.invalid> - 2025-01-25 14:39 +0100
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-01-25 17:48 +0100
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-23 23:46 +0000
    Re: How to edit HTML source file on Windows in one step (not two)? "Carlos E.R." <robin_listas@es.invalid> - 2025-01-16 15:05 +0100
      Re: How to edit HTML source file on Windows in one step (not two)? Newyana2 <newyana@invalid.nospam> - 2025-01-16 11:08 -0500
        Re: How to edit HTML source file on Windows in one step (not two)? "Carlos E.R." <robin_listas@es.invalid> - 2025-01-16 23:03 +0100
  Re: How to edit HTML source file on Windows in one step (not two)? Marion <marion@facts.com> - 2025-01-24 01:07 +0000

csiph-web