Re: special treatment of colon-plus-digits in a filename

Benno Schulenberg <[email protected]>
Newsgroups gmane.editors.nano.devel
Message-ID <[email protected]>
Op 03-05-2024 om 17:21 schreef Mike Scalora:
> Thinking out loud: what about looking for files that match with colon parsing
> and without colon parsing?

You mean: if the specified name contains a colon, check if that file
(including the colon and what follows it) exists, and if so, open
that file instead of trying to interpret the colon as a line-number
introducer?  And second, if the name stripped from colon plus trailing
digits does _not_ exist, then understand colon plus digits as part of
the file name, as it does not make sense to specify a line number for
a nonexistent file?


Benno
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEFo5vQpe/16ea/USWUUu+Lrjhlh8FAmY1FYcFAwAAAAAACgkQUUu+Lrjhlh9F
ARAA2pUi+6/YDTORTgOEO9Gnjbmg68u9p2eYlP2OO+zr/j69p7/E0KWMZFldcFzcc8+Y0rA7j62U
K+OtgEGKhU5PSjyO9uwe+ZnMFPTSB9LyWzMywD0L5dZruk/7XR+nDvM0fTh11758PotDRqanO1j1
zvtQQ905mZHzLzrssBX+WYwemuT6Qr8xE+tS9JSHJY7AEnvyQc6+BBEZdLF0t3nZQP9sRqO2jKR4
MW5BTry0VMUqRlwSRgQgfRFEPP1WecVsxb8zQT80velzaGiEpikeMe6qpBzof7X5e/Vfb1WGpUi8
ynvhUhpBnD1HU8ZCzewBM6SLHxrOcGI7IxpElZfw5Y7YSaZciavkJRVhWXXtk8FPvIaTqbT6nT/1
0jjD5NBs3cvvtEO2kjVFRykQ02DbErWA7H1bMGYZ0/gx8YOILqaZ0+lGx7PqPFnxpoIHWGj8jsp5
306HZGHWmmN6KNTf9u/0V7068Yfwhouv3Rfk7nClNeVaKb5U1BMGsOqB+RupJb/JleAC3nFZdSOf
WCtRF19dJEkSyEk6KRBu0XzdLvPdJ4CKK2plut/y41P0UF/HyqOmU8GfijQGksoqeIs9hhLiQabj
9cAoGSZELXvaGVf0LEn7Lpmi1YCnuFaK8tqveQFQtDzi+jmcoEslZeCEeNMZporCwjaIwn+DJQiB
ILk=
=xeUZ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.