Quite often I define a ruby symbol (eg. :some_value
), then I want to create a method with the same name def some_value
.
Unfortunately, the autocompletion(M + /
) for the second occurrence of some_value string does not work, being slightly different (:some_value vs some_value).
How can I setup emacs to handle such events?