unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* comments line width
@ 2006-04-29 20:52 Gary Wessle
  2006-04-30 10:52 ` Rupert Swarbrick
       [not found] ` <mailman.1143.1146394395.9609.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Gary Wessle @ 2006-04-29 20:52 UTC (permalink / raw)


Hi

in python mode, under dabian testing, when I start a new line with #
it does not go to a new line which automatically starts with # after
the first line gets bigger than 70 char. how can I get it to do this?

thanks

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

* Re: comments line width
  2006-04-29 20:52 comments line width Gary Wessle
@ 2006-04-30 10:52 ` Rupert Swarbrick
       [not found] ` <mailman.1143.1146394395.9609.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Rupert Swarbrick @ 2006-04-30 10:52 UTC (permalink / raw)


Gary Wessle wrote:
> Hi
> 
> in python mode, under dabian testing, when I start a new line with #
> it does not go to a new line which automatically starts with # after
> the first line gets bigger than 70 char. how can I get it to do this?
> 
> thanks

I think you probably want auto-fill-mode. Just do M-x auto-fill-mode and
try - I haven't tried this in python, but it works in C/C++, Java, Perl
and sh mode, so it's a good bet.

Rupert

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

* Re: comments line width
       [not found] ` <mailman.1143.1146394395.9609.help-gnu-emacs@gnu.org>
@ 2006-04-30 19:04   ` B. T. Raven
  2006-04-30 19:49     ` B. T. Raven
  0 siblings, 1 reply; 4+ messages in thread
From: B. T. Raven @ 2006-04-30 19:04 UTC (permalink / raw)



"Rupert Swarbrick" <rupert.swarbrick@lineone.net> wrote in message
news:mailman.1143.1146394395.9609.help-gnu-emacs@gnu.org...
> Gary Wessle wrote:
> > Hi
> >
> > in python mode, under dabian testing, when I start a new line with #
> > it does not go to a new line which automatically starts with # after
> > the first line gets bigger than 70 char. how can I get it to do this?
> >
> > thanks
>
> I think you probably want auto-fill-mode. Just do M-x auto-fill-mode and
> try - I haven't tried this in python, but it works in C/C++, Java, Perl
> and sh mode, so it's a good bet.
>
> Rupert

But Gary needs to set fill-column first to something greater than 70 (the
default). Say 200 or 20000. C-u 200 C-x f.

Ed

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

* Re: comments line width
  2006-04-30 19:04   ` B. T. Raven
@ 2006-04-30 19:49     ` B. T. Raven
  0 siblings, 0 replies; 4+ messages in thread
From: B. T. Raven @ 2006-04-30 19:49 UTC (permalink / raw)



"B. T. Raven" <ecinmn@peoplepc.com> wrote in message
news:HS75g.11790$Es3.11554@newsread3.news.atl.earthlink.net...
>
> "Rupert Swarbrick" <rupert.swarbrick@lineone.net> wrote in message
> news:mailman.1143.1146394395.9609.help-gnu-emacs@gnu.org...
> > Gary Wessle wrote:
> > > Hi
> > >
> > > in python mode, under dabian testing, when I start a new line with #
> > > it does not go to a new line which automatically starts with # after
> > > the first line gets bigger than 70 char. how can I get it to do
this?
> > >
> > > thanks
> >
> > I think you probably want auto-fill-mode. Just do M-x auto-fill-mode
and
> > try - I haven't tried this in python, but it works in C/C++, Java,
Perl
> > and sh mode, so it's a good bet.
> >
> > Rupert
>
> But Gary needs to set fill-column first to something greater than 70
(the
> default). Say 200 or 20000. C-u 200 C-x f.
>
> Ed
>

Belay that last order. Lines longer than 60 or 70 characters are less
legible. M-x auto-fill-mode is enough to do what you want.

Ed.

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

end of thread, other threads:[~2006-04-30 19:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-29 20:52 comments line width Gary Wessle
2006-04-30 10:52 ` Rupert Swarbrick
     [not found] ` <mailman.1143.1146394395.9609.help-gnu-emacs@gnu.org>
2006-04-30 19:04   ` B. T. Raven
2006-04-30 19:49     ` B. T. Raven

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