unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
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 22:35:13 +0530	[thread overview]
Message-ID: <874k19wpti.fsf@gmail.com> (raw)
In-Reply-To: <87o7zh38rp.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 28 May 2022 18:46:18 +0200")

[சனி மே 28, 2022] Lars Ingebrigtsen wrote:

> Visuwesh <visuweshm@gmail.com> writes:
>
>> If that is indeed the norm, then I can go complain elsewhere I guess.
>
> For the record, I'm unable to reproduce any problems if I say
>
> (add-hook 'emacs-lisp-mode-hook 'paredit-mode)
>
> and then otherwise follow your recipe.

That's because paredit-mode only signals an error if there's a paren or
quote mismatch---whenever `check-parens' errors.  paredit-mode signals
an error for the following chunk for me,

;;; Xref backend
;;;

;;;###autoload
(defun imenu-xref-backend ()
  (unless imenu--index-alist
    (imenu--make-index-alist))
  (when (and imenu--index-alist
             (not (progn (require 'etags) tags-table-files)))
    'imenu))

(cl-defmethod xref-backend-identifier-at-point ((_backend (eql 'imenu)))

I can work around the problem by doing,

    (setq paredit-override-check-parens-function #'always)





  reply	other threads:[~2022-05-28 17:05 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
2022-05-28 16:46     ` Lars Ingebrigtsen
2022-05-28 17:05       ` Visuwesh [this message]
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=874k19wpti.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).