Re: [vile] Quoted motion: (un)bounding of rectangular changes

2017-06-15 Thread Marc Simpson
On Thu, Jun 15, 2017 at 5:37 AM, Paul Fox wrote: > marc wrote: > > [snip] > > Agreed re: cw vs. cqwq, thanks for clarifying (I was treating change + > > sweep as a completely separate operation). Frankly, I'm finding quoted > > well, without thinking too hard about

Re: [vile] Quoted motion: (un)bounding of rectangular changes

2017-06-13 Thread Marc Simpson
On Tue, Jun 13, 2017 at 9:09 AM, Marc Simpson <m...@0branch.com> wrote: > PS: For some reason, 'e' moves one space further than expected, hence > the 'h'. As intended? Regarding that PS, it seems that 3qGe (without the change prefix) only select

[vile] Quoted motion: (un)bounding of rectangular changes

2017-06-13 Thread Marc Simpson
Problem: given the following buffer: abc def ghi jkl mno pqr stu vwx yz_ I'd like to replace the first column with the string 'replacement' using a rectangular sweep. First attempt (see PS for more info): c3qGehq which yields: rep def ghi rep mno pqr rep vwx yz_ i.e.,

Re: [vile] How to turn off syntax colouring in .txt files?

2017-11-03 Thread Marc Simpson
I believe define-submode txt suffixes '' will do the trick. /M On Fri, Nov 3, 2017 at 10:47 AM, Chris Green wrote: > Is there a quick and easy way to turn off text highlighting in .txt > files? > > I edit a lot of DokuWiki files directly with vile and xvile and the >

[vile] Tips for improving UTF-8 display?

2018-03-19 Thread Marc Simpson
Morning all, I've recently been editing files containing less common unicode characters, e.g. ---8<--- «␤» «␤» «⚾︎␤» ---8<--- Unfortunately, these don't display too well in Vile (with either ncurses or ncursesw): see https://imgur.com/a/qLGfc for a comparison of Vile (9.8t, latest from Tom's

Re: vile.hlp typo

2019-12-04 Thread Marc Simpson
On Wed, Dec 4, 2019 at 9:06 AM Marc Simpson wrote: > > On Wed, Dec 4, 2019 at 9:01 AM Marc Simpson wrote: > > > > Very minor typo (looks like hyphenated text that was subsequently joined): A couple more (sorry for the incremental suggestions): 1185: You can also ty

Re: vile.hlp typo

2019-12-04 Thread Marc Simpson
On Wed, Dec 4, 2019 at 9:01 AM Marc Simpson wrote: > > Very minor typo (looks like hyphenated text that was subsequently joined): Another instance: https://github.com/ThomasDickey/vile-snapshots/blob/master/vile.hlp#L863, 863: buffer named with the "error- buffer" command. The "Entering /M

Re: vile.hlp typo

2019-12-04 Thread Marc Simpson
On Wed, Dec 4, 2019 at 3:55 PM Thomas Dickey wrote: > I'll proofread through that, and make a snapshot with just the various > formatting changes (thanks). Thanks Tom.

Re: vile.hlp typo

2019-12-04 Thread Marc Simpson
On Wed, Dec 4, 2019 at 4:23 PM Marc Simpson wrote: > > On Wed, Dec 4, 2019 at 3:55 PM Thomas Dickey wrote: > > > I'll proofread through that, and make a snapshot with just the various > > formatting changes (thanks). > > Thanks Tom. I see that v9_8t12 has been comm

Re: :show-marks

