From: Date: July 2 2009 6:40pm Subject: Re: [style] [annc] Coding style update List-Archive: http://lists.mysql.com/internals/37067 Message-Id: <4A4CE2E0.7000107@sun.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=UTF-8 Content-Transfer-Encoding: 8BIT Hi Tor, Tor Didriksen a écrit, Le 02.07.2009 16:12: > On Thu, 02 Jul 2009 14:34:00 +0200, Tor Didriksen > wrote: > >> On Thu, 02 Jul 2009 14:18:39 +0200, Guilhem Bichot >> wrote: >> >>> Hello, >>> >>> Tor Didriksen a écrit, Le 02.07.2009 08:50: >>>> On Mon, 29 Jun 2009 09:53:13 +0200, Konstantin Osipov >>>> wrote: >>>> >>>>> Hello, >>>>> >>>>> On Friday, 2009-06-26, the group that governs MySQL server coding >>>>> style met for the first time, and considered two proposals: >>>>> >>>>> 1) Removing the switch alignment exception. >>>>> http://lists.mysql.com/internals/36385 >>>>> >>>>> 2) Specifying the function parameter names in declarations. >>>>> http://lists.mysql.com/internals/36404 >>>>> >>>>> Both proposals were accepted by the majority of votes (5 out of 6 >>>>> on both). >>>>> >>>>> You can find more details here: >>>>> >>>>> http://forge.mysql.com/wiki/Coding_Style >>>>> >>>>> This change will be effective once the Forge document is updated, >>>>> I will write a separate update on that. >>>>> >>>>> However, in order to do that, I need help: >>>>> >>>>> 1) Could someone using emacs send me the new formatting options >>>>> for emacs to take into account the new switch () style? >>>> I'm getting exactly the new formatting style with the current emacs >>>> settings, so nothing needs to be done. > OK, by adding > (statement-case-open . +) > to c-offset-alist it seems to be OK with gnu emacs. > I cannot get xemacs to work properly (installed it, but it doesn't even > know about c-mode etc.) your suggestion solves the problem in my xemacs. Thanks!! -- Mr. Guilhem Bichot Sun Microsystems / MySQL, Lead Software Engineer Bordeaux, France www.sun.com / www.mysql.com