From: Rodrigo Canellas <rodrigo.canellas@tqtvd.com>
To: help-gnu-emacs@gnu.org
Subject: cc-mode configuration issues
Date: Mon, 14 Jul 2008 11:04:41 -0300 [thread overview]
Message-ID: <487B5CF9.9030300@tqtvd.com> (raw)
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.
next reply other threads:[~2008-07-14 14:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-14 14:04 Rodrigo Canellas [this message]
2008-07-15 3:37 ` cc-mode configuration issues 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
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=487B5CF9.9030300@tqtvd.com \
--to=rodrigo.canellas@tqtvd.com \
--cc=help-gnu-emacs@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.
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).