Skip to content

Instantly share code, notes, and snippets.

@dunn
Created October 28, 2015 01:50
Show Gist options
  • Save dunn/25824c76a4c9b9373bbb to your computer and use it in GitHub Desktop.
Save dunn/25824c76a4c9b9373bbb to your computer and use it in GitHub Desktop.
2015-10-27 18:49:13 -0700
make
test
make clean
rm -f php-mode.elc php-mode-test.elc
make all
emacs -Q -batch -L . -f batch-byte-compile php-mode.el
emacs -Q -batch -L . -f batch-byte-compile php-mode-test.el
In php-in-string-p:
php-mode.el:873:11:Warning: defsubst ‘php-in-string-p’ was used before it was
defined
In php-mode:
php-mode.el:1076:9:Warning: (lambda nil ...) quoted with ' rather than with #'
php-mode.el:1065:9:Warning: ‘syntax-begin-function’ is an obsolete variable
(as of 25.1).
In php-search-local-documentation:
php-mode.el:1289:23:Warning: reference to free variable ‘for’
php-mode.el:1289:27:Warning: reference to free variable ‘type’
php-mode.el:1289:32:Warning: reference to free variable ‘in’
php-mode.el:1289:72:Warning: reference to free variable ‘do’
In php-mode-test-process-magics:
php-mode-test.el:51:8:Warning: ‘flet’ is an obsolete macro (as of 24.3); use
either ‘cl-flet’ or ‘cl-letf’.
php-mode-test.el:115:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:123:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:135:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:139:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:148:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:154:4:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:169:18:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:171:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:180:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:190:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
In end of data:
php-mode.el:1541:1:Warning: the function ‘c-populate-syntax-table’ might not
be defined at runtime.
php-mode.el:1541:1:Warning: the following functions are not known to be
defined: caddr, loop
php-mode-test.el:205:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:210:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:216:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:236:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:258:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:271:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:277:4:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:282:4:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:285:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:289:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:301:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:322:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:328:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:334:4:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:361:50:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:363:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:391:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:409:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:427:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:434:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:442:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:453:16:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:456:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:475:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:479:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:486:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:493:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:508:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:529:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:539:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:552:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:556:4:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:558:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
php-mode-test.el:562:14:Warning: ‘font-lock-fontify-buffer’ is for interactive
use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
In end of data:
php-mode-test.el:579:1:Warning: the function ‘reduce’ might not be defined at
runtime.
php-mode-test.el:579:1:Warning: the function ‘imenu--make-index-alist’ is not
known to be defined.
emacs -Q -batch -L . -l php-mode-test.el -f ert-run-tests-batch-and-exit
php-mode-test.el: ‘flet’ is an obsolete macro (as of 24.3); use either ‘cl-flet’ or ‘cl-letf’.
Running 41 tests (2015-10-27 18:49:13-0700)
passed 1/41 php-mode-test-arrays
passed 2/41 php-mode-test-constants
passed 3/41 php-mode-test-identifiers
Indenting region...
Indenting region... done
passed 4/41 php-mode-test-issue-115
Indenting region...
Indenting region... done
passed 5/41 php-mode-test-issue-124
Indenting region...
Indenting region... done
passed 6/41 php-mode-test-issue-130
Indenting region...
Indenting region... done
passed 7/41 php-mode-test-issue-135
passed 8/41 php-mode-test-issue-136
Indenting region...
Indenting region... done
passed 9/41 php-mode-test-issue-14
Indenting region...
Indenting region... done
Test php-mode-test-issue-144 backtrace:
(if (unwind-protect (setq value-128 (apply fn-126 args-127)) (setq f
(let (form-description-130) (if (unwind-protect (setq value-128 (app
(let ((value-128 (quote ert-form-evaluation-aborted-129))) (let (for
(let ((fn-126 (function =)) (args-127 (list (current-indentation) c-
(let ((case-fold-search nil)) (search-forward "$a" nil nil 3) (let (
(progn (insert-file-contents (expand-file-name "issue-144.php" php-m
(unwind-protect (progn (insert-file-contents (expand-file-name "issu
(save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn
(let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-b
(lambda nil (let ((temp-buffer (generate-new-buffer " *temp*"))) (sa
ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
ert-run-test([cl-struct-ert-test php-mode-test-issue-144 "Indentatio
ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test p
ert-run-tests(t #[385 "\306\307\"\203G\211\211G\310U\203\211@\20
ert-run-tests-batch(nil)
ert-run-tests-batch-and-exit()
command-line-1(("-L" "." "-l" "php-mode-test.el" "-f" "ert-run-tests
command-line()
normal-top-level()
Test php-mode-test-issue-144 condition:
(ert-test-failed
((should
(=
(current-indentation)
c-basic-offset))
:form
(= 0 4)
:value nil))
FAILED 10/41 php-mode-test-issue-144
Indenting region...
Indenting region... done
passed 11/41 php-mode-test-issue-145
passed 12/41 php-mode-test-issue-16
passed 13/41 php-mode-test-issue-174
passed 14/41 php-mode-test-issue-175
passed 15/41 php-mode-test-issue-178
Indenting region...
Indenting region... done
passed 16/41 php-mode-test-issue-18
Test php-mode-test-issue-184 backtrace:
(if (unwind-protect (setq value-292 (apply fn-290 args-291)) (setq f
(let (form-description-294) (if (unwind-protect (setq value-292 (app
(let ((value-292 (quote ert-form-evaluation-aborted-293))) (let (for
(let ((fn-290 (function =)) (args-291 (list (current-indentation) 0)
(let ((case-fold-search nil)) (search-forward "html;") (php-cautious
(progn (insert-file-contents (expand-file-name "issue-184.php" php-m
(unwind-protect (progn (insert-file-contents (expand-file-name "issu
(save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn
(let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-b
(lambda nil (let ((temp-buffer (generate-new-buffer " *temp*"))) (sa
ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
ert-run-test([cl-struct-ert-test php-mode-test-issue-184 "Test inden
ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test p
ert-run-tests(t #[385 "\306\307\"\203G\211\211G\310U\203\211@\20
ert-run-tests-batch(nil)
ert-run-tests-batch-and-exit()
command-line-1(("-L" "." "-l" "php-mode-test.el" "-f" "ert-run-tests
command-line()
normal-top-level()
Test php-mode-test-issue-184 condition:
(ert-test-failed
((should
(=
(current-indentation)
0))
:form
(= 4 0)
:value nil))
FAILED 17/41 php-mode-test-issue-184
Indenting region...
Indenting region... done
passed 18/41 php-mode-test-issue-186
Indenting region...
Indenting region... done
Indenting region...
Indenting region... done
passed 19/41 php-mode-test-issue-19
passed 20/41 php-mode-test-issue-197
passed 21/41 php-mode-test-issue-200
passed 22/41 php-mode-test-issue-201
passed 23/41 php-mode-test-issue-21
passed 24/41 php-mode-test-issue-211
passed 25/41 php-mode-test-issue-22
Indenting region...
Indenting region... done
passed 26/41 php-mode-test-issue-227
Indenting region...
Indenting region... done
passed 27/41 php-mode-test-issue-237
passed 28/41 php-mode-test-issue-253
Indenting region...
Indenting region... done
passed 29/41 php-mode-test-issue-27
passed 30/41 php-mode-test-issue-28
Indenting region...
Indenting region... done
passed 31/41 php-mode-test-issue-29
Indenting region...
Indenting region... done
passed 32/41 php-mode-test-issue-42
passed 33/41 php-mode-test-issue-53
passed 34/41 php-mode-test-issue-73
passed 35/41 php-mode-test-issue-8
passed 36/41 php-mode-test-issue-83
failed 37/41 php-mode-test-issue-9
Indenting region...
Indenting region... done
passed 38/41 php-mode-test-issue-99
passed 39/41 php-mode-test-language-constructs
Indenting region...
Indenting region... done
Indenting region...
Indenting region... done
passed 40/41 php-mode-test-switch-statements
passed 41/41 php-mode-test-variables
Ran 41 tests, 39 results as expected, 2 unexpected (2015-10-27 18:49:14-0700)
1 expected failures
2 unexpected results:
FAILED php-mode-test-issue-144
FAILED php-mode-test-issue-184
make: *** [test] Error 1
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew.git
HEAD: 62d7e952e4428613e42c8e4eba78dd9d70f3ad49
Last commit: 29 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: quad-core 64-bit haswell
OS X: 10.11.1-x86_64
Xcode: 7.1
CLT: N/A
GCC-4.2: build 0
Clang: 7.0 build 700
X11: 2.7.8 => /opt/X11
System Ruby: 2.0.0-p645
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/2.2.3/bin/ruby
Java: 1.8.0_20
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/libxml2:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/apache2:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
CMAKE_FRAMEWORK_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.11
HOMEBREW_VERBOSE: 1
HOMEBREW_SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/bin:/usr/local/Library/ENV/4.3:/usr/local/opt/emacs/bin:/usr/bin:/bin:/usr/sbin:/sbin
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew.git
HEAD: 62d7e952e4428613e42c8e4eba78dd9d70f3ad49
Last commit: 29 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: quad-core 64-bit haswell
OS X: 10.11.1-x86_64
Xcode: 7.1
CLT: N/A
Clang: 7.0 build 700
X11: 2.7.8 => /opt/X11
System Ruby: 2.0.0-p645
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/2.2.3/bin/ruby
Java: 1.8.0_20
Your system is ready to brew.
Formula: php-mode
Tap: homebrew/homebrew-emacs
Path: /usr/local/Library/Taps/homebrew/homebrew-emacs/Formula/php-mode.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment