From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Prevent auto-fill-mode from filling Property values in drawers Date: Sun, 11 Feb 2018 21:22:06 +0100 Message-ID: <87tvun9t01.fsf@nicolasgoaziou.fr> References: <87shaiuoxe.fsf@nicolasgoaziou.fr> <87d11muofz.fsf@nicolasgoaziou.fr> <87372i82p5.fsf@alphaville.usersys.redhat.com> <874lmxvhwb.fsf@nicolasgoaziou.fr> <87y3k8h034.fsf@nicolasgoaziou.fr> <87r2prbrgd.fsf@nicolasgoaziou.fr> <87inb3bjyw.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33565) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eky8b-0004OM-5x for emacs-orgmode@gnu.org; Sun, 11 Feb 2018 15:22:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eky8Y-0000pY-AO for emacs-orgmode@gnu.org; Sun, 11 Feb 2018 15:22:13 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:47352) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eky8Y-0000nE-3c for emacs-orgmode@gnu.org; Sun, 11 Feb 2018 15:22:10 -0500 In-Reply-To: (Kaushal Modi's message of "Sun, 11 Feb 2018 20:13:09 +0000") 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" To: Kaushal Modi Cc: Nick Dokos , emacs-orgmode@gnu.org Kaushal Modi writes: > I was actually adding a test for org-return as the commit doesn't modify > the org-auto-fill-function. OK. > Interactively, the org-return change works as expected, but the test fails > with this: > > Test test-org/return condition: > (ert-test-failed > ((should > (equal "* Heading > :PROPERTIES: > :SOME_PROP:This is a very long property value that goes beyond the ^^^ > fill-column. But this is inside a property drawer, so the auto-filling > should be disabled. > > :END:" > (org-test-with-temp-text "* Heading > :PROPERTIES: > :SOME_PROP:This is a very long property value that goes beyond the ^^^ Wild guess: missing spaces?