all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@users.sourceforge.net>
To: Dima Kogan <dima@secretsauce.net>
Cc: 25480@debbugs.gnu.org
Subject: bug#25480: 26.0.50; cc-mode: punctuation in comments can affect non-comment indentation
Date: Tue, 28 Nov 2017 21:24:38 -0500	[thread overview]
Message-ID: <87mv35lt3t.fsf@users.sourceforge.net> (raw)
In-Reply-To: <87y3y8vx4s.fsf@secretsauce.net> (Dima Kogan's message of "Wed, 18 Jan 2017 14:09:07 -0800")

retitle 25480 cc-mode: open-paren-in-column-0 of comment affects non-comment indentation
quit

Dima Kogan <dima@secretsauce.net> writes:

> /*
> aaa). bbb ccc <=
> (dd >= f)
> */
>
> struct S { int x; };

Doing (setq open-paren-in-column-0-is-defun-start nil) fixes it.

Alternatively, keeping the open paren out of column 0:

/*
aaa). bbb ccc <=
 (dd >= f)
*/

struct S { int x; };






  reply	other threads:[~2017-11-29  2:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-18 22:09 bug#25480: 26.0.50; cc-mode: punctuation in comments can affect non-comment indentation Dima Kogan
2017-11-29  2:24 ` Noam Postavsky [this message]
2018-02-10  9:04   ` Dmitry Gutov
2018-05-24  3:24     ` Noam Postavsky

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

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

  git send-email \
    --in-reply-to=87mv35lt3t.fsf@users.sourceforge.net \
    --to=npostavs@users.sourceforge.net \
    --cc=25480@debbugs.gnu.org \
    --cc=dima@secretsauce.net \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.