emacs及插件使用指南

slime使用指南

  • C-c,C-c 编译并装载光标所在的整个Lisp Form
  • C-c,C-k 编译并装载当前缓冲区中的整个源文件

transpose-frame

  • ‘transpose-frame’ … Swap x-direction and y-direction

    +------------+------------+      +----------------+--------+
    |            |     B      |      |        A       |        |
    |     A      +------------+      |                |        |
    |            |     C      |  =>  +--------+-------+   D    |
    +------------+------------+      |   B    |   C   |        |
    |            D            |      |        |       |        |
    +-------------------------+      +--------+-------+--------+
    
  • ‘flip-frame’ … Flip vertically

    +------------+------------+      +------------+------------+
    |            |     B      |      |            D            |
    |     A      +------------+      +------------+------------+
    |            |     C      |  =>  |            |     C      |
    +------------+------------+      |     A      +------------+
    |            D            |      |            |     B      |
    +-------------------------+      +------------+------------+
    
  • ‘flop-frame’ … Flop horizontally

    +------------+------------+      +------------+------------+
    |            |     B      |      |     B      |            |
    |     A      +------------+      +------------+     A      |
    |            |     C      |  =>  |     C      |            |
    +------------+------------+      +------------+------------+
    |            D            |      |            D            |
    +-------------------------+      +-------------------------+
    
  • ‘rotate-frame’ … Rotate 180 degrees

    +------------+------------+      +-------------------------+
    |            |     B      |      |            D            |
    |     A      +------------+      +------------+------------+
    |            |     C      |  =>  |     C      |            |
    +------------+------------+      +------------+     A      |
    |            D            |      |     B      |            |
    +-------------------------+      +------------+------------+
    
  • ‘rotate-frame-clockwise’ … Rotate 90 degrees clockwise

    +------------+------------+      +-------+-----------------+
    |            |     B      |      |       |        A        |
    |     A      +------------+      |       |                 |
    |            |     C      |  =>  |   D   +--------+--------+
    +------------+------------+      |       |   B    |   C    |
    |            D            |      |       |        |        |
    +-------------------------+      +-------+--------+--------+
    
  • ‘rotate-frame-anti-clockwise’ … Rotate 90 degrees anti-clockwise

    +------------+------------+      +--------+--------+-------+
    |            |     B      |      |   B    |   C    |       |
    |     A      +------------+      |        |        |       |
    |            |     C      |  =>  +--------+--------+   D   |
    +------------+------------+      |        A        |       |
    |            D            |      |                 |       |
    +-------------------------+      +-----------------+-------+