From: Lawrence Bottorff <borgauf@gmail.com>
To: Lawrence Bottorff <borgauf@gmail.com>,
emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: Turn on org-num-mode in init?
Date: Tue, 10 Mar 2020 11:53:51 -0500 [thread overview]
Message-ID: <CAFAhFSUAjKzfUkBS=ufq6PYREv0rL27jb+PwQbeNiCeZiyzyhQ@mail.gmail.com> (raw)
In-Reply-To: <874kuwwwpt.fsf@ucl.ac.uk>
[-- Attachment #1: Type: text/plain, Size: 982 bytes --]
Good. That worked. I just put
(require 'org-num)
(add-hook 'org-mode-hook #'org-num-mode)
inside my use-package org 's (massive) :config
On Tue, Mar 10, 2020 at 1:28 AM Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
> On Monday, 9 Mar 2020 at 23:31, Lawrence Bottorff wrote:
> > I've tried a few variations of trying to turn on org-num-mode (which now
> > comes standard in org, correct?) in my init, but I keep getting an error
> > buffer upon a fresh startup
>
> Maybe show us what you have right now instead of what others have done?
>
> In any case, this one:
>
> > (use-package org-num
> > :load-path "lisp/"
> > :after org
> > :hook (org-mode . org-num-mode))
>
> should work, as far as I can tell although I don't use use-package at
> all. Have you tried with a reduced .emacs?
>
> You could try the following:
>
> (require 'org)
> (require 'org-num)
> (add-hook 'org-mode-hook #'org-num-mode)
>
> --
> : Eric S Fraga via Emacs 28.0.50, Org release_9.3.6-354-g9d5880
>
[-- Attachment #2: Type: text/html, Size: 1492 bytes --]
prev parent reply other threads:[~2020-03-10 16:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-10 4:31 Turn on org-num-mode in init? Lawrence Bottorff
2020-03-10 6:27 ` Eric S Fraga
2020-03-10 16:53 ` Lawrence Bottorff [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAFAhFSUAjKzfUkBS=ufq6PYREv0rL27jb+PwQbeNiCeZiyzyhQ@mail.gmail.com' \
--to=borgauf@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).