Commit graph

150 commits

Author SHA1 Message Date
Moritz Ulrich 1543c8cc01
emacs: Add more documentation to site-start.el
`site-start.el` is the file loaded on startup, containing nix-specific
customizations like adding paths in `NIX_PROFILES` to the
emacs-specific search-path (`load-path`) or making man-pages in these
directories discoverable.
2018-01-05 10:50:13 +01:00
Moritz Drexl 3d52d43dd9 emacs: enable vfork on darwin
Issue described here:
https://lists.gnu.org/archive/html/bug-gnu-emacs/2017-04/msg00201.html

In particular fixes lagging magit, as described here:
https://magit.vc/manual/magit/MacOS-Performance.html

The .patch file is taken from the reference there.

The fix is in Emacs master, so this patch should be removed when switching to
Emacs 26.1.
2017-12-16 22:25:42 +00:00
Anthony Cowley a4203d0ffc emacsMacport: 25.3-6.7 -> 25.3-6.8 2017-10-16 15:16:01 -04:00
Eelco Dolstra cf599d3f99
emacs: Clear the environment while dumping
This reduces the closure size of Emacs from 575 to 279 MiB. Dumping
Emacs had a chance of leaking parts of the environment (such as $PATH)
into the dumped executable. This hopefully fixes it. (It's a bit hard
to tell since the effect is not deterministic.)
2017-09-25 19:38:44 +02:00
Anthony Cowley 50a33089c6 emacsMacport: emacs-25.2 => 25.3, macport-6.3 => 6.7 2017-09-14 16:22:19 -04:00
Mikael Brockman 78f457c76c emacs: 25.2 -> 25.3
https://lists.gnu.org/archive/html/emacs-devel/2017-09/msg00211.html

> This is an emergency release to fix a security vulnerability in Emacs.
>
> Enriched Text mode has its support for decoding 'x-display' disabled.
> This feature allows saving 'display' properties as part of text.
> Emacs 'display' properties support evaluation of arbitrary Lisp forms
> as part of instantiating the property, so decoding 'x-display' is
> vulnerable to executing arbitrary malicious Lisp code included in the
> text (e.g., sent as part of an email message).
2017-09-12 09:45:02 +03:00
Volth b7ccf27229 rename webkitgtk24x -> webkitgtk24x-gtk3; webkitgtk2 -> webkitgtk24x-gtk2 2017-05-26 13:43:25 +00:00
Yann Hodique 7e273df818 emacs-macport: align buildInputs and configureFlags on emacs 2017-04-22 11:44:03 -07:00
Yann Hodique d884024d42 emacs: 25.1 -> 25.2 2017-04-22 11:44:03 -07:00
Leon Isenberg f20a10b451 emacsMacport: change naming scheme
Changed name from emacs-25.1-mac-6.1 to emacs-mac-25.1-6.1.
The former scheme confused compareVersions from nix and consequently
nix-env -u.
2017-03-27 10:34:41 +02:00
Leon Isenberg acb3135613 emacsMacport: correct description 2017-03-24 22:58:32 +01:00
Drew Hess b800655639
emacs25Macport: fix for new macOS 10.10 frameworks.
See https://github.com/NixOS/nixpkgs/pull/23907#issuecomment-286627100.
2017-03-19 18:11:21 +01:00
Daiderd Jordan a48df6fba6 Merge pull request #22508 from matthewbauer/remove-emacs24macport
emacs24macport: remove
2017-03-18 22:19:20 +01:00
Nikolay Amiantov a8785daf0e emacs: fix runtime GTK3 dependencies
Fixes #23845.
2017-03-18 01:32:42 +03:00
Aycan iRiCAN 2ce7dd7fbb emacs: fix sha256 hashes of savannah patches 2017-02-15 18:33:01 +03:00
Thomas Tuegel 8bddf6d6ab Merge pull request #22514 from peterhoeg/f/emacs
emacs: make gtk3 default
2017-02-10 11:48:50 -06:00
Matthew Bauer 3a9a707fd4
emacs24macport: remove 2017-02-06 16:46:05 -06:00
Peter Hoeg bc6b917100 emacs: make gtk3 default 2017-02-06 14:32:36 +08:00
Matthew Bauer 516300624e
emacs25Macport: use newer icons 2017-01-23 17:49:39 -06:00
Daiderd Jordan 3bd81a0620 Merge pull request #20536 from TikhonJelvis/master
emacs-24.5-mac-5.15: fixed package by adding build tools
2016-12-13 23:28:37 +01:00
Matthew Bauer 558551399d
emacs-macport: 6.0 -> 6.1 2016-11-25 00:29:55 -06:00
Matthew Bauer 25cfafdf5b
emacs-macport: fix "Carbon.h" present but cannot be compiled
Previously, emacs-macport was giving the error:

- AppKit/AppKit.h: present but cannot be compiled
- Carbon/Carbon.h: present but cannot be compiled

This add "MAC_OS_X_VERSION_MIN_REQUIRED=1090" to CFLAGS to allow them
to compile with the new 10.10 headers.

Fixes #20682.
2016-11-25 00:25:05 -06:00
Tikhon Jelvis f4c96de8f9 Fixed the emacs24 macport package by adding automake and autoconf build tools. 2016-11-18 11:05:52 -08:00
John Wiegley c4d2d56f22
emacs: Missed a pluralization... 2016-11-16 08:54:30 -08:00
John Wiegley 0bf515c973
emacs: Depend on libselinux only for Linux 2016-11-16 08:53:45 -08:00
Herwig Hochleitner d1dba6e083 emacs: add selinux capability 2016-11-10 15:59:52 +01:00
Herwig Hochleitner db402312a3 emacs: fix segfaults in 25.1 2016-11-10 15:59:47 +01:00
Nicolas Dudebout 7e7d588ca9 emacs: install the C source from postInstall
Reimplement the C source installation from the derivation instead of
relying on a Makefile patch.
2016-09-27 15:57:52 -04:00
Nicolas Dudebout bb6708b858 emacs: add an option to install the C source
Install the source files, and the associated TAGS files. Use
.dir-locals.el to select the TAGS file automatically.

