unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#11107: 24.0.94; indentation in objc-mode
@ 2012-03-28  1:23 Leo
  2012-03-29 13:35 ` Alan Mackenzie
       [not found] ` <20120329133528.GB2961@acm.acm>
  0 siblings, 2 replies; 3+ messages in thread
From: Leo @ 2012-03-28  1:23 UTC (permalink / raw)
  To: 11107; +Cc: bug-cc-mode

[-- 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-31 21:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-28  1:23 bug#11107: 24.0.94; indentation in objc-mode Leo
2012-03-29 13:35 ` Alan Mackenzie
     [not found] ` <20120329133528.GB2961@acm.acm>
2012-03-31 21:19   ` Leo

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).