unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Gdobbins <gdobbins@protonmail.com>
To: npostavs@users.sourceforge.net
Cc: 26187@debbugs.gnu.org
Subject: bug#26187: Bug in indent-sexp
Date: Tue, 21 Mar 2017 00:24:23 -0400	[thread overview]
Message-ID: <CxGzHODqNM9jDgK6THlNNX9KAlmcvF3BZmzYM7YgcUs7vkk5TjytWZdqHMoejX2GJITAQ2RZxZHm7SgNSlMugxZccFi1DxMvSUC21eolVDg=@protonmail.com> (raw)
In-Reply-To: <87efxr48mf.fsf@users.sourceforge.net>

[-- Attachment #1: Type: text/plain, Size: 1183 bytes --]

I have not yet done a copyright assignment.

-- Graham Dobbins

-------- Original Message --------
Subject: Re: bug#26187: Bug in indent-sexp
Local Time: March 20, 2017 11:20 PM
UTC Time: March 21, 2017 3:20 AM
From: npostavs@users.sourceforge.net
To: Gdobbins <gdobbins@protonmail.com>
26187@debbugs.gnu.org

tags 26187 patch
quit

Gdobbins <gdobbins@protonmail.com> writes:

> Sure. In the form:
>
> (defun lisp-indent-defform (state _indent-point)
> (goto-char (car (cdr state)))
> (forward-line 1)
> (if (> (point) (car (cdr (cdr state))))|
> (progn
> (goto-char (car (cdr state)))
> (+ lisp-body-indent (current-column)))))
>
> where | is point, call indent-sexp and the result will be
>
> (defun lisp-indent-defform (state _indent-point)
> (goto-char (car (cdr state)))
> (forward-line 1)
> (if (> (point) (car (cdr (cdr state))))|
> (progn
> (goto-char (car (cdr state)))
> (+ lisp-body-indent (current-column)))))
>
> which is incorrect.

Hmm, the original behaviour is that no indentation happens at all which
seems kind of odd to me. But that's better than breaking things I
guess. Have you done copyright assignment for Emacs, or should I mark
your patch as a tiny change?

[-- Attachment #2: Type: text/html, Size: 2166 bytes --]

  reply	other threads:[~2017-03-21  4:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-20  1:18 bug#26187: Bug in indent-sexp Gdobbins
2017-03-20 13:20 ` npostavs
2017-03-20 20:00   ` Gdobbins
2017-03-21  3:22     ` npostavs
2017-03-21  4:24       ` Gdobbins [this message]
2017-03-22  0:49 ` npostavs

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='CxGzHODqNM9jDgK6THlNNX9KAlmcvF3BZmzYM7YgcUs7vkk5TjytWZdqHMoejX2GJITAQ2RZxZHm7SgNSlMugxZccFi1DxMvSUC21eolVDg=@protonmail.com' \
    --to=gdobbins@protonmail.com \
    --cc=26187@debbugs.gnu.org \
    --cc=npostavs@users.sourceforge.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 public inbox

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

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