Timeline for Unpredictable fill-column behavior
Current License: CC BY-SA 3.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 31, 2016 at 17:51 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
| May 1, 2016 at 15:14 | answer | added | zaile | timeline score: 1 | |
| May 1, 2016 at 15:03 | comment | added | wasamasa | I recommend using GUI Emacs as it does display helpful indicators in the fringe. | |
| May 1, 2016 at 13:26 | comment | added | Eirik S. | Maybe this is clearer: When I open an old document, there are two alternatives, neither of which seems optimal: 1. I can use auto-fill-mode, but I've noticed that if I edit in the middle of a paragraph, dollar signs appear to the right indicating an exceedingly long line, and I have to re-wrap the paragraph manually using M-q. 2. Or I can use visual-line-mode, which incurs similar issues but is less explicit about it. The only workaround I've found is to manually rearrange the text by doing C+e+backspace until the text is re-wrapped along the margins. There must be a more intelligent way? | |
| May 1, 2016 at 12:38 | comment | added | wasamasa | github.com/joostkremers/visual-fill-column | |
| May 1, 2016 at 12:33 | comment | added | Eirik S. | Well, I'd be happy with either. But just riddle me this: when processing an existing document in Emacs, the text width more often than not is not the same as the one dictated by visual-line-mode. Is there some command like the vi command vipJ that would join the lines to let visual-line-mode re-wrap them? | |
| May 1, 2016 at 11:55 | comment | added | phils | auto-fill-mode is possibly what you're looking for? (I would suggest experimenting with it with visual-line-mode off.) | |
| May 1, 2016 at 11:50 | comment | added | phils | Are you expecting visual-line-mode to do its soft-wrapping at fill-column? It doesn't. fill-column is for filling and nothing else. AFAIK visual-line-mode always soft-wraps at the width of the window. Filling text adds/removes newline characters. visual-line-mode does not modify the text at all. The two features are quite different. | |
| May 1, 2016 at 11:19 | review | First posts | |||
| May 1, 2016 at 11:44 | |||||
| May 1, 2016 at 11:11 | comment | added | Eirik S. | I mean, for my purposes it doesn't really matter whether the lines are exactly 80 characters -- my preference would be for visual-line-mode to just take care of this by itself and wrap text according to the margins. But then I can't use M-q because it defaults to 70 characters. | |
| May 1, 2016 at 11:09 | history | asked | Eirik S. | CC BY-SA 3.0 |