Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • Note: I have also tried other regexp in auto-mode-alist with the same results. I tried (add-to-list 'auto-mode-alist '("\\.crt\\'" . x509-dwim)) for instance. Commented Nov 26, 2024 at 17:28
  • And I have tried (add-to-list 'auto-mode-alist '("\\.crt\\'" . x509-mode)). My suspicion at this point is there is something wrong with the x509-mode.el code or my understanding of that code. Commented Nov 26, 2024 at 18:53
  • I would have expected your last comment to have worked (x509-mode rather than x509-dwim) but the code is doing some funky things that I don't understand yet. You might want to post an issue on the github site. Commented Nov 27, 2024 at 15:23
  • 1
    Hi @NickD, I already posted a question on the Github site. I also would need to review the entire code. Commented Nov 27, 2024 at 15:40