Is there a good Object Pascal mode for Emacs?

Recently, I have been doing several Object Pascal, and I could not find a good mode for it. I have tried delphi-modeand pascal-mode, both of which are trying to help too much; when they do not understand the syntax of Object Pascal, it is very difficult to get them to format the code correctly. I use Geany, but I miss my Emacs. Should there be another Pascal mode?

Edit

This is a Pascal object implemented in Free Pascal.

+5
source share
1 answer

This is a question of Emacs. From the point of view of the code editor, there is no difference between FPC in Delphi and Delphi mode.

, (Google ), " Pascal emacs" :

  • , .
  • , , , , .
  • Pascal, "begin end", "if then else" .., . "M-p", "M-n", .
  • ';' , ";". pascal-auto-newline ( nil), ';' "RET" .
+5

All Articles