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


Groups > comp.arch.embedded > #13257

Re: Editor recommendation

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail
From Hans-Bernhard Bröker <HBBroeker@t-online.de>
Newsgroups comp.arch.embedded
Subject Re: Editor recommendation
Date Fri, 30 Aug 2013 13:22:23 +0200
Lines 33
Message-ID <b8bdjcFel7tU1@mid.dfncis.de> (permalink)
References <kems19dsqi8b4s4m1gcfm3ilgd48au2v5q@4ax.com> <TOSdnT1CfLY2_IPPnZ2dnUVZ8lmdnZ2d@lyse.net> <2dmdncWJW_c66IPPnZ2dnUVZ8gudnZ2d@bt.com> <2182ea5a-c688-4c66-98ca-a009db4733fc@googlegroups.com> <kvo43p$4no$1@speranza.aioe.org> <27db5a60-f58f-4b35-8f33-5690f84e3c3e@googlegroups.com> <kvoe7l$1bk$1@speranza.aioe.org> <10620464-8d66-4b18-b344-b466079bbc27@googlegroups.com> <kvoqup$uo4$1@speranza.aioe.org>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.dfncis.de 0zx6LYBbl0xAHHTzSlAs4AX/+r3hYEQqi1JtnV6AJ2Yup0iMlZWujf/F9u
Cancel-Lock sha1:j2f9Fj4v2zDt3P+QsqY0Ny/6L20=
User-Agent Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130620 Thunderbird/17.0.7
In-Reply-To <kvoqup$uo4$1@speranza.aioe.org>
Xref csiph.com comp.arch.embedded:13257

Show key headers only | View raw


On 30.08.2013 03:02, Don Y wrote:
> Yes.  As I said, I tend to just rely on using existing mechanisms
> instead of having to "think" about how to approach it.  E.g., should
> I write a piece of code to go through a file and substitute references
> of
>       <Figure XX: (continued on Page YY)>
> with
>       <Illustration XX: <italic>(see page YY)<\italic>>
> or, should I do this with a keystroke macro inside a text editor?

Neither.  You should have an editor that supports search-and-replace via 
regular expressions, and use that.  E.g., and just because this 
particular editor hasn't been mentioned yet: in plain old vi, that would be

:1,$s/<Figure \([^:]*\): continued on Page \([^)]\)>/<Illustration \1: 
<italic>(see page \2)<\italic>>/g

(all in one line, not really tested)

> I find myself often hammering away on "up, left" (or down, etc.)
> with my right hand while pecking at some other key with my left.
> E.g., "$ up left" to insert a bunch of '$' in front a column of
> monetary figures, etc.

And you really shouldn't be.  Any programmer's editor really worth 
having has some sort of "rectangle fill" feature.  E.g. in Notepad++, 
you would just <Alt>-mark the column (i.e. drag the mouse while holding 
<Alt>, or move the cursor from one end to the other while holding 
Alt+Shift), then type a single $.  Done.  For more complicated cases, it 
can even fill in a sequence of numbers

In Emacs one would drop the mark (Ctrl-Space), move to the other end, 
then Ctrl-x r t $ <Ret>.

