Org

More Improvements To My Weight Loss Org Table

More Improvements To My Weight Loss Org Table

James Dyer
More improvements to my weight loss table, this time I have added the following: The first column now auto populates an incremental integer Extra column to display the average loss #+PLOT: title:"Weight Loss" ind:1 deps:(4) type:2d with:lines set:"yrange [150:220]" | | date | stn | pnd | lss | tot | bar | av-loss | |---+------------------+-------+-----+-----+-----+----------------+---------| | 0 | <2023-08-18 Fri> | 15:5 | 215 | | | WWWWWWWWWWWWWH | | | 1 | <2023-08-25 Fri> | 14:9 | 205 | -10 | -10 | WWWWWWWWWWWV | 10.
Plotting Other Org Tables

Plotting Other Org Tables

James Dyer
I’m currently in the process of learning how to create graphical plots from org tables using gnuplot. I’ve noticed that it’s generally more straightforward to extract x-axis data from an org table column with incrementing numbers, as opposed to relying on gnuplot to potentially sort out data from an existing column (which may not be plot-friendly) Generally my existing org tables do not have such an incrementing integer column, so how do I quickly create and populate such a column?
Plotting Org Table Weight Loss Using gnuplot

Plotting Org Table Weight Loss Using gnuplot

James Dyer
Now I have a weight loss org table defined and therefore an easy way to track the total amount of weight loss each week I had an idea for an improvement with some form of a satisfying graphical representation. I have been aware of gnuplot for while now and I think this is an opportunity to give it a try through org-mode The first step is a simple (use-package gnuplot)
Org Table to Calculate Weight Loss

Org Table to Calculate Weight Loss

James Dyer
For a while now I have been using org tables to represent and calculate pieces of data, obviating the need to open up a normal spreadsheet. Recently I have been wanting to create a table to keep track of weight loss and this is what I came up with (with example weights): | date | weight | pounds | loss | total | |------------------+--------+--------+------+-------| | <2023-08-18 Fri> | 15:5 | 215 | | | | <2023-08-25 Fri> | 14:9 | 205 | -10 | -10 | | <2023-09-01 Fri> | 14:2 | 198 | -7 | -17 | | <2023-09-08 Fri> | 13:11 | 193 | -5 | -22 | #+TBLFM: $3='(convert-weight $2)::@3$4.
Porting Dolphin Context Sensitive Scripts To Thunar

Porting Dolphin Context Sensitive Scripts To Thunar

James Dyer
I have decided to switch my linux file manager from Dolphin to Thunar and this means transferring the context sensitive menus I have set up through KDE Plasma to using Thunar’s custom actions. I quickly figured out that I can just modify $HOME/.config/Thunar/uca.xml to add in new Thunar actions, so all I need to do is to firstly work out how to perform the translation from Dolphin to Thunar actions and then how to set up emacs in such a way that would get me to a quick solution.
Sorting Org Tags using Org Mode!

Sorting Org Tags using Org Mode!

James Dyer
Well as always a little more time with emacs a little feedback and then finding more about org I have now figured out (I think) how I can better sort tags in an org file. In my previous post: Sorting Org Tags I made the following comment: I had assumed that org-mode came with the built-in ability to sort tags but I couldn’t find any evidence of this Well as it turns out there is evidence of this!
Sorting Org Tags

Sorting Org Tags

James Dyer
I use a package called org-rainbow-tags which adds random colours to org tags to provide a consistent colour between identical tags. This helps to identify common tags throughout the file but has the side effect of emphasising the lack of my coherent tag ordering. I would like to order the tags consistently, just for my own peace of mind! 😀 I had assumed tkhat org-mode came with the built-in ability to sort tags but I couldn’t find any evidence of this so I decided to create a method using my own function.
Merging org files for Hugo static site

Merging org files for Hugo static site

James Dyer
I have just started the process of reducing the number of org files I maintain for my web site. I now have a greater understanding of how Hugo handles these files and I think can both simplify and make them more flexible. Hugo is my static site generator of choice and although it supports org files directly I prefer to generate to a markdown file as an intermediate step using a file by file evaluation of org-hugo-auto-export-mode.
Quick Bash Scripts Augmenting Org Files

Quick Bash Scripts Augmenting Org Files

James Dyer
This post isn’t strictly about what can be achieved within the emacs ecosystem but what can be achieved outside it while still binding to the workflow principles of org mode. I have yet to convert to any of the internal shells/terminal emulators within emacs, I have continued to Control-Alt-T (C-M-t) term my way around linux; although this is becoming less frequent due to my greater proficiency with dired As my org journey evolves I have now realised that I have two files I rely on for my quick capturing needs.
Download Local Emacs Packages

Download Local Emacs Packages

James Dyer
— TOC Local ELPA MELPA ORG Local from Mirror Extra Steps to locally download emacs packages for offline installation. Local ELPA MELPA ORG cd ~ mkdir -p emacs-pkgs/melpa mkdir -p emacs-pkgs/elpa # mirror the melpa emacs archive echo echo "updating MELPA..." echo rsync -avz --delete --progress rsync://melpa.org/packages/ ~/emacs-pkgs/melpa/. # elpa echo echo "updating ELPA..." echo rsync -avz --delete --progress elpa.gnu.org::elpa/. ~/emacs-pkgs/elpa # org (currently no rsync support) echo echo "updating ORG.