- 17 Jan, 2017 4 commits
-
-
Paul Eggert authored
-
Mark Oteiza authored
* lisp/play/dunnet.el: Fix triple negative. (dun-doverb): Use funcall instead of eval. (dun-echo): Just call dun-mprinc. (dun-save-val): Just bind value without eval.
-
Mark Oteiza authored
-
Tom Tromey authored
* lisp/textmodes/css-mode.el: Remove obsolete comment.
-
- 15 Jan, 2017 1 commit
-
-
Noam Postavsky authored
* lisp/ffap.el (ffap-gopher-regexp): Only match the KEY part. Note setting to nil is now supported. (ffap--gopher-var-on-line): New function. (ffap-gopher-at-point): Use it instead of the old ffap-gopher-regexp which could overflow the regexp stack on long lines (Bug#25391). Use `let-alist' instead of calling `set' on local variables. * test/lisp/ffap-tests.el (ffap-gopher-at-point): New test.
-
- 14 Jan, 2017 3 commits
-
-
Alan Mackenzie authored
* list/progmodes/c-engine.el (c-parse-state-get-strategy): When HERE is below its previous value, we chose strategy 'forward, and the new HERE is in a (different) macro, ensure the returned START-POINT is not above the start of the macro.
-
Eli Zaretskii authored
* lisp/mail/sendmail.el (mail-do-fcc): Insert a 'Date:' header into the filed message. In the outgoing message, sendmail will add the date, but the composed message body doesn't have it. (Bug#25436)
-
Dmitry Gutov authored
* lisp/vc/vc-bzr.el (vc-bzr-log-view-mode): Use log-view-message. * lisp/vc/vc-git.el (vc-git-root-log-format): Same. * lisp/vc/vc-hg.el (vc-hg-root-log-format): Same.
-
- 13 Jan, 2017 8 commits
-
-
Phillip Lord authored
* admin/ldefs-clean.el (ldefs-clean-up): Record autoloads till emacs dump * lisp/ldefs-boot-auto.el (batch-byte-compile): Update Previously, autoloads were collected till loaddefs.el was generated as part of the build. However, bootstrap-emacs does not load loaddefs (rather it is dumped), hence we must record autoloads until the full emacs binary is dumped.
-
Tom Tromey authored
Bug#20896 * lisp/progmodes/js.el (js-chain-indent): New variable. (js--skip-term-backward, js--skip-terms-backward) (js--chained-expression-p): New functions. (js--proper-indentation): Call js--chained-expression-p. * test/manual/indent/js-chain.js: New file. * test/manual/indent/js.js: Add (non-)chained indentation test.
-
Tom Tromey authored
Bug#15582: * lisp/progmodes/js.el (js--find-newline-backward): New function. (js--continued-expression-p): Use it. * test/manual/indent/js.js: Add new test.
-
Tom Tromey authored
Bug#25389: * lisp/files.el (auto-mode-alist): Add entry for .jsx.
-
Tom Tromey authored
Bug#19399 and Bug#22431: * lisp/progmodes/js.el (js-mode): Set comment-line-break-function and c-block-comment-start-regexp. * test/lisp/progmodes/js-tests.el: New file.
-
Katsumi Yamaoka authored
-
Katsumi Yamaoka authored
This fixes a bug that the patch part is broken in the article <87inpjzhpb.fsf@users.sourceforge.net> in the bug-gnu-emacs list. * lisp/gnus/mm-uu.el (mm-uu-dissect-text-parts): Don't dissect patch part.
-
Dmitry Lazurkin authored
* lisp/progmodes/python.el (python-imenu--get-defun-type-name): New function. (python-imenu--build-tree): Use python-imenu--get-defun-type-name for extract async or simple def type and name at current position (Bug#24820). * test/lisp/progmodes/python-tests.el (python-imenu-create-index-1): (python-imenu-create-flat-index-1): Add async def's.
-
- 12 Jan, 2017 1 commit
-
-
Katsumi Yamaoka authored
* lisp/mail/ietf-drums.el (ietf-drums-strip-cte): New function. (ietf-drums-remove-garbage): New function. (ietf-drums-remove-whitespace): Remove CR as well. * lisp/mail/mail-parse.el (mail-header-strip-cte): Alias to ietf-drums-strip-cte. * lisp/gnus/gnus-art.el (article-decode-charset): * lisp/gnus/gnus-sum.el (gnus-summary-enter-digest-group): * lisp/gnus/mm-decode.el (mm-dissect-buffer): * lisp/gnus/nndoc.el (nndoc-decode-content-transfer-encoding) (nndoc-rfc822-forward-generate-article): * lisp/mh-e/mh-mime.el (mh-decode-message-body): Replace mail-header-strip with mail-header-strip-cte.
-
- 11 Jan, 2017 3 commits
-
-
Alexander Kuleshov authored
* lisp/textmodes/dns-mode.el (dns-mode-types): Add two TLSA and NSEC" DNS related keywords and remove duplication of "NSAP".
-
Alan Mackenzie authored
This fixes bug #25362. * lisp/progmodes/cc-engine.el (c-sws-lit-type, c-sws-lit-limits) (c-invalidate-sws-region-before, c-invalidate-sws-region-after-del) (c-invalidate-sws-region-after-ins): New variables and functions. (c-invalidate-sws-region-after): Change from a defsubst to a defun. Also pass it the standard OLD-LEN argument. Call both c-invalidate-sws-region-after-{ins,del} to check for "dangerous" WS cache properties. * lisp/progmodes/cc-langs.el (c-block-comment-ender-regexp): New language variable. * lisp/progmodes/cc-mode.el (c-before-change): Call c-invalidate-sws-region-before. (c-after-change): Pass old-len to c-invalidate-sws-region-after.
-
Michael Albinus authored
* lisp/net/tramp-sh.el (tramp-get-remote-stat): Use QUOTING_STYLE environment variable of newer coreutils. (Bug#23422)
-
- 10 Jan, 2017 1 commit
-
-
Eli Zaretskii authored
* lisp/bookmark.el (bookmark-write-file): Handle the case when the explicitly specified encoding of the bookmark file cannot encode the additional bookmarks just added. (Bug#25365)
-
- 09 Jan, 2017 1 commit
-
-
Phillip Lord authored
* lisp/ldefs-boot.el: Remove This file was not removed as reported in c27b6459, but accidentally left.
-
- 08 Jan, 2017 1 commit
-
-
Stefan Merten authored
* rst.el (rst-cvs-header, rst-svn-rev, rst-svn-timestamp) (rst-official-version, rst-official-cvs-rev) (rst-package-emacs-version-alist): Maintain version numbers. (rst-forward-indented-block): Fix. Start searching at next line again. Fixes fontification of comments continuing on the same line they started.
-
- 07 Jan, 2017 4 commits
-
-
Michael Albinus authored
* lisp/net/tramp-sh.el (tramp-maybe-open-connection): `start-file-process' shall work when `non-essential' is non-nil, but there is already an established connection. <https://github.com/company-mode/company-mode/issues/462>
-
Rolf Ade authored
* lisp/progmodes/sql.el (sql-sqlite-login-params): Allow any name as SQLite database file name, by default. (sql-get-login-ext): Fixed read-file-name arguments to provide path completion even if a database name pattern is customized and to allow creation of new SQLite database files. Copyright-paperwork-exempt: yes
-
Eli Zaretskii authored
* lisp/bookmark.el (bookmark-insert-file-format-version-stamp): Accept an argument CODING and include a 'coding:' cookie in the bookmark file preamble. (bookmark-upgrade-file-format-from-0): Call 'bookmark-insert-file-format-version-stamp' with the file buffer's encoding, as detected when it was read. (bookmark-file-coding-system): New variable. (bookmark-load): Set bookmark-file-coding-system to the encoding of the loaded file. (bookmark-write-file): Bind coding-system-for-write to either the user setting via "C-x RET c" or to the existing file encoding, defaulting to 'utf-8-emacs'. Update the value of bookmark-file-coding-system. (Bug#25365)
-
Eli Zaretskii authored
* lisp/textmodes/ispell.el (ispell-begin-skip-region-regexp): Protect against 'ispell-skip-region-alist' being nil. Reported by Ernest Adrogué <nfdisco@gmail.com>, see http://lists.gnu.org/archive/html/help-gnu-emacs/2017-01/msg00007.html.
-
- 06 Jan, 2017 2 commits
-
-
Stefan Monnier authored
Author: * lisp/mail/feedmail.el (feedmail-deduce-address-list): Avoid add-to-list on local variables.
-
Noam Postavsky authored
* lisp/isearch.el: Add `isearch-scroll' property to universal-argument-more so that `isearch-allow-scroll' will apply to it as well. (isearch-pre-command-hook): Let `isearch-allow-prefix' apply to `universal-argument-more' as well (Bug#25302).
-
- 05 Jan, 2017 2 commits
-
-
Johan Claesson authored
Bash will after each command send ?\032 and the current directory "/tmp" to inform term.el. Bash output is buffered in 4096 bytes chunks. If a command outputs roughly 4096 bytes then the end of the first chunk will be "/tm" (Bug#13350). * lisp/term.el (term-emulate-terminal): Change the regexp to find the end of the ?\032 sequence to use \n instead of $, the latter can match end of string as well. Copyright-paperwork-exempt: yes
-
Mark Oteiza authored
* lisp/mb-depth.el: Turn on lexical-binding. (minibuffer-depth-setup): Bind things used multiple times.
-
- 04 Jan, 2017 2 commits
-
-
Glenn Morris authored
-
Stefan Monnier authored
* lisp/gnus/nnir.el: Use lexical-binding and cl-lib. (nnir-retrieve-headers): Use pcase. (nnir-search-thread): Avoid add-to-list on local variables. * lisp/gnus/smime.el: Use lexical-binding and cl-lib. (smime-verify-region): Avoid add-to-list on local variables. * lisp/mail/undigest.el: Use lexical-binding and cl-lib. (rmail-digest-parse-mime, rmail-digest-rfc1153) (rmail-digest-parse-rfc934): Avoid add-to-list on local variable. * lisp/net/ldap.el (ldap-search): Move init into declaration. * lisp/net/newst-backend.el (newsticker--cache-add): Avoid add-to-list on local variables; Simplify code with `assq'. * lisp/net/zeroconf.el: Use lexical-binding and cl-lib. (dbus-debug): Remove declaration, unused. (zeroconf-service-add-hook, zeroconf-service-remove-hook) (zeroconf-service-browser-handler, zeroconf-publish-service): Avoid add-to-list and *-hook on local variables. * lisp/org/org-archive.el (org-all-archive-files): * lisp/org/org-agenda.el (org-agenda-get-restriction-and-command): Avoid add-to-list on local variables. * lisp/org/ox-publish.el (org-publish--run-functions): New function. (org-publish-projects): Use it to avoid run-hooks on a local variable. (org-publish-cache-file-needs-publishing): Avoid add-to-list on local variables. * lisp/progmodes/ada-prj.el: Use setq instead of (set '...). (ada-prj-load-from-file): Avoid add-to-list on local variables. * lisp/progmodes/ada-xref.el (ada-initialize-runtime-library): Simplify. (ada-gnat-parse-gpr, ada-parse-prj-file-1) (ada-xref-find-in-modified-ali): Avoid add-to-list on local variables. * lisp/progmodes/idlw-shell.el (idlwave-shell-update-bp-overlays): Avoid add-to-list on local variables.
-
- 03 Jan, 2017 6 commits
-
-
Mark Oteiza authored
* lisp/md4.el: Turn on lexical-binding. * test/lisp/md4-tests.el: New file.
-
Stefan Merten authored
User visible improvements and changes: * Improve and debug `rst-forward-section` and `rst-backward-section`. * Auto-enumeration may be used with all styles for list insertion. * Improve and debug `rst-toc-insert`. * Adapt change in Emacs to use customization group `text` instead of `wp`. * Bind `n` and `p` in `rst-toc-mode`. * `z` in `toc-mode` returns to the previous window configuration. * Require Emacs version >= 24.1. Lots of refactorings including: * Silence byte compiler. * Use lexical binding. * Use `cl-lib`. * Add tests and raise test coverage.
-
Stefan Monnier authored
* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Don't signal an error but emit a warning for those coders who forgot to put a default value in their slot.
-
Philipp Stephani authored
* lisp/ffap.el (ffap-alist): Document that ffap sets the match data while walking 'ffap-alist'.
-
Philipp Stephani authored
* lisp/ffap.el (ffap-alist): Document that ffap sets the match data while walking 'ffap-alist'.
-
Noam Postavsky authored
* lisp/term.el (term-terminal-undecoded-bytes): New variable. (term-mode): Make it buffer local. Don't make `term-terminal-parameter' buffer-local twice. (term-emulate-terminal): Check for bytes of incompletely decoded characters, and save them until the next call when they can be fully decoded (Bug#25288).
-
- 02 Jan, 2017 1 commit
-
-
Michael Albinus authored
* lisp/net/tramp-sh.el (tramp-get-remote-gvfs-monitor-dir): Check also for "gvfs-monitor-dir.exe".
-