News for hackers. Stuff that matters.
Re:`tar` creator/extractor in ~100 lines of Prolog by mathstuf on Wednesday January 18, 2023 @01:29PM (#34430772)
Fun trivia: I got a Emacs user to switch to Vim because in one of our class projects using Prolog, Emacs kept trying to highlight it as Perl (though it might be valid Perl syntax now that I think about it…). When I showed him that Vim did that for an empty file, but if it detected "Prolog-y" content (IIRC, the comment marker or a `:-` did it), it defaulted to Prolog highlighting.

No idea if Emacs ever fixed it (this was 2009 or so).

Re:`tar` creator/extractor in ~100 lines of Prolog by waynecochran on Wednesday January 18, 2023 @02:24PM (#34431637)
This is a trivial fix for an emacs user. M-x prolog-mode.
Re:`tar` creator/extractor in ~100 lines of Prolog by puffoflogic on Wednesday January 18, 2023 @02:30PM (#34431718)
Instructions unclear, pinky finger fell off.