Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
On editing text and Emacs: 9 habits of highly effective text editing
1. On text editing and emacs: 9 habits of highly eective
text editing
Based on 7 habits of highly eective text editing by Bram Moolenaar
Daniel M German
2013-11-07. Osaka
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
1 / 42
2. Outline
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
2 / 42
4. What are these?
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
4 / 42
5. Nakagiri
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
5 / 42
6. On Knifes
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
6 / 42
7. Learning to Cut Mackerel
Saba no Sanmai Oroshi (Mackerel 3 Piece Filleting)
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
7 / 42
8. Keeping your tools ready
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
8 / 42
9. Questions
What is your most important tool?
Do you know how to use it?
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
9 / 42
10. The Computer is your Toolbox: messy
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
10 / 42
11. The Computer is your Toolbox: tidy
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
11 / 42
12. And your workshop: messy
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
12 / 42
13. And your workshop: tidy
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
13 / 42
14. Text editing
We live in a text-based world.
Our productivity depends on how good we are at editing text.
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
14 / 42
15. 9 habits of highly eective text editing
Based on 7 habits of highly eective text editing by Bram Moolenaar
http://www.moolenaar.net/habits.html
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
15 / 42
16. Part 0: The basics
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
16 / 42
17. Habit 0: learn to type
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
17 / 42
18. Habit 1: Avoid the mouse
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
18 / 42
19. Part 1: One le
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
19 / 42
20. Habit 2: Move around quickly
How to nd the le
Inside the le
Incremental search
Bookmarks
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
20 / 42
21. Habit 3: Don't type it twice
Use macros
Learn to be eective with Cut-and-paste
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
21 / 42
22. Habit 4: Get help typing it
Automatic expansion
Spelling correction
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
22 / 42
23. Habit 5: Text is structured
Most languages we edit are structured
Special modes for them
Learn to use regular expressions
search and replace
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
23 / 42
24. Part 2: Multiple les: the project
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
24 / 42
25. Habit 6: A le seldom comes alone
Moving quickly to related les
Learn support for
e.g. ctags
Daniel M German
Projects
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
25 / 42
26. Habit 7: Let's work together
Many tools do text editing (eg. email)
can you edit the text in your editor?
worst case scenario: cut-and-paste
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
26 / 42
27. Part 3: What now?
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
27 / 42
28. Habit 8: Sharpen the saw
Keep learning
observe others
watch video-tutorials
read!
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
28 / 42
29. Habit 9: Sharpen the saw. . .
Observe yourself: Reect on what you do
1
2
3
Detect ineciencies
Find a quicker way
Make it a habit
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
29 / 42
30. Habit 9: Sharpen the saw. . .
Learn to extend your editor
(defun dmg-calculate ()
(interactive)
(let ((value (eval (preceding-sexp))))
(kill-sexp -1)
(insert (format %s value))))
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
30 / 42
31. Extending your editor is a superpower
Programming is a superpower Scroll to 8:50
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
31 / 42
32. How to choose a text editor
Can it do what you need?
Is it powerful?
Is it general purpose?
Is it extensible?
Does it have a large user-base?
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
32 / 42
33. On Emacs
It is my most important tool
I can do the majority of my work in it
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
33 / 42
34. Demo: the daily activities
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
34 / 42
35. Demo: latex
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
35 / 42
36. Demo: org-mode
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
36 / 42
37. Demo: babel
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
37 / 42
38. Learning Emacs: the learning cli
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
38 / 42
40. Epilogue
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
40 / 42
41. What is this?
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
41 / 42
42. In Japan. . .
In Japan we take care of our instruments, our bats and our gloves. We take care
of them well because these things are very important.
Daniel M German
On text editing and emacs: 9 habits of highly eective text editing Osaka
2013-11-07.
42 / 42