From: Noam Postavsky <npostavs@gmail.com>
To: Glenn Morris <rgm@gnu.org>
Cc: Fabrice Salvaire <fabrice.salvaire@orange.fr>, 20560@debbugs.gnu.org
Subject: bug#20560: 24.5; I am not happy with the new Python mode indentation behaviour
Date: Sat, 20 Apr 2019 16:58:37 -0400 [thread overview]
Message-ID: <87pnpgtmv6.fsf@gmail.com> (raw)
In-Reply-To: <mnwq0dzsoh.fsf@fencepost.gnu.org> (Glenn Morris's message of "Tue, 12 May 2015 12:06:38 -0400")
# patch for 20742 doesn't help for 20560
unmerge 20560
forcemerge 33979 20560
quit
Glenn Morris <rgm@gnu.org> writes:
> Fabrice Salvaire wrote:
>
>> my_list = [
>> ____1, 2, 3,
>> ____4, 5, 6,
>> ]
>
> When I type that, I get an error, so perhaps it is not intended:
>
> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
> =(nil 5)
> python-syntax-closing-paren-p()
> (and (python-syntax-closing-paren-p) (progn (forward-char 1) (not (nth 1 (or nil (syntax-ppss))))))
> (if (and (python-syntax-closing-paren-p) (progn (forward-char 1) (not (nth 1 (or nil (syntax-ppss)))))) (progn (cons :inside-paren-at-closing-paren start)))
> (save-excursion (skip-syntax-forward " ") (if (and (python-syntax-closing-paren-p) (progn (forward-char 1) (not (nth 1 (or nil (syntax-ppss)))))) (progn (cons :inside-paren-at-closing-paren start))))
I'm not getting this anymore, perhaps it's been fixed in the meantime
(I've tested only in 25.3 and 26.2, I don't have 24.5 building at the
moment).
At any rate, the OP seems to be the same as 33979 (though different from
20742 which it was previously merged to).
prev parent reply other threads:[~2019-04-20 20:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-12 10:13 bug#20560: 24.5; I am not happy with the new Python mode indentation behaviour Fabrice Salvaire
2015-05-12 16:06 ` Glenn Morris
2019-04-20 20:58 ` Noam Postavsky [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pnpgtmv6.fsf@gmail.com \
--to=npostavs@gmail.com \
--cc=20560@debbugs.gnu.org \
--cc=fabrice.salvaire@orange.fr \
--cc=rgm@gnu.org \
/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.