Stefan Monnier [Mon, 30 Nov 2015 18:31:14 +0000 (13:31 -0500)]
* packages/seq: Don't define it as a :core package
Revert the removal of packages/seq/seq.el since it's different from
the one in lisp/emacs-lisp.
* .gitignore: Remove packages/seq.
* externals-list: Remove "seq" entry.
Stefan Monnier [Mon, 30 Nov 2015 15:20:46 +0000 (10:20 -0500)]
* packages/sm-c-mode: Add imenu/which-func/add-log support
(sm-c--comment-regexp): New var.
(sm-c--defun-regexp): New var, extracted from sm-c-font-lock-keywords.
Also recognize macro definitions.
(sm-c-font-lock-keywords): Use it.
(sm-c--def-regexp): New var.
(sm-c-mode): Use it for add-log and imenu.
Stefan Monnier [Mon, 30 Nov 2015 13:50:12 +0000 (08:50 -0500)]
* admin/archive-contents.el: Make :core handling optional
(archive--sync-emacs-repo): Drop support for $EMACS_CLONE_REFERENCE and
don't auto-use ../emacs/master if present.
(archive--insert-repolinks): Mark arg as unused.
(archive--metadata): Remove unused var `pv'.
Thomas Fitzsimmons [Fri, 27 Nov 2015 06:27:00 +0000 (01:27 -0500)]
Make externals directory removal safer
* admin/archive-contents.el (archive--find-non-trivial-file): New
function.
(archive--cleanup-packages): Check result of
archive--find-non-trivial-file before deleting untracked package.
Thomas Fitzsimmons [Mon, 16 Nov 2015 02:25:04 +0000 (21:25 -0500)]
Use symbolic links for core packages
* admin/archive-contents.el (archive--process-simple-package):
Copy file if it is a symlink to prevent deletion of target source
file.
(archive--core-package-link-file): Rename from
archive--core-package-copy-file. Create symbolic links for core
files.
(archive--core-package-link-directory): Rename from
archive--core-package-copy-directory. Call
archive--core-package-link-file.
(archive--core-package-sync): Change message to indicate linking.
Call archive--core-package-link-file.
Stefan Monnier [Tue, 24 Nov 2015 21:06:06 +0000 (16:06 -0500)]
* sm-c-mode: Improve indentation of struct; plus bug fixes
* packages/sm-c-mode/GNUmakefile: New file.
* packages/sm-c-mode/sm-c-mode-test.c: Add some "struct" tests.
Plus a #include.
* packages/sm-c-mode/sm-c-mode.el (sm-c-syntax-propertize): Mark the <...>
of #include as a string.
(sm-c-smie--*-token): Try not to look too far back.
(sm-c-smie-rules): Indent the {...} of struct and enum definitions.
(sm-c--bs-realign-1): Fix behavior at EOB.
(sm-c--cpp-is-not-really-a-comment): New function.
(comment-only-p): Use it.
* sm-c-mode/sm-c-mode.el: Auto-align backslashes. Improve indent rules.
(sm-c--cpp-indent-comment-inside): New function.
(sm-c--cpp-smie-indent-functions): Use it.
(sm-c--cpp-smie-indent): Handle indentation within comments-within-cpp.
(sm-c-smie-grammar): Manually tweak precedence of ":label".
(sm-c-smie-operator-regexp): Parentheses aren't operators.
(sm-c--boi): Add `inner' arg.
(sm-c--boe): Complete the code.
(sm-c-smie--*-token): Refine.
(sm-c-smie-rules): Various tweaks based on tests on src/eval.c and
src/xdisp.c.
(sm-c--bs-changed): New var.
(sm-c--bs-after-change, sm-c--bs-realign, sm-c--bs-realign-1):
New functions.
(sm-c-mode): Use them.
* sm-c-mode/sm-c-mode-test.c: Add a few more cases.
Eli Zaretskii [Sat, 14 Nov 2015 15:51:45 +0000 (17:51 +0200)]
Support reading debbugs email exchange with Rmail
* packages/debbugs/debbugs-gnu.el: Version: bump to 0.8.
(debbugs-gnu-mail-backend): New defcustom.
(debbugs-read-emacs-bug-with-rmail): New function.
(debbugs-gnu-select-report): Call it if debbugs-gnu-mail-backend
is set to use Rmail.
* packages/debbugs/debbugs-ug.texi (Tabulated Lists): Describe the
new option 'debbugs-gnu-mail-backend'.