2019-12-19 Thread Marc Simpson
On Thu, Dec 19, 2019 at 9:20 AM Marc Simpson wrote: > > It looks like :show-marks (or :marks, :list-marks) erroneously > displays '(none)' for buffers that have one or more marks. I only just noticed the most significant part of this problem: Named marks for [Named Marks] (n

:show-marks

2019-12-19 Thread Marc Simpson
It looks like :show-marks (or :marks, :list-marks) erroneously displays '(none)' for buffers that have one or more marks. To reproduce: $ echo "one\ntwo\nthree" | vile and mark the first line (e.g.: with `ma', which displays `[Mark 'a' set]' as expected). Now try :marks. I haven't

Re: iclower

2019-12-19 Thread Marc Simpson
On Thu, Dec 19, 2019 at 2:19 AM Thomas Dickey wrote: > > On Thu, Dec 19, 2019 at 07:48:35PM +1100, Brendan O'Dea wrote: > > On Wed, Dec 18, 2019 at 05:55:25PM -0500, Thomas Dickey wrote: > > >On Wed, Dec 18, 2019 at 11:00:44AM -0800, Marc Simpson wrote: > > >>

Fwd: :show-marks

2019-12-19 Thread Marc Simpson
On Thu, Dec 19, 2019 at 10:09 AM Paul Fox wrote: > > marc wrote: > > On Thu, Dec 19, 2019 at 9:20 AM Marc Simpson wrote: > > > > > > It looks like :show-marks (or :marks, :list-marks) erroneously > > > displays '(none)' for buffers that have one or mo

Re: :show-marks

2019-12-19 Thread Marc Simpson
On Thu, Dec 19, 2019 at 10:28 AM Marc Simpson wrote: > On Thu, Dec 19, 2019 at 10:09 AM Paul Fox wrote: > > I think it's because the [Named Marks] buffer is current. If you > > switch back to your edit buffer, the [Named Marks] buffer updates > > correctly. > > Conf

iclower

2019-12-18 Thread Marc Simpson
Hi all, [I forget whether this has been discussed before; a preliminary search on https://lists.nongnu.org/archive/html/vile/ suggests not:] One nice nvi feature that I miss in vile is the `iclower' setting: iclower [off] The iclower edit option makes all Regular Expressions

Re: Inserting text of arbitrary length before rectangular region

2020-03-05 Thread Marc Simpson
On Thu, Mar 5, 2020 at 1:43 PM Paul Fox wrote: > > marc wrote: > > I'd go the traditional vi route, > > Yes, clearly in this case, where the insertion is at the start > of a line, that's easiest. Right; I don't have a good solution for inserting between two columns. /M

Re: Inserting text of arbitrary length before rectangular region

2020-03-05 Thread Marc Simpson
I'd go the traditional vi route, :.,/Tom/s/^/Name of applicant: Or if the range wasn't so straightforwardly expressible, you could mark the first and last lines first (e.g. ma, mb), then :'a,'b/^/Name of applicant: /M On Thu, Mar 5, 2020 at 8:23 AM Paul Fox wrote: > > gerard wrote: >

Python filter: incomplete triple-quoted string support

2020-02-04 Thread Marc Simpson
The current filter (py-filt.l) only supports triple-quoted strings formed with double quotes; single quote multi-line literals are incorrectly highlighted, e.g. ''' 'foo' bar ''' Naive patch: declare QUOTE4, duplicate and adapt the existing QUOTE3 block: %s NORMAL QUOTE1

Crash with unmatched patterns

2020-01-11 Thread Marc Simpson
Hitting n or N after searching for an unmatched pattern with / or ? crashes vile. To reproduce: /\( Vile reports [Bad pattern: unmatched () ] which is all well and good. Then hit n to attempt searching again (for the bad pattern); this should reproduce the crash. The same applies if

Re: Crash with unmatched patterns

2020-01-11 Thread Marc Simpson
On Sat, Jan 11, 2020 at 9:58 AM Chris Green wrote: > > On Sat, Jan 11, 2020 at 09:36:25AM -0800, Marc Simpson wrote: > > Hitting n or N after searching for an unmatched pattern with / or ? > > crashes vile. > > > > To reproduce: > > > > /\( > > &g

Re: Crash with unmatched patterns

2020-01-12 Thread Marc Simpson
On Sun, Jan 12, 2020 at 9:33 AM Thomas Dickey wrote: > > On Sat, Jan 11, 2020 at 09:36:25AM -0800, Marc Simpson wrote: > > Hitting n or N after searching for an unmatched pattern with / or ? > > crashes vile. > > > > To reproduce: > > I've trie

Re: Crash with unmatched patterns

2020-01-12 Thread Marc Simpson
On Sun, Jan 12, 2020 at 9:51 AM Thomas Dickey wrote: > > - Original Message - > | From: "Marc Simpson" > | To: "Thomas Dickey" > | Cc: "Vile mailing list" > | Sent: Sunday, January 12, 2020 12:46:28 PM > | Subject: Re: Crash with unmat

Re: I need a reminder on how to sort a section of text

2019-12-26 Thread Marc Simpson
On Thu, Dec 26, 2019 at 11:43 AM Chris Green wrote: > > It's been too long since I did this and I can't remember the way to do > it. > > I want to sort a block of lines of text. you can use the ! operator with a motion, e.g. 1G!Gsort which will move to the first line, and sort through the

Re: I need a reminder on how to sort a section of text

2019-12-26 Thread Marc Simpson
On Thu, Dec 26, 2019 at 12:14 PM Chris Green wrote: > > On Thu, Dec 26, 2019 at 12:08:25PM -0800, Marc Simpson wrote: > > On Thu, Dec 26, 2019 at 11:43 AM Chris Green wrote: > > > > > > It's been too long since I did this and I can't remember the way to do > &

Re: ANN: vile-9.8u

2020-05-18 Thread Marc Simpson
On Sun, May 17, 2020 at 5:46 PM Thomas Dickey wrote: > > Files: > ftp://ftp.invisible-island.net/vile/current/vile-9.8u.tgz > ftp://ftp.invisible-island.net/vile/current/vile-9.8u.tgz.asc > ftp://ftp.invisible-island.net/vile/patches/MD5sums >