From 6ce37e4d2af9ca9512878061d23553dc833f0aaa Mon Sep 17 00:00:00 2001 From: Youngjin Han Date: Sun, 3 May 2020 19:16:06 +0900 Subject: [PATCH] Learning Circle : Lecture 1,2,3,4 Content Update --- youngjin.han/learning-node02-2020.org | 80 +++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/youngjin.han/learning-node02-2020.org b/youngjin.han/learning-node02-2020.org index 77e8a8e..b41f2ae 100644 --- a/youngjin.han/learning-node02-2020.org +++ b/youngjin.han/learning-node02-2020.org @@ -1,3 +1,83 @@ +* 2020-04-23 +*** Organisation #1: org-mode introduction +**** Lecture content +***** Install emacs +***** Install org-mode +***** Create a function that opens ~/learning.org in your ~/.emacs +***** Bind that function to "f3" (configure it in .emacs) +***** Create a new item named "2020-04-10" +****** Create a sub item "ungleich learning circle" +* 2020-04-24 +*** Organisation #2: Creating, managing and sharing with "magit" +**** Lecture content +***** Install "magit" for emacs +***** Bind C-x g to open magit-status in ~/.emacs +***** Create a new directory ~/ungleich-learning-circle/ (with emacs) +****** Use C-h b in dired mode to find out how to +***** Create a sub directory ~/ungleich-learning-circle/YOURNAME/ (with emacs) +***** Move your previously created learning.org file into ~/ungleich-learning-circle/YOURNAME/ (with emacs) +***** Initialise it with git (with magit) +***** Create the repo "ungleich-learning-circle" on code.ungleich.ch under your username +***** Add your remote on code.ungleich.ch to your local git repo with magit +***** Push your repo +***** Add a new remote of a another participant +***** Move your ~/learning.org to ~/notes +***** Commit that file with magit +***** Push the repo with magit +***** Merging the remote repo with the command line +***** End result: everyone has everything of everyone else +* 2020-04-27 +*** Organisation #3: Managing your emails +**** Lecture content +***** Objective +****** Be able to manage all your mails in mu4e +***** Description +****** All email is synchronised using isync/mbsync +****** Email is indexed with mu (xapian backend) +****** Email is viewed in mu4e +****** All new emails arrive in the inbox +***** Steps +****** Install mu4e +****** Start mu4e in emacs +****** Configure mbsync for your ungleich mail account +******* Synchronise all mails into ~/Maildir/ungleich +******* This structure leaves room for other mail accounts, like ~/Maildir/gmail +****** Verify that mbsync synchronises the mail +****** Index mails using `mu` on the command line (only first time) +****** Configure mu4e to get email with mbsync -a +****** Configure mu4e to "archive" emails into ~/Maildir/ungleich/YEAR/ +******* This gives you a good performance / organisation for the next decades +****** Configure mu4e/emacs for sending emails +****** Send other participants an email via mu4e +****** Verify that it arrives +****** "Archive" it afterwards +* 2020-04-29 +*** Organisation #4: Organising yourself +**** Lecture content +***** Objective: have a todo list based on org mode +***** Steps +****** Configure the "org-directory" to be ~/ungleich-learning-circle/USERNAME/ +******* This is important as it will be used by the todo function later +****** Extend your function from the organisation #1 session +******* Instead of opening a fixed file, we include two variable parts: +******** The hostname of the machine +******** The year +******* Pressing F3 should open ~/ungleich-learning-circle/USERNAME/learning-$(hostname)-$(year).org +******** we call this "your personal agenda" +****** Configure mu4e to create a org-mode tasks from an email +******* Store these tasks in ~/ungleich-learning-circle/USERNAME/todo.org +****** Configure emacs to open the "org-agenda" with "C-c a" +****** List all TODO entries +****** List the agenda of the day +****** List the agenda of the week +****** Bind F8 to open the "org-todo-list" +****** Create some sample tasks in it +***** From now on, maintaining tasks should be +****** Pressing F3 to open your personal "logfile" +****** Adding a TODO item +****** Pressing F8 to see the tasks with priorities +***** Bonus tasks +****** Configure mu4e to store org-mode tasks in .../todo-$(hostname)-$(year).org * 2020-05-01 *** Organisation #5: Emacs refresher **** Lecture content