comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Aligning comments with Emacs ada-mode?
Date: Tue, 08 Aug 2006 23:02:39 +0100
Date: 2006-08-08T23:02:39+01:00	[thread overview]
Message-ID: <m2mzaex4w0.fsf@grendel.local> (raw)
In-Reply-To: 1155070703.109913.164510@b28g2000cwb.googlegroups.com

randomm@mindless.com writes:

> Sorry, I'm not following you.  I tried (setq comment-column 60) and
> (setq-default comment-column 60) in my .emacs file but I didn't get
> them to work.  Are you suggesting meta-x set-comment-column?  What I'm
> looking for here is a programatic way to set the value so I don't have
> to issue commands.

For help on set-comment-column type 

  C-h f s e t - c o m m e n t - c o l u m n

(without the spaces)

To change the default ada-mode comment column, you'll have to change
the source of ada-mode.el, as I think you did. Something on the lines
of changing

  (set (make-local-variable 'comment-column) 40)

to

  (set (make-local-variable 'comment-column) 'ada-comment-column)

where you set ada-comment-column in your .emacs.



  parent reply	other threads:[~2006-08-08 22:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1155049329.544472.142050@m73g2000cwd.googlegroups.com>
2006-08-08 15:21 ` Aligning comments with Emacs ada-mode? Benjamin Place
     [not found]   ` <1155065702.914125.58160@75g2000cwc.googlegroups.com>
2006-08-08 20:53     ` Georg Bauhaus
     [not found]       ` <1155070703.109913.164510@b28g2000cwb.googlegroups.com>
2006-08-08 22:02         ` Simon Wright [this message]
     [not found]           ` <1155124708.846173.71420@i3g2000cwc.googlegroups.com>
2006-08-09 12:16             ` Georg Bauhaus
2006-08-09 12:21             ` Emmanuel Briot
     [not found]               ` <1155129589.408465.191730@b28g2000cwb.googlegroups.com>
2006-08-09 20:03                 ` Steve Whalen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox