From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vaidheeswaran C Newsgroups: gmane.emacs.help Subject: Re: Filling a string? Date: Fri, 17 Jul 2015 14:19:19 +0530 Message-ID: References: <87io9jl0u9.fsf@mbork.pl> <87pp3r6w56.fsf@gnu.org> Reply-To: vaidheeswaran.chinnaraju@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1437122981 25415 80.91.229.3 (17 Jul 2015 08:49:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Jul 2015 08:49:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 17 10:49:34 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZG1Kn-0006ga-TM for geh-help-gnu-emacs@m.gmane.org; Fri, 17 Jul 2015 10:49:34 +0200 Original-Received: from localhost ([::1]:43583 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZG1Kn-00080W-DJ for geh-help-gnu-emacs@m.gmane.org; Fri, 17 Jul 2015 04:49:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45967) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZG1Kb-00080G-Sy for help-gnu-emacs@gnu.org; Fri, 17 Jul 2015 04:49:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZG1KW-0001lK-TY for help-gnu-emacs@gnu.org; Fri, 17 Jul 2015 04:49:21 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:51623) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZG1KW-0001jS-M5 for help-gnu-emacs@gnu.org; Fri, 17 Jul 2015 04:49:16 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZG1KU-0006Ye-9y for help-gnu-emacs@gnu.org; Fri, 17 Jul 2015 10:49:14 +0200 Original-Received: from 106.216.162.24 ([106.216.162.24]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Jul 2015 10:49:14 +0200 Original-Received: from vaidheeswaran.chinnaraju by 106.216.162.24 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Jul 2015 10:49:14 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 106.216.162.24 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.3.0 In-Reply-To: <87pp3r6w56.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:105778 Archived-At: On Friday 17 July 2015 01:41 PM, Tassilo Horn wrote: > Marcin Borkowski writes: > > Hi Marcin, > >> > so I want part of the buffer to have wrapped lines (preferably at word >> > boundaries), and part to have not (like having toggle-truncate lines >> > only for a region). I suspect this is not possible > Can't you just insert unwrapped lines and use `fill-region' on the parts > you want to have wrapped? I have a feeling that he wants the "fill" to be "soft" on certain paragraphs of his choosing. The only mode that I know of where in Emacs "persists" text properties is "Enriched Mode". (info "(emacs) Hard and Soft Newlines") In other words, the user wants to configure right/left margins and importantly the width of the text area on per-paragraph basis. In the actual file, a paragraph will have no newline at all howsoever it may be displayed. > Bye, > Tassilo > >