Commit Graph

481 Commits

Author SHA1 Message Date
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