[elpa] externals/hyperbole 3d134a9: Add target that controls what byte compile warnings are displayed (#123)
branch: externals/hyperbole commit 3d134a973332a58ef6fca8bf7a8a8b8f83f0bbb9 Author: Mats Lidell Commit: GitHub Add target that controls what byte compile warnings are displayed (#123) --- ChangeLog | 5 + Makefile | 19 +++ 2 files changed, 24 insertions(+) diff --git a/ChangeLog b/ChangeLog index 64e4884..b8fc4a6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2021-09-20 Mats Lidell + +* Makefile (bin-warn): Control what warning messages to get when byte +compiling. + 2021-09-17 Mats Lidell * hsettings.el (hyperbole-web-search-browser-function): Relax type to diff --git a/Makefile b/Makefile index b561749..87d8793 100644 --- a/Makefile +++ b/Makefile @@ -266,6 +266,25 @@ bin: src $(RM) *.elc kotl/*.elc $(EMACS) $(BATCHFLAGS) $(PRELOADS) -f batch-byte-compile $(EL_KOTL) $(EL_COMPILE) +# Byte compile files but apply a filter for either including or +# removing warnings. See variable {C-hv byte-compile-warnings RET} for +# list of warnings that can be controlled. Default is set to suppress +# warnings for long docstrings. +# +# Example for getting warnings for obsolete functions and variables +# HYPB_WARNINGS="free-vars" make bin-warn +# Example for surpressing the free-vars warnings +# HYPB_WARNINGS="not free-vars" make bin-warn +ifeq ($(origin HYPB_WARNINGS), undefined) +HYPB_BIN_WARN = not docstrings +else ifeq ($(origin HYPB_WARNINGS), environment) +HYPB_BIN_WARN = ${HYPB_WARNINGS} +endif +bin-warn: src + $(RM) *.elc kotl/*.elc + $(EMACS) $(BATCHFLAGS) $(PRELOADS) --eval="(setq-default byte-compile-warnings '(${HYPB_BIN_WARN}))" \ + -f batch-byte-compile $(EL_KOTL) $(EL_COMPILE) + tags: TAGS TAGS: $(EL_TAGS) $(ETAGS) $(EL_TAGS)
[elpa] externals/csharp-mode updated (8b98e8e -> 4a5114a)
elpasync pushed a change to branch externals/csharp-mode. from 8b98e8e Merge pull request #246 from emacs-csharp/feature/cask-go-deprecation-fix new aebd137 Use cask ci new 96c060e Fix syntax new af1cf50 Try windows build new 5f90593 Merge branch 'master' into ci new e93ad9a Merge branch 'ci' of https://github.com/jcs-PR/csharp-mode into ci new 331b9d7 Remove name, so it's less confusing new 4a5114a Merge pull request #247 from jcs-PR/ci Summary of changes: .github/workflows/build.yml | 46 + makefile| 14 +++--- 2 files changed, 45 insertions(+), 15 deletions(-)
[elpa] externals/csharp-mode af1cf50 4/7: Try windows build
branch: externals/csharp-mode commit af1cf506970747a595c6096d07971d645d491e14 Author: JenChieh Commit: JenChieh Try windows build --- .github/workflows/build.yml | 30 +- makefile| 14 +++--- 2 files changed, 36 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b25dd63..35fc699 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,7 @@ on: workflow_dispatch: jobs: - build: + unix-build: runs-on: ${{ matrix.os }} name: Emacs - ${{ matrix.emacs }} strategy: @@ -42,3 +42,31 @@ jobs: run: | emacs --version make test + + windows-build: +runs-on: windows-latest +name: Emacs - ${{ matrix.emacs }} +strategy: + matrix: +emacs: [26.1, 26.2, 26.3, 27.1, 27.2, snapshot] + +steps: + - uses: actions/checkout@v2 + + - uses: actions/setup-python@v2 +with: + python-version: "3.6" + architecture: "x64" + + - uses: jcs090218/setup-emacs-windows@master +with: + version: ${{ matrix.emacs }} + + - uses: conao3/setup-cask@master +with: + version: 0.8.4 + + - name: Run a multi-line script +run: | + emacs --version + make test diff --git a/makefile b/makefile index 2705aca..7e1a249 100644 --- a/makefile +++ b/makefile @@ -1,6 +1,6 @@ -EMACS="$(shell which emacs)" -EMACS_CLI=$(EMACS) -Q -batch -L . -CASK=~/.cask/bin/cask +EMACS ?= emacs +CASK ?= cask + TESTHOME=/tmp/emacs package: build @@ -9,9 +9,10 @@ package: build build: test $(CASK) build -test: *.el - mkdir -p $(TESTHOME) - + HOME=$(TESTHOME) $(EMACS_CLI) -l csharp-mode-tests.el -f ert-run-tests-batch-and-exit +test: + @echo "Testing..." + @$(CASK) $(EMACS) -Q -batch + -L . -l csharp-mode-tests.el -f ert-run-tests-batch-and-exit clean: $(CASK) clean-elc @@ -22,4 +23,3 @@ check-defuns: grep "^(defun " csharp-mode.el | sed -r "s/\(defun ([a-z0-9-]+) .*$$/\1/" | sort >/tmp/defuns.txt for line in `cat /tmp/defuns.txt` ; do echo -n "$$line: " ; grep "$$line" csharp-mode.el | grep -v defun | wc -l ; done >/tmp/use-count.txt grep " 0" /tmp/use-count.txt -
[elpa] externals/csharp-mode 96c060e 2/7: Fix syntax
branch: externals/csharp-mode commit 96c060eb00c7251767348145f1cdf21e56ba3087 Author: JenChieh Commit: JenChieh Fix syntax --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 25fa60a..b25dd63 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest] -emacs: [26.1, 26.2, 26.3, 27.1, 27.2 snapshot] +emacs: [26.1, 26.2, 26.3, 27.1, 27.2, snapshot] steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
[elpa] externals/csharp-mode e93ad9a 5/7: Merge branch 'ci' of https://github.com/jcs-PR/csharp-mode into ci
branch: externals/csharp-mode commit e93ad9a22f9d10e69afebe8069cbb80e86520355 Merge: af1cf50 5f90593 Author: JenChieh Commit: JenChieh Merge branch 'ci' of https://github.com/jcs-PR/csharp-mode into ci
[elpa] externals/csharp-mode aebd137 1/7: Use cask ci
branch: externals/csharp-mode commit aebd137e72472ca6166896fc8ad0e0fdd26cb512 Author: JenChieh Commit: JenChieh Use cask ci --- .github/workflows/build.yml | 19 --- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 190c458..25fa60a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,29 +10,34 @@ on: jobs: build: -runs-on: ubuntu-18.04 +runs-on: ${{ matrix.os }} name: Emacs - ${{ matrix.emacs }} strategy: matrix: -emacs: [26.1, 26.2, 26.3, 27.1, snapshot] +os: [ubuntu-latest, macos-latest] +emacs: [26.1, 26.2, 26.3, 27.1, 27.2 snapshot] steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 +with: + python-version: "3.6" + architecture: "x64" + - uses: purcell/setup-emacs@master with: version: ${{ matrix.emacs }} + - uses: conao3/setup-cask@master +with: + version: 0.8.4 + - name: paths run: | echo "$HOME/.cask/bin" >> $GITHUB_PATH - - name: Install cask -run: | - curl -fsSL https://raw.githubusercontent.com/cask/cask/master/go | python - cask - - name: Run a multi-line script run: | emacs --version
[elpa] externals/csharp-mode 4a5114a 7/7: Merge pull request #247 from jcs-PR/ci
branch: externals/csharp-mode commit 4a5114abe76b1e3859fcfe0f5b35b53f57343d47 Merge: 8b98e8e 331b9d7 Author: Jostein Kjønigsen Commit: GitHub Merge pull request #247 from jcs-PR/ci Use GitHub actions CI --- .github/workflows/build.yml | 46 + makefile| 14 +++--- 2 files changed, 45 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f0314a5..c8f16d4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,30 +9,60 @@ on: workflow_dispatch: jobs: - build: -runs-on: ubuntu-18.04 -name: Emacs - ${{ matrix.emacs }} + unix-build: +runs-on: ${{ matrix.os }} strategy: matrix: -emacs: [26.1, 26.2, 26.3, 27.1, snapshot] +os: [ubuntu-latest, macos-latest] +emacs: [26.1, 26.2, 26.3, 27.1, 27.2, snapshot] steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 +with: + python-version: "3.6" + architecture: "x64" + - uses: purcell/setup-emacs@master with: version: ${{ matrix.emacs }} + - uses: conao3/setup-cask@master +with: + version: 0.8.4 + - name: paths run: | echo "$HOME/.cask/bin" >> $GITHUB_PATH - - name: Install cask + - name: Run a multi-line script run: | - git clone https://github.com/cask/cask ~/.cask - PATH=$HOME/.cask/bin:$PATH - cask + emacs --version + make test + + windows-build: +runs-on: windows-latest +strategy: + matrix: +emacs: [26.1, 26.2, 26.3, 27.1, 27.2, snapshot] + +steps: + - uses: actions/checkout@v2 + + - uses: actions/setup-python@v2 +with: + python-version: "3.6" + architecture: "x64" + + - uses: jcs090218/setup-emacs-windows@master +with: + version: ${{ matrix.emacs }} + + - uses: conao3/setup-cask@master +with: + version: 0.8.4 - name: Run a multi-line script run: | diff --git a/makefile b/makefile index 2705aca..7e1a249 100644 --- a/makefile +++ b/makefile @@ -1,6 +1,6 @@ -EMACS="$(shell which emacs)" -EMACS_CLI=$(EMACS) -Q -batch -L . -CASK=~/.cask/bin/cask +EMACS ?= emacs +CASK ?= cask + TESTHOME=/tmp/emacs package: build @@ -9,9 +9,10 @@ package: build build: test $(CASK) build -test: *.el - mkdir -p $(TESTHOME) - + HOME=$(TESTHOME) $(EMACS_CLI) -l csharp-mode-tests.el -f ert-run-tests-batch-and-exit +test: + @echo "Testing..." + @$(CASK) $(EMACS) -Q -batch + -L . -l csharp-mode-tests.el -f ert-run-tests-batch-and-exit clean: $(CASK) clean-elc @@ -22,4 +23,3 @@ check-defuns: grep "^(defun " csharp-mode.el | sed -r "s/\(defun ([a-z0-9-]+) .*$$/\1/" | sort >/tmp/defuns.txt for line in `cat /tmp/defuns.txt` ; do echo -n "$$line: " ; grep "$$line" csharp-mode.el | grep -v defun | wc -l ; done >/tmp/use-count.txt grep " 0" /tmp/use-count.txt -
[elpa] externals/csharp-mode 331b9d7 6/7: Remove name, so it's less confusing
branch: externals/csharp-mode commit 331b9d7eb0880fc3a7ccb7fe0ea289fa8d5796ed Author: JenChieh Commit: JenChieh Remove name, so it's less confusing --- .github/workflows/build.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 35fc699..c8f16d4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,6 @@ on: jobs: unix-build: runs-on: ${{ matrix.os }} -name: Emacs - ${{ matrix.emacs }} strategy: matrix: os: [ubuntu-latest, macos-latest] @@ -45,7 +44,6 @@ jobs: windows-build: runs-on: windows-latest -name: Emacs - ${{ matrix.emacs }} strategy: matrix: emacs: [26.1, 26.2, 26.3, 27.1, 27.2, snapshot]
[elpa] externals/csharp-mode 5f90593 3/7: Merge branch 'master' into ci
branch: externals/csharp-mode commit 5f9059359b9935801fd7fe6ee3478a46c40706a4 Merge: 96c060e 8b98e8e Author: Jen-Chieh Shen Commit: GitHub Merge branch 'master' into ci
[elpa] externals/ioccur 117bfb2: Bump to version 2.5
branch: externals/ioccur commit 117bfb2a1a56d022800a09d0d7e9e0f717857aa4 Author: Thierry Volpiatto Commit: Thierry Volpiatto Bump to version 2.5 --- ioccur.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ioccur.el b/ioccur.el index dffca7a..091cdb4 100644 --- a/ioccur.el +++ b/ioccur.el @@ -4,7 +4,7 @@ ;; Author: Thierry Volpiatto ;; X-URL: https://github.com/thierryvolpiatto/ioccur -;; Version: 2.4 +;; Version: 2.5 ;; Package-Requires: ((emacs "24") (cl-lib "0.5")) ;; This program is free software; you can redistribute it and/or
[elpa] externals/company 10b7f31 1/2: Make company-abbrev expand abbreviations after completion
branch: externals/company commit 10b7f31179a14b655c95938577a27545216df423 Author: Mohsin Kaleem Commit: Mohsin Kaleem Make company-abbrev expand abbreviations after completion Closes #1216. --- company-abbrev.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/company-abbrev.el b/company-abbrev.el index 16722dd..42c80a9 100644 --- a/company-abbrev.el +++ b/company-abbrev.el @@ -45,7 +45,8 @@ (delete "" (all-completions arg global-abbrev-table)) (delete "" (all-completions arg local-abbrev-table (kind 'snippet) -(meta (abbrev-expansion arg +(meta (abbrev-expansion arg)) +(post-completion (expand-abbrev (provide 'company-abbrev) ;;; company-abbrev.el ends here
[elpa] externals/company 3eaac91 2/2: Merge pull request #1221 from mohkale/abbrev-expand
branch: externals/company commit 3eaac91b27d5041a97a0cbae32bb5b03e361d230 Merge: 1887974 10b7f31 Author: Dmitry Gutov Commit: GitHub Merge pull request #1221 from mohkale/abbrev-expand Make company-abbrev expand abbreviations after completion --- company-abbrev.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/company-abbrev.el b/company-abbrev.el index 16722dd..42c80a9 100644 --- a/company-abbrev.el +++ b/company-abbrev.el @@ -45,7 +45,8 @@ (delete "" (all-completions arg global-abbrev-table)) (delete "" (all-completions arg local-abbrev-table (kind 'snippet) -(meta (abbrev-expansion arg +(meta (abbrev-expansion arg)) +(post-completion (expand-abbrev (provide 'company-abbrev) ;;; company-abbrev.el ends here
[elpa] externals/tramp 3704df8: Make Tramp snapshot
branch: externals/tramp commit 3704df831dc9bbe75d3a365cf65c7c80a465e861 Author: Michael Albinus Commit: Michael Albinus Make Tramp snapshot --- README | 15 +++- README-GIT | 6 +-- test/tramp-tests.el | 108 +++- texi/tramp.texi | 5 ++- tramp-adb.el| 10 +++-- tramp-archive.el| 4 +- tramp-cmds.el | 4 +- tramp-compat.el | 19 + tramp-crypt.el | 10 ++--- tramp-ftp.el| 6 +-- tramp-fuse.el | 6 +-- tramp-gvfs.el | 21 +- tramp-sh.el | 59 +++- tramp-smb.el| 23 ++- tramp-sshfs.el | 2 +- tramp-sudoedit.el | 5 ++- tramp.el| 74 +-- trampver.el | 2 +- 18 files changed, 216 insertions(+), 163 deletions(-) diff --git a/README b/README index 435900b..6ab3411 100644 --- a/README +++ b/README @@ -15,7 +15,20 @@ Most of the parts are optional, read the manual for details. Tramp must be compiled for the Emacs version you are running. If you experience compatibility error messages for the Tramp package, or if you use another major Emacs version than the version Tramp has been -installed with, you must recompile the package. Run the command +installed with, you must recompile the package ( is the +version of the Tramp package): + +1. Remove all byte-compiled Tramp files + + # rm -f ~/.emacs.d/elpa/tramp-/tramp*.elc + +2. Start Emacs with Tramp's source files + + # emacs -L ~/.emacs.d/elpa/tramp- -l tramp + +This should not give you the error. + +3. Recompile the Tramp package *with this running Emacs instance* M-x tramp-recompile-elpa diff --git a/README-GIT b/README-GIT index 5dab910..76976d0 100644 --- a/README-GIT +++ b/README-GIT @@ -1,5 +1,5 @@ -This is the local Tramp repository, branch externals/tramp. It has two -remotes, "origin" and "elpa". They are pulled/pushed like this: +This is the local Tramp repository, branch externals/tramp. It has two +remotes, "origin" and "elpa". They are pulled/pushed like this: # git pull origin # git push origin @@ -7,6 +7,6 @@ remotes, "origin" and "elpa". They are pulled/pushed like this: # git pull elpa externals/tramp # git push elpa externals/tramp -These commands do not apply to the local ELPA repository. This uses +These commands do not apply to the local ELPA repository. This uses "git pull; make externals" for a pull; a push for the Tramp part is not expected. diff --git a/test/tramp-tests.el b/test/tramp-tests.el index a7a8ec8..4c452ed 100644 --- a/test/tramp-tests.el +++ b/test/tramp-tests.el @@ -2083,7 +2083,7 @@ Also see `ignore'." "/method:host:/:/path//foo")) ;; Forwhatever reasons, the following tests let Emacs crash for -;; Emacs 25, occasionally. No idea what's up. +;; Emacs 25, occasionally. No idea what's up. (when (tramp--test-emacs26-p) (should (string-equal @@ -2772,21 +2772,31 @@ This tests also `file-directory-p' and `file-accessible-directory-p'." (dolist (quoted (if (tramp--test-expensive-test) '(nil t) '(nil))) (let* ((tmp-name1 (tramp--test-make-temp-name nil quoted)) - (tmp-name2 (expand-file-name "foo/bar" tmp-name1))) + (tmp-name2 (expand-file-name "foo/bar" tmp-name1)) + (unusual-file-mode-1 #o740) + (unusual-file-mode-2 #o710)) (unwind-protect (progn - (make-directory tmp-name1) + (with-file-modes unusual-file-mode-1 + (make-directory tmp-name1)) (should-error (make-directory tmp-name1) :type 'file-already-exists) (should (file-directory-p tmp-name1)) (should (file-accessible-directory-p tmp-name1)) + (when (tramp--test-supports-file-modes-p) + (should (equal (format "%#o" unusual-file-mode-1) +(format "%#o" (file-modes tmp-name1) (should-error (make-directory tmp-name2) :type 'file-error) - (make-directory tmp-name2 'parents) + (with-file-modes unusual-file-mode-2 + (make-directory tmp-name2 'parents)) (should (file-directory-p tmp-name2)) (should (file-accessible-directory-p tmp-name2)) + (when (tramp--test-supports-file-modes-p) + (should (equal (format "%#o" unusual-file-mode-2) +(format "%#o" (file-modes tmp-name2) ;; If PARENTS is non-nil, `make-directory' shall not ;; signal an error when DIR exists already. (make-directory tmp-name2 'parents)) @@ -3590,14 +3600,7 @@ They might differ only in time attributes or directory size." "Check `file-modes'. This tests also `file-executable-p', `file-writable-p' and `set-file-modes'." (skip-unless (tramp--test-enabled)) - (skip-unless - (or (tram
[elpa] externals/ivy-posframe b4a522b: v0.6.2
branch: externals/ivy-posframe commit b4a522b7f81d49e7664f90a4f9ff1c2def08a3a9 Author: Feng Shu Commit: Feng Shu v0.6.2 --- ivy-posframe.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ivy-posframe.el b/ivy-posframe.el index 7b17cad..721a08b 100644 --- a/ivy-posframe.el +++ b/ivy-posframe.el @@ -6,7 +6,7 @@ ;; Naoya Yamashita ;; Maintainer: Feng Shu ;; URL: https://github.com/tumashu/ivy-posframe -;; Version: 0.6.1 +;; Version: 0.6.2 ;; Keywords: abbrev, convenience, matching, ivy ;; Package-Requires: ((emacs "26.0") (posframe "1.0.0") (ivy "0.13.0"))