News for hackers. Stuff that matters.
Re:Always Be Journaling (2018) by jsilence on Tuesday March 03, 2020 @02:12PM (#22477743)
On my I3 window manager I start emacs in a hidden floating window that I can bring to front with a one handed hotkey (Super-< is very convenient in my keyboard layout).

Then I use org-modes org-capture to either capture into journal.org multiple times daily or notes.org when having interesting ideas.

I use org-rifle to search through the journal and notes.

The files are synced between devices via owncloud.

Re:Always Be Journaling (2018) by richard78459 on Wednesday March 04, 2020 @05:49AM (#22482703)
Is the hidden floating window better than having emacs in a permanent workspace ? What are your thoughts ?
Re:Always Be Journaling (2018) by Naac on Tuesday March 03, 2020 @05:06PM (#22479167)
Can you explain more about your setup?

What if you're in a different workspace? Does the floating hidden emacs window follow you across workspaces?

Re:Always Be Journaling (2018) by jsilence on Wednesday March 04, 2020 @08:08AM (#22483405)
Yes, the floating hidden window always pops up on whatever workspace I am currently working on.

I thought about automatically hiding it, when switching to another workspace, but have not yet come around doing this.

I use a simple script to start emacs in case I accidentally close it:

  i3-msg 'exec emacs -name emacs-server' 
  i3-msg  \[instance=\"emacs-server\"\] move scratchpad;
  i3-msg  \[instance=\"emacs-server\"\] floating enable;
  sleep 1
  i3-msg  \[instance=\"emacs-server\"\] scratchpad show;
  i3-msg  \[instance=\"emacs-server\"\] move position 450px 0px;
  i3-msg  \[instance=\"emacs-server\"\] resize set 950 100 ppt
  i3-msg  \[instance=\"emacs-server\"\] scratchpad show;
The i3 config portion additionally has the key binding:

  bindsym $mod+less [instance="emacs-server"] scratchpad show