summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGearnode <bryan@frimin.fr>2020-03-18 23:06:11 +0100
committerGearnode <bryan@frimin.fr>2020-03-18 23:06:11 +0100
commitaa0bf369f0f30fb4ecac80786bb82e6c590cf82c (patch)
tree795893cabaa3a5592b2647d174ef716e06247162
parent65e4448987e59f3db0c16d9fae1f047a8a5c6575 (diff)
update package folder
-rw-r--r--packages/archives/gnu/archive-contents54
-rw-r--r--packages/archives/org/archive-contents4
-rw-r--r--packages/nginx-mode-20170612.437/nginx-mode-autoloads.el40
-rw-r--r--packages/nginx-mode-20170612.437/nginx-mode-pkg.el2
-rw-r--r--packages/nginx-mode-20170612.437/nginx-mode.el202
-rw-r--r--packages/nginx-mode-20170612.437/nginx-mode.elcbin0 -> 5784 bytes
-rw-r--r--packages/nginx-mode-readme.txt8
7 files changed, 296 insertions, 14 deletions
diff --git a/packages/archives/gnu/archive-contents b/packages/archives/gnu/archive-contents
index f8abda2..0c34908 100644
--- a/packages/archives/gnu/archive-contents
+++ b/packages/archives/gnu/archive-contents
@@ -206,7 +206,7 @@
(:maintainer "Raffael Stocker" . "r.stocker@mnet-mail.de")
(:url . "https://gitlab.com/rstocker/emacs-bluetooth"))])
(bnf-mode .
- [(0 4 3)
+ [(0 4 4)
((cl-lib
(0 5))
(emacs
@@ -625,7 +625,7 @@
(:maintainer "Markus Triska" . "triska@metalevel.at")
(:url . "https://www.metalevel.at/ediprolog/"))])
(eev .
- [(20191105)
+ [(20200224)
((emacs
(24 1)))
"Support for e-scripts (eepitch blocks, elisp hyperlinks, etc)" tar
@@ -677,7 +677,7 @@
("William Xu" . "william.xwl@gmail.com"))
(:maintainer "William Xu" . "william.xwl@gmail.com"))])
(elisp-benchmarks .
- [(1 1)
+ [(1 2)
nil "elisp benchamrks collection" tar
((:maintainer "Andrea Corallo" . "akrl@sdf.org")
(:authors
@@ -736,6 +736,14 @@
(:authors
("Thomas Fitzsimmons" . "fitzsim@fitzsim.org"))
(:keywords "calendar"))])
+ (expand-region .
+ [(0 11 0)
+ nil "Increase selected region by semantic units." tar
+ ((:url . "https://github.com/magnars/expand-region.el")
+ (:maintainer "Magnar Sveen" . "magnars@gmail.com")
+ (:authors
+ ("Magnar Sveen" . "magnars@gmail.com"))
+ (:keywords "marking" "region"))])
(exwm .
[(0 23)
((xelb
@@ -1261,6 +1269,26 @@
(:authors
("Michael Abraham Shulman" . "viritrilbia@gmail.com"))
(:keywords "convenience" "faces" "languages" "tools"))])
+ (modus-operandi-theme .
+ [(0 6 0)
+ ((emacs
+ (26 1)))
+ "Accessible light theme (WCAG AAA)" single
+ ((:keywords "faces" "theme" "accessibility")
+ (:authors
+ ("Protesilaos Stavrou" . "info@protesilaos.com"))
+ (:maintainer "Protesilaos Stavrou" . "info@protesilaos.com")
+ (:url . "https://gitlab.com/protesilaos/modus-themes"))])
+ (modus-vivendi-theme .
+ [(0 6 0)
+ ((emacs
+ (26 1)))
+ "Accessible dark theme (WCAG AAA)" single
+ ((:keywords "faces" "theme" "accessibility")
+ (:authors
+ ("Protesilaos Stavrou" . "info@protesilaos.com"))
+ (:maintainer "Protesilaos Stavrou" . "info@protesilaos.com")
+ (:url . "https://gitlab.com/protesilaos/modus-themes"))])
(multishell .
[(1 1 5)
((cl-lib
@@ -1419,7 +1447,7 @@
("Carsten Dominik <carsten at orgmode dot org>"))
(:keywords "outlines" "hypermedia" "calendar" "wp"))])
(org-edna .
- [(1 0 2)
+ [(1 1 1)
((emacs
(25 1))
(seq
@@ -1517,7 +1545,7 @@
("Phillip Lord" . "phillip.lord@russet.org.uk"))
(:url . "http://elpa.gnu.org/packages/persist.html"))])
(phps-mode .
- [(0 3 32)
+ [(0 3 38)
((emacs
(26)))
"Major mode for PHP with Semantic integration" tar
@@ -1735,9 +1763,9 @@
("Bastien Guerry" . "bzg@gnu.org"))
(:maintainer "Bastien Guerry" . "bzg@gnu.org"))])
(relint .
- [(1 13)
+ [(1 15)
((xr
- (1 15))
+ (1 17))
(emacs
(26 1)))
"Elisp regexp mistake finder" tar
@@ -1913,7 +1941,7 @@
("Alex Harsanyi" . "AlexHarsanyi@gmail.com"))
(:keywords "languages" "sql"))])
(ssh-deploy .
- [(3 1 10)
+ [(3 1 11)
((emacs
(25)))
"Deployment via Tramp, global or per directory." tar
@@ -1997,7 +2025,9 @@
(timerfunctions .
[(1 4 2)
((cl-lib
- (0 5)))
+ (0 5))
+ (emacs
+ (24)))
"Enhanced versions of some timer.el functions" single
((:url . "http://elpa.gnu.org/packages/timerfunctions.html")
(:authors
@@ -2012,7 +2042,7 @@
("Oleh Krehel" . "ohwoeowho@gmail.com"))
(:keywords "convenience"))])
(tramp .
- [(2 4 3 1)
+ [(2 4 3 2)
((emacs
(24 4)))
"Transparent Remote Access, Multiple Protocol" tar
@@ -2121,7 +2151,7 @@
(:maintainer "Justin Burkett" . "justin@burkett.cc")
(:url . "https://github.com/justbur/emacs-vdiff"))])
(verilog-mode .
- [(2019 12 17 268053413)
+ [(2020 2 23 232634261)
nil "major mode for editing verilog source in Emacs" single
((:keywords "languages")
(:authors
@@ -2299,7 +2329,7 @@
("Thien-Thi Nguyen" . "ttn@gnu.org"))
(:keywords "multimedia" "xpm"))])
(xr .
- [(1 15)
+ [(1 18)
((emacs
(26 1)))
"Convert string regexp to rx notation" tar
diff --git a/packages/archives/org/archive-contents b/packages/archives/org/archive-contents
index fdfb669..1cf7914 100644
--- a/packages/archives/org/archive-contents
+++ b/packages/archives/org/archive-contents
@@ -1,2 +1,2 @@
-(1 (org . [(20200213) ( ) "Outline-based notes management and organizer" tar])
- (org-plus-contrib . [(20200213) ( ) "Outline-based notes management and organizer" tar]))
+(1 (org . [(20200309) ( ) "Outline-based notes management and organizer" tar])
+ (org-plus-contrib . [(20200309) ( ) "Outline-based notes management and organizer" tar]))
diff --git a/packages/nginx-mode-20170612.437/nginx-mode-autoloads.el b/packages/nginx-mode-20170612.437/nginx-mode-autoloads.el
new file mode 100644
index 0000000..b0b9170
--- /dev/null
+++ b/packages/nginx-mode-20170612.437/nginx-mode-autoloads.el
@@ -0,0 +1,40 @@
+;;; nginx-mode-autoloads.el --- automatically extracted autoloads
+;;
+;;; Code:
+
+(add-to-list 'load-path (directory-file-name
+ (or (file-name-directory #$) (car load-path))))
+
+
+;;;### (autoloads nil "nginx-mode" "nginx-mode.el" (0 0 0 0))
+;;; Generated autoloads from nginx-mode.el
+
+(autoload 'nginx-mode "nginx-mode" "\
+Major mode for highlighting nginx config files.
+
+The variable nginx-indent-level controls the amount of indentation.
+\\{nginx-mode-map}
+
+\(fn)" t nil)
+
+(add-to-list 'auto-mode-alist '("nginx\\.conf\\'" . nginx-mode))
+
+(add-to-list 'auto-mode-alist '("/nginx/.+\\.conf\\'" . nginx-mode))
+
+(add-to-list 'magic-fallback-mode-alist '("\\(?:.*\n\\)*\\(?:http\\|server\\|location .+\\|upstream .+\\)[ \n ]+{" . nginx-mode))
+
+(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "nginx-mode" '("nginx-")))
+
+;;;***
+
+;;;### (autoloads nil nil ("nginx-mode-pkg.el") (0 0 0 0))
+
+;;;***
+
+;; Local Variables:
+;; version-control: never
+;; no-byte-compile: t
+;; no-update-autoloads: t
+;; coding: utf-8
+;; End:
+;;; nginx-mode-autoloads.el ends here
diff --git a/packages/nginx-mode-20170612.437/nginx-mode-pkg.el b/packages/nginx-mode-20170612.437/nginx-mode-pkg.el
new file mode 100644
index 0000000..940012a
--- /dev/null
+++ b/packages/nginx-mode-20170612.437/nginx-mode-pkg.el
@@ -0,0 +1,2 @@
+;;; -*- no-byte-compile: t -*-
+(define-package "nginx-mode" "20170612.437" "major mode for editing nginx config files" 'nil :commit "a2bab83c2eb233d57d76b236e7c141c2ccc97005" :keywords '("languages" "nginx") :authors '(("Andrew J Cosgriff" . "andrew@cosgriff.name")) :maintainer '("Andrew J Cosgriff" . "andrew@cosgriff.name"))
diff --git a/packages/nginx-mode-20170612.437/nginx-mode.el b/packages/nginx-mode-20170612.437/nginx-mode.el
new file mode 100644
index 0000000..ca95ab7
--- /dev/null
+++ b/packages/nginx-mode-20170612.437/nginx-mode.el
@@ -0,0 +1,202 @@
+;;; nginx-mode.el --- major mode for editing nginx config files
+
+;; Copyright 2010 Andrew J Cosgriff <andrew@cosgriff.name>
+
+;; Author: Andrew J Cosgriff <andrew@cosgriff.name>
+;; Maintainer: Andrew J Cosgriff <andrew@cosgriff.name>
+;; Created: 15 Oct 2010
+;; Version: 1.1.9
+;; Package-Version: 20170612.437
+;; Keywords: languages, nginx
+
+;; available from http://github.com/ajc/nginx-mode
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 2, or (at your option)
+;; any later version.
+;;
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+;;
+;; You should have received a copy of the GNU General Public License
+;; along with this program; if not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;; This is a quick mode for editing Nginx config files, as I didn't find
+;; anything else around that did quite this much.
+
+;; Many thanks to the authors of puppet-mode.el, from where I found a
+;; useful indentation function that I've modified to suit this situation.
+
+;; Put this file into your load-path and the following into your ~/.emacs:
+;; (require 'nginx-mode)
+
+;;; Code:
+
+
+;;;;##########################################################################
+;;;; User Options, Variables
+;;;;##########################################################################
+
+(defcustom nginx-indent-level 4
+ "*Indentation of Nginx statements."
+ :type 'integer :group 'nginx)
+
+(defcustom nginx-indent-tabs-mode nil
+ "*Indentation can insert tabs in nginx mode if this is non-nil."
+ :type 'boolean :group 'nginx)
+
+(defvar nginx-mode-syntax-table
+ (let ((table (make-syntax-table)))
+ (modify-syntax-entry ?# "< b" table)
+ (modify-syntax-entry ?\n "> b" table)
+ table)
+ "Syntax table for `nginx-mode'.")
+
+(defvar nginx-font-lock-keywords
+ (list '("^\\([ \t]+\\)?\\([A-Za-z09_]+\\)" 2 font-lock-keyword-face t)
+ ;; uncomment the next one if you want your eyes to bleed
+ ;; (it'll highlight parentheses and curly braces)
+ ;;'("\\(\{\\|\}\\|\(\\|\)\\)" . font-lock-pseudo-keyword-face)
+ '("^\\([ \t]+\\)?rewrite[ \t]+.+[ \t]+\\(permanent\\|redirect\\|break\\|last\\);$" 2 font-lock-function-name-face)
+ '("\\(\$[0-9]+\\)[^0-9]" 1 font-lock-constant-face)
+ '("\$[A-Za-z0-9_\-]+" . font-lock-variable-name-face)
+ '("[ \t]+\\(on\\|off\\);$" 1 font-lock-constant-face)
+ '("[A-Za-z0-9_\-]+\\([ \t]+[^ \t\n]+\\)?[ \t]+\\([^ \t\n]+\\)[ \t]+{" 2 font-lock-function-name-face)))
+
+
+;;;;##########################################################################
+;;;; Code
+;;;;##########################################################################
+
+(defun nginx-block-indent ()
+ "If point is in a block, return the indentation of the first line of that
+block (the line containing the opening brace). Used to set the indentation
+of the closing brace of a block."
+ (save-excursion
+ (save-match-data
+ (let ((opoint (point))
+ (apoint (search-backward "{" nil t)))
+ (when apoint
+ ;; This is a bit of a hack and doesn't allow for strings. We really
+ ;; want to parse by sexps at some point.
+ (let ((close-braces (count-matches "}" apoint opoint))
+ (open-braces 0))
+ (while (and apoint (> close-braces open-braces))
+ (setq apoint (search-backward "{" nil t))
+ (when apoint
+ (setq close-braces (count-matches "}" apoint opoint))
+ (setq open-braces (1+ open-braces)))))
+ (if apoint
+ (current-indentation)
+ nil))))))
+
+
+(defun nginx-comment-line-p ()
+ "Return non-nil iff this line is a comment."
+ (save-excursion
+ (save-match-data
+ (beginning-of-line)
+ (looking-at "^\\s-*#"))))
+
+(defun nginx-indent-line ()
+ "Indent current line as nginx code."
+ (interactive)
+ (beginning-of-line)
+ (if (bobp)
+ (indent-line-to 0) ; First line is always non-indented
+ (let ((not-indented t)
+ (block-indent (nginx-block-indent))
+ cur-indent)
+ (cond
+ ((and (looking-at "^\\s-*}\\s-*$") block-indent)
+ ;; This line contains a closing brace and we're at the inner
+ ;; block, so we should indent it matching the indentation of
+ ;; the opening brace of the block.
+ (setq cur-indent block-indent))
+ (t
+ ;; Otherwise, we did not start on a block-ending-only line.
+ (save-excursion
+ ;; Iterate backwards until we find an indentation hint
+ (while not-indented
+ (forward-line -1)
+ (cond
+ ;; Comment lines are ignored unless we're at the start of the
+ ;; buffer.
+ ((nginx-comment-line-p)
+ (if (bobp)
+ (setq not-indented nil)))
+
+ ;; Brace or paren on a line by itself will already be indented to
+ ;; the right level, so we can cheat and stop there.
+ ((looking-at "^\\s-*}\\s-*")
+ (setq cur-indent (current-indentation))
+ (setq not-indented nil))
+
+ ;; Indent by one level more than the start of our block. We lose
+ ;; if there is more than one block opened and closed on the same
+ ;; line but it's still unbalanced; hopefully people don't do that.
+ ((looking-at "^.*{[^\n}]*$")
+ (setq cur-indent (+ (current-indentation) nginx-indent-level))
+ (setq not-indented nil))
+
+ ;; Start of buffer.
+ ((bobp)
+ (setq not-indented nil)))))))
+
+ ;; We've figured out the indentation, so do it.
+ (if (and cur-indent (> cur-indent 0))
+ (indent-line-to cur-indent)
+ (indent-line-to 0)))))
+
+
+(defvar nginx-mode-map
+ (let
+ ((map (make-sparse-keymap)))
+ (define-key map "\C-j" 'newline-and-indent)
+ (define-key map "\C-m" 'newline-and-indent)
+ map)
+ "Keymap for editing nginx config files.")
+
+;;;###autoload
+(define-derived-mode nginx-mode prog-mode "Nginx"
+ "Major mode for highlighting nginx config files.
+
+The variable nginx-indent-level controls the amount of indentation.
+\\{nginx-mode-map}"
+ :syntax-table nginx-mode-syntax-table
+
+ (use-local-map nginx-mode-map)
+
+ (set (make-local-variable 'comment-start) "# ")
+ (set (make-local-variable 'comment-start-skip) "#+ *")
+ (set (make-local-variable 'comment-end) "")
+ (set (make-local-variable 'comment-auto-fill-only-comments) t)
+
+ (set (make-local-variable 'indent-line-function) 'nginx-indent-line)
+ (set (make-local-variable 'indent-tabs-mode) nginx-indent-tabs-mode)
+ (set (make-local-variable 'require-final-newline) t)
+ (set (make-local-variable 'paragraph-ignore-fill-prefix) t)
+ (set (make-local-variable 'paragraph-start) "\f\\|[ ]*$\\|#$")
+ (set (make-local-variable 'paragraph-separate) "\\([ \f]*\\|#\\)$")
+
+ (set (make-local-variable 'font-lock-defaults)
+ '(nginx-font-lock-keywords nil)))
+
+;;;###autoload
+(add-to-list 'auto-mode-alist '("nginx\\.conf\\'" . nginx-mode))
+;;;###autoload
+(add-to-list 'auto-mode-alist '("/nginx/.+\\.conf\\'" . nginx-mode))
+;;;###autoload
+(add-to-list
+ 'magic-fallback-mode-alist
+ '("\\(?:.*\n\\)*\\(?:http\\|server\\|location .+\\|upstream .+\\)[ \n\t]+{"
+ . nginx-mode))
+
+(provide 'nginx-mode)
+
+;;; nginx-mode.el ends here
diff --git a/packages/nginx-mode-20170612.437/nginx-mode.elc b/packages/nginx-mode-20170612.437/nginx-mode.elc
new file mode 100644
index 0000000..5d7d5dc
--- /dev/null
+++ b/packages/nginx-mode-20170612.437/nginx-mode.elc
Binary files differ
diff --git a/packages/nginx-mode-readme.txt b/packages/nginx-mode-readme.txt
new file mode 100644
index 0000000..1d39eba
--- /dev/null
+++ b/packages/nginx-mode-readme.txt
@@ -0,0 +1,8 @@
+This is a quick mode for editing Nginx config files, as I didn't find
+anything else around that did quite this much.
+
+Many thanks to the authors of puppet-mode.el, from where I found a
+useful indentation function that I've modified to suit this situation.
+
+Put this file into your load-path and the following into your ~/.emacs:
+ (require 'nginx-mode)