all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Leo <sdl.web@gmail.com>
To: 11107@debbugs.gnu.org
Cc: bug-cc-mode@gnu.org
Subject: bug#11107: 24.0.94; indentation in objc-mode
Date: Wed, 28 Mar 2012 09:23:32 +0800	[thread overview]
Message-ID: <m2mx71a57v.fsf@gmail.com> (raw)

[-- Attachment #1: kk.m --]
[-- Type: text/plain, Size: 1138 bytes --]

-(IBAction)loginClicked:(id)sender
{
    if (![username.text isEqualToString:@""]&&![password.text isEqualToString:@""]&&![companyCode.text isEqualToString:@""]) {
        if ([username.text isMatchedByRegex:@"[a-zA-Z0-9]+"]&&[password.text isMatchedByRegex:@"[a-zA-Z0-9]+"]&&[companyCode.text isMatchedByRegex:@"[a-zA-Z0-9]+"]) {
            ;
        } else {
            UIAlertView *alert = [[[UIAlertView alloc]
                                      initWithTitle:@""
                                            message:@""
                                           delegate:self
                                      cancelButtonTitle:@""
                                      otherButtonTitles:nil] autorelease];
            [alert show];
        }
    } else {
        UIAlertView *alert = [[[UIAlertView alloc]
                                   initWithTitle:@""
                                         message:@""
                                        delegate:self
                                  cancelButtonTitle:@""
                                  otherButtonTitles:nil] autorelease];
        [alert show];
    }
}

[-- Attachment #2: Type: text/plain, Size: 226 bytes --]


1. Emacs -q
2. Open the attach file
3. Eval in the file buffer:
   - (c-set-style "bsd")
   - (setq c-basic-offset 4)

Try indenting the file, you will see : in the message name not aligned
properly as shown in this picture.

[-- Attachment #3: objc-bug.png --]
[-- Type: image/png, Size: 13565 bytes --]

[-- Attachment #4: Type: text/plain, Size: 5 bytes --]


Leo

             reply	other threads:[~2012-03-28  1:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-28  1:23 Leo [this message]
2012-03-29 13:35 ` bug#11107: 24.0.94; indentation in objc-mode Alan Mackenzie
     [not found] ` <20120329133528.GB2961@acm.acm>
2012-03-31 21:19   ` Leo

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=m2mx71a57v.fsf@gmail.com \
    --to=sdl.web@gmail.com \
    --cc=11107@debbugs.gnu.org \
    --cc=bug-cc-mode@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.