Re: [O] Library of Babel confusion

2018-04-06 Thread Berry, Charles
> On Apr 6, 2018, at 4:59 PM, Thomas S. Dye wrote: > [Tom's response covering the main issues deleted] > hth, > Tom > > Lawrence Bottorff writes: > >> I guess I need more information. For example, what is C-c C-v v doing >> exactly? Then C-x C-e? And M-x (symbol-function

Re: [O] Library of Babel confusion

2018-04-06 Thread Thomas S. Dye
Aloha Lawrence, #+name: myelsquare #+header: :var x=0 #+begin_src emacs-lisp :var x=0 (defun myelsquare (x) (* x x)) #+end_src #+RESULTS: myelsquare : myelsquare Assuming myelsquare has been evaluated: #+name: eval-myelsquare #+header: :var y=2 #+BEGIN_SRC emacs-lisp (myelsquare y)

Re: [O] Title as description in web link

2018-04-06 Thread mediapathic steen
Someone has indeed: https://github.com/rexim/org-cliplink It's designed around a linux system, but I am using it just fine on my mac. If you are not on either of those OSs it might still be a good starting point. Alternately/additionally, if you are on a mac,

Re: [O] Library of Babel confusion

2018-04-06 Thread Lawrence Bottorff
I guess I need more information. For example, what is C-c C-v v doing exactly? Then C-x C-e? And M-x (symbol-function 'myelsquare) doesn't work. Again, #+name: myelsquare #+header: :var x=0 #+begin_src emacs-lisp :var x=0 (defun myelsquare (x) (* x x)) #+end_src is Lisp code where the

Re: [O] language support for m4

2018-04-06 Thread Nicolas Goaziou
Hello, Brad Knotwell writes: > The attached file adds m4 support.  It was tested against org-9.1.7 > and used ob-sed.el and ob-shell.el for inspiration.  Both code > execution and tangling have been tested with simple inputs as well as > tables (easiest way to verify

Re: [O] Support showing stars as pretty bullets

2018-04-06 Thread Rasmus
Hi, Thanks for looking at this. I’ll definitely use this. Alex Branham writes: > + (setq-local prettify-symbols-alist org-prettify-alist) Hmm, wouldn’t this "break" the "normal" usage of prettify-symbols-mode? I guess it would be better to simply add symbols to

Re: [O] Scheduling and calendar-day-of-week

2018-04-06 Thread Tim Cross
Cecil Westerhof writes: > There is something I want to do on Monday, Wednesday and Friday. So I tried: > *** TODO Monday, Wednesday and Friday > SCHEDULED: <%%(memq (calendar-day-of-week date) '(1 3 5))> > > This seems to work: I see the activity on the correct days.

Re: [O] Title as description in web link

2018-04-06 Thread Nick Dokos
Cecil Westerhof writes: > I have created some links to web pages. In almost al cases I want the > description to be the title of the > page. Is there a way to make the default description the title of a web page? > Write a function that uses the link to fetch the page

Re: [O] Scheduling and calendar-day-of-week

2018-04-06 Thread Brian Shine
Sorry! I see that is exactly what you said. Best wishes, Brian > On 6 Apr 2018, at 17:46, Brian Shine wrote: > > An alternative, which isn’t as neat as you would like, would be to set up the > 3 days as separate events, with 7-day repeats. > > Best wishes, > Brian > >>

Re: [O] Scheduling and calendar-day-of-week

2018-04-06 Thread Brian Shine
An alternative, which isn’t as neat as you would like, would be to set up the 3 days as separate events, with 7-day repeats. Best wishes, Brian > On 6 Apr 2018, at 15:16, Nick Dokos wrote: > > Cecil Westerhof writes: > >> There is something I want

Re: [O] Schedule with a duration

2018-04-06 Thread Luke
You can use effort estimates for this. They are covered in the manual here: https://orgmode.org/manual/Effort-estimates.html#Effort-estimates After assigning an effort estimate to a task, you can filter all tasks with an estimate less-than, equal-to, or greater-than a specified number of

Re: [O] Scheduling and calendar-day-of-week

2018-04-06 Thread Nick Dokos
Cecil Westerhof writes: > There is something I want to do on Monday, Wednesday and Friday. So I tried: > *** TODO Monday, Wednesday and Friday >     SCHEDULED: <%%(memq (calendar-day-of-week date) '(1 3 5))> > > This seems to work: I see the activity on the correct days.

[O] Org-capture, empty lines and date tree

2018-04-06 Thread Dominik Schrempf
Hi, I am using date trees with org-capture with the =:empty-lines n= directive. The list item of =org-capture-templates= looks similar to this one: #+BEGIN_EXAMPLE (list "j" "Journal" 'entry (list 'file+olp+datetree journal-file) "* %^{Entry}\n%?\n" :empty-lines 1) #+END_EXAMPLE

[O] Schedule with a duration

2018-04-06 Thread Cecil Westerhof
Is it possible to schedule a task on a day without a time, but have a duration? I have several tasks that are not bound to a time, but will be done when I have some spare time. It would be handy if there was a way the estimated duration of those tasks so I can choose the right one. And in

[O] Title as description in web link

2018-04-06 Thread Cecil Westerhof
I have created some links to web pages. In almost al cases I want the description to be the title of the page. Is there a way to make the default description the title of a web page? -- Cecil Westerhof

Re: [O] Inverting the chronology of LOGBOOK entries

2018-04-06 Thread Mitchell Roe
Eric Abrahamsen writes: > Probably org-log-states-order-reversed? That's it! I guess I glossed over that option originally. Thank you!

[O] Bug: Modifying org-latex-pdf-process doesn't modify the async export behaviour

2018-04-06 Thread Leo Vivier
Hi, I've encountered an issue trying to write a function to toggle between two org-latex-pdf-process states (short & long). The function works as intended when using synchronous export (the PDF is created with the appropriate number of steps), but it doesn't work with asynchronous export

Re: [O] Bug: CUSTOM_ID property not used in LaTeX-Export [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/27.0.50/lisp/org/)]

2018-04-06 Thread beckonsmorbid
So I just searched the org sources and stumbled upon org-latex-prefer-user-labels, which needs to be t for this to work in newer emacs versions. Sorry for the noise On Fri, Apr 6, 2018 at 10:28 AM, beckonsmorbid wrote: > Emacs : GNU Emacs 27.0.50 (build 1,

[O] Bug: CUSTOM_ID property not used in LaTeX-Export [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/27.0.50/lisp/org/)]

2018-04-06 Thread beckonsmorbid
Emacs : GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.29) of 2018-04-05 Package: Org mode version 9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/27.0.50/lisp/org/) -- Hi, It

Re: [O] Scheduling and calendar-day-of-week

2018-04-06 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 You might want to try some org-habit stuff. Like: ** HABIT Hand Craft Time SCHEDULED: <2017-11-28 Tue .+2d/5d> :PROPERTIES: :STYLE:habit :LOGGING: TODO DONE(!) :END: Cecil Westerhof writes: > There is something I

[O] Scheduling and calendar-day-of-week

2018-04-06 Thread Cecil Westerhof
There is something I want to do on Monday, Wednesday and Friday. So I tried: *** TODO Monday, Wednesday and Friday SCHEDULED: <%%(memq (calendar-day-of-week date) '(1 3 5))> This seems to work: I see the activity on the correct days. But then I changed today's entry to DONE. But then all are

Re: [O] Repeat three times a week

2018-04-06 Thread Cecil Westerhof
2018-04-05 17:53 GMT+02:00 John Kitchin : > You can use diary sexps (https://www.gnu.org/software/ > emacs/manual/html_node/emacs/Sexp-Diary-Entries.html). For example: > > * TODO something Mon, Wed and Fri > SCHEDULED: <%%(memq (calendar-day-of-week date) '(1 3 5))> >