unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: chenphy10@gmail.com
To: 54240@debbugs.gnu.org
Subject: bug#54240: emacs/lisp/emacs-lisp/derived.el patch
Date: Thu, 03 Mar 2022 11:45:21 -0500	[thread overview]
Message-ID: <e3474ddd3d92c93e9b4361bbf2cf930beb010698.camel@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 242 bytes --]

Dear developers/maintainers,

When running "jdee-mode" from Melpa, without the patch, it will create
erorrs on the "mode" undefined. I found it is caused by this quoted
function.

Please let me know if it is a suitable patch.


Best,
Tongjie

[-- Attachment #2: derived.el.patch --]
[-- Type: text/x-patch, Size: 441 bytes --]

--- derived.el	2022-03-03 11:33:56.101116071 -0500
+++ derived.el-patched	2022-03-03 11:36:39.306232391 -0500
@@ -404,7 +404,7 @@
       t
     (eval `(defvar ,(derived-mode-abbrev-table-name mode)
 	     (progn
-	       (define-abbrev-table (derived-mode-abbrev-table-name mode) nil)
+	       ,(define-abbrev-table (derived-mode-abbrev-table-name mode) nil)
 	       (make-abbrev-table))
 	     ,(format "Abbrev table for %s." mode)))))
 \f

             reply	other threads:[~2022-03-03 16:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-03 16:45 chenphy10 [this message]
2022-03-03 17:14 ` bug#54240: emacs/lisp/emacs-lisp/derived.el patch Lars Ingebrigtsen
2022-03-03 23:02   ` Tongjie Chen
2022-03-04  0:36   ` Michael Heerdegen
2022-03-04  3:28     ` Tongjie Chen
2022-03-04  3:59       ` Michael Heerdegen
2022-03-04 15:19     ` Lars Ingebrigtsen
2022-03-04 21:39       ` Michael Heerdegen
2022-03-06 16:13         ` 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=e3474ddd3d92c93e9b4361bbf2cf930beb010698.camel@gmail.com \
    --to=chenphy10@gmail.com \
    --cc=54240@debbugs.gnu.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).