ada-mode-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problems with building ada-mode


From: Simon Wright
Subject: Re: problems with building ada-mode
Date: Tue, 12 May 2020 08:58:25 +0100

On 11 May 2020, at 23:25, Bernardo <address@hidden> wrote:

Ludovic Brenta <address@hidden> writes:

The emacs variable 'exec-path' contains
/usr/lib/emacs/26.1/x86_64-linux-bin, which should contain
ada-mode_wisi_*_parse executables instead of /usr/bin.


guess that depends on Emacs installation; personally, i build Emacs from
git sources and run it from build directory (which is not uncommon)); in
this case 'exec-path' doesn't contain the above path;
/usr/local/bin or ~/.local/bin might be better candidates

I build ada-mode from git sources and run it from there: I haven't installed the ada-mode packages, but I have installed other-frame-window (was that needed?) and uniquify-files.

 ~/.emacs includes

;; whence ada-mode?        (set to nil if package installed)
(setq ada-mode-local t)

;;;;;;;

(if ada-mode-local
    (progn
      (add-to-list 'load-path
                   (expand-file-name "~/ada-mode/org.emacs.ada-mode"))
      (load-library "autoloads.el")
      (setenv "PATH" (concat (expand-file-name "~/ada-mode/org.emacs.ada-mode")
                             ":"
                             (getenv "PATH")))))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]