From: Visuwesh <visuweshm@gmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 55678@debbugs.gnu.org
Subject: bug#55678: 29.0.50; C-c C-w and errors in major-mode-hook
Date: Sat, 28 May 2022 16:44:06 +0530 [thread overview]
Message-ID: <878rql29kx.fsf@gmail.com> (raw)
In-Reply-To: <87pmjy3p4l.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 28 May 2022 12:52:58 +0200")
[சனி மே 28, 2022] Lars Ingebrigtsen wrote:
> Visuwesh <visuweshm@gmail.com> writes:
>
>> I have paredit-mode in emacs-lisp-mode-hook, and when the buffer has
>> mismatched parens [(check-paren)=nil], it signals an error. This makes
>> `diff-add-log-current-entries' not add any of the entries.
>>
>> [...]
>> I narrowed down the problem to `diff-add-log-current-entries' and I
>> *think* the problem is in goto-otherbuf function but when I added an
>> ignore-error around (funcall (buffer-local-value 'major-mode buf)), I
>> noticed no change. :-/
>
> Isn't the problem here that paredit-mode signals an error when being
> switched on? Modes aren't supposed to do that.
>
If that is indeed the norm, then I can go complain elsewhere I guess.
> For reference, here's the backtrace in the test case:
> [...]
next prev parent reply other threads:[~2022-05-28 11:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-27 14:51 bug#55678: 29.0.50; C-c C-w and errors in major-mode-hook Visuwesh
2022-05-28 10:52 ` Lars Ingebrigtsen
2022-05-28 11:14 ` Visuwesh [this message]
2022-05-28 16:46 ` Lars Ingebrigtsen
2022-05-28 17:05 ` Visuwesh
2022-05-29 13:07 ` Lars Ingebrigtsen
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=878rql29kx.fsf@gmail.com \
--to=visuweshm@gmail.com \
--cc=55678@debbugs.gnu.org \
--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).