[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] PATCH: indent/un-indent marked text with tab/shift+tab
From: |
David Lawrence Ramsey |
Subject: |
Re: [Nano-devel] PATCH: indent/un-indent marked text with tab/shift+tab |
Date: |
Sun, 30 Apr 2006 10:18:23 -0400 |
User-agent: |
Thunderbird 1.5 (X11/20051201) |
Chris Allegretta wrote:
<snip>
> Right, however I don't know many people who hit tab (i.e. continue to
> edit text) while they have text marked, maybe people do?
I do sometimes. I haven't implemented searching only marked text when
the mark is on for similar reasons. For example, cutting out unneeded
areas of a patch by regex-searching for "^diff", turning the mark on,
repeating the search, and finally cutting is just too useful (at least I
think so, since I do it fairly often).
> It's just that generally this is a repeated operation and a meta
> sequence is more of a pain, however less of a pain than having to
> indent the text by hand! Also tab was intuitive for 'indent' and the
> ticks aren't as good a fit in terms of the visual mnemonic of
> indenting blocks of text. How about Meta { and } ?
The main problem here is that when adding new keys, I have to make sure
it works with the lowest common denominator of terminals, and that means
that I have to throw out some good ideas sometimes. Believe me, I don't
like it any more than you do.
> Just thinking about it more...I guess you're not going to use this for
> a few lines, so the overhead of ^6,arrow/search,Meta+[shift+]something
> wouldn't be so bad...so yeah I propose braces rather than ticks.
Done in CVS.
<snip>
> Nice.
Thank you. I originally made it available in non-tiny builds because it
made smart home key handling simpler, but it's made other things simpler
since then.
<snip>
> I was just throwing it out to see if there were any python folks on
> the dev list, I have been doing more python than C recently but seem
> to remember complaining to myself about not being able to do block
> indents in nano in the past when writing C and perl, and I wondered if
> anyone else had the same frustration...
I seem to remember someone bringing up the indentation idea awhile ago,
but I can't remember who, and they didn't suggest an unindent in any
case.
- [Nano-devel] PATCH: indent/un-indent marked text with tab/shift+tab, Chris Allegretta, 2006/04/25
- Re: [Nano-devel] PATCH: indent/un-indent marked text with tab/shift+tab, David Lawrence Ramsey, 2006/04/26
- Re: [Nano-devel] PATCH: indent/un-indent marked text with tab/shift+tab, David Lawrence Ramsey, 2006/04/26
- Re: [Nano-devel] PATCH: indent/un-indent marked text with tab/shift+tab, Chris Allegretta, 2006/04/28
- Re: [Nano-devel] PATCH: indent/un-indent marked text with tab/shift+tab, John M. Gabriele, 2006/04/28
- [Nano-devel] bug in indent/unindent, Benno Schulenberg, 2006/04/29
- [Nano-devel] Re: bug in indent/unindent, David Lawrence Ramsey, 2006/04/30
- [Nano-devel] Re: bug in indent/unindent, Benno Schulenberg, 2006/04/30
- [Nano-devel] Re: bug in indent/unindent, David Lawrence Ramsey, 2006/04/30
- Re: [Nano-devel] PATCH: indent/un-indent marked text with tab/shift+tab,
David Lawrence Ramsey <=