Changes between Version 1 and Version 2 of EmacsInterface


Ignore:
Timestamp:
Feb 15, 2012, 10:48:20 AM (13 years ago)
Author:
manualwiki
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • EmacsInterface

    v1 v2  
    99those files that are loaded into the database are subjects to refactoring. 
    1010 
    11 == Configuration in XEmacs/Emacs. == 
     11== Configuration in XEmacs/Emacs == 
    1212 
    13 === Loading !RefactorErl.===  
     13=== Loading !RefactorErl ===  
    1414First of all, you need to load the !RefactorErl library 
    1515into XEmacs or into Emacs. You can do this by placing the following two 
     
    3434 
    3535  
    36 === Basic settings. === 
     36=== Basic settings === 
    3737 
    3838Before you can run !RefactorErl, you must make some settings 
     
    5050 * {{{Refactorerl Server Type}}}: if you want to experiment with the command line interface of the tool, you should set this to "Managed server with shell access". This feature requires the standard Erlang editing mode. 
    5151 
     52== !RefactorErl mode == 
     53 
     54Refactoring functionality is provided through an (X)Emacs minor mode1 that 
     55can be turned on using the command {{{M-x refactorerl-mode}}}. When this mode 
     56is active, there is a status display in the mode line that shows one of the following 
     57values: 
     58 
     59  * {{{Refact}}} means !RefactorErl mode is active, and the file can be refactored. 
     60 
     61  * {{{Refact:off}}} means !RefactorErl mode is active, but the file is not in the database, so it cannot be refactored. 
     62 
     63  * {{{Refact:err}}} means the file has some errors. 
     64 
     65  * {{{Refact:???}}} means that !RefactorErl mode is active, but there is no information available about the file. Normally this is shown only during processing, use the "update status" command if it doesn't go away. 
     66 
     67When !RefactorErl mode is active, functionality can be accessed through 
     68either the "Refactor" menu or keyboard shortcuts. Key sequences start with 
     69{{{C-c C-r}}}, and a complete list is given by {{{C-c C-r C-h}}}. 
     70 
     71As a standard (X)Emacs feature, help on !RefactorErl keyboard shortcuts 
     72is available by typing {{{C-h k}}} followed by the keyboard command itself. For 
     73example, {{{C-h k C-c C-r r f}}} provides help on the rename function refactoring. 
     74The same works with menus: selecting a menu item after typing {{{C-h k}}} gives 
     75help on the menu item. 
     76 
     77== The "Refactor" menu == 
     78 
     79=== Server sub-menu === 
     80 
     81While working with Erlang files the sever process of the !RefactorErl can be 
     82stopped or can be restarted if it is required. The refactoring server can be 
     83stopped by selecting the "Stop server" menu item from the "!Refactor/Server" menu 
     84or typing the shortcut {{{C-c C-r Q}}}. The !RefactorErl server can be started (or 
     85restarted) by selecting the menu item "Start server" from the "!Refactor/Server" menu or 
     86typing the {{{C-c C-r R}}} shortcut. 
     87 
     88 
     89=== Files sub-menu === 
     90 
    5291... 
    53