bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#55678: 29.0.50; C-c C-w and errors in major-mode-hook


From: Visuwesh
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
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

[சனி மே 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:
> [...]





reply via email to

[Prev in Thread] Current Thread [Next in Thread]