Results 222 comments of Philip McGrath
trafficstars

On the first item, I think what I was seeing was a byproduct of working at the REPL in the same file where I'd run the tests: I think `preferences:get`...

I've written code to make `path-utils:generate-autosave-name` always do what the current implementation does for foreign `path-for-some-system?` values (ignore everything but the final path element; convert that to a `path?`) and...

I've added a commit to make `path-utils:generate-autosave-name` work with foreign `path-for-some-system?` values.

> if you could arrange the commit so that there are minimal changes that achieve the new functionality and then a separate commit that reformats things to match modern Racket,...

I tried to make sure the directory exists by checking `directory-exists?` in `valid-preference-value?`. Should I also check some other way?

If I understand the question properly, I think this is handled because (when there is a non-false preference value) the functions derive the filename from the complete path to the...

Someone reminded me of this pull request at RacketCon. I'm writing this mostly to remind myself to look at it again when I get home. I don't immediately remember what...

That is what I am doing now. I think for some reason I had originally thought that function on the right-hand side of a `dispatch-rules` clause was required to return...

Related to my proposed `simplify-url`, I noticed the following `match` cases in `web-server/dispatchers/filesystem-map`, and I'm not sure that I understand why it treats `"."` differently than `".."`: https://github.com/racket/web-server/blob/894613d7c52a7b25ec1d05ac9414bb5bd94dd17a/web-server-lib/web-server/dispatchers/filesystem-map.rkt#L25-L28 As illustrated...

(Apparently I neglected to paste the example above ...) ```racket #lang racket (require net/url-string rackunit) (define (path-element->url elem) (url "https" #f "example.com" #f #t (list (path/param "a" null) (path/param elem...