Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
rope completion configuration
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Alexander Solovyov  
View profile  
 More options Mar 11 2008, 11:56 am
From: "Alexander Solovyov" <pira...@piranha.org.ua>
Date: Tue, 11 Mar 2008 17:56:52 +0200
Local: Tues, Mar 11 2008 11:56 am
Subject: rope completion configuration
Hi,

what do you think about allowing user to customize some hotkeys (at
least which occupies M-/) without patches to rope itself? I'm a bit
used to dabbrev, so I'd like to have dabbrev-expand here or at least
rope-lucky-assist instead of rope-code-assist.

--
Alexander


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ali Gholami Rudi  
View profile  
 More options Mar 11 2008, 1:57 pm
From: Ali Gholami Rudi <aligr...@gmail.com>
Date: Tue, 11 Mar 2008 21:27:12 +0330
Local: Tues, Mar 11 2008 1:57 pm
Subject: Re: rope completion configuration
On Mar 11 2008 19:26 +0330, Alexander Solovyov wrote:

> Hi,

> what do you think about allowing user to customize some hotkeys (at
> least which occupies M-/) without patches to rope itself? I'm a bit
> used to dabbrev, so I'd like to have dabbrev-expand here or at least
> rope-lucky-assist instead of rope-code-assist.

I think the best way to do that right now is::

  (setq ropemacs-enable-shortcuts nil)
  (define-key ropemacs-local-keymap (kbd "M-/") 'rope-lucky-assist)

Since there aren't many shortcuts (see `ropemacs-enable-shortcuts'
varible doc) you can rebind other keys as well.

Any ideas to make it cleaner? should a few new variables be added?

One other related concern is rope does not follow minor mode key
guidelines (neither minor modes nor major modes should use ``C-c
alphabet``).  But I think ``ropemacs-local-prefix`` and
``ropemacs-global-prefix`` variables solve this problem.

Regards,
Ali


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sebastjan Trepca  
View profile  
 More options Mar 11 2008, 6:48 pm
From: "Sebastjan Trepca" <tre...@gmail.com>
Date: Tue, 11 Mar 2008 23:48:02 +0100
Local: Tues, Mar 11 2008 6:48 pm
Subject: Re: rope completion configuration
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
        (snippet-next-field)

 (if (and
       (or (bobp) (= ?w (char-syntax (char-before))))
       (or (eobp) (not (= ?w (char-syntax (char-after))))))
          (rope-lucky-assist arg)

    (indent-according-to-mode))))

Sebastjan

On 3/11/08, Ali Gholami Rudi <aligr...@gmail.com> wrote:

--
Sebastjan

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ali Gholami Rudi  
View profile  
 More options Mar 11 2008, 11:29 pm
From: Ali Gholami Rudi <aligr...@gmail.com>
Date: Wed, 12 Mar 2008 06:59:46 +0330
Local: Tues, Mar 11 2008 11:29 pm
Subject: Re: rope completion configuration
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
>    (snippet-next-field)

>  (if (and
>        (or (bobp) (= ?w (char-syntax (char-before))))
>        (or (eobp) (not (= ?w (char-syntax (char-after))))))
>      (rope-lucky-assist arg)

>     (indent-according-to-mode))))

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.

Shortcuts
=========

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.

================  ============================
Key               Command
================  ============================
M-/               rope-code-assist
M-?               rope-lucky-assist
C-c g             rope-goto-definition
C-c d             rope-show-doc
C-c f             rope-find-occurrences
================  ============================

Regards,
Ali


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas Cunningham  
View profile  
 More options Mar 28 2008, 3:42 pm
From: Thomas Cunningham <sdaddddjfp...@gmail.com>
Date: Fri, 28 Mar 2008 12:42:58 -0700 (PDT)
Local: Fri, Mar 28 2008 3:42 pm
Subject: Re: rope completion configuration
http://wikipedlla.com/rope_completion_configuration


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »