Skip to content

Commit

Permalink
fix: yaml file handling
Browse files Browse the repository at this point in the history
  • Loading branch information
tungd committed Nov 11, 2024
1 parent 89705dd commit ac882d6
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 11 deletions.
6 changes: 6 additions & 0 deletions emacs/init.org
Original file line number Diff line number Diff line change
Expand Up @@ -1091,6 +1091,12 @@ Python or Haskell:

These are supports for other stuffs that I used:

#+begin_src emacs-lisp
(use-package yaml-ts-mode
:mode (("\\.yaml$" . yaml-ts-mode))
:hook (yaml-ts-mode . display-line-numbers-mode))
#+end_src

#+begin_src emacs-lisp :tangle no
(use-package nix-ts-mode
:ensure t)
Expand Down
2 changes: 1 addition & 1 deletion ports/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
COMMIT_HASH := 9cfd13ff44e8d6f56a1025207c833ab45a7d51ba
COMMIT_HASH := 1704fa4fb4164a15c7e258b922dbba190811d92d

PortIndex: editors/emacs-weekly/Portfile
portindex
Expand Down
8 changes: 4 additions & 4 deletions ports/PortIndex
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
emacs 1481
variants {x11 motif gtk imagemagick dbus xwidgets nativecomp treesitter universal} depends_build {port:autoconf port:automake port:libtool port:pkgconfig port:texinfo} description {The GNU Emacs text editor} conflicts emacs-devel homepage https://www.gnu.org/software/emacs/emacs.html depends_run {port:tree-sitter-typescript port:tree-sitter-javascript port:tree-sitter-tsx port:tree-sitter-c port:tree-sitter-cpp port:tree-sitter-java port:tree-sitter-python port:tree-sitter-css port:tree-sitter-json port:tree-sitter-c-sharp port:tree-sitter-bash port:tree-sitter-dockerfile port:tree-sitter-cmake port:tree-sitter-toml port:tree-sitter-go port:tree-sitter-go-mod port:tree-sitter-yaml port:tree-sitter-rust port:tree-sitter-ruby} epoch 0 platforms {darwin freebsd} depends_lib {port:gmp path:lib/pkgconfig/gnutls.pc:gnutls port:libxml2 port:ncurses port:sqlite3 port:gcc14 port:tree-sitter} name emacs license GPL-3+ maintainers {{dports @drkp} {@catap korins.ky:kirill} openmaintainer} long_description {GNU Emacs is a self-documenting, customizable, extensible real-time display editor. Users new to Emacs will be able to use basic features fairly rapidly by studying the tutorial and using the self-documentation features. Emacs also has an extensive interactive manual browser. It is easily extensible since its editing commands are written in Lisp.} version 29.4 categories editors revision 1 portdir editors/emacs-weekly subports {emacs-devel emacs-app emacs-app-devel}
emacs-devel 1546
variants {x11 motif gtk imagemagick dbus xwidgets nativecomp treesitter universal} depends_build {port:autoconf port:automake port:libtool port:pkgconfig port:texinfo} description {The GNU Emacs text editor} conflicts emacs homepage https://www.gnu.org/software/emacs/emacs.html depends_run {port:tree-sitter-typescript port:tree-sitter-javascript port:tree-sitter-tsx port:tree-sitter-c port:tree-sitter-cpp port:tree-sitter-java port:tree-sitter-python port:tree-sitter-css port:tree-sitter-json port:tree-sitter-c-sharp port:tree-sitter-bash port:tree-sitter-dockerfile port:tree-sitter-cmake port:tree-sitter-toml port:tree-sitter-go port:tree-sitter-go-mod port:tree-sitter-yaml port:tree-sitter-rust port:tree-sitter-ruby port:tree-sitter-html port:tree-sitter-heex port:tree-sitter-elixir port:tree-sitter-lua port:tree-sitter-php} epoch 5 platforms {darwin freebsd} depends_lib {port:gmp path:lib/pkgconfig/gnutls.pc:gnutls port:libxml2 port:ncurses port:sqlite3 port:gcc14 port:tree-sitter} name emacs-devel license GPL-3+ maintainers {{dports @drkp} {@catap korins.ky:kirill} openmaintainer} long_description {GNU Emacs is a self-documenting, customizable, extensible real-time display editor. Users new to Emacs will be able to use basic features fairly rapidly by studying the tutorial and using the self-documentation features. Emacs also has an extensive interactive manual browser. It is easily extensible since its editing commands are written in Lisp.} version 20241105 categories editors revision 0 portdir editors/emacs-weekly
emacs-app-devel 1548
variants {imagemagick rsvg xwidgets nativecomp treesitter} depends_build {port:autoconf port:automake port:libtool port:pkgconfig port:texinfo} description {The GNU Emacs text editor} conflicts emacs-app homepage https://www.gnu.org/software/emacs/emacs.html depends_run {port:tree-sitter-typescript port:tree-sitter-javascript port:tree-sitter-tsx port:tree-sitter-c port:tree-sitter-cpp port:tree-sitter-java port:tree-sitter-python port:tree-sitter-css port:tree-sitter-json port:tree-sitter-c-sharp port:tree-sitter-bash port:tree-sitter-dockerfile port:tree-sitter-cmake port:tree-sitter-toml port:tree-sitter-go port:tree-sitter-go-mod port:tree-sitter-yaml port:tree-sitter-rust port:tree-sitter-ruby port:tree-sitter-html port:tree-sitter-heex port:tree-sitter-elixir port:tree-sitter-lua port:tree-sitter-php} epoch 5 platforms {darwin freebsd} depends_lib {port:gmp path:lib/pkgconfig/gnutls.pc:gnutls port:libxml2 port:ncurses port:sqlite3 port:lcms2 port:gcc14 port:tree-sitter} name emacs-app-devel license GPL-3+ maintainers {{dports @drkp} {@catap korins.ky:kirill} openmaintainer} long_description {GNU Emacs is a self-documenting, customizable, extensible real-time display editor. Users new to Emacs will be able to use basic features fairly rapidly by studying the tutorial and using the self-documentation features. Emacs also has an extensive interactive manual browser. It is easily extensible since its editing commands are written in Lisp.} version 20241111 categories {editors aqua} revision 0 portdir editors/emacs-weekly
emacs-app 1434
variants {imagemagick rsvg xwidgets nativecomp treesitter} depends_build {port:autoconf port:automake port:libtool port:pkgconfig port:texinfo} description {The GNU Emacs text editor} conflicts emacs-app-devel homepage https://www.gnu.org/software/emacs/emacs.html depends_run {port:tree-sitter-typescript port:tree-sitter-javascript port:tree-sitter-tsx port:tree-sitter-c port:tree-sitter-cpp port:tree-sitter-java port:tree-sitter-python port:tree-sitter-css port:tree-sitter-json port:tree-sitter-c-sharp port:tree-sitter-bash port:tree-sitter-dockerfile port:tree-sitter-cmake port:tree-sitter-toml port:tree-sitter-go port:tree-sitter-go-mod port:tree-sitter-yaml port:tree-sitter-rust port:tree-sitter-ruby} epoch 0 platforms {darwin freebsd} depends_lib {port:gmp path:lib/pkgconfig/gnutls.pc:gnutls port:libxml2 port:ncurses port:sqlite3 port:lcms2 port:gcc14 port:tree-sitter} name emacs-app license GPL-3+ maintainers {{dports @drkp} {@catap korins.ky:kirill} openmaintainer} long_description {GNU Emacs is a self-documenting, customizable, extensible real-time display editor. Users new to Emacs will be able to use basic features fairly rapidly by studying the tutorial and using the self-documentation features. Emacs also has an extensive interactive manual browser. It is easily extensible since its editing commands are written in Lisp.} version 29.4 categories {editors aqua} revision 1 portdir editors/emacs-weekly
emacs-app-devel 1548
variants {imagemagick rsvg xwidgets nativecomp treesitter} depends_build {port:autoconf port:automake port:libtool port:pkgconfig port:texinfo} description {The GNU Emacs text editor} conflicts emacs-app homepage https://www.gnu.org/software/emacs/emacs.html depends_run {port:tree-sitter-typescript port:tree-sitter-javascript port:tree-sitter-tsx port:tree-sitter-c port:tree-sitter-cpp port:tree-sitter-java port:tree-sitter-python port:tree-sitter-css port:tree-sitter-json port:tree-sitter-c-sharp port:tree-sitter-bash port:tree-sitter-dockerfile port:tree-sitter-cmake port:tree-sitter-toml port:tree-sitter-go port:tree-sitter-go-mod port:tree-sitter-yaml port:tree-sitter-rust port:tree-sitter-ruby port:tree-sitter-html port:tree-sitter-heex port:tree-sitter-elixir port:tree-sitter-lua port:tree-sitter-php} epoch 5 platforms {darwin freebsd} depends_lib {port:gmp path:lib/pkgconfig/gnutls.pc:gnutls port:libxml2 port:ncurses port:sqlite3 port:lcms2 port:gcc14 port:tree-sitter} name emacs-app-devel license GPL-3+ maintainers {{dports @drkp} {@catap korins.ky:kirill} openmaintainer} long_description {GNU Emacs is a self-documenting, customizable, extensible real-time display editor. Users new to Emacs will be able to use basic features fairly rapidly by studying the tutorial and using the self-documentation features. Emacs also has an extensive interactive manual browser. It is easily extensible since its editing commands are written in Lisp.} version 20241105 categories {editors aqua} revision 0 portdir editors/emacs-weekly
emacs-devel 1546
variants {x11 motif gtk imagemagick dbus xwidgets nativecomp treesitter universal} depends_build {port:autoconf port:automake port:libtool port:pkgconfig port:texinfo} description {The GNU Emacs text editor} conflicts emacs homepage https://www.gnu.org/software/emacs/emacs.html depends_run {port:tree-sitter-typescript port:tree-sitter-javascript port:tree-sitter-tsx port:tree-sitter-c port:tree-sitter-cpp port:tree-sitter-java port:tree-sitter-python port:tree-sitter-css port:tree-sitter-json port:tree-sitter-c-sharp port:tree-sitter-bash port:tree-sitter-dockerfile port:tree-sitter-cmake port:tree-sitter-toml port:tree-sitter-go port:tree-sitter-go-mod port:tree-sitter-yaml port:tree-sitter-rust port:tree-sitter-ruby port:tree-sitter-html port:tree-sitter-heex port:tree-sitter-elixir port:tree-sitter-lua port:tree-sitter-php} epoch 5 platforms {darwin freebsd} depends_lib {port:gmp path:lib/pkgconfig/gnutls.pc:gnutls port:libxml2 port:ncurses port:sqlite3 port:gcc14 port:tree-sitter} name emacs-devel license GPL-3+ maintainers {{dports @drkp} {@catap korins.ky:kirill} openmaintainer} long_description {GNU Emacs is a self-documenting, customizable, extensible real-time display editor. Users new to Emacs will be able to use basic features fairly rapidly by studying the tutorial and using the self-documentation features. Emacs also has an extensive interactive manual browser. It is easily extensible since its editing commands are written in Lisp.} version 20241111 categories editors revision 0 portdir editors/emacs-weekly
6 changes: 3 additions & 3 deletions ports/PortIndex.quick
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
emacs 0
emacs-devel 1492
emacs-app 3055
emacs-app-devel 4504
emacs-app-devel 1492
emacs-app 3061
emacs-devel 4510
6 changes: 3 additions & 3 deletions ports/editors/emacs-weekly/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,14 @@ if {$subport eq "emacs-devel" || $subport eq "emacs-app-devel"} {

# do not forget to check that configure hasn't introduce some suprises via
# git diff [old]..[new] -- '**/configure.ac'
github.setup emacs-mirror emacs 9cfd13ff44e8d6f56a1025207c833ab45a7d51ba
github.setup emacs-mirror emacs 1704fa4fb4164a15c7e258b922dbba190811d92d
epoch 5
version 20241105
version 20241111
revision 0

master_sites ${github.master_sites}

checksums sha256 cacb454d38e55cdeac3f3806c204e4531d2922a35d12f2f64fdaee27b44e43a2
checksums sha256 d81e277fad7065188a4fd45dc01cde319b9f39dc283f2688ab7486cfe5c724ec

patchfiles-append \
patch-allow-powerpc-devel.diff
Expand Down

0 comments on commit ac882d6

Please sign in to comment.