unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: npostavs@users.sourceforge.net
To: Gdobbins <gdobbins@protonmail.com>
Cc: 26187@debbugs.gnu.org
Subject: bug#26187: Bug in indent-sexp
Date: Tue, 21 Mar 2017 20:49:42 -0400	[thread overview]
Message-ID: <87bmsu3zkp.fsf@users.sourceforge.net> (raw)
In-Reply-To: <edMndW2R6yeReqnOzTcnnOjIXQP11nlOH5iS8FbaHpSHzsqYGXO9JRYjF6ZbSKEnNY0hg-xORHOReNQpi1pd6PrwwAYSLzeNY-bls1FHEcU=@protonmail.com> (gdobbins@protonmail.com's message of "Sun, 19 Mar 2017 21:18:09 -0400")

tags 26187 fixed
close 26187 
quit

Gdobbins <gdobbins@protonmail.com> writes:

> The refactor of indent-sexp in commit 3ee3995d105ff02f0fac540757431d36cb45c6c7 broke the assumption
>
> ;; If ENDPOS is nil, it is safe not to scan before point
> ;; since every line we indent is more deeply nested than point is.
>
> thereby breaking functionality in paredit. The attached patch fixes this.
>

Pushed to master [1: bcb6c7b7cd], added test in [2: 0b60d7657a].

1: 2017-03-21 20:45:31 -0400 bcb6c7b7cd954fc653fe54c20aa4a5d8dd97d76d
  * lisp/emacs-lisp/lisp-mode.el (indent-sexp): Fix null endpos case

2: 2017-03-21 20:45:32 -0400 0b60d7657a2d9e5f9a233032643b0f3ce55420ee
  * test/lisp/emacs-lisp/lisp-mode-tests.el (indent-subsexp): Test for Bug#26187





      parent reply	other threads:[~2017-03-22  0:49 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
2017-03-22  0:49 ` npostavs [this message]

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=87bmsu3zkp.fsf@users.sourceforge.net \
    --to=npostavs@users.sourceforge.net \
    --cc=26187@debbugs.gnu.org \
    --cc=gdobbins@protonmail.com \
    /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).