From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yu Subject: [BUG]? \\ and `fill-paragraph' Date: Mon, 30 Jan 2012 16:50:49 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:48960) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RrtW9-0006NE-3q for emacs-orgmode@gnu.org; Mon, 30 Jan 2012 10:51:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RrtVu-00080u-FO for emacs-orgmode@gnu.org; Mon, 30 Jan 2012 10:51:41 -0500 Received: from mailout-de.gmx.net ([213.165.64.23]:37435) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RrtVu-00080a-2p for emacs-orgmode@gnu.org; Mon, 30 Jan 2012 10:51:26 -0500 Received: by lagj5 with SMTP id j5so606005lag.0 for ; Mon, 30 Jan 2012 07:51:20 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org-mode mailing list Hello! When using "\\" to force linebreaks, these potentially get lost when reformatting the paragraph with Alt+Q (fill paragraph). Given an input : - long sentence long sentence : long sentence long sentence : long sentence long sentence : long sentence: \\ : Next line. pressing Alt+Q (`fill-paragraph') I'd expect to get : - long sentence long sentence long sentence long sentence long : sentence long sentence long sentence: \\ : Next line. but what I get is : - long sentence long sentence long sentence long sentence long : sentence long sentence long sentence: \\ Next line. This is a problem especially as a "\\" anywhere but at the end of the line is exported literally (i.e. `fill-paragraph' changes both the appearance in emacs and in exported formats). The Problem occurs in the opposite direction too: If a "\\" is m e a n t to occur literally it can end up at the end of a line and thus be interpreted as a line break. The problem can be partially avoided by marking each "line" and /then/ pressing Alt+Q, but it is inconvinient and hinders fille-wide reformatting (e.g. when the variable `fill-column' has changed).