Tier Mode in Emacs

I recently discovered tier mode in Emacs (after a regular user for 5 years!). So I installed .emacs in my file

(add-hook 'text-mode-hook 'turn-on-auto-fill) (add-hook 'text-mode-hook 'longlines-mode) 

(do I still need autocomplete? I can’t say ...), which also sets the org-mode to work in tier mode. This seems to have messed up the functionality of building the table, so I would like to disable the tier mode for org-mode (which seems to include transitions in text mode), but save it for text (.txt) files.

I wonder if anyone has a solution? I am slowly collecting a bit of Emacs Lisp, but have not yet learned hook mode manipulations ...

Thank you so much! -Stephen

+6
emacs elisp
source share
3 answers

Try visual-line-mode , which crowds out longlines-mode with Emacs-23.1.

+11
source share

You can explicitly disable longlines-mode in org-mode by adding to org-mode-hook :

 (add-hook 'org-mode-hook '(lambda () (longlines-mode -1))) 

Edit: Thanks to Török Gábor to indicate that my elisp is not working :-)

+3
source share

I will turn off autocomplete when using tiers, and now that I know and use the visual-linear mode, this too. I think that none of them is necessary for my purposes and may conflict with them (by inserting hard new lines in the same or different places where the longline / visual line will insert soft newline characters).

0
source share

All Articles