emacs - Joining the automatically broken lines by org-mode -


with emacs/org-mode, use [[link][display]] format show , link whatever necessary. problem sometimes, automatic formatter kicks in, , break line have ugly link follows.

enter image description here

the solution can (1) remove leading blanks of second line, , (2) join first , second string.

enter image description here

how can emacs or org-mode? if org-mode has solution problem, better, don't need delete [ or ] make editable.

your first solution available delete-indentation:

m-^ runs command delete-indentation, interactive compiled lisp function in `simple.el'.

it bound m-^.

(delete-indentation &optional arg)

join line previous , fix whitespace @ join. if there fill prefix, delete beginning of line. argument, join line following line.

with point on second line, m-^ remove leading whitespace on second line, trailing whitespace on first line, , join 2 lines together.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -