Saturday, June 29, 2013

How retro can I go? Sketchnotes: visual thinking on paper.

In the possiblyUsefulFoo category

http://www.core77.com/blog/sketchnotes/sketchnotes_101_the_basics_of_visual_note-taking_19678.asp

I'm already using a 35-year-old text editor (emacs, org-mode) for most of my thinking and
writing.    Why not go even more retro?

Thursday, June 20, 2013

This is more "amusingfoo" than "usefulfoo"

Unix tool tip (@UnixToolTip) tweeted at 9:24 AM on Thu, Jun 20, 2013: Emacs unfill-paragraph and unfill-region http://t.co/Q9zXOJ86X4 (https://twitter.com/UnixToolTip/status/347706446848356353) Get the official Twitter app at https://twitter.com/download

Wednesday, June 19, 2013

Adding new Mac OSX keyboard shortcuts

No default keyboard shortcut for  "maximize window" (Zoom).  Sheesh.

And, of course, Emacs does not honor it even when defined.

http://osxdaily.com/2013/03/22/5-simple-window-management-keyboard-shortcuts-to-improve-workflow-in-mac-os-x/

Tuesday, May 21, 2013

Ediff

http://emacslife.blogspot.com/2006/12/ediff-mode-one-of-most-amazing-modes-in.html?m=1

Saturday, May 11, 2013

Deep magic from the before the dawn of time

If you ever found yourself wanting to execute a sudo(1) command from within block of shell code in a org-bable source code block on a linux system (sure, happens all the time, right?), here's the deep foo to solve the password prompting quandry:

Sylvain Rousseau | 4 Mar 2012 18:29
  
 
Re: Is it possible to run shell script src blocks as root or to export individual blocks?

Under Gnome, I'm using this at the beginning of a sh source block:

 echo -e "#! /bin/bash\n/usr/bin/gksudo -p -m Password" > /tmp/gksudo-stdout
 chmod +x /tmp/gksudo-stdout
 SUDO_ASKPASS="/tmp/gksudo-stdout" sudo -A -s


Sylvain.

http://comments.gmane.org/gmane.emacs.orgmode/52979