From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Cubizolles Subject: BUG: org-set-property should not accept an empty string as property Date: Wed, 06 Jan 2016 09:20:55 +0100 Message-ID: <87fuybqftk.fsf@free.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGjLQ-000112-TT for emacs-orgmode@gnu.org; Wed, 06 Jan 2016 03:21:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGjLL-00031w-UM for emacs-orgmode@gnu.org; Wed, 06 Jan 2016 03:21:24 -0500 Received: from plane.gmane.org ([80.91.229.3]:57815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGjLL-00031k-Np for emacs-orgmode@gnu.org; Wed, 06 Jan 2016 03:21:19 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aGjLI-0001jM-M3 for emacs-orgmode@gnu.org; Wed, 06 Jan 2016 09:21:16 +0100 Received: from gas45-3-82-244-252-119.fbx.proxad.net ([82.244.252.119]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Jan 2016 09:21:11 +0100 Received: from j.cubizolles by gas45-3-82-244-252-119.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Jan 2016 09:21:11 +0100 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: emacs-orgmode@gnu.org According to http://orgmode.org/worg/dev/org-syntax.html#Node_Properties, the NAME of a property cannot be an empty string. However, the interactive version of org-set-property accepts such a string, resulting in a malformed drawer. When giving an empty string at the prompt for the property NAME, org-set-property should instead gracefully exit without creating a new property in the drawer.