Loading ...
Sorry, an error occurred while loading the content.
 

Re: [jasspa] Another feature request: region-awarness

Expand Messages
  • Meino Christian Cramer
    From: Thomas Hundt Subject: Re: [jasspa] Another feature request: region-awarness Date: Tue, 28 Jun 2005 11:30:27 -0700 sorry....it was just
    Message 1 of 3 , Jun 28, 2005
      From: Thomas Hundt <thundt@...>
      Subject: Re: [jasspa] Another feature request: region-awarness
      Date: Tue, 28 Jun 2005 11:30:27 -0700

      sorry....it was just an idea only...

      -mcc

      > Which commands would you use this with? (query-replace-string and
      > replace-string are about the only ones I can think of.)
      >
      > How often would you use it?
      >
      > Narrowing and widening being exactly two keystrokes, this is not the
      > biggest timesaver in the world...
      >
      > For now why don't you write a macro like
      >
      > disable screen update (3 screen-update)
      > narrow the region
      > execute your command
      > widen the region
      > enable screen update (0 screen-update)
      >
      >
      > -Th
      >
      >
      >
      >
      > Meino Christian Cramer wrote:
      > > Hi,
      > >
      > > I would vote for the "region-awarness" of commands.
      > >
      > > I know that all that can be simulated by a sequence of
      > >
      > > mark region, narrow to region, actual command(s), widen region
      > > and go on
      > >
      > > but I think that it is a little tedious compared with
      > >
      > > mark region, actual command and go on
      > >
      > > furthermore it feel more "natural" ;)
      > >
      > >
      > > Suppose you have mixed up two names of variables in a source
      > > code. Simply mark the piece of source, which becomes confused and
      > > replace-string it. TADA!
      > >
      > > Since there are some commands already region-aware (like
      > > write-region), I think (==I guess) it would be not too much work ?!
      > >
      > > May be it would be a good idea not to introduce extra commands like
      > > region-replace-string but to make already existing commands like
      > > replace-string only to work on the marked region, if one exists.
      > >
      > > What do you think ?
      > >
      > > Have a nice day! :O)
      > > Meino
      >
      >
      >
      > __________________________________________________________________________
      >
      > This is an unmoderated list. JASSPA is not responsible for the content of
      > any material posted to this list.
      >
      > To unsubscribe, send a mail message to
      >
      > mailto:jasspa-unsubscribe@yahoogroups.com
      >
      > or visit http://groups.yahoo.com/group/jasspa and
      > modify your account settings manually.
      >
      >
      >
      > Yahoo! Groups Links
      >
      >
      >
      >
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.