[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs Function to add dashes to leading spaces in a Selected Region
From: |
David Masterson |
Subject: |
Re: Emacs Function to add dashes to leading spaces in a Selected Region |
Date: |
Wed, 04 Nov 2020 19:15:00 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Christopher Dimech <dimech@gmx.com> writes:
> I need an Emacs Function to add dashes to leading spaces in a Selected Region.
> Require help to do this thing.
Given that you are new, I would use re-search-forward. Figure out an RE
that matches what you want, then start at the beginning of your region
and step thru til you get to the end of the region.
--
David Masterson
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Emacs Function to add dashes to leading spaces in a Selected Region,
David Masterson <=