Subject: bug#77083: 31.0.50; submit-emacs-patch doesn't work in compressed lisp files

From: Elijah Gabe Pérez <[email-masked]>
Date: Tue, 18 Mar 2025 15:31:31 -0600

Eli Zaretskii <[email-masked]> writes:

> So the problem in your case is not that the files are compressed, the
> problem is that the source tree doesn't exist on that system?  In that
> case, I believe the patch suggested by Philip up-thread will solve
> this.  Can you try it?

Yeah, I've tried it and it solves this issue.
However, maintainer address is not inserted in X-Debbugs-Cc:.

Maybe Should i set source-directory to my emacs-git path in my config?

Or there should be a defcustom instead using source-directory?

Something like this?
#+begin_src emacs-lisp
  (defcustom submit-emacs-patch-src-path source-directory
    "Path to Emacs source directory for submit patch."
    :type 'string)
#+end_src

-- 
                                          - E.G via GNU Emacs and Org.