unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Customize Open Parenthesis
@ 2006-05-11 23:22 Sashidhar Reddy
  2006-05-12  6:36 ` Annamalai Gurusami
       [not found] ` <mailman.1717.1147416020.9609.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: Sashidhar Reddy @ 2006-05-11 23:22 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 245 bytes --]

  
Hi Group,

I want to change the default open parenthesis position in emacs. Currently, my emacs puts parenthesis,

if(....)
  {
  }

I want to change the behaviour to,

if(....)
{
}

How can I do this.

THanks,
Reddy
  


[-- Attachment #1.2: Type: text/html, Size: 671 bytes --]

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

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

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

* Re: Customize Open Parenthesis
  2006-05-11 23:22 Customize Open Parenthesis Sashidhar Reddy
@ 2006-05-12  6:36 ` Annamalai Gurusami
       [not found] ` <mailman.1717.1147416020.9609.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 3+ messages in thread
From: Annamalai Gurusami @ 2006-05-12  6:36 UTC (permalink / raw)
  Cc: help-gnu-emacs

"Sashidhar Reddy" <msreddy999@rediffmail.com> writes:

> 								Hi Group,
> 		 I want to change the default open parenthesis position in emacs. Currently, my emacs puts parenthesis,
> 								if(....)
> 								     {
> 								     }
> 						   I want to change the behaviour to,
> 								if(....)
> 								    {
> 								    }

M-x c-set-style?

Rgds,
anna

-- 

... under the new regulations an implantable, glass encapsulated RFID
tag from VeriChip must be injected into the bicep to gain access ...

             http://www.securityfocus.com/brief/134

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

* Re: Customize Open Parenthesis
       [not found] ` <mailman.1717.1147416020.9609.help-gnu-emacs@gnu.org>
@ 2006-05-14 21:08   ` Alan Mackenzie
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Mackenzie @ 2006-05-14 21:08 UTC (permalink / raw)


Annamalai Gurusami <annamalai.gurusami@email.masconit.com> wrote on Fri, 12 May 2006 12:06:40 +0530:
> "Sashidhar Reddy" <msreddy999@rediffmail.com> writes:

>> 								Hi Group,
>> 		 I want to change the default open parenthesis position in emacs. Currently, my emacs puts parenthesis,
>> 								if(....)
>> 								     {
>> 								     }
>> 						   I want to change the behaviour to,
>> 								if(....)
>> 								    {
>> 								    }

> M-x c-set-style?

As a matter of interest, this function is now bound to C-c . ("Control-C
dot").

> Rgds,
> anna

-- 
Alan Mackenzie (Munich, Germany)
Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").

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

end of thread, other threads:[~2006-05-14 21:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-11 23:22 Customize Open Parenthesis Sashidhar Reddy
2006-05-12  6:36 ` Annamalai Gurusami
     [not found] ` <mailman.1717.1147416020.9609.help-gnu-emacs@gnu.org>
2006-05-14 21:08   ` Alan Mackenzie

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).