unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Philip Kaludercic <philipk@posteo.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 47879@debbugs.gnu.org, Stefan Kangas <stefan@marxist.se>
Subject: bug#47879: [PATCH] Ignore mode hooks when analysing diffs
Date: Wed, 21 Apr 2021 14:36:22 +0000	[thread overview]
Message-ID: <87o8e7aemx.fsf@posteo.net> (raw)
In-Reply-To: <83zgxrpvh2.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 21 Apr 2021 17:23:37 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Stefan Kangas <stefan@marxist.se>
>> Date: Wed, 21 Apr 2021 09:12:45 -0500
>> Cc: Eli Zaretskii <eliz@gnu.org>, 47879@debbugs.gnu.org
>> 
>> >> I rather think that the bug is either in the hook you added or in
>> >> paredit-mode, and should be solved there.
>> >
>> > Ok, I'll try that too.
>> 
>> So is this a notabug or a wontfix, or is there more to do here?
>
> Too early to say, I think.  Let's give Philip some time to try to fix
> it as I suggested.

I looked into the code, and Philipp Stephani's suggestion to set
paredit-override-check-parens-function to (lambda (_) t) seems to be the
cleanest solution. I'd say this is not really a bug, but an issue in my
configuration. It might be worth considering sending paredit a patch to
only check the syntax if invoked interactively, but my suggestion was
certainly too broad.

-- 
	Philip K.





  reply	other threads:[~2021-04-21 14:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-18 19:08 bug#47879: [PATCH] Ignore mode hooks when analysing diffs Philip Kaludercic
2021-04-18 19:25 ` Eli Zaretskii
2021-04-18 20:08   ` Philip Kaludercic
2021-04-21 14:12     ` Stefan Kangas
2021-04-21 14:23       ` Eli Zaretskii
2021-04-21 14:36         ` Philip Kaludercic [this message]
2021-04-21 14:45           ` Stefan Kangas
2021-04-21 14:52             ` Philip Kaludercic
2021-05-03 10:28               ` Lars Ingebrigtsen
2021-04-18 20:18 ` Philipp Stephani

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=87o8e7aemx.fsf@posteo.net \
    --to=philipk@posteo.net \
    --cc=47879@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=stefan@marxist.se \
    /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).