Commit Graph

561 Commits

Author SHA1 Message Date
Atemu
0ae5a9688b emacs: move Linux-only buildInputs where they belong 2022-10-15 19:31:54 +02:00
Atemu
76d7a14ed2 emacs: integrate macport into generic drv 2022-10-15 19:31:53 +02:00
Atemu
470e40eb1f emacs: provide functional default for patches argument 2022-10-15 19:23:56 +02:00
Markus S. Wamser
c9d167f174 pkgs.applications: remove unused args 2022-10-12 16:00:16 +02:00
Anderson Torres
5db2b75fc6
Merge pull request #194015 from AndersonTorres/elisp
Elisp updates
2022-10-04 23:09:18 -03:00
Lin Jian
92e4b65d22
elisp-packages: fix AOT native-comp for several packages
Currently, AOT native-comp for emacs packages is implemented[1] in
postInstall. These packages override postInstall and do not keep
old.postInstall, so they do not do AOT native-comp. This patch fixes
this by keeping the old.postInstall in their overrides.

Note that I do not fix emacspeak because I have not found an elegant
way to do so.

[1]: a7cb8e36ac
2022-10-04 03:25:16 +08:00
AndersonTorres
5320dc6325 nongnu-packages: updated 2022-10-01 (from overlay) 2022-10-01 21:28:49 -03:00
AndersonTorres
a2cf6b9e59 melpa-packages: updated 2022-10-01 (from overlay) 2022-10-01 21:28:48 -03:00
AndersonTorres
cad97ab908 elpa-packages: updated 2022-10-01 (from overlay) 2022-10-01 21:28:48 -03:00
adisbladis
844bd3eb8e emacs.pkgs.voicemacs: init at unstable-2022-02-16 2022-10-01 11:32:49 +13:00
AndersonTorres
ecb60bd71d nongnu-packages: updated 2022-09-25 (from overlay) 2022-09-25 02:32:39 -03:00
AndersonTorres
6a6e746bbf melpa-packages: updated 2022-09-25 (from overlay) 2022-09-25 02:32:39 -03:00
AndersonTorres
20a9bd0472 elpa-packages: updated 2022-09-25 (from overlay) 2022-09-25 02:32:38 -03:00
AndersonTorres
ac6fe2daaf elisp-packages/update-from-overlay: reorder
It is more convenient to download all files upfront, and then test and commit
them locally.
2022-09-25 02:32:38 -03:00
Osama Rebach
f2af2ce211
update melpa packages 2022-09-18 10:02:53 +01:00
Osama Rebach
0d012fb1b7
handle melpa new fetchers in libgenerated.nix 2022-09-18 10:02:53 +01:00
Anderson Torres
cd26687906
Merge pull request #190863 from osama-re/melpa-fetchers
Handle melpa new fetchers (sourcehut, codeberg)
2022-09-17 10:03:52 -03:00
Anderson Torres
c35a89ce3a
Merge pull request #191196 from sternenseemann/bqn-mode-2022-09-14
emacsPackages.bqn-mode: 2022-01-07 -> 2022-09-14
2022-09-14 23:13:17 -03:00
Anderson Torres
e731e6638c
Merge pull request #190570 from leungbk/no-gsettings
emacs: avoid installing gsettings-desktop-schemas on Darwin
2022-09-14 21:39:27 -03:00
sternenseemann
ef816fb05a emacsPackages.bqn-mode: 2022-01-07 -> 2022-09-14 2022-09-14 16:12:55 +02:00
Lin Jian
93c121f688
emacs: 28.1 -> 28.2 2022-09-12 19:31:07 +08:00
Osama Rebach
9b3213ba99
Handle melpa new fetchers (sourcehut, codeberg) 2022-09-12 01:53:14 +01:00
AndersonTorres
686b00be30 nongnu-packages: updated 2022-09-10 (from overlay) 2022-09-10 15:09:36 -03:00
AndersonTorres
42470f8650 melpa-packages: updated 2022-09-10 (from overlay) 2022-09-10 15:09:35 -03:00
AndersonTorres
42cba20252 elpa-packages: updated 2022-09-10 (from overlay) 2022-09-10 15:09:35 -03:00
AndersonTorres
dc4deda135 elisp-packages: upgrade update-from-overlay script
Now this new updater:

