unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: indenting java code
Date: Tue, 04 Nov 2003 15:49:27 GMT	[thread overview]
Message-ID: <jwv65i0f82m.fsf-monnier+gnu.emacs.help@vor.iro.umontreal.ca> (raw)
In-Reply-To: k8Cpb.285178$pl3.193218@pd7tw3no

> (add-hook 'java-mode-hook
>            (lambda ()
>              (set 'c-basic-offset 2)))
                ^^^^^
               (setq c-basic-offset 2)

`set' is very bad style here.


        Stefan

  parent reply	other threads:[~2003-11-04 15:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-03 23:47 indenting java code Lowell Kirsh
2003-11-04  0:10 ` Andrew Taylor
2003-11-04  2:09   ` Lowell Kirsh
2003-11-04 15:49   ` Stefan Monnier [this message]
2003-11-05 23:17     ` Dan Anderson
     [not found]     ` <mailman.3280.1068074352.21628.help-gnu-emacs@gnu.org>
2003-11-06 18:12       ` Kevin Rodgers
2003-11-06 22:14       ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=jwv65i0f82m.fsf-monnier+gnu.emacs.help@vor.iro.umontreal.ca \
    --to=monnier@iro.umontreal.ca \
    /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.
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).