Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:ide [2015/04/27 18:42] – [Key bindings] gkazhoya | doc:ide [2015/09/04 14:47] (current) – gkazhoya | ||
---|---|---|---|
Line 48: | Line 48: | ||
To utilize the features of rosemacs when programming and building Common Lisp software there is also a slime-ros extension for Emacs which tells the CL build system where to find Lisp code of ROS packages. | To utilize the features of rosemacs when programming and building Common Lisp software there is also a slime-ros extension for Emacs which tells the CL build system where to find Lisp code of ROS packages. | ||
- | For more info on how the different components are connected together check out the [[doc/ | + | For more info on how the different components are connected together check out the [[doc/ |
===== Setup ===== | ===== Setup ===== | ||
Line 60: | Line 60: | ||
===== Useful Tips ===== | ===== Useful Tips ===== | ||
- | ==== Key bindings | + | ==== Definitions |
- | An Emacs buffer is the equivalent of window / tab in other editors. It can have a file associated with it that you can (or cannot depending on the privileges) edit, or it can run a process (e.g. when you open the shell: '' | + | An Emacs //buffer// is the equivalent of window / tab in other editors. It can have a file associated with it that you can (or cannot depending on the privileges) edit, or it can be running |
Textual representation of Emacs key bindings has a number of conventions: | Textual representation of Emacs key bindings has a number of conventions: | ||
Line 71: | Line 71: | ||
* '' | * '' | ||
* Commands like '' | * Commands like '' | ||
+ | ==== Key bindings ==== | ||
Taken from the Slime manual: | Taken from the Slime manual: | ||
Line 89: | Line 90: | ||
* C-M-f (C-M-b): go forward (backward) one expression (in Lisp an S-expression) | * C-M-f (C-M-b): go forward (backward) one expression (in Lisp an S-expression) | ||
* C-M-\: indent region | * C-M-\: indent region | ||
- | * M-; : comment out region (chooses correct commenting characters depending on file extension) | + | * M-; : comment out region (chooses correct commenting characters depending on the extension |
* M-< (M- >): go to buffer beginning (or end) | * M-< (M- >): go to buffer beginning (or end) | ||
* M-%: find-replace | * M-%: find-replace | ||
Line 112: | Line 113: | ||
* M-x slime-browse-system: | * M-x slime-browse-system: | ||
* C-c C-t: trace function at point | * C-c C-t: trace function at point | ||
+ | * C-M-< | ||
In REPL: | In REPL: |