- How do you say you are bored and need work to do?
- Job opportunities in different branches of Information technology and robotics
- Manager failing to manage
- Support the following operations on a balanced tree
- Nurse scheduling
- Longest increasing subsequence on pairs
- C Program: Type conversion from int to float
- Introducing myself to a research mentor
- Refuted papers: do they belong in a literature review?
- I'm 18, just completed high school can I publish research papers?
- Are studies included in most meta-analyses based on a narrow range of participants?
- Which Cognitive Sciences are the most affected by the Replication Crisis?
- What is the difference between priming and influence?
- API HTTP Request Signing using base64 encoding/decoding and HMAC (Cryptocurrencies Exchange, GDAX)
- Nice automatic graph arrangement?
- Potential ambiguities in function Limit (Generate explicit conditions on parameters)
- How do I solve for a vector-valued variable?
- Are the mail settings as given in preferences still programmatically accessible in V 11.2
- Finite element mesh not resolving features
- shooting method
Fortran mode: Moving with M-f or M-b suddenly stopped working
I was using fortran-mode for some time without problem, but recently the bindings M-f and M-b stopped working.
It seems that they are not bound to the forward-word and backward-word moving commands anymore, but instead to some commands defined in a file called ftnchek.el (this is what C-h k told me about them), which is apparently a "fortran 77 syntax and semantics checker". In this file, I found these:
; I'm not sure I like these but nobody's complaining.
(define-key fortran-mode-map "\C-x`" 'ftnchek-next-error)
(define-key fortran-mode-map "\M-s" 'ftnchek-subprogram)
(define-key fortran-mode-map "\M-b" 'ftnchek-buffer)
(define-key fortran-mode-map "\M-p" 'ftnchek-previous-subprogram)
(define-key fortran-mode-map "\M-n" 'ftnchek-next-subprogram)
(define-key fortran-mode-map "\M-f" 'ftnchek-first-executable)
(define-key fortran-mode-map "\M-h" 'ftnchek-what-subprogram)
which I think causes the problem.
So I have two questions:
ftncheck.el is not part of Emacs, so it's part of your config.
If you don't need ftncheck.el then you can just disable it or remove it.
Otherwise, you can just remove those keybindings:
;; Use default global binding for M-f and M-b.
(local-set-key "\M-f" nil)
(local-set-key "\M-b" nil)))2017-05-19 19:03:16