Emacs UI: indentation is wrong after ?keyword
I have identified one case where indentation in a
cocoa5 file goes wrong.
I have checked that
C-c C-e is confused too.
The file contained the line
after that line indentation was wrong (as though the code were inside a
Modify the emacs UI code so that keywords are ignored when appearing after a
? (the same way they are ignored in strings and comments)
#1 Updated by John Abbott about 4 years ago
? simply has to be the first non-space character in a command (and not the first non-space character on a line). So I believe we can treat
? in much the same way as
-- (rest of line comment)
I have given this low priority because I think it is typically quite rare for a
cocoa5 file to contain
?keyword as a line (except in a teaching context). Anyway, it would be nice to sort this out sooner or later.