unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* comment lines extended
@ 2006-08-06 10:52 Gary Wessle
  2006-08-06 11:38 ` Miles Bader
       [not found] ` <mailman.4919.1154864297.9609.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: Gary Wessle @ 2006-08-06 10:52 UTC (permalink / raw)


Hi

while I am writing comments in a c++ mode, and reach the end of the
line, it automatically places "\\" to the next line and moves
there. but sometimes I need to hit <RET> and start a new comment line
before reaching the end-of-line for a new comment line. how can I make
it to start that new line with "\\" even though I have not arrive at
the end of the previous line yet?

thanks

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

* Re: comment lines extended
  2006-08-06 10:52 comment lines extended Gary Wessle
@ 2006-08-06 11:38 ` Miles Bader
       [not found] ` <mailman.4919.1154864297.9609.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 3+ messages in thread
From: Miles Bader @ 2006-08-06 11:38 UTC (permalink / raw)


Gary Wessle <phddas@yahoo.com> writes:
> sometimes I need to hit <RET> and start a new comment line before
> reaching the end-of-line for a new comment line. how can I make it to
> start that new line with "\\" even though I have not arrive at the end
> of the previous line yet?

C-M-j

(aka ESC C-j )

-Miles
-- 
Occam's razor split hairs so well, I bought the whole argument!

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

* Re: comment lines extended
       [not found] ` <mailman.4919.1154864297.9609.help-gnu-emacs@gnu.org>
@ 2006-08-09 13:07   ` Romain Francoise
  0 siblings, 0 replies; 3+ messages in thread
From: Romain Francoise @ 2006-08-09 13:07 UTC (permalink / raw)


Miles Bader <miles@gnu.org> writes:

> C-M-j

Why not just M-j?  It's bound to the same function, as far as I can
tell.

-- 
Romain Francoise <romain@orebokech.com> | The sea! the sea! the open
it's a miracle -- http://orebokech.com/ | sea! The blue, the fresh, the
                                        | ever free! --Bryan W. Procter

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

end of thread, other threads:[~2006-08-09 13:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-06 10:52 comment lines extended Gary Wessle
2006-08-06 11:38 ` Miles Bader
     [not found] ` <mailman.4919.1154864297.9609.help-gnu-emacs@gnu.org>
2006-08-09 13:07   ` Romain Francoise

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