beginning/end-of-defun jump to beginning/end of buffer instead of functions.
Hi!
Thanks for the awesome project!
I use beginning-of-defun (C-M-a) and end-of-defun (C-M-e) frequently to jump to beginning/end of functions. But in flutter mode, they jump to beginning/end of buffers which is inconsistent with emacs's builtin behavior. Could you please look into it?
Thanks!
Emacs version 29.4 on MacOS flutter.el version 20240823.1231 Flutter version 3.24.3
flutter-mode inherits from comint-mode and doesn't override any relevant functionality—if you use C-h-k you can verify that the keys you mentioned are bound to the functions you mentioned. So this is the built-in behavior.
If you want different behavior then I suggest you need to arrange for that yourself.
beginning/end-of-defun jump to beginning/end of buffer instead of functions.
I just realized from your title: there are no functions in the *Flutter* buffer. Are you talking about dart-mode? If so, that is a different project altogether: https://github.com/emacsorphanage/dart-mode