Xah Emacs Blog Archive 2014-03 to 2014-03
Emacs: Change Minor Mode Keys (minor update)
〔learn the Dvorak keyboard layout, part 1 By Casey Johnston. @ http://arstechnica.com/gadgets/2014/03/my-quest-to-learn-the-dvorak-keyboard-layout-part-1/〕
glad i got it over 20 years ago.
Vibrant Keyboard Scene: Sweet Dreams DIY Keyboard ⌨
updated: Emacs: How to Set Mouse Buttons. Shows you how to define mouse buttons, wheel, and how to make commands act on clicked point.
Highlight Words by Mouse Click
with emacs 24.4, you can make mouse right-click to highlight all clicked name. So, you can keep click around. For the elisp code, see updated at: Emacs: Search / Highlight Words (thx to Jacek Wysocki for asking)
the best PC form keyboard is this Logitech G710+ Mechanical Keyboard (updated) If you don't like weird ergonomic shaped keyboard, get this.
emacs 24.4 has unique buffer names. See: Emacs 24.4 New Features (released 2014-10)
all your key needs. List of Programable Keypads (updated)
the IBM Model M type 3192-G keyboard, 1985, a keyboard that doesn't have Ctrl key. See in Do Terminals Have Control at Capslock Position? (updated.)
Emacs: Convert Image Files in Dired (updated)
How to save text selection to file?
got asked this. In vi, you can
:n,m w new_file_name. In emacs, you call
write-region, see (info "(elisp) Writing to Files")
emacs 24.4 feature: save/restore Windows Configuration. Emacs: Save/Restore Opened Files, Windows Configuration: desktop-mode
old article. Emacs: Using Bookmark Feature. minor update.
Emacs: Delete Current File (updated)
new version of emacs tutorial. Buy Xah Emacs Tutorial.
tweet, repost, share, buy. Thank you.
Emacs Images Thumbnails Index (regular update)
Emacs Mismatch Chinese/Western Parenthesis
noticed today, if you have a pair of parens, and the first one is Chinese paren, and the second a western paren, emacs will match ＆ highlight them.
steps to reproduce:
insert-char【Ctrl+x 8 Enter ↵】
show-paren-modeto turn it on (if turned off, call again)
- place your cursor on the opening paren.
- you'll see that they are highlighted as a matching pair.
bug or feature?
Emacs Screen Tour: Dan Lentz's Emacs Screen
previous screen articles are put into a page by themselfs:
emacs 24.4 feature, Emacs: Search Current Word
How to Create a APL or Math Symbols Keyboard Layout ⌨ (minor update)
How to Edit Lisp Code with Emacs's builtin features (minor update)
Emacs 24.4, Pretty Lambda λ But No Pretty Form Feed ^L
Emacs 24.4 included the Pretty Lambda λ mode. But it didn't include the more practical pretty form feed ^L mode. 〔➤see Emacs: Show Form Feed (^L) as Line〕. Send a bug report to gnu. M-x
you probably already knew all this, but Emacs: How to Define Keys is the most useful tip for emacs.
minor correction. The link to Google Plus emacs community is this: Google Plus emacs community. I got it wrong in my earlier post today.
Emacs Screen Tour: Emacs Oldbie Nick Alcock
Emacs Form Feed (^L) Page Marker (minor update)
another emacs meetup, this one at St. Louis, MO, USA, on Mon Mar 17, 6:30 PM, hosted by Deech. See: http://www.meetup.com/St-Louis-Emacs-User-Group/
Emacs Meetup in London
well-known emacs hacker Nic Ferrier, is hosting a emacs meetup in London.
London Emacs meetup http://www.meetup.com/London-Emacs-Hacking/events/169644642/, come along if you can. Only 30 slots!
Show Your Emacs Screen
A correction to yesterday's post.
auto-revert-mode is local to current file. To turn on globally, use
Emacs: Set Font by Major Mode, Switch Fonts by Command (minor update)
emacs “company-mode”, a name completion framework. I heard many good things about it. Haven't used it myself. You might try it. It's at: http://company-mode.github.io/
emacs auto-revert-mode, due to magit-mode
auto-revert-mode in past month. Pretty good. It automatically update buffer when file on disk changed (by some other program or editor)
not sure why it's on. I looked at my init files but it's not there. Must be some packages that turned it on, but not sure what. Maybe magit-mode did it, since i recall upgrading it. A web search confirmed it. (https://groups.google.com/forum/#!topic/magit/shCpTvyyygI) Magit did this sometimes in Feb.
i'll let it sit for a while.
i did notice that some buffers don't auto revert, but after reading the magit change discussion, it seems magit turned it on only for files under git.
so, for better global experience, better turn it on globally.
Emacs: Let's Kill Texinfo
ESR, the ever trouble maker, wrote a blog about his successful push for GNU emacs dev to use git. 〔Dragging Emacs forward By ESR. @ http://esr.ibiblio.org/?p=5211〕
he also mentioned, the possibility to kill Texinfo.
it should've been dead since 2007.
in general, GNU and the Open Source have like a 5 to 10 years lag in adopting technology, for reasons that are inadvertently intentional and or simply incapable.
Emacs: Sync Environment Variable from Shell
thanks to samhalicke's comment at Emacs: Set Environment Variables within Emacs#comment-1268323059
This emacs package will sync your shell's environment variables on Mac OS X when you started emacs from GUI. https://github.com/purcell/exec-path-from-shell (it doesn't seem to work for Microsoft Windows, as i see no code dealing with registry. 〔➤see Microsoft Windows Registry Tutorial〕)
much keyboard updates.
xfq mentioned that by default, emacs will tally abbrev expansion. See his comment at Emacs: Abbrev Mode Tutorial#comment-1266520734.
i didn't know that. The abbrev tutorial i gave basically thwarted that. Thanks to xfq.
Starting Ask Emacs again, now on weekend. post your questions at comment at Ask Emacs 2014-03-01
think am going to get this one. 250 hours wireless, plus some 11 programable buttons. Logitech G602 Wireless Gaming Mouse
or, buy something from my keyboard store.