* [ISSUE] mless N:x seems off-by-one.
@ 2024-07-09 0:41 rnkn
2024-07-12 19:13 ` leahneukirchen
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: rnkn @ 2024-07-09 0:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 454 bytes --]
New issue by rnkn on mblaze repository
https://github.com/leahneukirchen/mblaze/issues/261
Description:
Hello,
mless appears to be off-by-one when issuing the `N:x` command.
## To reproduce
```
$ mlist Maildir/ | mless
2:n
1:x
```
And then
```
2:x
```
## Expected results
Navigation back to message 1.
## Actual results
First the error
```
mless scan// (message 1 of 6)
```
And then
```
mless 1 (message 2 of 6)
```
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: mless N:x seems off-by-one.
2024-07-09 0:41 [ISSUE] mless N:x seems off-by-one rnkn
@ 2024-07-12 19:13 ` leahneukirchen
2024-07-13 2:48 ` rnkn
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: leahneukirchen @ 2024-07-12 19:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 310 bytes --]
New comment by leahneukirchen on mblaze repository
https://github.com/leahneukirchen/mblaze/issues/261#issuecomment-2226213163
Comment:
Not sure I follow... `:x` goes to the first file in less, which is the `//scan` output.
So `:x:n` will move to the first message. `N` goes to the first unread message.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: mless N:x seems off-by-one.
2024-07-09 0:41 [ISSUE] mless N:x seems off-by-one rnkn
2024-07-12 19:13 ` leahneukirchen
@ 2024-07-13 2:48 ` rnkn
2024-07-13 2:50 ` rnkn
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rnkn @ 2024-07-13 2:48 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 346 bytes --]
New comment by rnkn on mblaze repository
https://github.com/leahneukirchen/mblaze/issues/261#issuecomment-2226731562
Comment:
I'm using `N` as a placeholder for any number, so e.g. with a bunch of files open in less, `10:x` goes to the 10th file, whereas with a bunch of messages open in mless `10:x` goes to the 9th message. Is this intended?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: mless N:x seems off-by-one.
2024-07-09 0:41 [ISSUE] mless N:x seems off-by-one rnkn
2024-07-12 19:13 ` leahneukirchen
2024-07-13 2:48 ` rnkn
@ 2024-07-13 2:50 ` rnkn
2024-07-13 13:59 ` leahneukirchen
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rnkn @ 2024-07-13 2:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 166 bytes --]
New comment by rnkn on mblaze repository
https://github.com/leahneukirchen/mblaze/issues/261#issuecomment-2226731977
Comment:
Sorry, my first post is very unclear.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: mless N:x seems off-by-one.
2024-07-09 0:41 [ISSUE] mless N:x seems off-by-one rnkn
` (2 preceding siblings ...)
2024-07-13 2:50 ` rnkn
@ 2024-07-13 13:59 ` leahneukirchen
2024-07-14 8:33 ` rnkn
2024-07-14 8:39 ` rnkn
5 siblings, 0 replies; 7+ messages in thread
From: leahneukirchen @ 2024-07-13 13:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 210 bytes --]
New comment by leahneukirchen on mblaze repository
https://github.com/leahneukirchen/mblaze/issues/261#issuecomment-2226916493
Comment:
I think that's not avoidable, as the first file is the scan overview...
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: mless N:x seems off-by-one.
2024-07-09 0:41 [ISSUE] mless N:x seems off-by-one rnkn
` (3 preceding siblings ...)
2024-07-13 13:59 ` leahneukirchen
@ 2024-07-14 8:33 ` rnkn
2024-07-14 8:39 ` rnkn
5 siblings, 0 replies; 7+ messages in thread
From: rnkn @ 2024-07-14 8:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 168 bytes --]
New comment by rnkn on mblaze repository
https://github.com/leahneukirchen/mblaze/issues/261#issuecomment-2227259236
Comment:
What about `0:x` for the scan overview?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: mless N:x seems off-by-one.
2024-07-09 0:41 [ISSUE] mless N:x seems off-by-one rnkn
` (4 preceding siblings ...)
2024-07-14 8:33 ` rnkn
@ 2024-07-14 8:39 ` rnkn
5 siblings, 0 replies; 7+ messages in thread
From: rnkn @ 2024-07-14 8:39 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 231 bytes --]
New comment by rnkn on mblaze repository
https://github.com/leahneukirchen/mblaze/issues/261#issuecomment-2227259236
Comment:
What about `0:x` for the scan overview?
**Edit**: I see the `0:x` already show the scan overview...
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-07-14 8:39 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-09 0:41 [ISSUE] mless N:x seems off-by-one rnkn
2024-07-12 19:13 ` leahneukirchen
2024-07-13 2:48 ` rnkn
2024-07-13 2:50 ` rnkn
2024-07-13 13:59 ` leahneukirchen
2024-07-14 8:33 ` rnkn
2024-07-14 8:39 ` rnkn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).