Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Sérgio Durigan Júnior" <sergiodj@redhat.com>
To: gdb@sourceware.org
Cc: Jonas Maebe <jonas.maebe@elis.ugent.be>,
	        Pierre Muller <pierre.muller@ics-cnrs.unistra.fr>
Subject: Re: gdb-7.1 release preparation...
Date: Thu, 11 Mar 2010 20:10:00 -0000	[thread overview]
Message-ID: <201003111709.45783.sergiodj@redhat.com> (raw)
In-Reply-To: <E9B4B74D-AA35-4E35-A0E1-54E065C7AF20@elis.ugent.be>

[-- Attachment #1: Type: Text/Plain, Size: 2006 bytes --]

On Thursday 11 March 2010 16:46:01, Jonas Maebe wrote:
> function! GnuIndent()
>   setlocal cinoptions=>4,n-2,{2,^-2,:2,=2,g0,h2,p5,t0,+2,(0,u0,w1,m1
>   setlocal shiftwidth=2
>   setlocal tabstop=8
> endfunction

I had to modify this function:

function! GNUIndent()                                                                                                                                                                                                                        
        setlocal cinoptions=>4,n-2,{2,^-2,:2,=2,g0,h2,p5,t0,+2,(0,u0,w1,m1                                                                                                                                                                   
        setlocal shiftwidth=2                                                                                                                                                                                                                
        setlocal tabstop=8                                                                                                                                                                                                                   
        setlocal softtabstop=2                                                                                                                                                                                                               
        setlocal noexpandtab                                                                                                                                                                                                                 
        setlocal comments=sl:/*,mb:\ ,elx:*/                                                                                                                                                                                                 
endfunction

-- 
Sérgio Durigan Júnior
Debugger Engineer -- Red Hat Inc.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2010-03-11 20:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-09 18:10 Joel Brobecker
2010-03-09 18:22 ` Pedro Alves
2010-03-10 13:14 ` Pierre Muller
2010-03-10 17:48   ` Joel Brobecker
2010-03-11 19:46   ` Jonas Maebe
2010-03-11 20:10     ` Sérgio Durigan Júnior [this message]
2010-03-11 21:18 ` Jan Kratochvil
2010-03-12  7:57   ` Joel Brobecker
2010-03-14  4:57     ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201003111709.45783.sergiodj@redhat.com \
    --to=sergiodj@redhat.com \
    --cc=gdb@sourceware.org \
    --cc=jonas.maebe@elis.ugent.be \
    --cc=pierre.muller@ics-cnrs.unistra.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox