all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* JIT Emacs
@ 2018-10-17 18:49 Emanuel Berg
  2018-10-18  2:33 ` Eli Zaretskii
       [not found] ` <mailman.2344.1539830016.1284.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Emanuel Berg @ 2018-10-17 18:49 UTC (permalink / raw)
  To: help-gnu-emacs

I just downloaded and built the JIT Emacs.
Easy and it worked great. But I didn't install
it because I wanted to try it out first.

However trying to bring in my own Elisp was
another matter. Compilation brought literally
hundreds of errors and warnings, files not
found, functions not defined, etc. etc.

So is there a method to do this, which, while
not solving every single problem at once, at
least will, as far as possible, minimize the
transition problem?

TIA

-- 
underground experts united
http://user.it.uu.se/~embe8573


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: JIT Emacs
  2018-10-17 18:49 JIT Emacs Emanuel Berg
@ 2018-10-18  2:33 ` Eli Zaretskii
  2018-10-18  6:45   ` tomas
       [not found] ` <mailman.2344.1539830016.1284.help-gnu-emacs@gnu.org>
  1 sibling, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2018-10-18  2:33 UTC (permalink / raw)
  To: help-gnu-emacs

> From: Emanuel Berg <moasen@zoho.com>
> Date: Wed, 17 Oct 2018 20:49:11 +0200
> 
> I just downloaded and built the JIT Emacs.
> Easy and it worked great. But I didn't install
> it because I wanted to try it out first.
> 
> However trying to bring in my own Elisp was
> another matter. Compilation brought literally
> hundreds of errors and warnings, files not
> found, functions not defined, etc. etc.
> 
> So is there a method to do this, which, while
> not solving every single problem at once, at
> least will, as far as possible, minimize the
> transition problem?

I don't think I understand the problem you are describing.  Using
Emacs with JIT doesn't require recompiling any Lisp files.

Also, what kinds of errors and warnings did you see?



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: JIT Emacs
  2018-10-18  2:33 ` Eli Zaretskii
@ 2018-10-18  6:45   ` tomas
  0 siblings, 0 replies; 4+ messages in thread
From: tomas @ 2018-10-18  6:45 UTC (permalink / raw)
  To: help-gnu-emacs

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

On Thu, Oct 18, 2018 at 05:33:10AM +0300, Eli Zaretskii wrote:
> > From: Emanuel Berg <moasen@zoho.com>
> > Date: Wed, 17 Oct 2018 20:49:11 +0200
> > 
> > I just downloaded and built the JIT Emacs.

[...]

> > However trying to bring in my own Elisp was
> > another matter. Compilation brought literally
> > hundreds of errors and warnings, files not
> > found, functions not defined, etc. etc.

[...]

> I don't think I understand the problem you are describing.  Using
> Emacs with JIT doesn't require recompiling any Lisp files.
> 
> Also, what kinds of errors and warnings did you see?

Perhaps the version of your "regular" Emacs and your freshly
compiled JIT Emacs are so different that the .elc or the
Lisp libraries aren't quite compatible?

Cheers
-- tomás

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: JIT Emacs
       [not found] ` <mailman.2344.1539830016.1284.help-gnu-emacs@gnu.org>
@ 2018-10-18  9:57   ` Emanuel Berg
  0 siblings, 0 replies; 4+ messages in thread
From: Emanuel Berg @ 2018-10-18  9:57 UTC (permalink / raw)
  To: help-gnu-emacs

Eli Zaretskii wrote:

> I don't think I understand the problem you
> are describing. Using Emacs with JIT doesn't
> require recompiling any Lisp files.

Starting JIT without recompiling runs on an
error immediately, commenting that away,
another error, an so on.

To answer Tomas' question, which I thought
about also, I'm currently on GNU Emacs 24.4.1
from the distro's repo. JIT is 27.0.50.

I made a branch in the Makefile [1]

    jit-emacs=0

    ifeq ($(jit-emacs),1)
       emacs=/home/incal/emacs/emacs-feature/libjit/src/emacs
    else
       emacs=emacs
    endif

with jit-emacs as 0, not a single warning
or error. With jit-emacs as 1, well to answer
your question...

> Also, what kinds of errors and warnings did
> you see?

(It seems Emacs-w3m, a third party piece of
software, is the villain in the drama, and to
a lesser extent ERC. The "obsolete" stuff I can
handle myself, God willing.)

In toplevel form:
erc-my.el:96:7:Warning: assignment to free variable ‘erc-timestamp-intangible’
erc-my.el:97:7:Warning: assignment to free variable ‘erc-timestamp-format’
erc-my.el:98:7:Warning: assignment to free variable
    ‘erc-timestamp-format-left’
erc-my.el:99:7:Warning: assignment to free variable
    ‘erc-timestamp-format-right’
erc-my.el:102:7:Warning: assignment to free variable ‘erc-fill-column’

In end of data:
erc-my.el:123:1:Warning: the following functions are not known to be defined:
    erc-track-disable, erc-previous-command

In toplevel form:
dired-my.el:7:1:Error: Cannot open load file: No such file or directory, w3m

In get-search-string:
get-search-string.el:28:41:Warning: ‘string-make-multibyte’ is an obsolete
    function (as of 26.1); use ‘decode-coding-string’.

In toplevel form:
gnus/article.el:3:1:Error: Cannot open load file: No such file or directory, w3m-bookmark

In toplevel form:
global-keys.el:4:1:Error: Cannot open load file: No such file or directory, w3m-bookmark

In help-custom-font-lock:
help-font-lock.el:23:30:Warning: ‘font-lock-fontify-buffer’ is for interactive
    use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.

In toplevel form:
isbn.el:69:1:Error: Cannot open load file: No such file or directory, w3m

In toplevel form:
ide/ide.el:5:1:Error: Cannot open load file: No such file or directory, w3m

In toplevel form:
kill-path.el:2:1:Error: Cannot open load file: No such file or directory, w3m

In end of data:
negative-subtraction.el:19:1:Warning: the function ‘digit-char-p’ is not known
    to be defined.

In spell:
spell-new.el:67:23:Warning: ispell-comments-and-strings called with 1
    argument, but accepts only 0

In sudo-path:
sudo-user-path.el:2:33:Warning: ‘system-name’ is an obsolete variable (as of
    25.1); use (system-name) instead

In toplevel form:
navigate-fs-keys.el:14:1:Error: Cannot open load file: No such file or directory, w3m-bookmark

In toplevel form:
w3m/autologin.el:2:1:Error: Cannot open load file: No such file or directory, w3m-form

In toplevel form:
w3m/bookmarks.el:1:1:Error: Cannot open load file: No such file or directory, w3m-bookmark

In translate-with-prompt:
translate.el:18:24:Warning: Pattern t is deprecated.  Use `_' instead

In toplevel form:
w3m/history.el:1:1:Error: Cannot open load file: No such file or directory, w3m-form

In toplevel form:
w3m/dl.el:2:1:Error: Cannot open load file: No such file or directory, w3m

In toplevel form:
w3m/w3m-keys.el:3:1:Error: Cannot open load file: No such file or directory, w3m-bookmark

In toplevel form:
w3m/search.el:3:1:Error: Cannot open load file: No such file or directory, w3m

In toplevel form:
w3m/w3m-my.el:3:1:Error: Cannot open load file: No such file or directory, w3m

In toplevel form:
w3m/w3m-tabs.el:3:1:Error: Cannot open load file: No such file or directory, w3m

In toplevel form:
w3m/w3m-unisearch.el:8:1:Error: Cannot open load file: No such file or directory, w3m

In set-x-clipboard:
xsel.el:77:13:Warning: ‘string-make-unibyte’ is an obsolete function (as of
    26.1); use ‘encode-coding-string’.

In x-copy-buffer:
xsel.el:83:15:Warning: ‘string-make-unibyte’ is an obsolete function (as of
    26.1); use ‘encode-coding-string’.

In end of data:
~/.emacs:73:1:Warning: the function ‘w3m’ is not known to be defined.

[1] http://user.it.uu.se/~embe8573/emacs-init/Makefile

-- 
underground experts united
http://user.it.uu.se/~embe8573


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-10-18  9:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-17 18:49 JIT Emacs Emanuel Berg
2018-10-18  2:33 ` Eli Zaretskii
2018-10-18  6:45   ` tomas
     [not found] ` <mailman.2344.1539830016.1284.help-gnu-emacs@gnu.org>
2018-10-18  9:57   ` Emanuel Berg

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.