Turn function into interactive

2019-12-29 Thread Lawrence Bottorff
I've discovered org-outline-level which when in a code block under a given header delivers as expected: * This old level #+BEGIN_SRC emacs-lisp (org-current-level) #+END_SRC #+RESULTS: : 1 Now, how could I turn this into an interactive callable with M-x? My stab in the dark (defun my-insert-lev

Re: Long links

2019-12-29 Thread Steven Penny
On Sun, Dec 29, 2019 at 8:08 PM Nicolas Goaziou wrote: > You can use angular links, e.g., > > Global_Objects/String/lastIndexOf++[lastIndexOf]> > > You can also use link abbreviations. Please refer to the manual for that > one.

Re: Long links

2019-12-29 Thread Nicolas Goaziou
Hello, Steven Penny writes: > Sometimes I will have to deal with a long link, like this: > > https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/lastIndexOf > > I prefer to wrap long links if possible. This is allowed with > reStructuredText: > > lastIndexOf_ >

Long links

2019-12-29 Thread Steven Penny
Sometimes I will have to deal with a long link, like this: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/lastIndexOf I prefer to wrap long links if possible. This is allowed with reStructuredText: lastIndexOf_ .. _lastIndexOf: https://developer.mozill

org-deadline-warning-days per file

2019-12-29 Thread Colin Baxter
I have my org-deadline-warning-days set to 60 via #+begin_src elisp (setq org-deadline-warning-days 60) #+end_src in my ~/.emacs. How can I set it individually for each deadline in an org-mode file? Thanks. -- Colin Baxter www.Colin-Baxter.com

bug#38599: 27.0.50; org-agenda lists invalid Diary entries

2019-12-29 Thread Justin Abrahms
Thank you so much! On Sat, Dec 28, 2019, at 12:22 PM, Thomas Fitzsimmons wrote: > Hi, > > Thomas Fitzsimmons writes: > > [...] > > > Justin confirmed the attached patch fixes the problem for him. Can an > > Org mode maintainer review it? > > I also reported this upstream to the Org maintainer

Org-publish: how do I access user-defined keywords in html-preamble function?

2019-12-29 Thread Giovanni Moretti
I'm working on a blog published via org-publish but one things got me stumped: accessing user defined keywords while publishing to HTML: Each post is in an orgmode file, and has a simple structure. E.g. one post starts with: #+title: Fix for Sparkfun Arduino Pro Micro #+date: <2009-03-05