I am using Emacs on mac osx 10.7*. I have the LongLines mode where long sentences are truncated on screen with $
symbol. M-x visual-line-mode
does not exist in my Emacs. That is when I type M-x
and then visual
and TAB
it says no such command, nothing with visual
. How to set line wrap in this situation?
1 Answer
The problem was the version. I installed emacs version - 25.3 from port. Now it works. emacs-25.3 gets installed in /opt/local/bin and one can rename it so that emacs command from terminal opens it. And emacs in /usr/bin can be renamed to emacs-22 so that it can still be accessed and there is no conflict.
M-x emacs-version RET
report?describe-symbol
, visual-line-mode is an interactive compiled Lisp function in ‘simple.el’. In my system (emacs version 25.3 installed through homebrew), you can find simple.el with the following commandfind /usr/local/Cellar/emacs/25.3/ | grep simple.el