Now by default PKGBUILD files will have sh-mode enabled by default, you can also see the bug report:
Oh, this is amazing, thanks!
Git Clone URL: | https://aur.archlinux.org/emacs-git.git (read-only, click to copy) |
---|---|
Package Base: | emacs-git |
Description: | GNU Emacs. Development master branch. |
Upstream URL: | http://www.gnu.org/software/emacs/ |
Keywords: | development editor IDE text |
Licenses: | |
Conflicts: | |
Provides: | |
Replaces: | |
Submitter: | vorbote |
Maintainer: | vorbote |
Last Packager: | vorbote |
Votes: | 84 |
Popularity: | 1.01 |
First Submitted: | 2014-01-05 02:05 |
Last Updated: | 2021-01-02 18:39 |
Now by default PKGBUILD files will have sh-mode enabled by default, you can also see the bug report:
Oh, this is amazing, thanks!
Now by default PKGBUILD files will have sh-mode enabled by default, you can also see the bug report:
@vorbote Oh! Thanks for notifying about the package:
https://github.com/juergenhoetzel/pkgbuild-mode
@Hi-Angle I will try to implement it and keep you updated on the matter.
@utkarsh, there is a PKGBUILD major mode in AUR that is far more specific than sh-mode. That's why I've never bothered to add an emacs modeline.
@utkarsh well, you could send a patch upstream to add to sh-mode support for PKGBUILD files. FWIW, I tried doing that after I saw your comment, but I couldn't figure out how sh-script.el defines file-extensions to operate upon.
Thanks for maintaining emacs-git!
Since this package is explicitly dealing with Emacs it want you to add the following line on the top of PKGBUILD:
#-*-mode: sh-*-
As the line suggest, it tell Emacs the file is a shell script. Since we are already accepting 'vim' based modification in the last line this can be a quality of life improvement.
@lordie, I use Linux, I don't do macos. Patches welcome, but don't cross your fingers. As emacs macos builds are different to linux, for very obvious operating system differences, you should develop your own scripts and submit them to the homebew database.
if you have homebrew installed emacs-git/configure
will throw an error,
"alsa sound support requested but not found". probably an upstream issue.
No problem, and thank you! Happy new year you too!
@Hi-Angel, thank you for catching up this bug! Happy new year!
Pinned Comments
vorbote commented on 2017-06-30 19:14
This new PKGBUILD is a work in progress. If you find PACKAGING bugs, please let me know ASAP.
Upstream bugs are reported upstream. Write to bug-emacs-devel@gnu.org and report it there, or, better yet, use the debbugs client included. You will find instructions at https://debbugs.gnu.org/. Good luck!