https://issues.apache.org/bugzilla/show_bug.cgi?id=56427
--- Comment #10 from sergio <[email protected]> --- (In reply to Sebb from comment #7) > The code currently uses -1 to mean all messages, so cannot use -N to mean > starting from the end, and compatibility concerns mean that the value -1 > cannot ever be changed. > > However, the value is stored as text, so a different prefix could be used, > for exampe '~' or '!' or '_'. coming back again on the issue... What about putting on the UI a flag that selects "earliest" or "most recent" messages. This way, we do not break compatibility, and it should be easy to implement. Another alternative would be to allow the message number in the form: m,n This would mean: read from message m upto n (both included, starting from 1, 1 is the oldest). This is more powerful, but more complex to test (lot of marginal conditions). Also, in the end, you will need to know the number of messages in the mailbox. Let me know. -- You are receiving this mail because: You are the assignee for the bug.
