From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: org-bibtex-read strips too many braces (8.3.4-39-ge0acd8-elpaplus) Date: Tue, 19 Apr 2016 21:28:32 +0200 Message-ID: <874maxcs9r.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asbI2-0003Yb-VX for emacs-orgmode@gnu.org; Tue, 19 Apr 2016 15:26:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1asbHx-0007Ue-WA for emacs-orgmode@gnu.org; Tue, 19 Apr 2016 15:26:26 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:32835) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asbHx-0007UZ-Qv for emacs-orgmode@gnu.org; Tue, 19 Apr 2016 15:26:21 -0400 In-Reply-To: (timor's message of "Tue, 19 Apr 2016 11:35:24 +0200") 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: timor Cc: emacs-orgmode@gnu.org Hello, timor writes: > When using org-bibtex-read-buffer, I noticed that the following title > field in a bibtex entry: > > ... > {{MASTER}: {A} {Multicore} {Cache} {Energy}-{Saving} > {Technique} {Using} {Dynamic} {Cache} > {Reconfiguration}} > ... > > is read in as > > "MASTER}: {A} {Multicore} {Cache} {Energy}-{Saving} > {Technique} {Using} {Dynamic} {Cache} > {Reconfiguration" > > I believe this is due to the duplicate '(123 . 125) element in org-bibtex-read > (org-bibtex.el:634), and was supposed to clean up fields that were > formatted like this: > > {{Unnecessary Braces in Title.}} > > I do think, however, that the correct behavior would be to only strip > the outer pair of braces. So, do you think that returning {Unnecessary Braces in Title.} instead of the above would be fine? If that's the case, we could indeed remove the duplicate '(123 . 125). Regards, -- Nicolas Goaziou