unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* cc-mode configuration issues
@ 2008-07-14 14:04 Rodrigo Canellas
  2008-07-15  3:37 ` Kevin Rodgers
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Rodrigo Canellas @ 2008-07-14 14:04 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I read the CC Mode manual, but I still do not know how to do a couple of 
things:

1 -
How to automatically insert a new line when C/C++ code is coming to, for 
example, column 78. I was able to do this with comment lines, inserting 
" '(c-max-one-liner-length 77)" in my '.emacs', but it does not work for 
code.

2 -
I would like to insert a single space after certain characters, such as 
'+', '-', '&', '=', etc. I think I can do this with a hook lisp 
function, but I do not know how.



Could anyone help me?


Thanks a lot!

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





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

end of thread, other threads:[~2008-07-16 21:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-14 14:04 cc-mode configuration issues Rodrigo Canellas
2008-07-15  3:37 ` Kevin Rodgers
2008-07-15 13:16   ` Rodrigo Canellas
2008-07-15 17:25 ` insert space after specific chars Rodrigo Canellas
2008-07-16 21:10   ` Nikolaj Schumacher
     [not found] ` <mailman.14781.1216142883.18990.help-gnu-emacs@gnu.org>
2008-07-15 18:23   ` Pascal J. Bourguignon
2008-07-15 20:00     ` Rodrigo Canellas

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