[Github-comments] [geany/geany] Add example to illustrate use of GEANY_DEFAULT_FILETYPE_REGEX (PR #2947)

xiota notifications at xxxxx
Sun Oct 24 15:11:03 UTC 2021


> Since we are talking about that detail, would you mind adding this as well?

Yes, I will add it also.

> I don't know if emacs would recognize Matlab/Octave but since we are about documenting Geany's behaviour here, I don't mind :D.

I've only used `emacs` a couple times to try.  I was just curious how compatible it is with `emacs`.

I just tried putting two formats on a line:
```
// -*- Fortran -*- C++ -*-
```
Geany recognizes the first one (non-greedy matching?).  So it *might* be possible to have a different string for other editors to recognize if needed.  (I know the regex can also be edited.)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2947#issuecomment-950341861
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211024/84a7f9d6/attachment.htm>


More information about the Github-comments mailing list