On Mar 12 2008 02:18 +0330, Sebastjan Trepca wrote:
> I have code assistance bound on TAB key:
> (defun indent-or-expand (arg)
> "Either expand a snippet, indent according to mode or autocomplete the word."
> (interactive "*P")
> (if snippet
> (if (and
> (or (bobp) (= ?w (char-syntax (char-before))))
> (or (eobp) (not (= ?w (char-syntax (char-after))))))
> (rope-lucky-assist arg)
Then, maybe it is a better idea to turn these keys off by default and
add more docs about them in the README.txt file.
Some commands are used very frequently; specially the commands in
code-assist group. You can define your own shortcuts like this::
(define-key ropemacs-local-keymap "\C-cg" 'rope-goto-definition)
Rope itself comes with a few shortcuts. These shortcuts will be used
only when ropemacs-enable-shortcuts is non-nil.
C-c g rope-goto-definition
C-c d rope-show-doc
C-c f rope-find-occurrences