Back to comp.arch.embedded | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Editor recommendation Roberto Waltman <usenet@rwaltman.com> - 2013-08-28 16:18 -0400
  Re: Editor recommendation David Brown <david.brown@removethis.hesbynett.no> - 2013-08-28 22:46 +0200
    Re: Editor recommendation chris <meru@devnull.com> - 2013-08-28 22:10 +0000
      Re: Editor recommendation dp <dp@tgi-sci.com> - 2013-08-29 09:23 -0700
        Re: Editor recommendation Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> - 2013-08-29 17:15 +0000
          Re: Editor recommendation dp <dp@tgi-sci.com> - 2013-08-29 10:38 -0700
            Re: Editor recommendation Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> - 2013-08-29 17:49 +0000
              Re: Editor recommendation dp <dp@tgi-sci.com> - 2013-08-29 12:19 -0700
          Re: Editor recommendation Paul Rubin <no.email@nospam.invalid> - 2013-08-29 12:16 -0700
        Re: Editor recommendation Don Y <this@isnotme.com> - 2013-08-29 11:32 -0700
          Re: Editor recommendation Paul Rubin <no.email@nospam.invalid> - 2013-08-29 12:15 -0700
          Re: Editor recommendation dp <dp@tgi-sci.com> - 2013-08-29 14:04 -0700
            Re: Editor recommendation Don Y <this@isnotme.com> - 2013-08-29 14:25 -0700
              Re: Editor recommendation Robert Wessel <robertwessel2@yahoo.com> - 2013-08-29 17:05 -0500
                Re: Editor recommendation Don Y <this@isnotme.com> - 2013-08-29 16:32 -0700
              Re: Editor recommendation dp <dp@tgi-sci.com> - 2013-08-29 15:44 -0700
                Re: Editor recommendation Don Y <this@isnotme.com> - 2013-08-29 18:02 -0700
                Re: Editor recommendation Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2013-08-30 13:22 +0200
                Re: Editor recommendation Don Y <this@isnotme.com> - 2013-08-30 15:00 -0700
                Re: Editor recommendation Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2013-08-31 02:17 +0200
                Re: Editor recommendation Stefan Reuther <stefan.news@arcor.de> - 2013-08-31 11:36 +0200
          Re: Editor recommendation Randy Yates <yates@digitalsignallabs.com> - 2013-08-30 20:30 -0400
            Re: Editor recommendation Don Y <this@isnotme.com> - 2013-08-31 00:50 -0700
              Re: Editor recommendation Stefan Reuther <stefan.news@arcor.de> - 2013-08-31 11:54 +0200
                Re: Editor recommendation Randy Yates <yates@digitalsignallabs.com> - 2013-08-31 10:17 -0400
                Re: Editor recommendation Randy Yates <yates@digitalsignallabs.com> - 2013-08-31 10:20 -0400
        Re: Editor recommendation chris <meru@devnull.com> - 2013-08-30 13:29 +0000
          Re: Editor recommendation dp <dp@tgi-sci.com> - 2013-08-30 15:04 -0700
    Re: Editor recommendation George Neuner <gneuner2@comcast.net> - 2013-08-30 13:05 -0400
      Re: Editor recommendation chris <meru@devnull.com> - 2013-08-30 22:55 +0000
  Re: Editor recommendation Les Cargill <lcargill99@comcast.com> - 2013-08-28 21:22 -0500
    Re: Editor recommendation Don Y <this@isnotme.com> - 2013-08-28 19:54 -0700
      Re: Editor recommendation Les Cargill <lcargill99@comcast.com> - 2013-08-28 22:28 -0500
        Re: Editor recommendation Don Y <this@isnotme.com> - 2013-08-28 22:38 -0700
    Re: Editor recommendation George Neuner <gneuner2@comcast.net> - 2013-08-30 12:42 -0400
      Re: Editor recommendation Paul Urbanus <urb@urbonix.com> - 2013-09-02 21:20 -0500
        Re: Editor recommendation Paul Urbanus <urb@urbonix.com> - 2013-09-04 01:20 -0500
        Re: Editor recommendation Randy Yates <yates@digitalsignallabs.com> - 2013-09-04 07:22 -0400
  Re: Editor recommendation Don Y <this@isnotme.com> - 2013-08-28 19:52 -0700
  Re: Editor recommendation bbhack <bbhack@gmail.com> - 2013-08-28 22:41 -0500
    Re: Editor recommendation chris <meru@devnull.com> - 2013-08-29 12:19 +0000
      Re: Editor recommendation bbhack <bbhack@gmail.com> - 2013-08-31 11:54 -0500
        Re: Editor recommendation chris <meru@devnull.com> - 2013-09-03 15:32 +0000
  Re: Editor recommendation Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2013-08-29 09:19 +0300
  Re: Editor recommendation Roberto Waltman <usenet@rwaltman.com> - 2013-08-29 10:01 -0400
    Re: Editor recommendation Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2013-08-29 18:45 +0300
    Re: Editor recommendation Don Y <this@isnotme.com> - 2013-08-29 12:04 -0700
      Re: Editor recommendation Robert Wessel <robertwessel2@yahoo.com> - 2013-08-29 16:31 -0500
        Re: Editor recommendation Don Y <this@isnotme.com> - 2013-08-29 15:00 -0700
        Re: Editor recommendation Randy Yates <yates@digitalsignallabs.com> - 2013-08-30 20:50 -0400
      Re: Editor recommendation Randy Yates <yates@digitalsignallabs.com> - 2013-08-30 20:37 -0400
        Re: Editor recommendation Don Y <this@isnotme.com> - 2013-08-30 21:15 -0700
          Re: Editor recommendation Stefan Reuther <stefan.news@arcor.de> - 2013-08-31 12:05 +0200
            Re: Editor recommendation Don Y <this@isnotme.com> - 2013-08-31 11:26 -0700
              Re: Editor recommendation Stefan Reuther <stefan.news@arcor.de> - 2013-09-01 20:21 +0200
                Re: Editor recommendation Don Y <this@isnotme.com> - 2013-09-01 17:02 -0700
                Re: Editor recommendation Stefan Reuther <stefan.news@arcor.de> - 2013-09-02 19:55 +0200
                Re: Editor recommendation Don Y <this@isnotme.com> - 2013-09-02 16:22 -0700
                Re: Editor recommendation Randy Yates <yates@digitalsignallabs.com> - 2013-09-02 19:39 -0400
                Re: Editor recommendation Don Y <this@isnotme.com> - 2013-09-02 17:51 -0700
                Re: Editor recommendation Don Y <this@isnotme.com> - 2013-09-02 18:49 -0700
          Re: Editor recommendation Randy Yates <yates@digitalsignallabs.com> - 2013-08-31 15:13 -0400
            Re: Editor recommendation Don Y <this@isnotme.com> - 2013-08-31 13:45 -0700
  Re: Editor recommendation Habib Bouaziz-Viallet <h.bouazizviallet@free.fr> - 2013-08-29 16:31 +0200
    Re: Editor recommendation bbhack <bbhack@gmail.com> - 2013-08-31 12:03 -0500
      Re: Editor recommendation Randy Yates <yates@digitalsignallabs.com> - 2013-08-31 13:27 -0400
        Re: Editor recommendation bbhack <bbhack@gmail.com> - 2013-08-31 13:17 -0500
      Re: Editor recommendation Habib Bouaziz-Viallet <h.bouazizviallet@free.fr> - 2013-09-01 19:16 +0200
        Re: Editor recommendation Randy Yates <yates@digitalsignallabs.com> - 2013-09-01 19:52 -0400
          Re: Editor recommendation chris <meru@devnull.com> - 2013-09-03 14:41 +0000
  Re: Editor recommendation jhallen@TheWorld.com (Joseph H Allen) - 2013-08-29 20:09 +0000
  Re: Editor recommendation stephenXXX@mpeforth.com (Stephen Pelc) - 2013-09-04 12:10 +0000

csiph-web