Re: [O] Export to pdf when path name has ~

2016-06-10 Thread Stig Brautaset
Nicolas Goaziou writes: >> I also agree that the best way would be to change the meaning of %f. > > Done in 3d0ade9. Thank you for the feedback. Fabulous. I wanted to test it, but even though I think I have the latest Org I can't get this to work. =M-x org-version= says:

Re: [O] Export to pdf when path name has ~

2016-06-10 Thread Stig Brautaset
Nicolas Goaziou writes: >> Fabulous. I wanted to test it, but even though I think I have the latest >> Org I can't get this to work. =M-x org-version= says: >> >> Org-mode version 8.3.4 (8.3.4-79-gbd4948-elpaplus @ >> /Users/stig/.emacs.d/elpa/org-plus-contrib-20160606/) >

[O] populating macros by parsing file name?

2016-05-25 Thread Stig Brautaset
Hello! Currently I have these three lines at the start of my invoices: #+BEGIN_EXAMPLE #+macro: invoice-no 11 #+date: 2016-06-01 #+title: Invoice #{{{invoice-no}}} #+END_EXAMPLE However, sometimes I forget to update the invoice number or date when copying the old invoice. Since I name my

Re: [O] Export to pdf when path name has ~

2016-05-26 Thread Stig Brautaset
Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: > Stig Brautaset <s...@brautaset.org> writes: [...] >> pdflatex chockes on the filename: >> >> #+begin_example >> 17:27:25 /tmp> pdflatex "/Users/stig/Library/Mobile >> Documents/com~app

[O] ANN: ox-jira -- JIRA Backend for Org Export Engine

2016-04-12 Thread Stig Brautaset
I wrote a simplistic JIRA backend for Org Export so that I can draft JIRA tickets & comments in Org mode and export to JIRA markup. Credits: most of this was produce by means of cargo-cult programming, using ox-latex and ox-ascii as inspiration. Code: https://github.com/stig/ox-jira.el It

Re: [O] How to reorder a footnote list?

2016-04-28 Thread Stig Brautaset
Sharon Kimble writes: > [...] I looked at the footnote references *in* the document and found > that they were all [1] [2] etc. Somehow it had lost 'fn:*' before each > reference number Could it be that you at some point did `C-u C-c C-x n'? This removes the fn:

Re: [O] feature proposal. Kill and yank columns

2016-04-28 Thread Stig Brautaset
Uwe Brauer writes: > Hi > > I know that I can delete columns but I miss a function which would > *kill* a column, put it in the some ring (or register) and paste it. Does `org-table-move-column' help, or do you mean to move the column to a different table? Stig

Re: [O] State of things: Email with orgmode?

2016-04-26 Thread Stig Brautaset
Eric Abrahamsen writes: >>> 1) do I have to load something to have this function? I don't seem to >>> have it >> >> org-mime.el is in org contrib package. I am not sure how you might be >> able to get this as it will depend on how you get org in the first >> place. Are

[O] Export to pdf when path name has ~

2016-05-24 Thread Stig Brautaset
Hello! I'm on OS X and use their iCloud Drive to sync Org documents. I save my documents to =~/Org=, which is a symlink to =~/Library/Mobile Documents/com~apple~CloudDocs/Org=. This generally work fine, but launching pdflatex fails. The *Messages* buffer has this to say: #+BEGIN_EXAMPLE Saving

[O] eval code snippet before tangling config file

2016-05-11 Thread Stig Brautaset
Hi, I'm trying to evaluate a line of shell code and put its output into a snippet that will be tangled to a file. My best attempt so far: #+NAME: hostname #+BEGIN_SRC sh hostname -s #+END_SRC #+BEGIN_SRC conf :tangle /usr/local/etc/leafnode/config :noweb tangle expire = 20

Re: [O] eval code snippet before tangling config file

2016-05-11 Thread Stig Brautaset
"Charles C. Berry" <ccbe...@ucsd.edu> writes: > On Wed, 11 May 2016, Stig Brautaset wrote: >> >> I'm trying to evaluate a line of shell code and put its output into a >> snippet that will be tangled to a file. My best attempt so far: [...] > Try `<

