6

I'm now trying to switch from Vim to Spacemacs. It seems that Longlines Mode is the way to go in Emacs to soft-wrap the line around the column http://emacswiki.org/emacs/LineWrap. However it seems that this mode has been removed since Emacs 24.4 http://www.emacswiki.org/emacs/LongLines, in favor of Visual Line Mode, which soft-wraps the text around the window edge... Which is not exactly what I want. How am I able to get the functionality of longlines mode back? I see a longlines.el at http://www.emacswiki.org/emacs/longlines.el, should I just manually download the file and add it to Spacemacs configuration layer?

8

No. To emulate the behaviour of longlines-mode, use visual-line-mode in combination with the visual-fill-column package.

| improve this answer | |
  • Thanks. This seems to be the package to go to. However now I'm unable to install it in Spacemacs... Guess I'll turn to somewhere else for help on package intallation. – xji Apr 20 '15 at 8:40
2

It has not been removed (yet). It has been marked obsolete, which among other things implies that it is not autoloaded any more.

(require 'longlines)
(longlines-mode 1)

still works as before.

| improve this answer | |
  • That's true. I guess I misunderstood the meaning of "obselete" here. Though isn't it quite weird that longlines-mode is able to softwrap by fill column while visual-line-mode is only able to soft wrap around the window, while the later is considered as a replacement for the previous? It actually looks like a loss of important functionality. visual-fill-column package messed up my popwin buffer so I couldn't really use it. – xji May 10 '15 at 8:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.