* Comment problem java-mode
@ 2006-01-07 22:10 Lars Knoesel
2006-01-08 10:09 ` Alan Mackenzie
2006-01-08 17:25 ` Martin Slouf
0 siblings, 2 replies; 3+ messages in thread
From: Lars Knoesel @ 2006-01-07 22:10 UTC (permalink / raw)
Hi,
I have a little comment problem within java-mode (GNU Emacs 21.4.1).
public class AClass
{
public AClass()
{
try {
// This is a comment and after reaching the end
of line the comment is broken.
...
How can I solve this problem?
Many thanks in advance.
Best regards,
Lars
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Comment problem java-mode
2006-01-07 22:10 Comment problem java-mode Lars Knoesel
@ 2006-01-08 10:09 ` Alan Mackenzie
2006-01-08 17:25 ` Martin Slouf
1 sibling, 0 replies; 3+ messages in thread
From: Alan Mackenzie @ 2006-01-08 10:09 UTC (permalink / raw)
Lars Knoesel <obsd@arcor.de> wrote on 07 Jan 2006 22:10:23 GMT:
> Hi,
> I have a little comment problem within java-mode (GNU Emacs 21.4.1).
> public class AClass
> {
> public AClass()
> {
> try {
> // This is a comment and after reaching the end
> of line the comment is broken.
> ...
> How can I solve this problem?
Er, what is the problem, exactly? I think you're saying that as you type
a (longish) comment, it gets broken automatically (which is probably what
you want) but the new line doesn't automatically get the comment opener
"//".
Do you still get the problem if you start Emacs without your own
configuration? (Start Emacs with the command line
# "emacs --no-site-file -q"
.)
If you can't sort this out, please do one of two things: (i) Upgrade to
the newest CC Mode, available from <http://cc-mode.sf.net/release.php>;
or (ii) Use C-c C-b to get a dump of your configuration, then post that
here.
> Many thanks in advance.
> Best regards,
> Lars
--
Alan Mackenzie (Munich, Germany)
Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Comment problem java-mode
2006-01-07 22:10 Comment problem java-mode Lars Knoesel
2006-01-08 10:09 ` Alan Mackenzie
@ 2006-01-08 17:25 ` Martin Slouf
1 sibling, 0 replies; 3+ messages in thread
From: Martin Slouf @ 2006-01-08 17:25 UTC (permalink / raw)
turn on autofill-mode?
m.
On Sat, Jan 07, 2006 at 10:10:23PM +0000, Lars Knoesel wrote:
> Hi,
>
> I have a little comment problem within java-mode (GNU Emacs 21.4.1).
>
> public class AClass
> {
> public AClass()
> {
> try {
> // This is a comment and after reaching the end
> of line the comment is broken.
>
> ...
>
> How can I solve this problem?
>
> Many thanks in advance.
>
> Best regards,
>
> Lars
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-01-08 17:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-07 22:10 Comment problem java-mode Lars Knoesel
2006-01-08 10:09 ` Alan Mackenzie
2006-01-08 17:25 ` Martin Slouf
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).