[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] Customizing smalltalk mode for emacs
From: |
Mathieu Suen |
Subject: |
Re: [Help-smalltalk] Customizing smalltalk mode for emacs |
Date: |
Thu, 13 May 2010 16:45:04 +0200 |
Yeap :) I have notice that for "!" key when I was trying to add the shebang.
I have made a patch for the smalltalk-mode to enable customization of the
binding.
so now you can do:
M-x customize-variable RET smalltalk-next-block
See the attach file.
Mth
On May 13, 2010, at 1:36 PM, Paolo Bonzini wrote:
> On 05/13/2010 01:02 PM, Mathieu Suen wrote:
>> Hi,
>>
>> I am trying to customize the color of smalltalk mode.
>> So I was wondering what is the function in smalltalk-mode.el
>> to do that?
>
> You do not need to modify smalltalk-mode.el, you can use simply the default
> Smalltalk fonts. Try "Customize Faces matching Regex" and specify
> ^font-lock- as the regex.
>
> By the way, one trick with Emacs mode is that if you're editing new-syntax
> files "!" will jump past a method or class's closing bracket. That sounds a
> bit crazy, but it's actually very useful combined with the method templates
> "C-c t p/c/i".
>
> Paolo
smalltalk-mode.patch
Description: Binary data