all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Theodor Thornhill via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Mohammed Sadiq <sadiq@sadiqpk.org>
Cc: 60932@debbugs.gnu.org
Subject: bug#60932: 29.0.60; c-ts-mode: Fails to indent enum block emitting a warning
Date: Fri, 20 Jan 2023 22:24:51 +0100	[thread overview]
Message-ID: <87fsc46grg.fsf@thornhill.no> (raw)
In-Reply-To: <0386c5fed42585a4e3c36ad3ae2d50de@sadiqpk.org> (Mohammed Sadiq's message of "Wed, 18 Jan 2023 19:39:47 +0530")

Mohammed Sadiq <sadiq@sadiqpk.org> writes:

> enums are not indented with select -> TAB, Example:
>
> enum {
> PROP_0,
> PROP_NAME,
> N_PROPS
> };
>
>
> When trying to indent, I get the following warning in *Messages*:
> indent-line-to: Wrong type argument: wholenump, -2
>
>
> In GNU Emacs 29.0.60 (build 8, x86_64-pc-linux-gnu, GTK+ Version
>  3.24.36, cairo version 1.16.0) of 2023-01-18 built on purism
> Repository revision: 1798ff5a6636d6b34d23ab2dadb966e94cc57467
> Repository branch: emacs-29
> Windowing system distributor 'The X.Org Foundation', version 11.0.12101005
> System Description: Debian GNU/Linux bookworm/sid


Thanks!

Should be fixed in latest master, closing this :)

Theo





  reply	other threads:[~2023-01-20 21:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-18 14:09 bug#60932: 29.0.60; c-ts-mode: Fails to indent enum block emitting a warning Mohammed Sadiq
2023-01-20 21:24 ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2023-01-21  6:44   ` Mohammed Sadiq
2023-01-21  7:48     ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-01-21  8:00       ` Mohammed Sadiq

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=87fsc46grg.fsf@thornhill.no \
    --to=bug-gnu-emacs@gnu.org \
    --cc=60932@debbugs.gnu.org \
    --cc=sadiq@sadiqpk.org \
    --cc=theo@thornhill.no \
    /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.