all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

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.