Profile

Cover photo
1,848 followers|1,568,598 views
AboutPostsPhotosVideos

Stream

ErgoEmacs

Shared publicly  - 
This page is a tutorial on managing buffers in emacs. In emacs, every file is shown in a “buffer”. Emacs's “buffer” is similar to “tabbed window”. It basically means a single window is used to represent several different files, but only one is shown. The 2 primary commands to manage buffer are: ...
1
Add a comment...

ErgoEmacs

Customization  - 
 
#emacs a new comand to sort dired listing by time, size, in dired http://ergoemacs.org/emacs/dired_sort.html
Here's a emacs command that lets you sort dired file listing by any {time, date, size, name}. (defun xah-dired-sort () "Sort dired dir listing in different ways. Prompt for a choice. URL `file:///home/xah/web/ergoemacs_org/emacs/dired_sort.html' Version 2015-07-30" (interactive) (let (ξsort-by ...
7
ErgoEmacs's profile photo
 
not tested on Mac or Windows. please let me know how it goes.
Add a comment...

ErgoEmacs

Shared publicly  - 
 
new version of printed GNU #emacs #lisp reference manual, and which chapter to read. http://ergoemacs.org/emacs/blog.html
GNU emacs lisp reference manual, for emacs 24.5. 〔photo By Jules L White〕 amazon. There's a new hard-printed edition of GNU emacs lisp reference manual, for emacs 24.5. amazon. The elisp manual is also online at https://www.gnu.org/software/emacs/manual/elisp.html ...
7
Nick Alcock's profile photo
 
I'm tempted to buy it just for that lovely cover illustration.
Add a comment...

ErgoEmacs

Shared publicly  - 
 
Logitech G910 Keyboard. Romer-g switch. http://xahlee.info/kbd/logitech_g910_keyboard.html
5
Moe Bius's profile photoErgoEmacs's profile photoNick Alcock's profile photo
6 comments
 
+ErgoEmacs, that was exactly what I was thinking. Heck, we could light up the keys in colours depending on continuously-measured frequency-of-use-by-major-mode and based on whether they are major-mode, minor-mode or global keys :)
Add a comment...

ErgoEmacs

Shared publicly  - 
 
emacs lisp command to HTML markup ruby http://ergoemacs.org/emacs/blog.html
4
Add a comment...

ErgoEmacs

Announcements  - 
 
keyboardio will be in San Francisco, Monday night. If you want to touch it, register now.
https://www.eventbrite.com/e/meet-the-keyboardio-model-01-san-francisco-tickets-17316336629
(PS i'm not affiliated with keyboardio in anyway)
TL;DR:  Come meet the Keyboardio Model 01, and hang out with its creators too. As we've been building what's become the Model 01, we've talked to hundreds of you online, at conferences, and at festivals. It's been amazing to watch folks suddenly "get it" as they put their hands on a Model 01 in person for the first time. We'll have a few Model 01 prototypes with us for you to try out, as well as a deconstructed Model 01 and a few earlier prototyp...
6
Add a comment...
In their circles
1,342 people
Have them in circles
1,848 people
고준's profile photo
Random Geek's profile photo
Mira HÉDL's profile photo
Eric Finster's profile photo
Zheng Simon's profile photo
James Dalessio's profile photo
Alexander Gallego's profile photo
Mathias Dahl's profile photo
Volker Baier's profile photo

ErgoEmacs

Shared publicly  - 
 
#Emacs Convert Straight/Curly Quotes. (fixed a bug) http://ergoemacs.org/emacs/elisp_straight_curly_quotes.html
Here's a command to convert straight quote to curly quotes. (require 'xah-get-thing) (defun xah-replace-straight-quotes (φbegin φend) "Replace straight double quotes to curly ones, and others. Works on current text selection, else the current text block between empty lines.
1
Add a comment...

ErgoEmacs

Shared publicly  - 
Here's a command to turn a word or phrase into a HTML link to Wikipedia. (defun xah-html-word-to-wikipedia-linkify () "Make the current word or text selection into a Wikipedia link. For Example: Emacs becomes Emacs URL ...
1
Add a comment...

ErgoEmacs

Shared publicly  - 
 
if you have a emacs or elisp question, ask me. post. I answer when am back in 4 hours.

any q is good q. Got some issue about emacs/lisp you never quite understand but didn't have time to lookup? I'll lookup for you.
2
Moe Bius's profile photoEpo Jemba's profile photoJohn Maxwell's profile photoXah Lee's profile photo
5 comments
Xah Lee
+
1
2
1
 
+John Maxwell i think the current effort emphasize that it about providing elisp interpreter, not replacing elisp as emacs's lang. I recall reading the Guide people clarifying this issue recently (last year or so).
If i recall correctly, the main debate, after assuming this, is whether Guile is robust enough.
Add a comment...

ErgoEmacs

Shared publicly  - 
Here's emacs command that convert file line endings (Linux, Microsoft Windows, Mac OS 9), on current file, or marked files in dired in batch. (defun xah-change-file-line-ending-style (φfile-list φline-ending-style) "Change current file or dired marked file's newline convention.
2
Add a comment...

ErgoEmacs

Shared publicly  - 
 
#emacs another story of programer Repetitive Strain Injury. Not funny. http://ergoemacs.org/emacs/blog.html
Programer Repetitive Strain Injury. every month, i see stories of programer Repetitive Strain Injury. Here's another one i ran into today. 〔 My Experience with Repetitive Strain Injury (RSI) 2015-07-19 By Yi Tang. @ http://blog.yitang.uk/2015/07/19/repetitive-strain-injury/〕 ...
2
Add a comment...

ErgoEmacs

Shared publicly  - 
This page shows you how to write a emacs lisp command to backup copy the current file. Here's a simple command to backup the current file. (defun xah-make-backup () "Make a backup copy of current file. The backup file name is ‹name›~‹timestamp›~ example: file.html~20150721T014457~ in the same ...
1
George Jones's profile photoErgoEmacs's profile photo
2 comments
 
+George Jones i do commit daily, but when in a editing session, i need a lot "versions". So, in 2 hour, i'd have about 3 or 4 versions as backup of previous "edition", for that particular file am editing. Kinda rules out git stash too.
Add a comment...
People
In their circles
1,342 people
Have them in circles
1,848 people
고준's profile photo
Random Geek's profile photo
Mira HÉDL's profile photo
Eric Finster's profile photo
Zheng Simon's profile photo
James Dalessio's profile photo
Alexander Gallego's profile photo
Mathias Dahl's profile photo
Volker Baier's profile photo
Contact Information
Contact info
Email
Story
Tagline
Emacs tips & tricks + ErgoEmacs news.
Introduction
One or two emacs tips per day.

• Tips in using emacs
• Tips in coding emacs lisp.
• Occasional news/tips about ErgoEmacs.

Spread emacs. Join us.