From 9c3c37edc8bfbbc040b8d2b7635dcf06d0522210 Mon Sep 17 00:00:00 2001 From: wiemann Date: Thu, 17 Nov 2005 23:36:02 +0000 Subject: use rst-set-paragraph-separation function for setting paragraph-start; removed stuff for filling quoted text -- it breaks for trailing quote signs and after all that's what message-mode is for git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4069 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 --- docs/user/emacs.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/user/emacs.txt b/docs/user/emacs.txt index 512c11fb2..4f44ffaf6 100644 --- a/docs/user/emacs.txt +++ b/docs/user/emacs.txt @@ -329,7 +329,7 @@ Settings for Filling Lists -------------------------- One problem with the default text-mode settings is that *filling* long -lines in bullet and enumeration lists that do not have an empty line +lines in bulleted and enumeration lists that do not have an empty line between them merges them together, e.g.:: - Bananas; @@ -351,10 +351,10 @@ This is usually not what you want. What you want is this:: The problem is that emacs does not recognize the various consecutive items as forming paragraph boundaries. You can fix this easily by changing the global value of the parapraph boundary detection to -recognize such lists, like this:: +recognize such lists, using the ``rst-set-paragraph-separation`` +function:: - (add-hook 'text-mode-hook - (lambda () (setq paragraph-start rst-paragraph-start))) + (add-hook 'text-mode-hook 'rst-set-paragraph-separation) ``text-mode`` Settings -- cgit v1.2.1