Re: [External] : Re: org-mode compile issue this morning - how to report this?

2022-08-25 Thread Tim Cross


Emacs 29.1 refers to the first release of Emacs 29, which has not yet
occurred. Emacs 29.0.50 refers to version 29 of emacs which has not yet
had a release candidate issued i.e. still very much development and not
yet at beta level. Once the first release candidate is issued, the
version will likely change to 29.0.90 and then once actually released,
to 29.1.

Given that 29.0.50 at this point just means development version (and
unless a commit hash is also included, head of the devel branch), you
can assume the bug fix will be in 29.0.50 provided you have done a pull
since that bug fix notice was posted.

Daniel Ortmann  writes:

> FYI,
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57394
>
> Lars at gnu says it is fixed in emacs 29
> The bug's web page says, more specifically, "bug marked as fixed in version 
> 29.1"
>
> ... I can't find emacs 29.1; my 'git pull' still says 29.0 and I don't see 
> any 29.1 branches available.
> I have not been able to test and verify the fix.
>
> Thoughts?
>
>  Daniel Ortmann  writes:
>
>  Error: error ("Eager macro-expansion failure: (void-function
> byte-compile-warn-obsolete)")
> debug-early-backtrace()
> debug-early(error (error "Eager macro-expansion failure:
> (void-function byte-compile-warn-obsolete)"))
>
> This should now be fixed in Emacs 29.




Re: [External] : Re: org-mode compile issue this morning - how to report this?

2022-08-25 Thread Gregor Zattler
Hi Daniel,
* Daniel Ortmann  [2022-08-25; 09:36 -05]:
> FYI,
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57394
>
> Lars at gnu says it is fixed in emacs 29
> The bug's web page says, more specifically, "bug marked as fixed in
> version 29.1"
>
> ... I can't find emacs 29.1; my 'git pull' still says 29.0 and I don't
> see any 29.1 branches available.
> I have not been able to test and verify the fix.

it's this commit on the emacs master branch:

commit b28b2cefaea0d7846ab9a45dc92f68ad00e92085
Author: Lars Ingebrigtsen 
Date:   Thu Aug 25 14:54:49 2022 +0200

Fix warning about obsoleted generalized variables

* lisp/emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
Autoload so that the call here from gv.el (about obsolete
generalized variables) doesn't bug out (bug#57394).

Do a git fetch --all; git pull on the emacs master branch
and you are able to test the fix.  I cannot tell since my
machine is slow and still in the early stadium of building
emacs.



Ciao; Gregor
--
 -... --- .-. . -.. ..--.. ...-.-



Re: [External] : Re: org-mode compile issue this morning - how to report this?

2022-08-25 Thread Daniel Ortmann
Fix confirmed!  Everything works fine now with emacs 29.0.50.  (Many 
many new messages about obsolete functions.)

Thank you

GNU Emacs 29.0.50 (build 3, x86_64-pc-linux-gnu, GTK+ Version 3.22.30, 
cairo version 1.15.12) of 2022-08-25
Org mode version 9.5.4 (release_9.5.4-758-g3c11e9 @ 
/home/dortmann/src/git-org-mode/lisp/)


On 8/25/22 09:36, Daniel Ortmann wrote:

FYI,
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57394

Lars at gnu says it is fixed in emacs 29
The bug's web page says, more specifically, "bug marked as fixed in 
version 29.1"


... I can't find emacs 29.1; my 'git pull' still says 29.0 and I don't 
see any 29.1 branches available.

I have not been able to test and verify the fix.

Thoughts?

Daniel Ortmann  writes:


Error: error ("Eager macro-expansion failure: (void-function
byte-compile-warn-obsolete)")
debug-early-backtrace()
debug-early(error (error "Eager macro-expansion failure:
(void-function byte-compile-warn-obsolete)"))


This should now be fixed in Emacs 29.



Re: [External] : Re: org-mode compile issue this morning - how to report this?

2022-08-25 Thread Daniel Ortmann

FYI,
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57394

Lars at gnu says it is fixed in emacs 29
The bug's web page says, more specifically, "bug marked as fixed in 
version 29.1"


... I can't find emacs 29.1; my 'git pull' still says 29.0 and I don't 
see any 29.1 branches available.

I have not been able to test and verify the fix.

Thoughts?

   Daniel Ortmann  writes:


Error: error ("Eager macro-expansion failure: (void-function
byte-compile-warn-obsolete)")
debug-early-backtrace()
debug-early(error (error "Eager macro-expansion failure:
(void-function byte-compile-warn-obsolete)"))


   This should now be fixed in Emacs 29.


Re: [External] : Re: org-mode compile issue this morning - how to report this?

2022-08-24 Thread Daniel Ortmann
git bisect shows that this emacs commit is the problem (if I understand 
correctly ... this is the first time I have used git bisect):
[6ddcf67052545a0f77233f1a952dc90e296cda35] Make it possible to mark 
generalized variables as obsolete


Here is the bug report:
Subject: 29.0.50; emacs commit 6ddcf67052545a0f77233f1a952dc90e296cda35 
causes org-mode build to fail


dortmann@ddo-linux:git-org-mode$ ( set -eu ;  make clean ; make ; make 
autoloads )

make -C lisp clean
make[1]: Entering directory '/home/dortmann/src/git-org-mode/lisp'
rm -f org-version.el org-loaddefs.el org-version.elc org-loaddefs.elc 
org-install.elc

rm -f *.elc
make[1]: Leaving directory '/home/dortmann/src/git-org-mode/lisp'
make -C doc clean
make[1]: Entering directory '/home/dortmann/src/git-org-mode/doc'
rm -f *.pdf *.html *.info *_letter.tex org-version.inc org-version.tex \
  *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.pg *.pgs *.toc \
  *.tp *.tps *.vr *.vrs *.log *.ps
make[1]: Leaving directory '/home/dortmann/src/git-org-mode/doc'
make -C doc clean;  make -C lisp clean;
make[1]: Entering directory '/home/dortmann/src/git-org-mode/doc'
rm -f *.pdf *.html *.info *_letter.tex org-version.inc org-version.tex \
  *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.pg *.pgs *.toc \
  *.tp *.tps *.vr *.vrs *.log *.ps
make[1]: Leaving directory '/home/dortmann/src/git-org-mode/doc'
make[1]: Entering directory '/home/dortmann/src/git-org-mode/lisp'
rm -f org-version.el org-loaddefs.el org-version.elc org-loaddefs.elc 
org-install.elc

rm -f *.elc
make[1]: Leaving directory '/home/dortmann/src/git-org-mode/lisp'
make -C lisp compile
make[1]: Entering directory '/home/dortmann/src/git-org-mode/lisp'
rm -f org-version.el org-loaddefs.el org-version.elc org-loaddefs.elc 
org-install.elc

org-version: 9.5.4 (release_9.5.4-758-g3c11e9)
Loading /home/dortmann/src/git-org-mode/lisp/org-compat.el (source)...

Error: error ("Eager macro-expansion failure: (void-function 
byte-compile-warn-obsolete)")

  debug-early-backtrace()
  debug-early(error (error "Eager macro-expansion failure: 
(void-function byte-compile-warn-obsolete)"))
  error("Eager macro-expansion failure: %S" (void-function 
byte-compile-warn-obsolete))
  internal-macroexpand-for-load((defalias 'org-string-width #'(lambda 
(string &optional pixels) "Return width of STRING when displayed in the 
current buffer.\nReturn width in pixels when PIXELS is non-nil." (if 
(and (version< emacs-version "28") (not pixels)) (org--string-width-1 
string) (remove-text-properties 0 (length string) '(wrap-prefix t 
line-prefix t) string) (unless pixels (remove-text-properties 0 (length 
string) '(face t) string)) (let ((current-invisibility-spec (or (and 
(not (listp buffer-invisibility-spec)) buffer-invisibility-spec) (let 
(result) (dolist (el buffer-invisibility-spec) (unless (or (memq el 
'(org-fold-drawer org-fold-block org-fold-outline)) (and (listp el) 
(memq (car el) '(org-fold-drawer org-fold-block org-fold-outline 
(push el result))) result))) (current-char-property-alias-alist 
char-property-alias-alist)) (with-temp-buffer (setq-local 
display-line-numbers nil) (setq-local buffer-invisibility-spec (if 
(listp current-invisibility-spec) (mapcar (lambda (el) (if (and (consp 
el) (cdr el)) (list (car el)) el)) current-invisibility-spec) 
current-invisibility-spec)) (setq-local char-property-alias-alist 
current-char-property-alias-alist) (let (pixel-width symbol-width) 
(with-silent-modifications (setf (buffer-string) string) (setq 
pixel-width (if (get-buffer-window (current-buffer)) (car 
(window-text-pixel-size nil (line-beginning-position) (point-max))) 
(set-window-buffer nil (current-buffer)) (car (window-text-pixel-size 
nil (line-beginning-position) (point-max) (unless pixels (setf 
(buffer-string) "a") (setq symbol-width (if (get-buffer-window 
(current-buffer)) (car (window-text-pixel-size nil 
(line-beginning-position) (point-max))) (set-window-buffer nil 
(current-buffer)) (car (window-text-pixel-size nil 
(line-beginning-position) (point-max))) (if pixels pixel-width (/ 
pixel-width symbol-width t)
load-with-code-conversion("/home/dortmann/src/git-org-mode/lisp/org-macs.el" 
"/home/dortmann/src/git-org-mode/lisp/org-macs.el" nil t)

  require(org-macs)
load-with-code-conversion("/home/dortmann/src/git-org-mode/lisp/org-compat.el" 
"/home/dortmann/src/git-org-mode/lisp/org-compat.el" nil nil)

  load("org-compat.el")
  command-line-1(("--eval" "(setq vc-handled-backends nil 
org-startup-folded nil org-element-cache-persistent nil)" "--eval" 
"(add-to-list 'load-path \".\")" "--eval" "(load \"org-compat.el\")" 
"--eval" "(load \"../mk/org-fixup.el\")" "--eval" "(org-make-org-version 
\"9.5.4\" \"release_9.5.4-758-g3c11e9\")"))

  command-line()
  normal-top-level()
Eager macro-expansion failure: (void-function byte-compile-warn-obsolete)
make[1]: *** [Makefile:72: org-version.el] Error 255
make[1]: Leaving directory '/home/dortma