From mboxrd@z Thu Jan 1 00:00:00 1970 From: xristos Subject: Bug: Inconsistent usage of org-capture-get [9.2 (release_9.2 @ /Users/xristos/code/elisp/third-party/org-mode/lisp/)] Date: Thu, 03 Jan 2019 11:00:59 -0500 Message-ID: <335zv5k9xg.fsf@sdf.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48535) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gf5aj-0000dh-5K for emacs-orgmode@gnu.org; Thu, 03 Jan 2019 11:11:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gf5af-0003qW-Uf for emacs-orgmode@gnu.org; Thu, 03 Jan 2019 11:11:29 -0500 Received: from mail.suspicious.org ([104.131.63.74]:51301) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gf5af-0003nR-QY for emacs-orgmode@gnu.org; Thu, 03 Jan 2019 11:11:25 -0500 Received: from samadhi.lan (unknown [204.11.85.76]) (Authenticated sender: night) by mail.suspicious.org (Postfix) with ESMTPSA id E6C5018D9E2 for ; Thu, 3 Jan 2019 11:00:59 -0500 (EST) 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: emacs-orgmode@gnu.org At some point, the optional argument LOCAL was added to org-capture-get: (org-capture-get PROP &optional LOCAL) "When LOCAL is set, use the local variable =E2=80=98org-capture-current-pli= st=E2=80=99, this is necessary after initialization of the capture process, to avoid conflicts with other active capture processes." A lot of the org-capture-get calls in org-capture.el do not set LOCAL and suffer from aforementioned conflicts. The calls inside function org-cap= ture are exempt from this, but the calls inside org-capture-finalize that do not set LOCAL are obviously erroneous. There are more org-capture-get calls in other functions that have to be reviewed. Emacs : GNU Emacs 25.3.2 (x86_64-apple-darwin17.4.0, Carbon Version 158 Ap= pKit 1561.2) of 2018-02-19 Package: Org mode version 9.2 (release_9.2 @ /Users/xristos/code/elisp/thir= d-party/org-mode/lisp/)