[O] how to suppress extra newline between paragraphs in export?

2016-04-18 Thread Stig Brautaset
Hello! I've got a question I hope you might be able to answer. I'm trying to add multi-paragraph item support to plain lists to my ox-jira.el package. c.f. https://github.com/stig/ox-jira.el/issues/17 The issue I have is that I want to replace the blank line between paragraphs in list items

Re: [O] how to suppress extra newline between paragraphs in export?

2016-04-19 Thread Stig Brautaset
Nicolas Goaziou writes: [...] >>(paragraph >> (:begin 1 :end 5 :contents-begin 1 :contents-end 4 :post-blank 1 >> :post-affiliated 1 :parent #1) > > ^^^ >

[O] ob-sql: setting :dbhost from a variable

2016-07-06 Thread Stig Brautaset
Hello! I have an Org document that does several SQL queries against two different PostgreSQL databases. Currently I set the =:dbhost= header argument for each source block, like this: #+BEGIN_SRC sql :dbhost db1.example.com SELECT 1; #+END_SRC #+header: #+BEGIN_SRC

Re: [O] org-capture does copy selected marked text

2017-02-01 Thread Stig Brautaset
Uwe Brauer writes: > > I have used org-capture a long time ago and do not recall the details, > but I thought I could select a text and then org-capture would copy that > selected text to a file of my choice in a format I can customize. A bit > like good old remember does/did. >

Re: [O] [Ann] Tool to hack time

2017-02-08 Thread Stig Brautaset
Hi Marco, Marco Wahl writes: > Dear Orgers, > > https://gitlab.com/marcowahl/hack-time is a little tool to forge the > `current-time' in Emacs. This allows to mark todo-items done > conveniently at another date. > > Maybe you want to play with that time forgery. > >

Re: [O] git and orgmode: teaching git a bit of orgmode syntax

2017-01-24 Thread Stig Brautaset
Karl Voit writes: > Unfortunately, git does not handle diffs in a meaningful way. For > example, when there are sub-hierarchies added or removed, it ends up > with many diff-lines like the following: > > -* NEXT test with DAVdroid > +* Lesestoff [1/26]

Re: [O] Saving org-capture buffer while writing it

2017-02-20 Thread Stig Brautaset
Narendra Joshi writes: > Hi, > > Sometimes when I am taking notes, I end up spending a lot of time in a > capture buffer. If I happen to switch to something else, I end up > loosing the capture buffer. I probably just kill the buffer > accidentally, or do `C-c C-k'. > > Is

Re: [O] Saving org-capture buffer while writing it

2017-02-20 Thread Stig Brautaset
Narendra Joshi writes: >> Dunno about backups, but I experience this problem too. (Another >> annoyance I have is accidentally hitting `C-c C-c' to tick a check box >> and having my in-progress work being moved.) It can help to use the >> `:immediate-finish' and

Re: [O] Org release_9.0 hangs

2017-01-17 Thread Stig Brautaset
Shiyuan writes: > Hi all, > I am using emacs 24.5 (shipped with Ubuntu 16.04 LTS). When I try to > switch to org release 9.0 from git repos, emacs hangs when starting up, I don't know about tracking down, but I've not experienced any hangs since I turned off the element

Re: [O] Export to pdf when path name has ~

2016-09-01 Thread Stig Brautaset
Stig Brautaset <s...@brautaset.org> writes: > Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: >>> Fabulous. I wanted to test it, but even though I think I have the latest >>> Org I can't get this to work. =M-x org-version= says: >>> >>>

Re: [O] using rgrep, ag, etc in folded org files?

2016-09-13 Thread Stig Brautaset
Clément Pit--Claudel writes: > On 2016-09-12 11:36, Aaron Ecay wrote: >> (Arguably this hook function should be added to org-mode, if enough >> people find it useful). > > That would be brilliant. Adding my +1 to this, particularly if that would expand stuff in ediff

[O] [ANN] ob-applescript

2016-09-16 Thread Stig Brautaset
I've just made `ob-applescript', a backend to execute AppleScript from Org Babel source code blocks available on Melpa. It's my first attempt at making a babel backend, so any comments and criticism welcome. Here are some things it does support though: - No arguments, no code – just return a

Re: [O] Misc. questions

2016-10-04 Thread Stig Brautaset
ble RET org-export-backends I'm afraid I can't help with the remaining questions. Stig -- : Stig Brautaset, GNU Emacs 25.1.1, Org-mode version 8.3.6

Re: [O] is it possible to reuse a capture template expansion?

2016-10-04 Thread Stig Brautaset
Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: > Hello, > > Stig Brautaset <s...@brautaset.org> writes: > >> I've got a capture template where I want to prompt for a string and use >> it in two places, but I end up being prompted twice. [...] > You can

[O] is it possible to reuse a capture template expansion?

2016-10-04 Thread Stig Brautaset
%^{Title} Blog post : #+begin_html : --- : title: %^{Title} : layout: post : abstract: %^{Abstract} : --- : #+end_html : : %^{Abstract} : : %? Stig -- : Stig Brautaset, GNU Emacs 25.1.1, Org-mode version 8.3.6

Re: [O] [RFC] Change visibility for bracket links

2016-10-21 Thread Stig Brautaset
Clément Pit--Claudel writes: > On 2016-10-13 08:30, Nicolas Goaziou wrote: >> I understand what `prettify-symbols-mode' is. My real problem is >> understanding how it can help with links in Org. In particular, I'd like >> to see it, or any other mechanism, turn >> >>

[O] [PATCH] Clarify documentation for the %\1, .., %\N template expansion

2016-10-18 Thread Stig Brautaset
Hello! I failed to understand this part of the template expansion, and I'm hoping you will consider this an improvement. I mistook the %\n for a newline and glossed over the description. I'm hoping this makes it clearer that it's a sequence of placeholders. I haven't signed the CLA, but I'm

Re: [O] renumber/resort footnotes?

2016-11-16 Thread Stig Brautaset
Hi Sharon, Sharon Kimble writes: > How can I renumber or resort my footnotes please? =C-u C-c C-x f= (=org-footnote-action=) offers an action to sort footnotes, in the footnotes section. You can also re-number them throughout the document from here. Stig

Re: [O] Org mode osx

2016-11-11 Thread Stig Brautaset
Matthew Pritchard writes: > Does anyone know if org mode is pre installed on OS X or not. Yes, but it's /very/ old: : GNU Emacs 22.1.1 (mac-apple-darwin) of 2016-10-14 on osx314.apple.com : Org-mode version 4.67c It's trivial to install Emacs + Org mode on OS X though. You can get a DMG here,

[O] trying to automatically refresh inline images after org-babel-execute:ditaa

2016-10-11 Thread Stig Brautaset
When hitting =C-c C-c= in a =#+begin_src ditaa= block I *do* get my sage advice printed to *Messages*, but inline images just blinks out of existence. Is the image overlay removed at a higher level? Any advice (hah!) welcome. Stig -- : Stig Brautaset, GNU Emacs 25.1.1, Org-mode version 8.3.6

[O] Blogging with Orgmode + Jekyll on GitHub Pages?

2016-10-13 Thread Stig Brautaset
Hi All, I made a PR to add the https://github.com/eggcaker/jekyll-org plugin to GitHub Pages' whitelist, allowing people to use Orgmode style posts with GitHub Pages without checking in generated HTML documents. If this sounds like something you would be interested in, head over to

Re: [O] writing letters using the latex letters class?

2016-12-08 Thread Stig Brautaset
Sebastian Christ writes: On 2016-12-08 0:46, Stig Brautaset <s...@brautaset.org> wrote: > That at least got me past the "Unknow LaTeX class 'letter'" > error, > but it doesn't produce a nice letter. I only get my lorem > ipsum > text. I can't figure o

Re: [O] writing letters using the latex letters class?

2016-12-08 Thread Stig Brautaset
Sebastian Christ writes: You need to load `ox-koma-letter' and make sure you're not using the latex exporter. For letters there is (after loading `ox-koma-letter' of course) a separate koma exporter. Doh! I used the latex exporter. Thanks, I'll give koma another try :-) Stig

Re: [O] writing letters using the latex letters class?

2016-12-08 Thread Stig Brautaset
Eric S Fraga writes: Stig, maybe post an ECM? Koma letters work fine with me with org 9. I just tried. Yeah, this is a bit embarrassing but it works fine here too now that I use the koma exporter rather than the latex one as Sebastian pointed out... Stig

[O] trying to fix link in worg faq

2016-12-14 Thread Stig Brautaset
Hi, I tried to fix the link to the "agenda-optimization" article in in worg's FAQ, but it didn't make much of a difference. My commit was: http://orgmode.org/cgit.cgi/worg.git/commit/?id=1e9e6a336eb28a705dd61f205378dc19f73f5ad5 For your convenience the content of that is: diff --git

[O] agenda hangs with Org 9

2016-12-08 Thread Stig Brautaset
Hi, After upgrading to Org 9 I am experiencing hangs in agenda, particularly after refiling. I've got only one Agenda file, though it is quite big: : Region has 1185 lines, 5887 words, and 41293 characters. I've activated `debug-on-quit' and capturing some stack traces. I'm afraid they

[O] writing letters using the latex letters class?

2016-12-07 Thread Stig Brautaset
I've tried to get a simple letter to export to PDF using the latex letters class, but I can't get it to work in any satisfactory way. I want to get something like the following generated: , | \documentclass{letter} | \signature{Sender McSenderface} | | \address{My address \\ My town \\

[O] refiling from capture dialogue demoting subsequent heading

2017-01-15 Thread Stig Brautaset
Hi, I've found a couple times that some of my top-level sections have been demoted one level. From my git history (I do a commit for each save in Agenda) it looks like this has happened when refiling to a particular section directly from the capture session. The demoted section is the top-level

Re: [O] Emacs hangs sometimes for no reason

2017-01-15 Thread Stig Brautaset
Stig Brautaset <s...@brautaset.org> writes: > Eric S Fraga <e.fr...@ucl.ac.uk> writes: > >> On Saturday, 14 Jan 2017 at 18:33, Sebastian Christ wrote: >>> in the last couple weeks (perhaps months?) Emacs hangs for no specific >>> reason for me.

Re: [O] Emacs hangs sometimes for no reason

2017-01-15 Thread Stig Brautaset
Eric S Fraga writes: > On Saturday, 14 Jan 2017 at 18:33, Sebastian Christ wrote: >> in the last couple weeks (perhaps months?) Emacs hangs for no specific >> reason for me. The single constant is, that when it hangs, it hangs >> while I'm in org-mode. This occurs on multiple

Re: [O] mark as done on a previous date?

2016-12-30 Thread Stig Brautaset
Marco Wahl writes: > Hi! > >> I'm trying to use org-habit to track my habits and sometimes I don't >> get around to mark stuff as done on the day I do them. I've found two >> different functions for marking stuff as done in the past, but I can't >> get either of them to

[O] mark as done on a previous date?

2016-12-29 Thread Stig Brautaset
I'm trying to use org-habit to track my habits and sometimes I don't get around to mark stuff as done on the day I do them. I've found two different functions for marking stuff as done in the past, but I can't get either of them to work. Here are the two different approaches I found. The first

Re: [O] use-package with ox-latex

2016-12-27 Thread Stig Brautaset
Dushyant Juneja writes: > Hi all, > > I was trying to wrap ox-latex in a use-package configuration. My > use-package statement is super simple: > > (use-package ox-latex > :defer t) ox-latex is part of org, which ships with Emacs. You should be able to just use:

[O] property drawers mysteriously have become right aligned

2016-12-22 Thread Stig Brautaset
I just noticed that all my property drawers have become right-aligned, except the contents _inside_ them, which is still where it previously was. All my agenda entries now have their start/end markers right-aligned like this. (I only just learnt about org-habit.el) , | ** TODO Write

Re: [O] property drawers mysteriously have become right aligned

2016-12-22 Thread Stig Brautaset
Stig Brautaset writes: > I just noticed that all my property drawers have become > right-aligned, except the contents _inside_ them, which is still > where it previously was. All my agenda entries now have their > start/end markers right-aligned like this. (I only just learnt

Re: [O] show only top level TODO in agenda and ignore sub level TODOS in agenda?

2016-12-24 Thread Stig Brautaset
Xebar Saram writes: > Thx stig. while thats an option i would prefer to keep the actual TODOS and > not use lists for this Another option is to use a different keyword, for example "PROJECT", for things that have sub-TODOs, e.g. , | * PROJECT start writing paper | **

[O] [PATCH] Add missing require in org-test.el

2017-07-14 Thread Stig Brautaset
This is required for me to be able to run tests on master with GNU Emacs 26.0.50 on macOS. >From f8959cd59e1f9ba5b6752d3d76f042c89553c7a3 Mon Sep 17 00:00:00 2001 From: Stig Brautaset <s...@brautaset.org> Date: Fri, 14 Jul 2017 14:48:37 +0100 Subject: [PATCH] org-test: add missin

Re: [O] [PATCH] Add missing require in org-test.el

2017-07-14 Thread Stig Brautaset
Nicolas Goaziou writes: >>(require 'cl-lib) >> + (require 'cl) > > Thank you. > > Actually, the proper fix would be to replace functions not working with > (require 'cl-lib). > > Would you want to look into it? Sure! I'll try that. Stig

[O] [PATCH] use cl-lib functions rather than cl ones in org-test

2017-07-14 Thread Stig Brautaset
>From ead36e862d150e3a83d363bdead850a2e3ec281d Mon Sep 17 00:00:00 2001 From: Stig Brautaset <s...@brautaset.org> Date: Fri, 14 Jul 2017 20:43:11 +0100 Subject: [PATCH 1/3] org-test.el: use prefixed functions from cl-lib.el rather than cl.el --- testing/org-test.el | 4 ++-- 1 file c

[O] [PATCH] convert htmlize.el to use cl-lib rather than cl

2017-07-14 Thread Stig Brautaset
Did a rather mechanical translation here, but test results seems to be the same as before. Are patches like these something you're interested in? >From 68310479b615c80fb53aa112d274e2b76c0e2b70 Mon Sep 17 00:00:00 2001 From: Stig Brautaset <s...@brautaset.org> Date: Fri, 14 Jul 2017 20:49

[O] [PATCH] Use cl-lib rather than cl variants in org-drill

2017-07-14 Thread Stig Brautaset
org-drill requires only cl-lib rather than cl, so should use cl-gensym rather than gensym I believe. >From 1eef99d550e467bf4a3eaf6bdbe4d3a482f6c187 Mon Sep 17 00:00:00 2001 From: Stig Brautaset <s...@brautaset.org> Date: Fri, 14 Jul 2017 20:45:37 +0100 Subject: [PATCH 2/3] org-drill.e

[O] running tests on macOS: 4 unexpected results

2017-09-19 Thread Stig Brautaset
Running tests using the following script: , | #!/bin/sh | emacs -Q --batch \ | -L lisp/ -L testing/ -L testing/lisp -l lisp/org.el \ | -l lisp/org-id.el -l testing/org-test.el \ | --eval "(progn (org-reload) (setq org-confirm-babel-evaluate nil) \ |

[O] [PATCH] org-columns-summary-types entries can take COLLECT function

2017-09-08 Thread Stig Brautaset
added a couple simple tests, which pass, but the test immediately above the two I added fails when this patch is applied; I haven't been able to figure out why. Any help appreciated. Comments / feedback welcome :-) >From 749c90afad4908cda5a4d2d6c93f2049860e2c4d Mon Sep 17 00:00:00 2001 From: S

[O] duplicated test names... are these bugs?

2017-09-07 Thread Stig Brautaset
Hello! Running tests on master for me, with make test, results in a single test failure in `ob-shell/bash-uses-assoc-arrays'. While looking into that I found that there are _two_ definitions of that in the test-ob-shell.el file. This strikes me as unlikely to be ideal, and I decided to look a

[O] Conditional summing in column-mode?

2017-08-24 Thread Stig Brautaset
I have the following column-mode defined in =~/org/Holidays.org=: #+BEGIN_SRC org ,#+COLUMNS: %TIMESTAMP(When) %ITEM(What) %CONFIRMED(Confirmed?){X/} %DAYS(Days){+} ,#+Confirmed_ALL: "[ ]" "[X]" ,#+TODO: TODO | DONE CANCELLED #+END_SRC Is it possible to have the =%DAYS(Days){+}= part

Re: [O] Conditional summing in column-mode?

2017-08-28 Thread Stig Brautaset
Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: > Stig Brautaset <s...@brautaset.org> writes: > >> However, I would like to add an advice around =org-columns-compute-all= >> to run the =sb/org-map-confirmed-days= function, and this I have not >>

Re: [O] Conditional summing in column-mode?

2017-08-25 Thread Stig Brautaset
Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: > Hello, > > Stig Brautaset <s...@brautaset.org> writes: > >> I have the following column-mode defined in =~/org/Holidays.org=: >> >> #+BEGIN_SRC org >> ,#+COLUMNS: %TIMESTAMP(When) %ITEM

Re: [O] Conditional summing in column-mode?

2017-08-31 Thread Stig Brautaset
Nicolas Goaziou writes: >> Is there a hook I can use that is called before the property values >> are extracted? (I wasn't able to find one.) > > There isn't. > > But here is an idea: `org-columns-summary-types' could also accept > entries like: > > (LABEL SUMMARIZE

[O] Confusing interaction when typing leading * for headings when org-hide-emphasis-markers is on

2017-11-25 Thread Stig Brautaset
Hello, I've got =(setq org-hide-emphasis-markers t)= in my config, and it's mostly great but it does confuse me when I manually start sub-sub headings. (Which perhaps is a silly thing to do, but getting over muscle memory is hard to change.) After typing the third =*= (and on any subsequent

Re: [O] Ediff org files starts folded

2017-11-02 Thread Stig Brautaset
Oleh Krehel writes: > Here's what I use: > > (defun ora-ediff-prepare-buffer () > (when (memq major-mode '(org-mode emacs-lisp-mode)) > (outline-show-all))) > > (add-hook 'ediff-prepare-buffer-hook 'ora-ediff-prepare-buffer) Thank you! This works very well for me.

[O] Task repeat every weekday?

2019-01-23 Thread Stig Brautaset
Hi! I have some work tasks that I need to get into the habit of doing every day. (Reviewing PRs / Jira, ...) Currently I do this with a calendar-style repeater, like so: , | * Recurring Tasks | ** Review PRs |:LOGBOOK: |:END: |<%%(sb/weekday-p date)> | |-

Re: [O] Making an agenda that includes scheduled-for-later tasks?

2019-01-25 Thread Stig Brautaset
Leo Gaspard writes: > Hello all! > > I am trying to make an agenda view of all tasks that don't have the > :Effort: property set, including tasks that are scheduled for later. > > My init.el files includes the following lines (of interest is the "E" > agenda): > ``` > (setq

Re: [O] [PATCH] Add feature to org-drill to auto pronounce word

2019-02-01 Thread Stig Brautaset
stardiviner writes: [...] > @@ -1486,7 +1521,7 @@ the current topic." > (funcall test)) > (hide-subtree)) > (push (point) drill-sections))) > - "" 'tree)) > + nil 'tree)) > (reverse drill-sections))) Could we have this part

Re: [O] Bug: org-map-drill-entries fails in org-tags-expand on empty string

2019-02-01 Thread Stig Brautaset
Robert Irelan writes: > Patch to fix attached. I can confirm that this patch is required to make `org-drill' work for me in Org 9.2 Regards, Stig > From a3af9004fbc5a8a86ba8f990d393403ec671f9bf Mon Sep 17 00:00:00 2001 > From: Robert Irelan > Date: Wed, 23 Jan 2019 11:11:14 -0800 >

Re: [O] org-drill futures

2019-06-18 Thread Stig Brautaset
>> phillip.l...@russet.org.uk (Phillip Lord) writes: >> >>> I've launched an fork of org-drill. I have tried to reach Paul Sexton, >>> the original author, and had some feedback (he was happy for my take >>> over), but not managed to get the repository moved. >>> >>>

Re: [O] Coloured source code examples in --batch exports?

2019-06-13 Thread Stig Brautaset
Nick Dokos writes: > Stig Brautaset writes: > >> ... >> Adding a ~--batch~ flag to the command makes the command run on >> CircleCI, but I get a less colourful (and less pleasing) result. The >> markup appears to only use /italic/ and *bold* styles now. >> &

[O] Coloured source code examples in --batch exports?

2019-06-13 Thread Stig Brautaset
Consider a file =foo.org= with the following content: #+begin_src org :tangle foo.org ,#+begin_src emacs-lisp (defun foo (a b c) "A metasyntactic function that doesn't do much." (interactive) (message "foo")) ,#+end_src #+end_src I can export that to HTML and get a nicely

Re: [O] org-drill futures

2019-06-19 Thread Stig Brautaset
phillip.l...@russet.org.uk (Phillip Lord) writes: >> To that end I've created a branch[1] for adding your fork to MELPA. >> Based on your previous messages in this thread, I assume I have your >> permission to submit a PR? Or is there a good reason to wait with this >> for the moment? > > I

Re: [O] RFC: changes to the way prefix arguments work for the command org-todo

2019-08-13 Thread Stig Brautaset
Carsten Dominik writes: > 3. I want to make `C-u C-c C-t' to switch the TODO state and force logging > a time stamp and taking a note. I am already using that functionality (now > harder to access, on `C-u C-u C-u C-c C-t'), I find it very natural and I > think it is often better than

Re: [O] org-id fixups and minor changes

2019-09-01 Thread Stig Brautaset
Hi Gustav, Gustav Wikström writes: > [...] I also wonder how common it will be to try to batch-add ID’s…? Not especially uncommon, I think. Both the org-rss and org-drill packages batch-add IDs on first use. Regards, Stig

Possible to exclude/include tags for agenda custom commands?

2020-02-12 Thread Stig Brautaset
I use Org agenda to manage both work and non-work TODOs. I tend to use the tags @home, @work. When at work I don't want to distractions from @home stuff, and vice versa. In a work context I would like an agenda view that excludes anything tagged with @home, and a list of the 5 highest priority

Re: Possible to exclude/include tags for agenda custom commands?

2020-02-13 Thread Stig Brautaset
Hi Bastien, Bastien writes: >> I can easily do this in the list of TODOs, with a tag search. However, I >> haven't figured out how to do this for the agenda. Is it possible? If >> so, how? > > From what I understand, check `org-agenda-tag-filter' to see how to > use it within an agenda custom

Best strategy for sharing agenda between two machines?

2020-02-24 Thread Stig Brautaset
Hi, I use Org mode & agenda on both my personal and work machines, in a private git repo repository. I use auto-commit and push automatically from each machine. It works alright. New items go in inbox.org, and I refile most to tasks.org, which has a structure a little like this: * Home :@home:

Re: Step by step tutorial on Worg on how to create a new export backend

2020-02-20 Thread Stig Brautaset
Bastien writes: > Then, after you commit an edited version of these instructions, maybe > Robert and Marcin can help reviewing and enhancing it to ensure it is > self-sufficient and explicit enough? I have pushed a (ever so) slightly edited version as new file in a branch to worg here:

Re: Step by step tutorial on Worg on how to create a new export backend

2020-02-16 Thread Stig Brautaset
Bastien writes: > We have a good reference documentation for creating export backends: > https://orgmode.org/worg/dev/org-export-reference.html > > But we *badly* need a step by step tutorial on Worg. > > Anyone would like to volunteer for writing such a tutorial? The primary source of

org-rss feed title is concatenation of all post titles? (ECM included)

2020-04-12 Thread Stig Brautaset
Hi, I'm using org-rss.el to generate an RSS feed for my blog. I use a separate file, ~feed.org~, which uses ~#+include:~ to source entries. This works well for each item in the feed, but not for the main feed title and feed image title, which appears to be a concatenation of the feed and all the

Re: org-rss feed title is concatenation of all post titles? (ECM included)

2020-04-12 Thread Stig Brautaset
Nicolas Goaziou writes: > Indeed. According to the manual, in (info "(org)Export settings") > > ‘TITLE’ >Org displays this title. For long titles, use multiple ‘#+TITLE’ >lines. > > Multiple TITLE keywords are concatenated to create a document title. Doh! Thanks for that. I

Re: org-rss feed title is concatenation of all post titles? (ECM included)

2020-04-13 Thread Stig Brautaset
Nicolas Goaziou writes: > Stig Brautaset writes: > >> Doh! Thanks for that. I tried working around this behaviour ~:lines >> "1-"~, to skip the included file's #+title line, but that didn't seem to >> work either. E.g. like this: >> >> : #+incl

Feature request: org-agenda-clockreport-mode to omit files with no clocked time

2020-04-26 Thread Stig Brautaset
Hello, I often end up with empty files in my org-agenda-clockreport-mode, something like this. (For the avoidance of doubt: this is an ECM ;-) ) | File | Headline | Time | | |--+--++---| | | ALL *Total time* | *0:42* | |

Re: Feature request: org-agenda-clockreport-mode to omit files with no clocked time

2020-04-26 Thread Stig Brautaset
Kyle Meyer writes: >> I often end up with empty files in my org-agenda-clockreport-mode, >> [...] >> I would have liked it to hide all the uninteresting files (i.e. files >> with no clocked time) and instead shown me: > > I haven't tried, but can you already do this via >

Re: tags-todo org-agenda-custom-command weirdness

2020-09-05 Thread Stig Brautaset
Bastien writes: > Stig Brautaset writes: >> Thank you for looking into this. I'm going to try to come up with some >> tests for the behaviour, and with the help of your references see if I >> can get those tests to pass. > > did you manage to find the time to look

Re: org table: one column of random numbers (but natural ones)

2020-05-28 Thread Stig Brautaset
>> In row 67 you would have a random integer in the range [0..67) >> f0 format removes any fractional part leaving only an integer number > > Aha thanks, a minor thing, which I thank, cannot be really done: > > Is it possible to avoid number repetition? > > So I want a random sequence of

Re: [random sorting] (was: org table: one column of random numbers (but natural ones))

2020-05-29 Thread Stig Brautaset
Uwe Brauer writes: >>>> "SB" == Stig Brautaset writes: > >>> > In row 67 you would have a random integer in the range [0..67) >>> > f0 format removes any fractional part leaving only an integer number >>> >>&

Re: tags-todo org-agenda-custom-command weirdness

2020-06-15 Thread Stig Brautaset
Kyle Meyer writes: > Stig Brautaset writes: > >> I'm seeing some weirdness with tags-todo vs tags custom agenda commands. >> Below is the smallest case I've managed to narrow it down to. I would >> *expect* that all the a1-4 commands return the same results, and that >

Re: tags-todo org-agenda-custom-command weirdness

2020-06-16 Thread Stig Brautaset
Kyle Meyer writes: > Stig Brautaset writes: > >> For me a2 and a4 returns the same, but a1 and a3 just returns TODO h2. >> However, I can reproduce what you're seeing by setting this: >> >> (setq org-agenda-todo-ignore-scheduled nil) > > So, provided you'

tags-todo org-agenda-custom-command weirdness

2020-06-13 Thread Stig Brautaset
Hi, I'm seeing some weirdness with tags-todo vs tags custom agenda commands. Below is the smallest case I've managed to narrow it down to. I would *expect* that all the a1-4 commands return the same results, and that the b1-4 return the same results. That is not what I'm seeing, however.

Re: tags-todo org-agenda-custom-command weirdness

2020-06-13 Thread Stig Brautaset
Stig Brautaset writes: > Hi, > > I'm seeing some weirdness with tags-todo vs tags custom agenda commands. I forgot to mention my Emacs / Org versions: - GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin19.4.0, NS appkit-1894.40 Version 10.15.4 (Build 19E287)) of 2020-04-18 - Org mod