unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "João Távora" <joaotavora@gmail.com>
To: kobarity <kobarity@gmail.com>
Cc: 62142@debbugs.gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>
Subject: bug#62142: 30.0.50; python-fill-paragraph problems on filling strings
Date: Sun, 12 Mar 2023 18:05:48 +0000	[thread overview]
Message-ID: <87v8j5rgjn.fsf@gmail.com> (raw)
In-Reply-To: <eke7pm9egy7q.wl-kobarity@gmail.com> (kobarity@gmail.com's message of "Sun, 12 Mar 2023 17:39:37 +0900")

kobarity <kobarity@gmail.com> writes:

> Attached is a patch to fix these problems.  Main changes are:
>
> 1. single-quoted-string and triple-quoted-string are added as a TYPE
>    argument of `python-syntax-context'.
> 2. New helper function `python-info-triple-quoted-string-p' is added
>    to detect triple quoted strings including quotes.
> 3. `python-fill-paragraph' and `python-fill-string' use
>    `python-info-triple-quoted-string-p' to detect triple quoted
>    strings only.
>
> I look forward to your comments.

Hi kobarity, 

I suppose the test suite still passes.  Did also enable
electric-pair-mode and play around and find acceptable behaviour?  Does
bug#49518 stay solved?

If so, this is fine with me, and let's let Stefan chime in.

João







  reply	other threads:[~2023-03-12 18:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-12  8:39 bug#62142: 30.0.50; python-fill-paragraph problems on filling strings kobarity
2023-03-12 18:05 ` João Távora [this message]
2023-03-13 14:17   ` kobarity
2023-03-16  7:20 ` Eli Zaretskii
2023-03-16  8:55   ` João Távora
2023-03-16 13:27   ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-16 15:00     ` Eli Zaretskii

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=87v8j5rgjn.fsf@gmail.com \
    --to=joaotavora@gmail.com \
    --cc=62142@debbugs.gnu.org \
    --cc=kobarity@gmail.com \
    --cc=monnier@iro.umontreal.ca \
    /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).