1. 21 Jun, 2019 5 commits
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/bytecomp.el (byte-compile-dynamic): Mark obsolete · 436ccc69
      Stefan Monnier authored
      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.
    • Stefan Monnier's avatar
      * lisp/vc/ediff-*.el: Use lexical-binding, plus misc cleanup · 869cf5cb
      Stefan Monnier authored
      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.
      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.
    • YAMAMOTO Mitsuharu's avatar
    • YAMAMOTO Mitsuharu's avatar
      Fix blank tooltips on cairo (Bug#36298) · 2a229f49
      YAMAMOTO Mitsuharu authored
      * 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.
    • YAMAMOTO Mitsuharu's avatar
      Fix broken display by frame maximization on cairo (Bug#23925) · 2da3305c
      YAMAMOTO Mitsuharu authored
      * 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.
  2. 20 Jun, 2019 35 commits
    • Stefan Monnier's avatar
    • Paul Eggert's avatar
      Fix extraclean in a different way for info+lib/sys · 8bccbb98
      Paul Eggert authored
      * 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.
    • Eli Zaretskii's avatar
      Fix aborts when the value of a display property causes redisplay · e4e171bc
      Eli Zaretskii authored
      * src/xdisp.c (handle_single_display_spec): Protect the bidi
      cache from evaluation that triggers redisplay.  (Bug#36312)
    • Lars Ingebrigtsen's avatar
      Leave the emtpy info and lib/sys in extraclean · afc9d9b3
      Lars Ingebrigtsen authored
      * lib/Makefile.in: Ditto.
      * Makefile.in (extraclean): Don't use GNU-specific rmdir; just
      leave the empty directory be.
    • Paul Eggert's avatar
      Simplify lib-src version printing · b6af2792
      Paul Eggert authored
      * 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.
    • Lars Ingebrigtsen's avatar
      Make extraclean return tree to pristine state by deleting more · de4e1bdd
      Lars Ingebrigtsen authored
      * 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.
    • Lars Ingebrigtsen's avatar
      Add doc strings to the ielm * variables · 756c48b3
      Lars Ingebrigtsen authored
      * lisp/ielm.el: (*, **, ***): Add doc strings.
    • Lars Ingebrigtsen's avatar
      Don't define *, ** and ** in ielm as real variables · 14ef4539
      Lars Ingebrigtsen authored
      * lisp/ielm.el: (*, **, ***): Change defvars into compiler
      directives instead of real variable definitions to avoid polluting
      the global Emacs namespace.
      (*1, *2, *3): Ditto.
    • Lars Ingebrigtsen's avatar
      Fix compilation warning in esh-mode · 2396aea6
      Lars Ingebrigtsen authored
      * 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.
    • Lars Ingebrigtsen's avatar
      Fix compilation warning in viper-exp involving tags · 2c5a3f41
      Lars Ingebrigtsen authored
      * lisp/emulation/viper-ex.el (ex-tag): Use xref/next-error instead
      of the deprecated tags functions.
    • Lars Ingebrigtsen's avatar
      Declare semantic-*overlay* aliases obsolete · 77e8d418
      Lars Ingebrigtsen authored
      * lisp/cedet/semantic/fw.el: Declare all the semantic-*overlay*
      aliases obsolete.
    • Lars Ingebrigtsen's avatar
    • Lars Ingebrigtsen's avatar
      Remove XEmacs compat code from cedet · e383aade
      Lars Ingebrigtsen authored
      * lisp/cedet/srecode/mode.el (srecode-menu-bar):
      * lisp/cedet/semantic/wisent/comp.el (wisent-debug-flag)
      * lisp/cedet/semantic/util-modes.el
      * lisp/cedet/semantic/symref/list.el
      * lisp/cedet/semantic/idle.el ()
      * lisp/cedet/semantic/grammar.el (semantic-grammar-item-value)
      * 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)
      * lisp/cedet/semantic/decorate/include.el ()
      * lisp/cedet/semantic/decorate.el (semantic-set-tag-read-only)
      * lisp/cedet/mode-local.el (activate-mode-local-bindings):
      * lisp/cedet/data-debug.el (data-debug-overlay-properties): Remove
      XEmacs compat code.
    • Lars Ingebrigtsen's avatar
      Remove XEmacs compat code from gravatar.el · 86c3d928
      Lars Ingebrigtsen authored
      * lisp/image/gravatar.el (gravatar-retrieve): Remove XEmacs compat code
    • Lars Ingebrigtsen's avatar
      Remove XEmacs compat code from erc · 9f4cced5
      Lars Ingebrigtsen authored
      * 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)
      * 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)
    • Lars Ingebrigtsen's avatar
      Remove XEmacs compat code from table.el · 45a0ce09
      Lars Ingebrigtsen authored
      * 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.
    • Lars Ingebrigtsen's avatar
      Remove XEmacs compat code from dns-mode.el · 954b58f0
      Lars Ingebrigtsen authored
      * lisp/textmodes/dns-mode.el (dns-mode): Remove XEmacs compat code.
    • Lars Ingebrigtsen's avatar
      Clean up eieio-custom slightly · b67a6cb8
      Lars Ingebrigtsen authored
      * lisp/emacs-lisp/eieio-custom.el: Remove commented out code.
    • Lars Ingebrigtsen's avatar
      Remove XEmacs compat code from checkdoc.el · 4e0baad4
      Lars Ingebrigtsen authored
      * lisp/emacs-lisp/checkdoc.el (checkdoc-minor-mode-map): Remove
      XEmacs compat code.
    • Lars Ingebrigtsen's avatar
      Clean up after previous viper patch · 717a99da
      Lars Ingebrigtsen authored
      * lisp/emulation/viper-ex.el (viper-get-ex-address-subr): Fix
      syntax error in last checkin.
      (viper-ex): Don't use now-obsolete function.
    • Lars Ingebrigtsen's avatar
      Remove most of the XEmacs compat code from viper*.el · dfec2bc7
      Lars Ingebrigtsen authored
      * lisp/emulation/viper-cmd.el ()
      (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.
    • Lars Ingebrigtsen's avatar
      Remove XEmacs compat code from viper-macs.el · 82aeaf16
      Lars Ingebrigtsen authored
      * lisp/emulation/viper-macs.el (viper-char-array-to-macro):
      Remove XEmacs compat code.
    • Lars Ingebrigtsen's avatar
      Remove XEmacs compat code from viper-cmd.el · a4047f9d
      Lars Ingebrigtsen authored
      * 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-file-add-suffix, viper-adjust-window)
      (viper-set-emacs-state-searchstyle-macros): Remove XEmacs compat code.
    • Lars Ingebrigtsen's avatar
      Remove XEmacs and old Emacs compat code from gamegrid.el · 1f6e6ee4
      Lars Ingebrigtsen authored
      * 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-add-score-insecure): Removed XEmacs compat code.
      (gamegrid-characterp, gamegrid-set-display-table): Removed functions.
    • Lars Ingebrigtsen's avatar
      Remove XEmacs compat code from binhex.el · ec45664d
      Lars Ingebrigtsen authored
      * lisp/mail/binhex.el (binhex-insert-char): Remove XEmacs compat
      code and made into a function instead of a defalias.
      (binhex-decode-region-internal): Remove XEmacs compat code.
    • Lars Ingebrigtsen's avatar
      Remove XEmacs compat code from uudecode.el · ac3219c0
      Lars Ingebrigtsen authored
      * lisp/mail/uudecode.el (uudecode-decode-region-external)
      (uudecode-decode-region-internal): Remove XEmacs compat code.
    • Lars Ingebrigtsen's avatar
      Remove XEmacs compat code from pascal.el · 3c16eda5
      Lars Ingebrigtsen authored
      * lisp/progmodes/pascal.el (pascal-mark-defun): Remove XEmacs compat.
    • Lars Ingebrigtsen's avatar
      Remove XEmacs support from cperl-mode · c2e27949
      Lars Ingebrigtsen authored
      * lisp/progmodes/cperl-mode.el (condition-case)
      (cperl-electric-parens-mark, cperl-del-back-ch)
      (cperl-do-not-fontify, cperl-mode, cperl-find-pods-heres)
      (cperl-write-tags, cperl-tags-hier-init, cperl-perldoc)
      (cperl-build-manpage): Remove XEmacs support.
      There's a lot of support code in here for older versions of Emacs that
      could be removed, too.
    • Paul Eggert's avatar
      Simplify stdout buffering · 920745eb
      Paul Eggert authored
      * src/sysdep.c (_sobuf): Remove; we no longer need this
      (init_sys_modes): Simplify by assuming setvbuf.
    • Paul Eggert's avatar
      Remove no-longer-needed fflushes of stderr · 2dbe05d0
      Paul Eggert authored
      * src/gmalloc.c (mabort) [GC_MCHECK && !__GNU_LIBRARY__]:
      * src/term.c (vfatal): Remove fflush (stderr) when it is now a
      no-op because newline automatically flushes stderr.
    • Paul Eggert's avatar
      Line-buffer stderr · 2079e40a
      Paul Eggert authored
      * src/sysdep.c (init_standard_fds) [!DOS_NT]:
      Use setvbuf to ensure stderr is line-buffered.
    • Paul Eggert's avatar
      Fix arbitrary INT_MAX limit on referrer repr · 4e8083ec
      Paul Eggert authored
      * src/pdumper.c (print_paths_to_root_1):
      Don’t assume strlen (repr) < INT_MAX.
    • Paul Eggert's avatar
      Minor putc tweaks · 5f32ac13
      Paul Eggert authored
      * src/emacs-module.c (module_abort):
      * src/xdisp.c (vmessage):
      Prefer fputc to putc, since speed isn’t crucial here.
      * src/region-cache.c (pp_cache) [ENABLE_CHECKING]: Simplify.
    • YAMAMOTO Mitsuharu's avatar
      Change font_put_extra value for property removal from Qnil to Qunbound · fdbbbf94
      YAMAMOTO Mitsuharu authored
      * font.c (font_put_extra): If VAL is Qunbound, delete the slot for PROP from
      the list of extra properties.  Previous value Qnil is valid as boolean.
      (font_clear_prop): Changed argument of font_put_extra for property removal.
    • YAMAMOTO Mitsuharu's avatar
      Fix failure of setting default face attribute in init script (Bug#36284) · 0701634a
      YAMAMOTO Mitsuharu authored
      * src/xsettings.c (apply_xft_settings): Undo replacing all #ifdef HAVE_XFT
      with #if defined USE_CAIRO || defined HAVE_XFT for this function.