On Tue, Apr 26, 2005 at 08:02:23AM -0400, Greg Rowe wrote:
> litchi wrote:
> >
> >(defun my-java-mode-hook ()
> > (c-set-style "k&r")
> > (setq c-basic-offset 2))
> >
> > (add-hook 'java-mode-hook 'my-java-mode-hook)
> >but I dont know the meaning of those statements
> >I am totally a newer
litchi wrote:
(defun my-java-mode-hook ()
(c-set-style "k&r")
(setq c-basic-offset 2))
(add-hook 'java-mode-hook 'my-java-mode-hook)
but I dont know the meaning of those statements
I am totally a newer to lisp and emacs
You defined function called 'my-java-mode-hook'. In that function yo
On Mon, Apr 25, 2005 at 09:37:53AM -0600, Kevin Rodgers wrote:
> litchi wrote:
> > On Fri, Apr 22, 2005 at 12:36:34PM -0400, Greg Rowe wrote:
> >>That's odd. The default coding style when I'm in java mode in emacs is
> >>the 'java' coding style which matches the style you are looking for.
> >>
> >
litchi wrote:
> On Fri, Apr 22, 2005 at 12:36:34PM -0400, Greg Rowe wrote:
>>That's odd. The default coding style when I'm in java mode in emacs is
>>the 'java' coding style which matches the style you are looking for.
>>
>>Anyhow, to change your coding style you can execute "C-c ." while emacs
>>
On Fri, Apr 22, 2005 at 12:36:34PM -0400, Greg Rowe wrote:
> litchi wrote:
>
> >a question is the indent style of emacs default is just like
> >public void helloWorld()
> >{
> > if(today.weather == find)
> >{
> > System.out.println("oh~ a fine day~");
> >}
> >}
> >but actually the st
litchi wrote:
a question is the indent style of emacs default is just like
public void helloWorld()
{
if(today.weather == find)
{
System.out.println("oh~ a fine day~");
}
}
but actually the style I expect is
public void helloWorld()
{
if(today.weather == find)
{
System.out.