summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* (completion-lisp-mode-hook): Use completion-separator-charsStefan Monnier2015-04-131-6/+3
| | | | | * lisp/completion.el (completion-lisp-mode-hook): Use completion-separator-chars rather than local key binding.
* * src/*.c: Set deactivate_mark buffer-locallyStefan Monnier2015-04-132-2/+2
| | | | | | | | Fixes: debbugs:20260 * src/insdel.c (prepare_to_modify_buffer_1): * src/fileio.c (Finsert_file_contents): Set deactivate_mark buffer-locally.
* python.el: Keep symmetry on sexp navigation with parensFabián Ezequiel Gallina2015-04-122-33/+76
| | | | | | | | | | | | | Fixes: debbugs:19954 * lisp/progmodes/python.el (python-nav--forward-sexp): Add argument skip-parens-p. (python-nav-forward-sexp, python-nav-backward-sexp) (python-nav-forward-sexp-safe) (python-nav-backward-sexp-safe): Use it. * test/automated/python-tests.el (python-nav-forward-sexp-1): Fix test.
* Don't use `setq-local' in Gnus codeJoão Távora2015-04-121-2/+2
| | | | | | | This might break upstream builds with older Emacsen * lisp/gnus/message.el (message-mode): Use `set' and `make-local-variable' instead of `setq-local'.
* Update Makefile.in's .PHONY dependenciesPaul Eggert2015-04-121-1/+4
| | | | | * Makefile.in (change-history-commit, master-branch-is-current) (no-ChangeLog): Now phony.
* Remove configure's --with-mmdf optionPaul Eggert2015-04-123-29/+12
| | | | | | | * configure.ac (MAIL_USE_MMDF): Remove. * etc/NEWS: Document this. * lib-src/movemail.c: Assume MAIL_USE_MMDF is not defined. Fixes: bug#20308
* * doc/man/ChangeLog.01: Rename from doc/man/ChangeLog.1.Paul Eggert2015-04-121-0/+0
| | | | | | That way, 'make install' won't think it's a man page. Reported by Ashish SHUKLA in: http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00656.html
* Improve 'make change-history' prereq testsPaul Eggert2015-04-121-5/+9
| | | | | | | | * Makefile.in (gen_origin): Fix to match what's in the master branch. (no-ChangeLog, master-branch-is-current): New rules. (change-history): Depend on them, to avoid similar future problems. Escape the local-variables string to pacify Emacs when editing Makefile.in.
* * test/automated/package-test.el (with-package-test): Kill Packages bufferArtur Malabarba2015-04-121-0/+3
|
* * lisp/emacs-lisp/package.el: Improve transaction y-or-n promptArtur Malabarba2015-04-121-8/+8
| | | | | (package-menu--prompt-transaction-p): Prompt for "Delete" first, "Upgrade" last, and use capitalized instead of all-caps.
* * lisp/emacs-lisp/package.el: Completely silence async operationsArtur Malabarba2015-04-121-24/+34
| | | | | | | | | | | | | | (package--make-autoloads-and-stuff): Silence autoloads. (package--save-selected-packages): New function, silences `customize-save-variable'. (package--user-selected-p, package-install-from-buffer) (package-delete, package-install): Use it. (package-install-from-archive) (package-menu--perform-transaction): Silence. (package-menu-execute): Feedback when operation starts.
* Use delay-mode-hooks when visiting the init-fileArtur Malabarba2015-04-122-3/+7
| | | | | | | * lisp/emacs-lisp/package.el (package--ensure-init-file): delay-mode-hooks * lisp/cus-edit.el (custom-save-all): delay-mode-hooks
* * lisp/files.el: Only message when saving if save-silently is nilArtur Malabarba2015-04-121-17/+36
| | | | | | | | | (save-silently): New variable. (files--message): New function. (find-file-noselect, save-buffer, basic-save-buffer) (basic-save-buffer-2, save-some-buffers, not-modified) (append-to-file): Use them.
* Support debug declarations in pcase macrosJohan Bockgård2015-04-123-11/+29
| | | | | | | | | | | * lisp/emacs-lisp/pcase.el (pcase-MACRO): New edebug spec. (pcase-UPAT): Use it. Remove "`". (pcase--edebug-match-macro): New function. (pcase-defmacro): Support debug declarations. * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>: * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>: * lisp/emacs-lisp/pcase.el (\`): <pcase-defmacro>: Add debug declaration.
* pcase.el: Edebug support for `app' and vector patternsJohan Bockgård2015-04-121-5/+10
| | | | | | * lisp/emacs-lisp/pcase.el (pcase-FUN): New edebug spec. (pcase-UPAT): Use it. Support `app' patterns. (pcase-QPAT): Support vector patterns.
* edebug.el: Disambiguate vector specificationsJohan Bockgård2015-04-121-9/+11
| | | | | * lisp/emacs-lisp/edebug.el (edebug-match-list): Always treat `(vector ...)' as a vector specification, not as a sublist.
* (gnus-summary-refer-thread): Don't clobber unread articlesJohan Bockgård2015-04-121-8/+10
| | | | | | | | This fixes a bug where `A T' causes "random" articles to become marked as read. * lisp/gnus/gnus-sum.el (gnus-summary-refer-thread): Make sure gnus-newsgroup-unreads remains sorted.
* mouse-sel.el: Fix mouse-sel-get-selection-functionJohan Bockgård2015-04-121-1/+1
| | | | | | * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function): Use gui--last-selected-text-primary instead of no longer existing gui-last-selected-text.
* * lisp/rect.el (delete-whitespace-rectangle-line): Don't cross EOL.Johan Bockgård2015-04-121-1/+2
|
* * lisp/net/nsm.el (nsm-query-user): Use cursor-in-echo-area.Johan Bockgård2015-04-121-1/+2
|
* * lisp/emacs-lisp/package.el (list-packages): Avoid redundant generateArtur Malabarba2015-04-121-1/+3
|
* * lisp/emacs-lisp/package.el (list-packages): Call refresh in right bufferArtur Malabarba2015-04-121-3/+4
|
* * lisp/emacs-lisp/bytecomp.el: Silence noninteractive compilationsArtur Malabarba2015-04-121-19/+45
| | | | | | | | | | (byte-compile--interactive): New var. (byte-compile--message): New function. (byte-compile-log-1, byte-force-recompile) (byte-recompile-directory, byte-recompile-file) (byte-compile-file, compile-defun) (byte-compile-file-form-defmumble, byte-compile) (byte-compile-file-form-defalias, display-call-tree): Use it.
* * lisp/files.el: Don't message when nothing happenedArtur Malabarba2015-04-121-2/+5
| | | | | (save-some-buffers, basic-save-buffer): Before messaging to say "nothing was saved" check if (called-interactively-p 'any).
* Summary: Improve sexp-based movement in message-modeJoão Távora2015-04-122-1/+86
| | | | | | | | | | | | Works by giving citations and smileys a different syntax. This helps modes like `show-paren-mode', `electric-pair-mode', and C-M-* sexp-based movement. * lisp/gnus/message.el (message--syntax-propertize): New function. (message-mode): Set syntax-related vars. (message-smileys): New variable. * test/automated/message-mode-tests.el: New file
* Use bool for boolean in window.cPaul Eggert2015-04-112-266/+258
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/window.c: Omit unnecessary static function decls. (adjust_window_count, select_window, Fselect_window) (window_body_width, Fwindow_body_height, Fwindow_body_width) (set_window_hscroll, check_window_containing, Fwindow_at) (Fwindow_end, Fset_window_start, Fpos_visible_in_window_p) (unshow_buffer, replace_window, recombine_windows) (add_window_to_list, candidate_window_p, next_window) (Fnext_window, Fprevious_window, window_loop, check_all_windows) (Fget_buffer_window, Fdelete_other_windows_internal) (replace_buffer_in_windows_safely, set_window_buffer) (Fset_window_buffer, Fforce_window_update) (temp_output_buffer_show, make_parent_window) (window_resize_check, window_resize_apply, Fwindow_resize_apply) (resize_frame_windows, Fsplit_window_internal) (Fdelete_window_internal, grow_mini_window, shrink_mini_window) (Fresize_mini_window_internal, mark_window_cursors_off) (window_scroll, window_scroll_pixel_based) (window_scroll_line_based, scroll_command, Fscroll_other_window) (Fscroll_left, Fscroll_right, displayed_window_lines, Frecenter) (Fmove_to_window_line, Fset_window_configuration) (delete_all_child_windows, apply_window_adjustment) (set_window_fringes, set_window_scroll_bars) (Fset_window_vscroll, foreach_window, foreach_window_1) (compare_window_configurations, Fcompare_window_configurations): Prefer 'bool', 'true', and 'false' for booleans. * src/window.h (WINDOW_MODE_LINE_LINES) (WINDOW_HEADER_LINE_LINES): Omit unnecessary "!!" on bool value.
* Speed up byte-compilation and autoload generation by avoiding mode-hooksArtur Malabarba2015-04-122-4/+5
| | | | | | | | | | | | This prevents emacs-lisp-mode-hook from being run everytime an autoload file is generated, which can account for a fraction of package installation time depending on the hooks the user has configured. * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Use delay-mode-hooks. * lisp/emacs-lisp/autoload.el (autoload-find-file) (autoload-find-generated-file): Use delay-mode-hooks.
* * lisp/emacs-lisp/package.el: Improve `package-menu-refresh'Artur Malabarba2015-04-121-7/+5
| | | | | (package-menu-refresh): Respect async and do new package checking. (list-packages): Use `package-menu-refresh' instead of repeating code.
* * lisp/emacs-lisp/package.el: Improve package-menu-quick-helpArtur Malabarba2015-04-121-2/+23
| | | | | | (package--quick-help-keys): New variable. (package--prettify-quick-help-key): New function. (package-menu-quick-help): Use it.
* * lisp/emacs-lisp/package.el: Fix initially wrong compat tableArtur Malabarba2015-04-121-0/+2
| | | | (package--build-compatibility-table): require finder
* * test/automated/package-test.el: Fix new testArtur Malabarba2015-04-121-1/+0
|
* * lisp/emacs-lisp/package.el: Silence async operationsArtur Malabarba2015-04-121-12/+24
| | | | | | | | | (package--silence): New variable. (package--message): New function. (package-import-keyring, package-refresh-contents) (package-compute-transaction, package-install, package-delete) (package-menu--perform-transaction, package-menu-execute): Use it.
* * test/automated/package-test.el: Test async functionalityArtur Malabarba2015-04-122-1/+50
| | | | (package-test-update-archives-async): New test
* Utilize `make-process' in epg.elDaiki Ueno2015-04-121-22/+26
| | | | | | | | | * lisp/epg.el (epg-error-output): Abolish. (epg-context): New slot `error-buffer'. (epg--start): Use `make-process' and `make-pipe-process'. (epg--process-filter): Remove code separating stderr from stdout. (epg-wait-for-completion): Simplify `error-output' handling. (epg-reset): Dispose error buffer.
* * .gitignore: Ignore doc temps and outputs.Paul Eggert2015-04-111-1/+3
|
* Port commit-msg to MSYS Bash+GawkPaul Eggert2015-04-111-4/+5
| | | | | | | | | See Eli Zaretskii in: http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00610.html * build-aux/git-hooks/commit-msg (cent_sign_utf8_format) (cent_sign, print_at_sign, at_sign): Revert previous change. (print_at_sign): Prepend "BEGIN". (at_sign): Redirect from /dev/null to be safer with pre-POSIX awk.
* Port commit-msg to broken MS-Windows shellPaul Eggert2015-04-111-3/+2
| | | | | | | * build-aux/git-hooks/commit-msg (cent_sign): Just use UTF-8 here rather than ASCII + printf, as the latter fails on a broken MS-Windows shell. Reported by Eli Zaretskii in: http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00592.html
* Support GnuTLS v3.4 and later on MS-WindowsChris Zheng2015-04-112-1/+15
| | | | | | | | | | * src/gnutls.c (syms_of_gnutls) <libgnutls-version>: New DEFSYM. * lisp/term/w32-win.el (dynamic-library-alist): Determine which GnuTLS DLL to load according to value of libgnutls-version. Fixes: bug#20294 Copyright-paperwork-exempt: yes
* Minor quoting etc. fixes to misc manualsPaul Eggert2015-04-1144-264/+281
| | | | | | | | | | Fix some minor quoting and spacing issues. Distinguish more clearly among grave accent and apostrophe (which are ASCII) and single quote (which is not). Prefer the standard terms "apostrophe" and "grave accent" to alternative names that can be confusing. Use apostrophes to single-quote ASCII text. * doc/misc/remember.texi: Spell the mystic's pseudonym in UTF-8 rather than approximating it in ASCII with grave accent.
* Respect more keyword args in `make-process'Daiki Ueno2015-04-111-2/+2
| | | | | * process.c (Fmake_process): Respect `:sentinel' and `:filter' keywords as documented.
* Extract ChangeLog entries when committing a directoryDmitry Gutov2015-04-112-18/+30
| | | | | | | | | | * lisp/vc/vc-dispatcher.el (vc-log-edit): Update FIXME comment. * lisp/vc/log-edit.el (log-edit-changelog-insert-entries): Add a FIXME comment. (log-edit-changelog-entries): Extract from `log-edit-changelog-entries', handle FILE being a directory (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00555.html).
* Fix problems found by --enable-gcc-warningsPaul Eggert2015-04-101-6/+5
| | | | | * src/process.c (create_process, Fmake_pipe_process) (Fmake_network_process): Omit unused locals.
* Fix commit-msg to handle scissors linesPaul Eggert2015-04-101-1/+7
| | | | | | | * build-aux/git-hooks/commit-msg: Ignore every line after a scissors line, such as a line generated by 'git commit -v'. Problem reported by Johan Bockgård in: http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00580.html
* port commit-msg to Gawk 3.0.4 (1999)Paul Eggert2015-04-101-18/+20
| | | | | | | * build-aux/git-hooks/commit-msg (cent_sign_utf8_format, cent_sign) (print_at_sign, at_sign): New vars. Use them to avoid problems Eli Zaretskii encountered with Gawk 3.0.4 (1999) on MSYS. See: http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
* Have commit-msg report commit failurePaul Eggert2015-04-101-8/+11
| | | | | | | * build-aux/git-hooks/commit-msg: If the commit is aborted, say so. Simplify by doing this at the end. Problem reported by Eli Zaretskii in: http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
* Clean up LDAP Configuration section of EUDC manualThomas Fitzsimmons2015-04-101-28/+42
| | | | | | * doc/misc/eudc.texi: Combine indices. (LDAP Configuration): Use command markup. Add index entries. Change formatting. Wrap long lines. Add noindent markup.
* Add facility to collect stderr of async subprocessDaiki Ueno2015-04-118-18/+434
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/w32.h (register_aux_fd): New function declaration. * src/w32.c (register_aux_fd): New function. * src/process.h (struct Lisp_Process): New member stderrproc. * src/process.c (PIPECONN_P): New macro. (PIPECONN1_P): New macro. (Fdelete_process, Fprocess_status, Fset_process_buffer) (Fset_process_filter, Fset_process_sentinel, Fstop_process) (Fcontinue_process): Handle pipe process specially. (create_process): Respect p->stderrproc. (Fmake_pipe_process): New function. (Fmake_process): Add new keyword argument :stderr. (wait_reading_process_output): Specially handle a pipe process when it gets an EOF. (syms_of_process): Register Qpipe and Smake_pipe_process. * doc/lispref/processes.texi (Asynchronous Processes): Document `make-pipe-process' and `:stderr' keyword of `make-process'. * lisp/subr.el (start-process): Suggest to use `make-process' handle standard error separately. * test/automated/process-tests.el (process-test-stderr-buffer) (process-test-stderr-filter): New tests. * etc/NEWS: Mention new process type `pipe' and its usage with the `:stderr' keyword of `make-process'.
* Minor quoting etc. fixes to lispref manualPaul Eggert2015-04-1026-86/+80
| | | | | | | | | | | | | | | | | | | | | | * doc/lispref/tips.texi (Documentation Tips): Distinguish more clearly among grave accent, apostrophe, and single quote. * doc/lispref/README, doc/lispref/buffers.texi: * doc/lispref/commands.texi, doc/lispref/control.texi: * doc/lispref/customize.texi, doc/lispref/display.texi: * doc/lispref/elisp.texi, doc/lispref/files.texi: * doc/lispref/frames.texi, doc/lispref/hash.texi: * doc/lispref/help.texi, doc/lispref/internals.texi: * doc/lispref/loading.texi, doc/lispref/makefile.w32-in: * doc/lispref/markers.texi, doc/lispref/modes.texi: * doc/lispref/nonascii.texi, doc/lispref/objects.texi: * doc/lispref/os.texi, doc/lispref/positions.texi: * doc/lispref/strings.texi, doc/lispref/syntax.texi: * doc/lispref/text.texi, doc/lispref/tips.texi: * doc/lispref/two-volume-cross-refs.txt, doc/lispref/windows.texi: Use American-style double quoting in ordinary text, and quote 'like this' when single-quoting in ASCII text. Also, fix some minor spacing issues.
* Handle symlinked test directory in tramp-tests.elMichael Albinus2015-04-101-6/+16
| | | | | * test/automated/tramp-tests.el (tramp-test18-file-attributes) (tramp--test-check-files): Use `file-truename' for directories.
* Fix 'recenter' when visual-line-mode is turned onEli Zaretskii2015-04-101-10/+31
| | | | | | | | | | | | * src/window.c (Frecenter): Use the same code for GUI and TTY frames alike; use vmotion only for "initial" frames. This is because vmotion doesn't support visual-line-mode. Rewrite the 'iarg >= 0' case to use move_it_* functions instead of using vmotion, for the same reason. Fix the clipping of the argument value to support scroll-margin in all cases and avoid unwarranted recentering. Reported by Milan Stanojević <milanst@gmail.com> in http://lists.gnu.org/archive/html/help-gnu-emacs/2015-04/msg00092.html, which see.