You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by Dave Bryson <da...@miceda-data.com> on 2001/03/21 15:29:40 UTC

Re: [PATCH] Re: Problems Using another User Implementation

> > Could you please re-submit the patches without tabs in them and following
> > the proper bracing guidelines? :-)
> >
> > example:
> >
> > +        try
> > +           {
> > +               return Class.forName(userPeerClassName);
> > +           }
> >
> > -            setInit(true);
> > +           setInit(true);
> >
> > -jon
> >
> 
> Sorry man.. that's emacs

It's not emacs, it's your setting.
Add this to your .emacs file:
(setq-default tab-width 4 indent-tabs-mode nil)

-- 
Dave Bryson
daveb@miceda-data.com
----------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


Re: [PATCH] Re: Problems Using another User Implementation

Posted by Daniel Rall <dl...@collab.net>.
Jon Stevens <jo...@latchkey.com> writes:

> on 3/21/01 10:05 AM, "Daniel Rall" <dl...@collab.net> wrote:
> 
> > Here's what I use to provide nice indentation:
> 
> updated the website...

Thanks Jon, my apologies for never getting to that as I said I would
(ages ago).

Daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


Re: [PATCH] Re: Problems Using another User Implementation

Posted by Jon Stevens <jo...@latchkey.com>.
on 3/21/01 10:05 AM, "Daniel Rall" <dl...@collab.net> wrote:

> Here's what I use to provide nice indentation:

updated the website...

-jon

-- 
If you come from a Perl or PHP background, JSP is a way to take
your pain to new levels. --Anonymous
<http://jakarta.apache.org/velocity/ymtd/ymtd.html>


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


Re: [PATCH] Re: Problems Using another User Implementation

Posted by Daniel Rall <dl...@collab.net>.
Dave Bryson <da...@miceda-data.com> writes:

> > > Could you please re-submit the patches without tabs in them and following
> > > the proper bracing guidelines? :-)
> > >
> > > example:
> > >
> > > +        try
> > > +           {
> > > +               return Class.forName(userPeerClassName);
> > > +           }
> > >
> > > -            setInit(true);
> > > +           setInit(true);
> > >
> > > -jon
> > >
> > 
> > Sorry man.. that's emacs
> 
> It's not emacs, it's your setting.
> Add this to your .emacs file:
> (setq-default tab-width 4 indent-tabs-mode nil)

Here's what I use to provide nice indentation:

  ;; Persuade indention to insert tabs only in Makefile or Outline mode, and to
  ;; use a reasonable width.
  (setq indent-tabs-mode nil
        tab-width 4)

  ;; Set the amount of offset used by the '+' and '-' symbols in 
  ;; c-offsets-alist.
  (setq c-basic-offset 4)

  ;; Convince Emacs to indent properly (braces flush with start of block).
  (c-set-offset 'substatement-open 0 nil)

  ;; Turn on syntax highlighting when X is running.
  (if (boundp 'window-system) (font-lock-mode-on))


Daniel Rall

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org