summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* (nnir-notmuch-remove-prefix): Respect MAILDIRAndreas Schwab2019-06-221-2/+3
| | | | | * lisp/gnus/nnir.el (nnir-notmuch-remove-prefix): Respect MAILDIR and regexp-quote the result (bug#34940).
* Use plain report-emacs-bug instead of gnus-bugLars Ingebrigtsen2019-06-222-69/+6
| | | | | | | | * doc/misc/gnus.texi (Compatibility): Remove mention of deprecated variable. * lisp/gnus/gnus-msg.el (gnus-bug): Just use `report-emacs-bug'. (gnus-bug-kill-buffer): Remove. (gnus-bug-create-help-buffer, gnus-bug-message): Remove.
* Export Gnus calendar events to org even if they have no descriptionRobert Pluim2019-06-221-8/+7
| | | | | * lisp/gnus/gnus-icalendar.el (gnus-icalendar-event->org-entry): Don't ignore events that have no description.
* Make ftcr font backend driver more consistent with xftYAMAMOTO Mitsuharu2019-06-221-0/+12
| | | | | * src/ftcrfont.c: Include charset.h. (ftcrfont_has_char): Import font adstyle related code from ftfont_has_char.
* ; * lisp/select.el (xselect--encode-string): Fix a thinko.Eli Zaretskii2019-06-221-1/+1
|
* Remove XEmacs compat code from savehist.el (reworked)Lars Ingebrigtsen2019-06-221-48/+18
| | | | | | | | * lisp/savehist.el (savehist-coding-system, savehist-install) (savehist-uninstall, savehist-save): Remove XEmacs compat code. (savehist-trim-history): Made obsolete. (savehist-minibuffer-hook): Update comment to reflect the t value of HISTORY in `read-string'.
* epg: Use unibyte string to decode percent escapesChristophe Troestler2019-06-221-10/+9
| | | | | | | | | * lisp/epg.el (epg--status-USERID_HINT, epg--status-*SIG) (epg--status-IMPORTED): Call epg--decode-percent-escape-as-utf-8. (epg--decode-percent-escape): Convert STRING to unibyte. (epg--decode-percent-escape-as-utf-8): New function. (Bug#36098) Copyright-paperwork-exempt: yes
* Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacsEli Zaretskii2019-06-221-7/+13
|\
| * Update epg.el algorithm id-name association listsTeemu Likonen2019-06-221-7/+13
| | | | | | | | | | | | * lisp/epg.el (epg-pubkey-algorithm-alist) (epg-digest-algorithm-alist, epg-compress-algorithm-alist): Add new identifiers from openpgpdefs.h.
* | Add tests for mail/flow-fill.elStefan Kangas2019-06-222-65/+98
| | | | | | | | | | | | * test/lisp/mail/flow-fill-tests.el: New file. * lisp/mail/flow-fill.el (fill-flowed-encode-tests) (fill-flowed-test): Make obsolete. (Bug#36174)
* | Make toolbar show keyboard equivalents in its tooltipsStefan Kangas2019-06-223-2/+16
|/ | | | | | | * src/keyboard.c (parse_tool_bar_item): Add equivalent key binding to the tooltip string of toolbar buttons. * etc/NEWS: Announce it. * etc/TODO: Remove its entry. (Bug#36156)
* ; * etc/NEWS: Mention the last change in NEWS.Eli Zaretskii2019-06-221-0/+5
|
* Move mantemp.el to obsolete/Stefan Kangas2019-06-223-7/+6
| | | | | | * lisp/progmodes/mantemp.el: Move to obsolete/. (bug#34789) * doc/emacs/ack.texi (Acknowledgments): Remove obsolete library mantemp.el.
* Fix an off-by-one error in assertionEli Zaretskii2019-06-221-1/+1
| | | | | | * src/fileio.c (Fexpand_file_name): Fix off-by-one error in an assertion. This avoids assertion violations when the home directory is an empty string for some reason. (Bug#36363)
* Correct and update the mapping of LaTeX encodingsEli Zaretskii2019-06-221-2/+2
| | | | | | * lisp/international/latexenc.el (latex-inputenc-coding-alist): Fix the association of latin5. (Bug#36253) Uncomment latin10 and map it to iso-8859-16.
* Avoid using string-make-unibyte in select.elEli Zaretskii2019-06-221-8/+14
| | | | | | | * lisp/select.el (selection-coding-system): Doc fix. (xselect--encode-string): For C_STRING, if the text is not already unibyte, use encode-coding-string instead of string-make-multibyte to make it unibyte.
* Make ftcr font backend driver more consistent with xftYAMAMOTO Mitsuharu2019-06-221-20/+16
| | | | | * src/ftcrfont.c (ftcrfont_open): Use metrics of glyph ID 0 if there is no glyph for an ASCII printable.
* * src/font.c (Ffont_xlfd_name): Don't use strcpy for overlapping strings.YAMAMOTO Mitsuharu2019-06-221-1/+1
|
* Fix default build-from-Git on macOSPaul Eggert2019-06-211-1/+4
| | | | | * configure.ac (NS_IMPL_COCOA): Do not default to "yes" if src/macuvs.h is absent, which is possible in a build from Git.
* Remove src/macuvs.h from Git repositoryPaul Eggert2019-06-212-9214/+3
| | | | | | | | It can be generated automatically and easily during a normal bootstrap, so there’s no need to keep it in the repository. * admin/unidata/Makefile.in (maintainer-clean): Behave like extraclean and remove macuvs.h etc. * src/macuvs.h: Remove.
* Revert "Remove XEmacs compat code from savehist.el"Lars Ingebrigtsen2019-06-211-15/+50
| | | | | | This reverts commit a97ba6eb305c9db8641c0e65748907cd53dbfa5e. According to bug#36324, this broke savehist.el
* * lisp/emacs-lisp/bytecomp.el (byte-compile-dynamic): Mark obsoleteStefan Monnier2019-06-2114-29/+12
| | | | | | | | | | | | See bug#11649 for an example problem, and emacs-devel discussion «Prickliness of the "invalid byte code" stuff». * lisp/wid-edit.el, lisp/wdired.el, lisp/vc/pcvs-util.el: * lisp/progmodes/executable.el, lisp/mail/sendmail.el: * lisp/emacs-lisp/cl-seq.el, lisp/emacs-lisp/cl-macs.el: * lisp/emacs-lisp/cl-lib.el, lisp/emacs-lisp/cl-extra.el: * lisp/dired-x.el, lisp/dired-aux.el, lisp/calendar/calendar.el: Don't use byte-compile-dynamic any more.
* * lisp/vc/ediff-*.el: Use lexical-binding, plus misc cleanupStefan Monnier2019-06-2111-457/+306
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Re-enable lexical-binding in ediff. For that, change ediff-find-file so as not to rely on dynamic scoping in its calling convention. * lisp/vc/ediff-diff.el: Move `provide` to the end. Remove redundant :group. (ediff-exec-process): Disregard current directory. (ediff-forward-word-function): Use defvar-local. * lisp/vc/ediff-help.el (ediff-set-help-message): Use functionp. * lisp/vc/ediff-hook.el (menu-bar-ediff-misc-menu): Make a toggle, as in the XEmacs menu. * lisp/vc/ediff-init.el (ediff-defvar-local): Add `doc-string` prop. (ediff-check-version): Delete function, unused. * lisp/vc/ediff-mult.el: Move `provide` to the end. Remove redundant :groups. (ediff-dir-diffs-buffer-map): Move initialization into declaration. (ediff-meta-mode): Use define-derived-mode. (ediff-intersect-directories): Remove `comparison-func`, unused. (ediff-prepare-meta-buffer): Fix use of `startup-hooks`. * lisp/vc/ediff-ptch.el: Move `provide` to the end. * lisp/vc/ediff-util.el (ediff-add-to-history): Use add-to-history instead. * lisp/vc/ediff-vers.el (ediff-vc-internal, ediff-vc-merge-internal): Use push and closures. * lisp/vc/ediff-wind.el: Remove redundant :groups. * lisp/vc/ediff.el: Move `provide` to the end. Remove redundant :groups. (ediff--magic-file-name, ediff--startup-hook): New vars. (ediff-find-file): Change calling convention so as not to use symbols as value cells. (ediff--buffer-file-name): New function. (ediff-files-internal): Adjust to new calling convention of ediff-find-file. (ediff-directories-internal, ediff-directory-revisions-internal) (ediff-regions-internal): Use push and closures.
* * src/xterm.c (x_update_end) [USE_CAIRO]: Flush non-double-buffered surface.YAMAMOTO Mitsuharu2019-06-211-0/+9
|
* Fix blank tooltips on cairo (Bug#36298)YAMAMOTO Mitsuharu2019-06-213-1/+6
| | | | | | * src/xterm.h (x_cr_update_surface_desired_size) [USE_CAIRO]: Add extern. * src/xterm.c (x_cr_update_surface_desired_size) [USE_CAIRO]: Make non-static. * src/xfns.c (Fx_show_tip) [USE_CAIRO]: Call x_cr_update_surface_desired_size.
* Fix broken display by frame maximization on cairo (Bug#23925)YAMAMOTO Mitsuharu2019-06-211-1/+1
| | | | | * src/xterm.c (handle_one_xevent) [USE_CAIRO && USE_GTK]: Make calls to x_cr_update_surface_desired_size coincide with those to xg_frame_resized.
* * lisp/vc/vc-dir.el (vc-dir-search): Avoid `eval`.Stefan Monnier2019-06-201-1/+3
|
* Fix extraclean in a different way for info+lib/sysPaul Eggert2019-06-202-0/+2
| | | | | | | * Makefile.in (extraclean): * lib/Makefile.in (extraclean): Use rmdir but suppress any error indication. That way, ‘make extraclean’ will remove the directory if it’s empty, and successfully do nothing otherwise.
* Fix aborts when the value of a display property causes redisplayEli Zaretskii2019-06-201-0/+9
| | | | | * src/xdisp.c (handle_single_display_spec): Protect the bidi cache from evaluation that triggers redisplay. (Bug#36312)
* Leave the emtpy info and lib/sys in extracleanLars Ingebrigtsen2019-06-202-2/+0
| | | | | | | * lib/Makefile.in: Ditto. * Makefile.in (extraclean): Don't use GNU-specific rmdir; just leave the empty directory be.
* Simplify lib-src version printingPaul Eggert2019-06-204-34/+19
| | | | | | | | | | | | | | | | * lib-src/Makefile.in (etags_cflags): Remove. All uses replaced by a simple ‘-o $@’. (ebrowse${EXEEXT}, emacsclient${EXEEXT}, emacsclientw${EXEEXT}): Omit -DVERSION= option. * lib-src/ebrowse.c (VERSION): * lib-src/emacsclient.c (VERSION): * lib-src/etags.c (EMACS_NAME, VERSION): Remove. All uses replaced by PACKAGE_NAME and PACKAGE_VERSION. * lib-src/ebrowse.c (version): * lib-src/etags.c (print_version): Use fputs to output the version info, since that’s fputs_unlocked. * lib-src/etags.c (PROGRAM_NAME): New macro. (print_version): Use it.
* Make extraclean return tree to pristine state by deleting moreLars Ingebrigtsen2019-06-206-8/+17
| | | | | | | | | | | | | | | | | * src/Makefile.in (extraclean): Remove TAGS and config.in. * Makefile.in (extraclean): Remove info, configure and emacsver.texi in extraclean. * admin/unidata/Makefile.in (extraclean): Make it depend on distclean to remove .elc files. * leim/Makefile.in (extraclean): Depend on bootstrap-clean to remove generated .el files. * lib/Makefile.in (extraclean): Added target to remove sys directory and run distclean. * lisp/Makefile.in (extraclean): Also remove loaddefs*.el~ files.
* Add doc strings to the ielm * variablesLars Ingebrigtsen2019-06-201-3/+6
| | | | * lisp/ielm.el: (*, **, ***): Add doc strings.
* Don't define *, ** and ** in ielm as real variablesLars Ingebrigtsen2019-06-201-26/+15
| | | | | | | * lisp/ielm.el: (*, **, ***): Change defvars into compiler directives instead of real variable definitions to avoid polluting the global Emacs namespace. (*1, *2, *3): Ditto.
* Fix compilation warning in esh-modeLars Ingebrigtsen2019-06-201-5/+3
| | | | | | | * lisp/eshell/esh-mode.el (eshell-mode): Remove special binding for M-. in eshell buffers: The comment indicates that this is outdated code. (eshell-find-tag): Make obsolete.
* Fix compilation warning in viper-exp involving tagsLars Ingebrigtsen2019-06-201-2/+4
| | | | | * lisp/emulation/viper-ex.el (ex-tag): Use xref/next-error instead of the deprecated tags functions.
* Declare semantic-*overlay* aliases obsoleteLars Ingebrigtsen2019-06-201-19/+23
| | | | | * lisp/cedet/semantic/fw.el: Declare all the semantic-*overlay* aliases obsolete.
* Throughout cedet, don't use semantic-overlay-* compat aliasesLars Ingebrigtsen2019-06-2022-237/+227
|
* Remove XEmacs compat code from cedetLars Ingebrigtsen2019-06-2012-500/+292
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/cedet/srecode/mode.el (srecode-menu-bar): * lisp/cedet/semantic/wisent/comp.el (wisent-debug-flag) (wisent-print-results): * lisp/cedet/semantic/util-modes.el (semantic-stickyfunc-indent-string) (semantic-stickyfunc-header-line-format) (semantic-highlight-func-mode-map): * lisp/cedet/semantic/symref/list.el (semantic-symref-list-menu-entries): * lisp/cedet/semantic/idle.el () (semantic-idle-breadcrumbs-popup-menu): * lisp/cedet/semantic/grammar.el (semantic-grammar-item-value) (semantic-grammar-create-package) (semantic-grammar-batch-build-packages) (semantic-grammar-setup-menu): * lisp/cedet/semantic/fw.el (semantic-overlay-live-p) (semantic-event-window, semantic-make-local-hook) (semantic-run-mode-hooks, semantic-subst-char-in-string) (semantic-menu-item, semantic-find-file-noselect): * lisp/cedet/semantic/format.el (semantic-format-face-alist) (semantic--format-colorize-merge-text): * lisp/cedet/semantic/decorate/include.el () (semantic-decoration-on-include-menu) (semantic-decoration-on-unknown-include-menu) (semantic-decoration-on-fileless-include-menu) (semantic-decoration-on-unparsed-include-menu): * lisp/cedet/semantic/decorate.el (semantic-set-tag-read-only) (semantic-tag-read-only-p): * lisp/cedet/mode-local.el (activate-mode-local-bindings): * lisp/cedet/data-debug.el (data-debug-overlay-properties): Remove XEmacs compat code.
* Remove XEmacs compat code from gravatar.elLars Ingebrigtsen2019-06-201-4/+2
| | | | * lisp/image/gravatar.el (gravatar-retrieve): Remove XEmacs compat code
* Remove XEmacs compat code from ercLars Ingebrigtsen2019-06-207-114/+31
| | | | | | | | | | | | | | | | | | | | | * lisp/erc/erc-button.el (button, erc-button-keymap) (erc-button-setup, erc-button-add-button): Remove XEmacs compat code. * lisp/erc/erc-compat.el (erc-replace-match-subexpression-in-string): * lisp/erc/erc-log.el (erc-log-file-coding-system): * lisp/erc/erc-menu.el (menu): * lisp/erc/erc-stamp.el (erc-timestamp-use-align-to): * lisp/erc/erc-track.el (erc-modified-channels-object, track) (erc-track-mouse-face): * lisp/erc/erc.el (erc-update-undo-list) (erc-quit-reason-various, erc-part-reason-various, erc-cmd-SV) (erc-input-message, erc-get-channel-mode-from-keypress) (erc-update-mode-line-buffer):
* Remove XEmacs compat code from table.elLars Ingebrigtsen2019-06-201-85/+21
| | | | | | | | | | * lisp/textmodes/table.el: (table-disable-menu, null, table-recognize-cell) (table--make-cell-map, table--update-cell) (table--update-cell-widened, table--update-cell-heightened) (table--read-from-minibuffer, table--untabify) (table--update-cell-face, table--warn-incompatibility) (table--fill-region, table--set-timer): Remove XEmacs compat code.
* Remove XEmacs compat code from dns-mode.elLars Ingebrigtsen2019-06-201-3/+2
| | | | * lisp/textmodes/dns-mode.el (dns-mode): Remove XEmacs compat code.
* Clean up eieio-custom slightlyLars Ingebrigtsen2019-06-201-5/+0
| | | | * lisp/emacs-lisp/eieio-custom.el: Remove commented out code.
* Remove XEmacs compat code from checkdoc.elLars Ingebrigtsen2019-06-201-7/+3
| | | | | * lisp/emacs-lisp/checkdoc.el (checkdoc-minor-mode-map): Remove XEmacs compat code.
* Clean up after previous viper patchLars Ingebrigtsen2019-06-202-7/+5
| | | | | | * lisp/emulation/viper-ex.el (viper-get-ex-address-subr): Fix syntax error in last checkin. (viper-ex): Don't use now-obsolete function.
* Remove most of the XEmacs compat code from viper*.elLars Ingebrigtsen2019-06-207-319/+188
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emulation/viper-cmd.el () (viper-insert-state-post-command-sentinel) (viper-change-state-to-vi, viper-change-state-to-insert) (viper-change-state-to-emacs, viper-escape-to-state) (viper-special-read-and-insert-char, viper-toggle-key-action) (viper-prefix-arg-value, viper-prefix-arg-com) (viper-digit-argument, viper-command-argument, ) (viper-exec-Yank, viper-repeat, viper-forward-char) (viper-backward-char, viper-forward-word, viper-forward-Word) (viper-end-of-word, viper-end-of-Word, viper-backward-word) (viper-backward-Word, viper-beginning-of-line) (viper-bol-and-skip-white, viper-goto-eol, viper-goto-col) (viper-next-line, viper-next-line-at-bol, viper-previous-line) (viper-previous-line-at-bol, viper-goto-line, ) (viper-repeat-find, viper-repeat-find-opposite) (viper-window-top, viper-window-middle, viper-window-bottom) (viper-paren-match, viper-search, viper-buffer-search-enable) (viper-put-back, viper-Put-back, viper-mark-point) (viper-cycle-through-mark-ring, viper-goto-mark-subr) (viper-brac-function, viper-register-to-point) (viper-submit-report): Remove some XEmacs compat code. * lisp/emulation/viper-ex.el (viper-get-ex-address-subr) (viper-handle-!, ex-edit, ex-mark, ex-next-related-buffer) (ex-help, ex-write, ex-write-info, viper-info-on-file): Ditto. * lisp/emulation/viper-keym.el (viper-add-keymap): Ditto. * lisp/emulation/viper-macs.el (viper-record-kbd-macro): Remove XEmacs compat code. * lisp/emulation/viper-mous.el (viper-mouse-click-insert-word) (viper-mouse-click-search-word): Remove some XEmacs compat code. * lisp/emulation/viper-util.el (viper-overlay-p) (viper-color-defined-p, viper-iconify, viper-memq-char) (viper-char-equal, viper=, viper-color-display-p) (viper-get-cursor-color, viper-frame-value) (viper-change-cursor-color, viper-save-cursor-color) (viper-restore-cursor-color, viper-get-visible-buffer-window) (viper-file-checked-in-p, viper-put-on-search-overlay) (viper-flash-search-pattern, viper-hide-search-overlay) (viper-move-replace-overlay, viper-set-replace-overlay) (viper-set-replace-overlay-glyphs, viper-hide-replace-overlay) (viper-replace-start, viper-replace-end) (viper-set-minibuffer-overlay, viper-check-minibuffer-overlay) (viper-abbreviate-file-name, viper-mark-marker) (viper-set-mark-if-necessary, viper-leave-region-active) (viper-copy-event, viper-read-event-convert-to-char) (viper-event-key, viper-last-command-char) (viper-key-to-emacs-key, viper-eventify-list-xemacs) (viper-set-unread-command-events, viper-char-array-p) (viper-key-press-events-to-chars, viper-read-char-exclusive): Remove most of the XEmacs compat code. * lisp/emulation/viper.el (viper-go-away, viper-set-hooks) (viper-non-hook-settings): Remove some XEmacs compat code.
* Remove XEmacs compat code from viper-macs.elLars Ingebrigtsen2019-06-201-6/+1
| | | | | * lisp/emulation/viper-macs.el (viper-char-array-to-macro): Remove XEmacs compat code.
* Remove XEmacs compat code from viper-cmd.elLars Ingebrigtsen2019-06-201-91/+18
| | | | | | | | | | | * lisp/emulation/viper-cmd.el (viper-change-state) (viper-escape-to-state, viper-special-read-and-insert-char) (viper-prefix-arg-value, viper-prefix-arg-com) (viper-display-current-destructive-command) (viper-file-add-suffix, viper-adjust-window) (viper-set-searchstyle-toggling-macros) (viper-set-parsing-style-toggling-macro) (viper-set-emacs-state-searchstyle-macros): Remove XEmacs compat code.
* Remove XEmacs and old Emacs compat code from gamegrid.elLars Ingebrigtsen2019-06-201-56/+13
| | | | | | | | | | * lisp/play/gamegrid.el (gamegrid-event-x, gamegrid-event-y) (gamegrid-make-glyph, image-size, gamegrid-initialize-display) (gamegrid-start-timer, gamegrid-set-timer) (gamegrid-kill-timer) (gamegrid-add-score-with-update-game-score-1) (gamegrid-add-score-insecure): Removed XEmacs compat code. (gamegrid-characterp, gamegrid-set-display-table): Removed functions.