sorting by ctime instead of mtime

Dennis New <[email protected]> Sun, 14 Jun 2015 18:39:51 -0400
Newsgroups gmane.comp.desktop.rox.user
Message-ID <[email protected]>
This is a multi-part message in MIME format.

--Multipart=_Sun__14_Jun_2015_18_39_51_-0400_rpfJE98l_IJU_x4b
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

I find it more useful to have my directory contents sorted by ctime
(Change Time) rather than mtime (Modify Time). For example, often
when I download a file, mtime ends up being really old, so when I go to
the folder to find it, hoping that it is the most recent item (when
sorting by "date"), I am sorely mistaken. ctime would put it at the top
of the list.

I'm not sure if there is a good reason to prefer mtime, or if we should
add an additional configuration option for the different ways to sort
by date?

--Multipart=_Sun__14_Jun_2015_18_39_51_-0400_rpfJE98l_IJU_x4b
Content-Type: application/octet-stream;
 name="use-ctime-instead.patch"
Content-Disposition: attachment;
 filename="use-ctime-instead.patch"
Content-Transfer-Encoding: base64

ZGlmZiAtcnUgc3JjL2Rpc3BsYXkuYyBzcmMubmV3L2Rpc3BsYXkuYwotLS0gc3JjL2Rpc3BsYXku
YwkyMDExLTEwLTA5IDEwOjMxOjU5LjAwMDAwMDAwMCAtMDQwMAorKysgc3JjLm5ldy9kaXNwbGF5
LmMJMjAxNS0wNi0xNCAxODoyMzozNC4xMjkwMDIzNDUgLTA0MDAKQEAgLTQxOCw4ICs0MTgsOCBA
QAogCiAJLyogU09SVF9ESVJTOyAtLSB0b28gY29uZnVzaW5nISAqLwogCi0JcmV0dXJuIGkxLT5t
dGltZSA8IGkyLT5tdGltZSA/IC0xIDoKLQkJaTEtPm10aW1lID4gaTItPm10aW1lID8gMSA6CisJ
cmV0dXJuIGkxLT5jdGltZSA8IGkyLT5jdGltZSA/IC0xIDoKKwkJaTEtPmN0aW1lID4gaTItPmN0
aW1lID8gMSA6CiAJCXNvcnRfYnlfbmFtZShpdGVtMSwgaXRlbTIpOwogfQogCmRpZmYgLXJ1IHNy
Yy92aWV3X2RldGFpbHMuYyBzcmMubmV3L3ZpZXdfZGV0YWlscy5jCi0tLSBzcmMvdmlld19kZXRh
aWxzLmMJMjAxMS0xMC0wOSAxMDozMTo1OS4wMDAwMDAwMDAgLTA0MDAKKysrIHNyYy5uZXcvdmll
d19kZXRhaWxzLmMJMjAxNS0wNi0xNCAxODoyMzo0MC4zODU3NjU3NzEgLTA0MDAKQEAgLTM1Nyw3
ICszNTcsNyBAQAogCQljYXNlIENPTF9NVElNRToKIAkJewogCQkJZ2NoYXIgKnRpbWU7Ci0JCQl0
aW1lID0gcHJldHR5X3RpbWUoJml0ZW0tPm10aW1lKTsKKwkJCXRpbWUgPSBwcmV0dHlfdGltZSgm
aXRlbS0+Y3RpbWUpOwogCQkJZ192YWx1ZV9pbml0KHZhbHVlLCBHX1RZUEVfU1RSSU5HKTsKIAkJ
CWdfdmFsdWVfc2V0X3N0cmluZyh2YWx1ZSwgdGltZSk7CiAJCQlnX2ZyZWUodGltZSk7Cg==

--Multipart=_Sun__14_Jun_2015_18_39_51_-0400_rpfJE98l_IJU_x4b
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------

--Multipart=_Sun__14_Jun_2015_18_39_51_-0400_rpfJE98l_IJU_x4b
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
rox-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rox-users

--Multipart=_Sun__14_Jun_2015_18_39_51_-0400_rpfJE98l_IJU_x4b--