New answers tagged

3

Convert the date strings to time values, then use time-less-p to compare the time values. C-h f time-less-p: time-less-p is a built-in function in ‘C source code’. (time-less-p T1 T2) Return non-nil if time value T1 is earlier than time value T2. A nil value for either argument stands for the current time. See current-time-string for the various forms of a ...


2

I've found a solution. It's acceptable for me. I don't know if it's useful for you. Anyway I'm sharing it. I changed the format a bit (one column for the times, not two), I think it is more practical. Example: Workflow for a day: | work | workflow | single durations | sum | |------+------------------------------------+--------------...


0

(In case someone wants the sorting, without the column, the built-in s v will sort by "recency" and should (roughly, see below) do the trick.) I wanted something like this as well, so I put the above comments to work. First create the actual column, via define-ibuffer-column. buffer-display-time is a local variable, hence with-current-buffer sets ...


0

I'll hazard a guess what you mean and show one simple way of getting answers to your problem in an org-mode buffer. Put your statement dates in an org-mode table like below. The dates have to be in a format that org-mode recognises. Here they are inactive dates without time string. Place the cursor in the formula line under the table and press C-c C-c to ...


0

[Partial answer: how to get the information and turn it into a string. What it does not do (yet?) is add it to the modeline; but I believe (untested and therefore maybe baseless) that this is fundamentally sound] The following function can be used e.g. in the find-file-hook to retrieve the information needed and turn it into a string - it only does it for ...


Top 50 recent answers are included