Questions tagged [site-lisp]

8 questions
7
votes
1 answer

How can I build/package Emacs so that the C source files are installed to a standard find-function-C-source-directory?

I want to be able to view C source code of Emacs functions. For example, I want to be able to do M-: (find-function 'message). Emacs prompts me for directory the C sources, so it can set find-function-C-source-directory. However, my distro (Arch…
Wilfred Hughes
  • 6,890
  • 2
  • 29
  • 59
6
votes
1 answer

Is the term "site", as in "site-lisp", unique to Emacs?

I've inferred from the context in which it's used that "site" refers to a multi-user environment, as opposed to a particular user's section of that environment. But it's hard to find a formal explanation or origin for such a generic term. Is it a…
ivan
  • 1,928
  • 10
  • 20
4
votes
1 answer

Automatically move installed packages to site-lisp to benefit all user accounts

I have scripts to setup virtual machine images, where emacs packages are installed for the root account. Currently, I manually copy them to the appropriate site-lisp directory, i.e. one of those defined by package-directory-list -- either…
Ben Hyde
  • 574
  • 3
  • 9
2
votes
1 answer

Which site-lisp file was loaded, default.el or default.elc?

I'm setting up some site-wide default configuration in the site-lisp directory, and trying to figure out whether emacs is loading the byte-compiled default.elc or default.el. I haven't applied any other configuration, such as load-prefer-newer. With…
ivan
  • 1,928
  • 10
  • 20
1
vote
1 answer

Emacs can not see mode.el in site-lisp

I installed Smalltalk from source which comes with its own mode. The files smalltalk-mode.el and smalltalk-mode.elc are placed in /usr/local/share/emacs/site-lisp/ and this path is in my load-path but Emacs can not recognize .st files as Smalltalk…
user12021
0
votes
1 answer

How can I remove more libs to reduce loading at startup?

When I view the number of commands or functions through M-x I notice so many that I never use. However I also didn't load them explicitly in my init.el either. I do use use-package and have attempted to keep my dotfiles small and light, but it…
lucidquiet
  • 229
  • 1
  • 7
0
votes
3 answers

where to put .el files on Windows10 for loading at startup

I'm using emacs as a bog-standard program in Windows, and also from the command line in cygwin. They both use the same installation of emacs. I just grabbed yaml-mode.el off the net but I can't get it to load at start-up. Where should I put it?…
Adam
  • 241
  • 2
  • 7
0
votes
1 answer

How to load json.el included in emacs instead of fallback lib included in gnus

I want to use the json.el included in 24.5, but cannot do that, because gnus includes an older version of json.el that is loaded before the one from 24.5. When running list-load-path-shadows I got this as one of the…
Alexander Baier
  • 328
  • 1
  • 8