all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: cc-mode configuration issues
Date: Mon, 14 Jul 2008 21:37:29 -0600	[thread overview]
Message-ID: <g5h61n$ihl$1@ger.gmane.org> (raw)
In-Reply-To: <487B5CF9.9030300@tqtvd.com>

Rodrigo Canellas wrote:
> 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.

The "Custom Filling and Line Breaking" node hints that you should turn
on auto fill mode and exclude the `code' symbol from c-ignore-auto-fill.

-- 
Kevin Rodgers
Denver, Colorado, USA





  reply	other threads:[~2008-07-15  3:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-14 14:04 cc-mode configuration issues Rodrigo Canellas
2008-07-15  3:37 ` Kevin Rodgers [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='g5h61n$ihl$1@ger.gmane.org' \
    --to=kevin.d.rodgers@gmail.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.
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.