Emacs 25 patch

Joseph Donaldson <[email protected]>
Newsgroups gmane.lisp.scheme.bigloo
Message-ID <[email protected]>
Hello, Manuel,
Please find attached a patch againg bigloo4.3a-beta19Oct16 that updates the bigloo build to support emacs 25. It also includes a change to ude-compile.el wherein the code setting the compilation-process-setup-function has been removed. As I mentioned earlier, the scope of outwin has changed with emacs25 and referencing outwin in this function now causes an error. Further, compile.el provides the customizable variable compilation-scroll-output which when set to t will scroll the window in the manner intended by the removed code, so I see no issue with removing it.
Thanks,Joseph Donaldson
emacs.patch (text/x-patch, 2.3 KB)
--- bigloo4.3a/autoconf/emacsbrand	2016-10-18 01:15:33.000000000 -0700
+++ bigloo4.3a_mod/autoconf/emacsbrand	2016-10-22 11:53:45.011809630 -0700
@@ -35,6 +35,7 @@
 #*    The autodetection ELisp expression                               */
 #*---------------------------------------------------------------------*/
 expr="(cond \
+        ((string-match \"GNU Emacs 25\" (emacs-version)) (kill-emacs 25))
         ((string-match \"GNU Emacs 24\" (emacs-version)) (kill-emacs 24)) \
         ((string-match \"GNU Emacs 23\" (emacs-version)) (kill-emacs 23)) \
         ((string-match \"GNU Emacs 22\" (emacs-version)) (kill-emacs 22)) \
@@ -63,7 +64,11 @@
           if [ "$version" = "24" ]; then
             echo "emacs24"
           else
-            echo "generic";
+            if [ "$version" = "25" ]; then
+              echo "emacs25"      
+            else
+              echo "generic";
+            fi    
           fi
         fi
       fi
--- bigloo4.3a/bmacs/Makefile	2016-10-18 01:15:33.000000000 -0700
+++ bigloo4.3a_mod/bmacs/Makefile	2016-10-22 11:59:46.396493218 -0700
@@ -115,7 +115,7 @@
 #*---------------------------------------------------------------------*/
 all: $(EMACSBRAND)
 
-emacs22 emacs23 emacs24:
+emacs22 emacs23 emacs24 emacs25:
 	(expr=load-path; \
           for p in . $(LOADPATH); do \
              expr="(cons \"../$$p\" (cons \"$$p\" $$expr))"; \
@@ -179,6 +179,7 @@
 install.emacs22: doinstall
 install.emacs23: doinstall
 install.emacs24: doinstall
+install.emacs25: doinstall
 install.xemacs: doinstall
 
 install.generic:
--- bigloo4.3a/bmacs/ude/ude-compile.el	2016-10-18 01:15:33.000000000 -0700
+++ bigloo4.3a_mod/bmacs/ude/ude-compile.el	2016-10-22 13:55:46.714965508 -0700
@@ -34,13 +34,6 @@
 (defvar compilation-font-lock-keywords '())
 (defvar compilation-font-lock-keywords-tmp '())
 
-;*---------------------------------------------------------------------*/
-;*    compilation-process-setup-function ...                           */
-;*---------------------------------------------------------------------*/
-(setq compilation-process-setup-function
-  '(lambda ()
-     (set-window-point outwin (point-max))
-     (sit-for 0)))
 
 ;*---------------------------------------------------------------------*/
 ;*    ude-compile-init ...                                             */
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.