From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] fix org-num-mode detect enabled already issue Date: Wed, 09 Jan 2019 23:29:43 +0100 Message-ID: <877efd1n3c.fsf@nicolasgoaziou.fr> References: <875zv35iec.fsf@gmail.com> <871s5pe4d2.fsf@nicolasgoaziou.fr> <87zhsdtgln.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:36465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ghMM9-0007dJ-JU for emacs-orgmode@gnu.org; Wed, 09 Jan 2019 17:29:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ghMM8-0001TV-FV for emacs-orgmode@gnu.org; Wed, 09 Jan 2019 17:29:49 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:51105) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ghMM8-0001R5-4Y for emacs-orgmode@gnu.org; Wed, 09 Jan 2019 17:29:48 -0500 In-Reply-To: <87zhsdtgln.fsf@gmail.com> (stardiviner's message of "Mon, 07 Jan 2019 09:13:24 +0800") 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: stardiviner Cc: org-mode Hello, stardiviner writes: > And here is the steps to reproduce this issue: > > my config: > > (require 'org-num) > (setq org-num-skip-footnotes t) > (add-hook 'org-mode-hook #'org-num-mode) > > 1. Then open an Org file, it has `org-num-mode` enabled because upper > config added to hook. > > 2. Execute command with `[M-x org-mode]` again, then it will become as > in screenshot. OK, I see. Fixed. Thank you! Regards, -- Nicolas Goaziou