From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] Don't call org-footnote-unique label if using random labels Date: Sun, 06 May 2012 10:10:40 +0200 Message-ID: <87obq1d91b.fsf@gnu.org> References: <877gwq8sx8.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQwXK-0005Io-42 for emacs-orgmode@gnu.org; Sun, 06 May 2012 04:09:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQwXH-0008Mo-By for emacs-orgmode@gnu.org; Sun, 06 May 2012 04:09:45 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:54139) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQwXH-0008Le-3e for emacs-orgmode@gnu.org; Sun, 06 May 2012 04:09:43 -0400 Received: by wibhj13 with SMTP id hj13so2054877wib.12 for ; Sun, 06 May 2012 01:09:41 -0700 (PDT) In-Reply-To: <877gwq8sx8.fsf@fastmail.fm> (Matt Lundin's message of "Sat, 5 May 2012 11:58:22 -0500") 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: Matt Lundin Cc: Org Mode Hi Matt, Matt Lundin writes: > * lisp/org-footnote.el (org-footnote-new): Don't call > org-footnote-unique-label if org-footnote-auto-label is set to > random. > > Calling org-footnote-unique-label calls org-footnote-all-labels, which > can dramatically slow down footnote creation in a buffer with many > footnotes. This is unecessary if org-footnote-auto-label is set to > random. Applied, thanks. -- Bastien