Skip to main content
12 events
when toggle format what by license comment
S May 12, 2015 at 21:25 history suggested Scott Weldon CC BY-SA 3.0
Add syntax highlighting.
May 12, 2015 at 21:07 review Suggested edits
S May 12, 2015 at 21:25
Jan 7, 2015 at 11:19 comment added tmalsburg The electric dot isn't going to work well because dots are not just used to end sentences but also for all kinds of other purposes. It would be better to replace a dot followed by two spaces by a dot followed by a newline.
Oct 1, 2014 at 1:01 comment added Xah Lee i think all you need is just call set-window-margins? as for automating the process, can't you write a simple elisp that temp set fill-column to big, then call fill so paragraphs becomes single line, then find/replace period space to 2 line breaks? then hook this to Return key if needed.
Oct 1, 2014 at 0:59 comment added Xah Lee longlines-mode is kinda deprecated. It was written by Stephan before visual-line-mode is in emacs. It sometimes corrupt your lines, e.g. when pasting big text. There were several bug reports about it. It works by actually reformatting lines behind the scene. IIRC. Not sure what's the current status though.
Sep 30, 2014 at 13:33 comment added Malabarba By the way, it's worth noting that longlines-mode is marked as obsolete in 24.4 (not that it has an equivalent alternative),
Sep 30, 2014 at 10:53 comment added Malabarba Thanks. Also, forgot to mention, that advice uses a function from the latex-extra package.
Sep 30, 2014 at 10:45 comment added Tikhon Jelvis @Malabarba: Cool. I'll probably use some of those changes myself! Your link doesn't work properly though; here's a web-friendly version: gist.github.com/Bruce-Connor/c532f77144ddf86b4ea4
Sep 30, 2014 at 10:23 vote accept Malabarba
Sep 30, 2014 at 10:23 comment added Malabarba Thanks a lot for pointing out longlines-mode! I managed to get it to not wrap equations and even fix the look of indented lines. Here is the gist gist.github.com/c532f77144ddf86b4ea4.git
Sep 29, 2014 at 20:53 history edited Tikhon Jelvis CC BY-SA 3.0
added 463 characters in body
Sep 29, 2014 at 20:42 history answered Tikhon Jelvis CC BY-SA 3.0