- is more modular: uses cute functions for download and commit
- and also includes nongnu packages!
2022-09-10 15:09:35 -03:00
Brian Leung
499921d643
emacs: avoid installing gsettings-desktop-schemas on Darwin 2022-09-09 15:03:16 -07:00
Jen-Chieh Shen
99c2bdeb1a emacsPackages.yes-no: commit suggestions from AndersonTorres 2022-09-09 18:39:36 +08:00
Jen-Chieh
a2215e904b emacsPackages.yes-no: Use trivialPackage instead of stdenv.mkDerivation 2022-09-08 14:01:15 +08:00
Jen-Chieh Shen
c5f6fd74da emacsPackages.yes-no: init at 0 2022-09-08 02:02:15 +08:00
Brian Leung
6d0e82f11a
emacs: use withPgtk option more
- do not require X when withPgtk is true
- make default settings and boolean logic consistent with withPgtk setting
2022-09-05 16:39:01 -07:00
Anderson Torres
1ed2ad6290
Merge pull request #189543 from adisbladis/emacs-lucid-default
emacs: Switch to lucid as the default toolkit
2022-09-03 10:02:49 -03:00
Anderson Torres
104d14b3c1
Merge pull request #187968 from adisbladis/emacs-xinput2-29
emacs: Enable xinput2 on version 29 and newer
2022-09-03 00:41:06 -03:00
adisbladis
c1861b6658 emacs: Switch to lucid as the default toolkit
Because of long standing bugs and stability issues & an
uncollaborative upstream there has been talk on the emacs-devel
mailing list to switch the default toolkit to
Lucid (https://lists.gnu.org/archive/html/emacs-devel/2022-08/msg00752.html).
The GTK build also has issues with Xinput2, something that both we and
upstream want to enable by default in Emacs 29.

This situation has prompted me to use both Lucid an no-toolkit (pure X11) Emacs
as a daily driver in recent weeks to evaluate what the
advantages/drawbacks are and I have concluded that, at least for me,
switching the toolkit to Lucid is strictly an upgrade.
It has resulted in better stability (there are far fewer tiny UX
issues that are hard to understand/identify) & a snappier UI.
On top of that the closure size is reduced by ~10%.

In the pure X11 build I noticed some unsharpness around fonts so this
is not a good default choice.

As with everything there is a cost, and that is uglier (I think most
would agree but of course this is subjective) menu bars for
those that use them and no GTK scroll bars.

For anyone who still wants to use GTK they could of course still
choose to do so via the new `emacs-gtk` attribute but I think this
is a bad default.

A note to Wayland users:
This does not affect Wayland compatibility in any way since that will
already need a PGTK build variant in the future.
2022-09-03 15:31:45 +12:00
adisbladis
b0e7e79d52 emacs.pkgs.ement: unstable-2022-05-14 -> unstable-2022-09-01 2022-09-01 20:49:48 +12:00
Jonas Heinrich
5fcabeef0b
Merge pull request #188606 from r-ryantm/auto-update/emacs-ebuild-mode
emacsPackages.ebuild-mode: 1.55 -> 1.60
2022-08-30 09:05:30 +02:00
Brian Leung
5642de5440
emacs/elisp-packages: Remove manual Emacs package (apheleia)
We defined a manual expression before because apheleia wasn't in
MELPA. Now that it is, we can remove it.
2022-08-28 03:28:22 -07:00
R. Ryantm
ea51fbc96e emacsPackages.ebuild-mode: 1.55 -> 1.60 2022-08-28 10:24:50 +00:00
Anderson Torres
7165bcb796
Merge pull request #161445 from chasecaleb/fix-emacs-recursive-load-path
emacs: populate load-path recursively
2022-08-27 02:37:21 -03:00
talyz
faee7f1311
emacs.pkgs.tree-sitter-langs: Link to each grammar's query files
Create symlinks to the query files provided by the grammars. This
makes syntax highlighting works properly for languages which
tree-sitter-langs doesn't provide query files and updates the ones it
provides to the latest upstream files.
2022-08-25 18:40:41 +02:00
adisbladis
d20c9d7a88 emacs: Set recurseIntoAttrs on package set
In the past the motivation to not recurse into Emacs packages was that
it added quite a lot of packages to the evalution and they were so
fast to build locally that substituting them from a binary cache
didn't make sense.

With native compilation this equation has changed drastically, build
times are much longer and build closures are larger so the utility
of having cached packages has gone way up.

Additionally, it looks to me like Emacs is the only ecosystem in nixpkgs to
ever care about evaluation performance like this.
Every other extensible editor ecosystem has recurseIntoAttrs set to true on their respective
package sets.
2022-08-24 08:45:46 +08:00
adisbladis
ca25a9c7b2 emacs: Enable xinput2 on version 29 and newer 2022-08-23 14:27:12 +08:00
adisbladis
73c90badf3 emacs: Simplify patchelf invocation when building with lucid 2022-08-23 14:27:12 +08:00
Linus Heckemann
d167d23b40
Merge pull request #176780 from linj-fork/emacs-native-comp
emacs: enable native-comp
2022-08-19 12:04:51 +02:00
Lin Jian
51bd7cf0d0
emacs: enable native-comp 2022-08-18 20:38:37 +08:00
AndersonTorres
b4e86d9baa elpa-packages: manual fixup 2022-08-10 01:16:15 -03:00
AndersonTorres
7e20517af0 elisp packages updates 2022-08-10 2022-08-10 00:13:03 -03:00
Edd Steel
2b0dd45aca emacsMacport: 27.2-8.3 -> 28.1-9.0
- https://www.gnu.org/software/emacs/news/NEWS.28.1
- 5a223c7f2e (chg-ChangeLog.3)
2022-07-27 10:14:36 +00:00
AndersonTorres
6f195dc999 elpa-packages manual fixup 2022-07-16 13:54:00 -03:00
AndersonTorres
2ec065149d elpa-packages 2022-07-16 2022-07-16 13:54:00 -03:00
AndersonTorres
0c0bb0bb79 melpa-packages 2022-07-16 2022-07-16 13:54:00 -03:00
AndersonTorres
dac7c5b38d nongnu-packages 2022-07-15 2022-07-16 13:54:00 -03:00
linj
62406f02f7 emacs.pkgs.melpa-packages: 2022-06-09 2022-06-09 12:01:19 +08:00
linj
d62acd223d elpa-generated.nix manual fixup 2022-06-09 11:59:12 +08:00
linj
6e2f03ef9f elpa-packages 2022-06-09 2022-06-09 11:58:23 +08:00
linj
b8b59073da nongnu-packages 2022-06-09 2022-06-09 11:46:52 +08:00
Tae Selene Sandoval Murgan
235f1299d3 tree-sitter: Remove the Swift grammar
It was abandoned, and the recommended one doesn't have a parser.c file
2022-05-25 21:28:29 +02:00
Aidan Gauland
240e967264
header-file-mode: unstable-2022-05-13 -> unstable-2022-05-25
* Add post-build script to generate autoloads file.

* Bump upstream revision to get a critical bugfix that prevented this library's
  main function from executing.
2022-05-25 16:15:36 +12:00
adisbladis
2686f10fb4 emacs.pkgs.ement: unstable-2022-05-05 -> unstable-2022-05-14 2022-05-14 18:25:58 +12:00
adisbladis
9d5b5668ec
Merge pull request #172763 from aidalgol/emacs-28-header-file-mode-fix
header-file-mode: unstable-2022-04-19 -> unstable-2022-05-13
2022-05-13 16:51:25 +08:00
Aidan Gauland
cfd4a8fe09
header-file-mode: unstable-2022-04-19 -> unstable-2022-05-13
Update to version with a fix to make the package work with Emacs 28.
2022-05-13 20:27:34 +12:00
adisbladis
003c3b6444 emacs.pkgs.plz: Use plz from elpa 2022-05-13 18:45:14 +12:00
adisbladis
1883541620 emacs.pkgs.melpa-packages: 2022-05-13 2022-05-13 18:15:26 +12:00
adisbladis
ec486b0a2e emacs.pkgs.elpa-packages: 2022-05-13 2022-05-13 18:15:26 +12:00
Peter Jones
0d02ba8ffb
emacsPackages.pdf-tools: fix build
This is a temporary fix for #172178
2022-05-11 11:24:56 -07:00
AndersonTorres
a7efe86634 elpa-generated: manual fixup 2022-05-08 23:08:12 -03:00
AndersonTorres
e79771850a elpa-packages 2022-05-08 2022-05-08 23:08:12 -03:00
AndersonTorres
14dd58e25a melpa-packages 2022-05-08 2022-05-08 23:08:12 -03:00
AndersonTorres
08187ac060 nongnu-packages 2022-05-08 2022-05-08 23:08:12 -03:00
adisbladis
162d2d3ac5 emacs.pkgs.ement: unstable-2022-04-22 -> unstable-2022-05-05 2022-05-06 07:01:24 +12:00
adisbladis
54e795706d emacs: Build from git instead of tarball to fix native compilation
Quoting @collares from #170426:
> The difference between the two versions is that one is built from the
> tarball, while the other is built from Git. The tarball includes
> byte-compiled (.elc) files but not native-compiled (.eln)
> files. The build notices the .elc files and does not rebuild them,
> but native-compilation is a side-effect of byte-compilation and so
> the .eln files aren't built either.
2022-04-27 07:20:33 +12:00
adisbladis
357a8492ef
Merge pull request #170015 from adisbladis/emacs-manual-packages-updater
emacs: Add update script for manually packaged packages
2022-04-24 09:28:05 +07:00
adisbladis
5eb9d9e284 emacs.pkgs.ement: unstable-2021-10-08 -> unstable-2022-04-22 2022-04-24 12:27:22 +12:00
adisbladis
6922b8784d emacs: Add update script for manually packaged packages 2022-04-24 09:18:33 +12:00
adisbladis
daee75e5b3 emacs.pkgs.tree-sitter-langs: Make language plugins configurable
By using an expression like:
``` nix
emacs.pkgs.tree-sitter-langs.passthru.withPlugins (p: [ p.tree-sitter-agda ])
```
2022-04-24 07:44:40 +12:00
adisbladis
b4f90318fe emacs.pkgs.tree-sitter-langs: Create script to keep grammars up to date with upstream defaults 2022-04-24 07:35:00 +12:00
adisbladis
b15c703495 emacs.pkgs.tree-sitter-langs: Use grammars from nixpkgs and sources from melpa 2022-04-24 07:19:15 +12:00
adisbladis
00af59359f emacs.pkgs.tsc: 0.16.1 -> 0.18.0
Use auto-updater JSON
2022-04-24 07:19:15 +12:00
adisbladis
028a934896 emacs.pkgs.tsc: Add update script 2022-04-24 07:19:15 +12:00
adisbladis
2c61820661 emacs.pkgs.tsc/tree-sitter-langs: Remove rec from derivations
These are not required.
2022-04-24 07:19:15 +12:00
adisbladis
4567405cd4 emacs.pkgs.tsc: Remove with from top-level scope
This is a huge anti-pattern that makes it next to impossible to know
which attrset is providing which attr and it's very easy to make mistakes.

Case in point: This package didn't properly scope `lib.maintainers`.
2022-04-24 07:19:15 +12:00
Julius de Bruijn
48b6b19970 emacsPackages.tree-sitter: fix grammar/native executor 2022-04-24 07:19:15 +12:00
Aidan Gauland
d71cc5bbad
header-file-mode: fix build
Add missing qualifier for «maintainers».
2022-04-19 16:37:39 +12:00
Aidan Gauland
64240018e0 header-file-mode: init at version unstable-2022-04-19
Add Emacs library `header-file' from GitHub.
2022-04-19 14:15:23 +12:00
Daniel Nagy
506050b57f
emacs: prepare webp support for versions >=29.1
This prepares the derivation for the upcoming webp image file format
support with Emacs 29.1. Therefore this change is mainly useful with the
"emacs-overlay".

https://github.com/nix-community/emacs-overlay/

Changelog from upstream Emacs:

1cdb8d4c99/etc/NEWS (L435-L439)

More info on image formats in Emacs and how to check for their support:

https://www.gnu.org/software/emacs/manual/html_node/elisp/Image-Formats.html
2022-04-18 17:45:47 +02:00
Azat Bahawi
55f57facbf emacs: 27.2 -> 28.1 2022-04-16 16:53:45 +12:00
AndersonTorres
fdf314ecc7 elpa-generated.nix manual fixup 2022-04-14 10:05:14 -03:00
AndersonTorres
04205fa170 elpa-packages 2022-04-14 2022-04-14 10:05:14 -03:00
AndersonTorres
243a9656cc melpa-packages 2022-04-14 2022-04-14 10:05:14 -03:00
AndersonTorres
e974d301c7 nongnu-packages 2022-04-14 2022-04-14 10:05:14 -03:00
AndersonTorres
1f29a38fd2 emacs.pkgs.cedet: remove
Broken and no hope to be resurrected.
2022-04-14 10:05:14 -03:00
hadriencaron
79b72e2110
emacs.pkgs.control-lock: Add package (#166520)
* emacs.pkgs.control-lock: Add package

* emacs.pkgs.control-lock: Address PR comments
2022-04-07 23:09:33 +12:00
github-actions[bot]
66754ae952
Merge master into staging-next 2022-04-02 12:01:10 +00:00
taku0
8b7daabf5b mozc: make mozc.el to find mozc_emacs_helper 2022-04-02 17:59:54 +09:00
Martin Weinelt
d68657af92 Merge remote-tracking branch 'origin/master' into staging-next 2022-03-27 15:54:05 +02:00
AndersonTorres
e5f4b80b9a emacs.pkgs.plz: update description 2022-03-26 23:10:10 -03:00
AndersonTorres
73a3119c3d nongnu-packages.nix: update comment 2022-03-26 23:09:13 -03:00
AndersonTorres
74d67b052c melpa-packages.nix: update comment 2022-03-26 23:08:58 -03:00
AndersonTorres
18dab4b019 elpa-packages.nix: update comment 2022-03-26 23:08:34 -03:00
AndersonTorres
334d60d7b3 elpa-generated.nix: manual fixup 2022-03-26 23:07:53 -03:00