unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: npostavs@users.sourceforge.net
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: immerrr again <immerrr@gmail.com>, 21671@debbugs.gnu.org
Subject: bug#21671: [PATCH] fix python.el hanging up during fontification #21657
Date: Tue, 28 Feb 2017 20:06:15 -0500	[thread overview]
Message-ID: <87lgspdcvs.fsf@users.sourceforge.net> (raw)
In-Reply-To: <87oab7u4i5.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 23 Feb 2016 21:04:34 +1100")

unarchive 24905
forcemerge 24905 21671
quit

Lars Ingebrigtsen <larsi@gnus.org> writes:

> immerrr again <immerrr@gmail.com> writes:
>
>> @@ -1712,7 +1712,11 @@ expressions when looking at them in either direction."
>>                     (python-nav-beginning-of-block))
>>                    ((memq context '(statement-start block-start))
>>                     (goto-char next-sexp-pos)
>> -                   (python-nav-beginning-of-statement))
>> +                   (unless (bobp)
>> +                     ;; If backward-sexp brought the point to
>> +                     ;; beginning-of-buffer, beginning-of-statement
>> +                     ;; will only bring it back.
>> +                     (python-nav-beginning-of-statement)))
>>                    (t (goto-char next-sexp-pos))))))))))
>
> I'm not a Python mode user, so I can't really review this patch.  I've
> reopened the bug -- could somebody else have a peek at this?

AFAICT, the problem is solved in #24905, so there is no need for this
patch.





  reply	other threads:[~2017-03-01  1:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-12 11:48 bug#21671: [PATCH] fix python.el hanging up during fontification #21657 immerrr again
2015-10-13  7:37 ` immerrr again
2015-10-13  8:43   ` Torsten Bronger
2015-10-13  8:56     ` immerrr again
2016-02-23  9:06       ` Lars Ingebrigtsen
2016-02-23  9:17         ` immerrr again
2016-02-23  9:49           ` Lars Ingebrigtsen
2016-02-23 10:00             ` immerrr again
2016-02-23 10:04               ` Lars Ingebrigtsen
2017-03-01  1:06                 ` npostavs [this message]
2015-10-24 16:04 ` immerrr again
2016-02-07 11:44   ` immerrr again

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=87lgspdcvs.fsf@users.sourceforge.net \
    --to=npostavs@users.sourceforge.net \
    --cc=21671@debbugs.gnu.org \
    --cc=immerrr@gmail.com \
    --cc=larsi@gnus.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 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).