[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fwd: [PATCH 2/3] new feature: "knots" -- a kind of bookmarks, that c
From: |
Brand Huntsman |
Subject: |
Re: Fwd: [PATCH 2/3] new feature: "knots" -- a kind of bookmarks, that can be cycled through |
Date: |
Sun, 5 Apr 2020 16:16:35 -0600 |
User-agent: |
- |
On 19:36 Sun 5-Apr-2020, Benno Schulenberg wrote:
> > Calling a mark "knot" instead of "bookmark" seems less obvious to me.
>
> "Bookmark" began to sound too permanent to me: when you make a bookmark in a
> browser, it is still there when you start the browser the next time. In nano,
> like in Geany, the knot/marker does not get saved and is gone the next time
> you
> start the program. I would have called the thing a "marker", like in Geany,
> but that is too similar to "the mark" that we have in nano. At first I used
> the name "nick", because that is what the ' symbol reminds me of. If you
> like it better, we can use that name.
"Anchor" is better than all of those names.
I still don't agree with this method. A commented unique line could be
inserted into the file and then jumped back and forth to with special
search functions that don't modify search history. This type of
bookmark survives a restart of nano, is visible and is more useful when
working on different sections of code.
I have been using a simple patch (points shift when adding/removing
lines) that keeps a ring of cursor return points that can be set
manually but are always set when searching. After a search, I can go
back to previous matches or to the point before I started the search.
It is much nicer than remmebering to set a permanent bookmark or one of
these temporary anchor/knots.
For key recommendations, I use alt-shift-QWE to go-back/go-forward/set
bookmarks and alt-shift-BNM to go-back/go-forward/set return points.
- [PATCH 1/3] input: recognize the keystrokes to be used for jumping to bookmarks, Benno Schulenberg, 2020/04/02
- [PATCH 2/3] new feature: "knots" -- a kind of bookmarks, that can be cycled through, Benno Schulenberg, 2020/04/02
- Re: [PATCH 2/3] new feature: "knots" -- a kind of bookmarks, that can be cycled through, Marco Diego Aurélio Mesquita, 2020/04/03
- Re: [PATCH 2/3] new feature: "knots" -- a kind of bookmarks, that can be cycled through, Benno Schulenberg, 2020/04/05
- Message not available
- Fwd: [PATCH 2/3] new feature: "knots" -- a kind of bookmarks, that can be cycled through, Marco Diego Aurélio Mesquita, 2020/04/05
- Re: Fwd: [PATCH 2/3] new feature: "knots" -- a kind of bookmarks, that can be cycled through, Benno Schulenberg, 2020/04/05
- Re: Fwd: [PATCH 2/3] new feature: "knots" -- a kind of bookmarks, that can be cycled through, Marco Diego Aurélio Mesquita, 2020/04/05
- Re: Fwd: [PATCH 2/3] new feature: "knots" -- a kind of bookmarks, that can be cycled through, Benno Schulenberg, 2020/04/06
- Re: Fwd: [PATCH 2/3] new feature: "knots" -- a kind of bookmarks, that can be cycled through,
Brand Huntsman <=
- Re: Fwd: [PATCH 2/3] new feature: "knots" -- a kind of bookmarks, that can be cycled through, Benno Schulenberg, 2020/04/06
- Re: Fwd: [PATCH 2/3] new feature: "knots" -- a kind of bookmarks, that can be cycled through, Brand Huntsman, 2020/04/06
[PATCH 3/3] knots: make current line knotted when deleting a knotted line or region, Benno Schulenberg, 2020/04/02