From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: smartlitchi@gmail.com Newsgroups: gmane.emacs.help Subject: (no subject) Date: Fri, 22 Apr 2005 15:37:11 +0800 Message-ID: <20050422073711.GA10368@mail.lvying.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1501423862==" X-Trace: sea.gmane.org 1114156036 22434 80.91.229.2 (22 Apr 2005 07:47:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Apr 2005 07:47:16 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 22 09:47:13 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DOssL-0000CF-Bp for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Apr 2005 09:46:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DOsxD-0005yu-9H for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Apr 2005 03:51:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DOsoB-0002YR-DQ for help-gnu-emacs@gnu.org; Fri, 22 Apr 2005 03:42:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DOso1-0002Xt-Qv for help-gnu-emacs@gnu.org; Fri, 22 Apr 2005 03:42:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DOsnz-0002Xj-Kv for help-gnu-emacs@gnu.org; Fri, 22 Apr 2005 03:42:28 -0400 Original-Received: from [64.233.184.193] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DOsn0-0000DW-Pa for help-gnu-emacs@gnu.org; Fri, 22 Apr 2005 03:41:26 -0400 Original-Received: by wproxy.gmail.com with SMTP id 36so703654wra for ; Fri, 22 Apr 2005 00:38:43 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:to:message-id:mail-followup-to:mime-version:content-type:content-disposition:user-agent:from; b=SqKPDPq3pK+dKt8X2vlbEPrvtg9rbdxfIN+6iUda2Q/ceLddg42bAtf7qg1MHOjgtU6QsO7lcI/5ATZn7cRnz6M/tYzMif1Tt+e/PoJ1jM2cGtB5Vkpo3TejDvAhjAFEBw8J2+FbhzwPW4qjuyYP/tTQoBAKvWoD7OYCWzcASFo= Original-Received: by 10.54.105.14 with SMTP id d14mr291687wrc; Fri, 22 Apr 2005 00:38:43 -0700 (PDT) Original-Received: from localhost ([218.9.122.149]) by mx.gmail.com with ESMTP id 15sm815917wrl.2005.04.22.00.38.22; Fri, 22 Apr 2005 00:38:43 -0700 (PDT) Original-To: Emacs Mail-Followup-To: Emacs User-Agent: Mutt/1.5.6+20040907i X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:25926 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25926 --===============1501423862== Content-Type: message/rfc822 Content-Disposition: inline I am turning from vim to emacs ,and the first step seems a little difficult~~ 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.println("oh~ a fine day~"); } } you may notice that the position of { } of the if loop has been changed to be accord with that if statement, seems this is the recommand code style of Sun's documentation but I can't find how to change emacs's default indent style to this Best regards Litchi --===============1501423862== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --===============1501423862==--