Xah Emacs Blog Archive 2015-02 to 2015-02

Windows: Keyboard Layout Tools, Key Macro Tools (minor update)

new photos. Logitech G710+ Keyboard

word/letter frequency, key chord design

2 very interesting articles related to word/letter frequency, in particular, for the purposes of creating abbrevs, or key chords.

[• English Letter Frequency Counts: Mayzner Revisited or ETAOIN SRHLDCU By Peter Norvig. At http://norvig.com/mayzner.html , Accessed on 2015-02-21 ]

[• Rare letter combinations and key chords By John D Cook. At http://www.johndcook.com/blog/2015/02/01/rare-bigrams/ , Accessed on 2015-02-21 ]

see also: [• Using Emacs to figure out where I need to improve in order to type faster By Sacha Chua. At http://sachachua.com/blog/2013/09/using-emacs-to-figure-out-where-i-need-to-improve-in-order-to-type-faster/ , Accessed on 2013-09-30 ]

see also Keyboard Layout Design ⌨

new, as promised. Emacs: Org Mode, Programing Language Code Markup

Also updated all org mode tutorials:

New version of emacs tutorial is out. Long overdue. Buy it, thanks. Buy Xah Emacs Tutorial.

if you already got it, you'll get a update thru email.

Keyboard RSI: 《Biomechanics of the Upper Limbs: Mechanics, Modeling and Musculoskeletal Injuries》. See bottom: Computer Keyboard Design Flaws

History of Emacs and vi Keys (Keyboard Influence on Keybinding Design) (minor update)

new: Emacs: Org Mode Markup Cheatsheet

jbm has written a review comparing ergodox, truly ergonomic keyboard, and the new esrille. See bottom: Esrille New Keyboard (M-Type and TRON) from Japan

Elisp: Command to Change Earth-Coordinate to Google Map Link (minor update)

emacs org babel: elisp and clojure always session, ruby session require inf-ruby, python is good properly support session and no-session

Emacs: Delete Current File (minor update)

Emacs Lisp Examples (minor update)

Emacs: Select Line, between Quotes, Extend Selection (Major update. Removed relying on the painful emacs syntax table. Back to simple text based search.)

Emacs Org Mode Bable bug. For emacs lisp, session is always on

* test session; no session

#+BEGIN_SRC emacs-lisp :exports both
(setq x 3)
#+END_SRC

#+RESULTS:
: 3

#+BEGIN_SRC emacs-lisp :exports both
(+ 2 x)
#+END_SRC

#+RESULTS:
: 5

save the above as session-test.org, then open it, M-x org-mode. Move cursor to the elisp code block, press C-c C-c to eval. Repeat for the second block.

The expected result for second block should be error of unknown variable x.

Emacs: Clean Empty Lines (minor update)

Keybinding Science: Emacs C-u vs Prompt

Emacs: Interactive Abbrev (minor update)

Emacs: Convert English/Chinese Punctuations (minor, updated code)

Elisp: Twitterfy

Emacs: Stop Cursor Going into Minibuffer Prompt (repost)

emacs: xah fly keys, harmless key maps

Global Bindings Starting With <menu> n:
key             binding
---             -------

<menu> n RET    Prefix Command
<menu> n SPC    Prefix Command
<menu> n 0      shell-command-on-region
<menu> n 1      set-input-method
<menu> n 2      global-hl-line-mode
<menu> n 3      whitespace-mode
<menu> n 4      linum-mode
<menu> n 5      visual-line-mode
<menu> n 6      calendar
<menu> n 7      calc
<menu> n 8      shell
<menu> n 9      shell-command
<menu> n a      text-scale-adjust
<menu> n b      toggle-debug-on-error
<menu> n c      toggle-case-fold-search
<menu> n d      narrow-to-page
<menu> n e      eshell
<menu> n f      Prefix Command
<menu> n g      toggle-frame-fullscreen
<menu> n h      widen
<menu> n i      make-frame-command
<menu> n n      narrow-to-region
<menu> n r      read-only-mode
<menu> n s      flyspell-buffer
<menu> n t      narrow-to-defun
<menu> n u      menu-bar-open
<menu> n w      eww

<menu> n SPC h  xah-toggle-read-novel-mode
<menu> n SPC n  xah-toggle-line-spacing
<menu> n SPC t  xah-toggle-margin-right

<menu> n f C-f  find-file-other-frame
<menu> n f C-o  display-buffer-other-frame
<menu> n f .    find-tag-other-frame
<menu> n f 0    delete-frame
<menu> n f 1    delete-other-frames
<menu> n f 2    make-frame-command
<menu> n f b    switch-to-buffer-other-frame
<menu> n f d    dired-other-frame
<menu> n f f    find-file-other-frame
<menu> n f m    compose-mail-other-frame
<menu> n f o    other-frame
<menu> n f r    find-file-read-only-other-frame

<menu> n RET F  set-file-name-coding-system
<menu> n RET X  set-next-selection-coding-system
<menu> n RET c  universal-coding-system-argument
<menu> n RET f  set-buffer-file-coding-system
<menu> n RET k  set-keyboard-coding-system
<menu> n RET l  set-language-environment
<menu> n RET p  set-buffer-process-coding-system
<menu> n RET r  revert-buffer-with-coding-system
<menu> n RET t  set-terminal-coding-system
<menu> n RET x  set-selection-coding-system

These are keys starting with 【▤ Menu n】 from xah fly keys. This key set is for commands that are “harmless” — even if called accidentally. They usually do prompt or do some display changes, and never edit anything.

the Esrille keyboard can be ordered now outside Japan. See its home page: http://www.esrille.com/keyboard/. My review at: Esrille New Keyboard (M-Type and TRON) from Japan

Like my tutorial? Put $5 at patreon

Or Buy Xah Emacs Tutorial

Or buy a nice keyboard: Best Keyboard for Emacs

Ask me question on patreon