From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.devel Subject: Re: change soft to hard lines and back Date: Thu, 14 Dec 2017 19:04:35 +0100 Message-ID: <87ind9i3t8.fsf@mat.ucm.es> References: <87mv2ljuer.fsf@mat.ucm.es> <87mv2libir.fsf@mat.ucm.es> <87d13hfgow.fsf@web.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1513274703 20546 195.159.176.226 (14 Dec 2017 18:05:03 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 14 Dec 2017 18:05:03 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 14 19:04:59 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePXsN-0004wJ-G3 for ged-emacs-devel@m.gmane.org; Thu, 14 Dec 2017 19:04:55 +0100 Original-Received: from localhost ([::1]:42502 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePXsU-0003Oq-LB for ged-emacs-devel@m.gmane.org; Thu, 14 Dec 2017 13:05:02 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePXsI-0003NR-GS for emacs-devel@gnu.org; Thu, 14 Dec 2017 13:04:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePXsF-0000qw-5g for emacs-devel@gnu.org; Thu, 14 Dec 2017 13:04:50 -0500 Original-Received: from [195.159.176.226] (port=38771 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ePXsE-0000pn-Ut for emacs-devel@gnu.org; Thu, 14 Dec 2017 13:04:47 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1ePXs2-00041A-Ik for emacs-devel@gnu.org; Thu, 14 Dec 2017 19:04:34 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 22 Original-X-Complaints-To: usenet@blaine.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:sqXP8oJeZDG8gtIa0D2le54UKhQ= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:221062 Archived-At: >>> "Michael" == Michael Heerdegen writes: > Uwe Brauer writes: >> >>> "Hinrik" == Hinrik Örn Sigurðsson writes: >> >> > You can use the function set-hard-newline-properties to mark > all >> newlines in some range as hard. For the inverse you can > remove the >> 'hard property with (remove-text-property START > END '(hard nil)). >> >> >> Thanks but that function must be very new. For GNU emacs 26 I obtain >> >> Debugger entered--Lisp error: (void-function remove-text-property) > I think this was a typo - you want `remove-text-properties'. > Michael. Yes this I tried as well, but it did not work, that is hardlines were not removed.