Turn the option on by default, to get a consistent behavior when using
xref-find-definitions (M-.), whether looking for an elisp (e.g. defun)
or a C (e.g. defalias) definition.
2016-09-26 17:09:06 -04:00
Periklis Tsirakidis 937b56f5db emacs-25-macport: init at 25.1-mac-6.0 (#18363) 2016-09-21 22:19:57 +02:00
Nicolas Dudebout fafff78d3d Emacs cleanup (#18730)
emacs: Clean up derivation
2016-09-20 10:13:01 +02:00
Moritz Ulrich 01e44ac1f9 emacs: 24.5 -> 25.1
This commit removes all references to emacs24 with the exception of
emacs24-macports. The two folders in `pkgs/applications/editors` named
`emacs-24` and `emacs-24` are consolidated to a new `emacs` folder.

Various parts in nixpkgs also referenced `emacs24Packages` (pinned to
`emacs24`) explicitly where `emacsPackages` (non-pinned) is more
appropriate. These references get fixed by this commit too.
2016-09-18 13:38:21 +02:00
Eelco Dolstra 16c6da0129 * Emacs 22.1. This is the default now, but 21.4 is still around
(as is the 23.0.0.1 alpha).

svn path=/nixpkgs/trunk/; revision=9175
2007-08-20 13:48:56 +00:00
Eelco Dolstra 6c92badd87 * Added the Emacs Unicode branch (which supposedly will become Emacs
23.x), which GTK and Xft support.  Add something like

    (set-default-font "Bitstream Vera Sans Mono-8")

  to ~/.emacs to get a TTF font.

svn path=/nixpkgs/trunk/; revision=7841
2007-02-05 14:55:15 +00:00
Eelco Dolstra 42558043b3 * Emacs: use ncurses so that we don't need /etc/termcap in terminal
mode.

svn path=/nixpkgs/trunk/; revision=7287
2006-12-09 00:48:15 +00:00
Eelco Dolstra b90781ec21 * Renamed orig-glibc -> orig-libc in some places, and in others, use
the new $NIX_GCC/nix-support/dynamic-linker file to locate the
  dynamic linker directly (don't hardcode ld-linux.so.2).

svn path=/nixpkgs/trunk/; revision=6873
2006-10-27 12:43:32 +00:00
Eelco Dolstra 6006d61835 * Added a bunch of descriptions.
svn path=/nixpkgs/trunk/; revision=6705
2006-10-11 16:45:55 +00:00
Eelco Dolstra 3389f4bc36 * Copy lots of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=4623
2006-01-30 16:04:03 +00:00
Eelco Dolstra 05f665116a * Xaw3d: export Xaw header directory and propagate libXmu.
* Emacs: don't depend on libXaw when we're using Xaw3d.
* Enable X11R7.0 over the old XLibs.  Cross fingers :-)

svn path=/nixpkgs/trunk/; revision=4531
2006-01-09 19:37:11 +00:00
Eelco Dolstra 82e678362f * "." -> "source".
svn path=/nixpkgs/trunk/; revision=4335
2005-12-05 14:11:09 +00:00
Eelco Dolstra b012d59f00 * Doh!
svn path=/nixpkgs/trunk/; revision=4290
2005-11-17 12:01:19 +00:00
Eelco Dolstra ea95a0509e * Start the switch to the new X libraries. It's still conditional:
set `useOldXLibs' to `false' in all-packages-generic.nix to use
  them.
* Added Xaw3d.
* Added Xaw3d support to Emacs.

svn path=/nixpkgs/trunk/; revision=4263
2005-11-12 17:05:51 +00:00
Eelco Dolstra 454707da23 * catamaran.labs.cs.uu.nl -> nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=3660
2005-08-22 08:39:27 +00:00
Eelco Dolstra e42507d182 * Move tarballs to catamaran so that we are no longer dependent on a
gazillion different servers.  Resurrected some 25 missing files.

svn path=/nixpkgs/trunk/; revision=2237
2005-02-15 14:44:19 +00:00
Martin Bravenboer 6863445f23 Haskell mode for emacs
svn path=/nixpkgs/trunk/; revision=1832
2004-12-06 07:36:56 +00:00
Martin Bravenboer 77d3911dbd Upgraded nxml mode and added cua mode
svn path=/nixpkgs/trunk/; revision=1544
2004-10-06 12:06:23 +00:00
Martin Bravenboer 8648397304 Finally, a real text editor in Nix. Todo: allow configuration with modes.
svn path=/nixpkgs/trunk/; revision=1543
2004-10-06 11:32:20 +00:00
Eelco Dolstra 27c2b77154 * NXML: latest and greatest.
svn path=/nixpkgs/trunk/; revision=1312
2004-08-22 21:26:47 +00:00
Eelco Dolstra 12ae5363ea * Remove trivial builders.
* Make builders unexecutable by removing the hash-bang line and
  execute permission.
* Convert calls to `derivation' to `mkDerivation'.
* Remove `system' and `stdenv' attributes from calls to
  `mkDerivation'.  These transformations were all done automatically,
  so it is quite possible I broke stuff.
* Put the `mkDerivation' function in stdenv/generic.

svn path=/nixpkgs/trunk/; revision=874
2004-03-29 17:23:01 +00:00
Eelco Dolstra a7055cbe52 * nxml package.
svn path=/nixpkgs/trunk/; revision=578
2003-12-08 11:56:50 +00:00