1. 20 Jun, 2019 1 commit
    • Lars Ingebrigtsen's avatar
      Remove most of the XEmacs compat code from viper*.el · dfec2bc7
      Lars Ingebrigtsen authored
      * 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.
      dfec2bc7
  2. 01 Jan, 2019 1 commit
  3. 13 Sep, 2018 1 commit
    • Stefan Monnier's avatar
      (viper-read-key, viper-read-key-sequence): Remove · f066999b
      Stefan Monnier authored
      Ever since the time-dependent ESC handling was moved to input-decode-map,
      viper-read-key-sequence has been obsolete.  Clean up accordingly.
      
      * lisp/emulation/viper-keym.el: Use lexical-binding.
      (viper-overriding-map): Remove.
      
      * lisp/emulation/viper-macs.el: Use lexical-binding and 'read-key'.
      
      * lisp/emulation/viper-util.el: Use lexical-binding.
      (viper-read-key, viper-read-key-sequence): Remove.
      
      * lisp/emulation/viper.el (viper-non-hook-settings): Remove obsolete advice.
      f066999b
  4. 24 Mar, 2018 1 commit
  5. 07 Mar, 2018 1 commit
    • Glenn Morris's avatar
      Replace some obsolete aliases in code · 501808ce
      Glenn Morris authored
      * lisp/emulation/viper.el (viper-set-hooks):
      * lisp/epa-hook.el (auto-encryption-mode):
      * lisp/term/pc-win.el (set-frame-font): Replace obsolete aliases.
      * lisp/net/quickurl.el (quickurl--assoc-function): New.
      (quickurl-assoc-function): Use it.
      501808ce
  6. 27 Feb, 2018 1 commit
  7. 01 Jan, 2018 1 commit
  8. 13 Sep, 2017 1 commit
    • Paul Eggert's avatar
      Prefer HTTPS to FTP and HTTP in documentation · bc511a64
      Paul Eggert authored
      Most of this change is to boilerplate commentary such as license URLs.
      This change was prompted by ftp://ftp.gnu.org's going-away party,
      planned for November.  Change these FTP URLs to https://ftp.gnu.org
      instead.  Make similar changes for URLs to other organizations moving
      away from FTP.  Also, change HTTP to HTTPS for URLs to gnu.org and
      fsf.org when this works, as this will further help defend against
      man-in-the-middle attacks (for this part I omitted the MS-DOS and
      MS-Windows sources and the test tarballs to keep the workload down).
      HTTPS is not fully working to lists.gnu.org so I left those URLs alone
      for now.
      bc511a64
  9. 08 Apr, 2017 1 commit
    • Mark Oteiza's avatar
      Replace some uses of cl-member-if with apply · 1c69215c
      Mark Oteiza authored
      From the mhtml-mode series.  Some of the uses of cl-lib are not
      necessary.
      * lisp/align.el: Don't require cl-lib.
      (align-region): Use apply instead of cl-member-if.
      * lisp/emulation/viper.el: Don't require cl-lib.
      (viper-mode, this-major-mode-requires-vi-state): Use apply instead of
      cl-member-if.
      1c69215c
  10. 06 Apr, 2017 1 commit
  11. 05 Apr, 2017 1 commit
    • Tom Tromey's avatar
      change viper to use derived-mode-p · 14659f69
      Tom Tromey authored
      * lisp/subr.el (provided-mode-derived-p): New function.
      (derived-mode-p): Use it.
      * lisp/emulation/viper.el (viper-mode): Use derived-mode-p.
      (this-major-mode-requires-vi-state): Use provided-mode-derived-p.
      (set-viper-state-in-major-mode): Use derived-mode-p.
      14659f69
  12. 01 Jan, 2017 1 commit
  13. 15 Nov, 2016 1 commit
    • Mark Oteiza's avatar
      Nix more uses of default-FOO variables (Bug#24946) · e6681b27
      Mark Oteiza authored
      * lisp/cedet/semantic/util-modes.el (semantic-stickyfunc-mode):
      Check for header-line-format instead.
      * lisp/emulation/viper.el (viper-load-custom-file): Reference
      major-mode instead.
      * lisp-mail-feedmail.el (feedmail-fill-to-cc-fill-column): Use
      fill-column instead.
      e6681b27
  14. 04 Nov, 2016 1 commit
    • Mark Oteiza's avatar
      Fix references to long obsoleted functions/aliases · 2c6920a3
      Mark Oteiza authored
      * doc/lispintro/emacs-list-intro.texi (Miscellaneous):
      * doc/misc/cl.texi (Conditionals):
      * doc/misc/speedbar.texi (Major Display Modes): Use string-to-number,
      not string-to-int.
      * lisp/emulation/viper.el (viper-go-away): Use major-mode, not
      default-major-mode.
      * lisp/textmodes/reftex-toc.el (reftex-toc-visit-location): show-window
      here is not a function call, but shorten the binding names anyways.
      Also, use pop-to-buffer-same-window instead of switch-to-buffer cf
      Bug#22244.
      * lisp/textmodes/sgml-mode.el (html-tag-alist): Use read-string, not
      read-input.
      2c6920a3
  15. 27 May, 2016 1 commit
    • Phillip Lord's avatar
      Fix broken viper deactivation · 01f37538
      Phillip Lord authored
      * lisp/emulation/viper.el (viper--deactivate-advice-list): Destructure
        args to advice-remove.
        (viper--advice-add): Use cons not list.
      
      Addresses bug#23625
      01f37538
  16. 04 May, 2016 1 commit
    • Stefan Monnier's avatar
      * lisp/emulation/viper(-cmd)?.el: Use lexical-binding. · 088acab3
      Stefan Monnier authored
      * lisp/emulation/viper-cmd.el: Use lexical-binding.
      (viper-change-state-to-vi, viper-change-state-to-emacs): Allow dummy
      args, for use in advice-add.
      (viper--init-message): Rename from init-message.
      (viper-minibuffer-standard-hook): Adjust accordingly.
      (viper-undo): Remove unused var `modified'.
      (viper-read-string-with-history, viper-set-searchstyle-toggling-macros):
      Don't use dynamic vars as args.
      (viper-submit-report): Clarify use of dynamic vars.
      
      * lisp/emulation/viper.el: Use lexical-binding and nadvice.
      Remove redundant :group keywords.  Group the (if viper-mode) at top-level.
      Use add-function rather than a `(lambda ...).
      (viper--advice-list): New var.
      (viper--advice-add, viper--deactivate-advice-list): New funs.
      (viper-go-away, viper-set-hooks, viper-non-hook-settings): Use them.
      (viper-non-hook-settings): Don't hook into find-file any more.
      088acab3
  17. 01 Jan, 2016 1 commit
  18. 17 Sep, 2015 1 commit
    • Paul Eggert's avatar
      Backslash cleanup in Elisp source files · 284c470e
      Paul Eggert authored
      This patch should not change behavior.  It typically omits backslashes
      where they are redundant (e.g., in the string literal "^\$").
      In a few places, insert backslashes where they make regular
      expressions clearer: e.g., replace "^\*" (equivalent to "^*") with
      "^\\*", which has the same effect as a regular expression.
      Also, use ‘\ %’ instead of ‘\%’ when avoiding confusion with SCCS IDs,
      and similarly use ‘\ $’ instead of ‘\$’ when avoiding confusion with
      RCS IDs, as that makes it clearer that the backslash is intended.
      284c470e
  19. 01 Jan, 2015 2 commits
  20. 20 Oct, 2014 1 commit
  21. 29 Jun, 2014 1 commit
    • Glenn Morris's avatar
      Doc and comment fixes re "online" help · a27e8c78
      Glenn Morris authored
      * doc/emacs/help.texi (Misc Help):
      * doc/emacs/trouble.texi (Checklist):
      * doc/lispintro/emacs-lisp-intro.texi (Note for Novices, Finding More)
      (Conclusion):
      * doc/lispref/help.texi (Help Functions):
      * doc/misc/info.texi, doc/misc/mh-e.texi:
      * etc/refcards/calccard.tex (section{Getting Help}):
      * lisp/cus-edit.el (help):
      * lisp/finder.el (finder-known-keywords):
      * lisp/help.el (help-for-help-internal):
      * lisp/vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
      (ediff-redraw-registry-buffer):
      * lisp/vc/ediff-ptch.el (ediff-patch-file-internal):
      Doc fixes re "online" help.
      
      Fixes: debbugs:17803
      a27e8c78
  22. 27 Jan, 2014 1 commit
    • Glenn Morris's avatar
      Doc, comment, etc updates for increased use of locate-user-emacs-file · ece4bae5
      Glenn Morris authored
      This should have been a prerequisite for making these changes in the
      first place.
      
      * doc/emacs/calendar.texi (Time Intervals):
      * doc/misc/idlwave.texi (Lesson III---User Catalog, Online Help)
      (Starting the Shell, Catalogs, User Catalog):
      * doc/misc/remember.texi (Quick Start):
      * doc/misc/viper.texi:
      * doc/misc/vip.texi (Customization, Customizing Constants)
      (Customizing Key Bindings): Update for files being in ~/.emacs.d/.
      
      * lisp/ido.el (ido-save-directory-list-file):
      * lisp/saveplace.el (save-place-file):
      * lisp/calendar/timeclock.el (timeclock-file):
      * lisp/net/quickurl.el (quickurl-url-file):
      * lisp/obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
      * lisp/progmodes/idlwave.el (idlwave-config-directory):
      * lisp/textmodes/remember.el (remember-data-file):
      Bump :version.
      
      * lisp/shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
      * lisp/strokes.el (strokes-file): Doc fix.  Bump :version.
      (strokes-help): Doc fix.
      * lisp/emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
      * lisp/emulation/viper.el (viper): Doc fix for custom group.
      (top-level): Remove oh-so-no-longer-relevant text about vip.
      * lisp/obsolete/otodo-mode.el (todo-prefix): Doc fix.
      
      * etc/NEWS: Related edits.
      ece4bae5
  23. 01 Jan, 2014 1 commit
  24. 07 Jul, 2013 1 commit
    • Michael Kifer's avatar
      * faces.el (tty-run-terminal-initialization): function changed (Stefan · f1e6674b
      Michael Kifer authored
      	Monnier's patch).
      	
      	* viper.el (viper-emacs-state-mode-list): add egg-status-buffer-mode.
      	(viper-version): version update.
      	(viper-go-away,viper-setup-hooks): function changed (Stefan Monnier's
      	patch).
      	(viper--lookup-key,viper-catch-tty-ESC,viper-uncatch-tty-ESC,
      	viper-setup-ESC-to-escape): new functions (Stefan Monnier's
      	patch).
      	
      	* viper-cmd.el: (viper-del-forward-char-in-insert): new function.
      	(viper-save-kill-buffer): check if buffer is modified.
      	(viper-envelop-ESC-key): function deleted (Stefan Monnier's patch).
      	(viper-intercept-ESC-key): function changed (Stefan Monnier's patch).
      	
      	* viper-keym.el (viper-ESC-key): constant changed (Stefan Monnier's
      	patch).
      	
      	* ediff.el (ediff-files-command,ediff3-files-command): new functions.
      	(ediff-merge-command,ediff-merge-with-ancestor-command): new functions.
      	(ediff-directories-command,ediff-directories3-command): new functions.
      	(ediff-merge-directories-command): new function.
      	(ediff-merge-directories-with-ancestor-command): new function.
      	All the above are command-line interfaces to ediff: facilitate calling
      	Emacs with the appropriate ediff functions invoked.
      	(ediff-version): version update.
      f1e6674b
  25. 12 Mar, 2013 1 commit
    • Stefan Monnier's avatar
      Use locate-user-emacs-file. · 940e5099
      Stefan Monnier authored
      * lisp/type-break.el (type-break-file-name):
      * lisp/textmodes/remember.el (remember-data-file):
      * lisp/strokes.el (strokes-file):
      * lisp/shadowfile.el (shadow-initialize):
      * lisp/saveplace.el (save-place-file):
      * lisp/ps-bdf.el (bdf-cache-file):
      * lisp/progmodes/idlwave.el (idlwave-config-directory):
      * lisp/net/quickurl.el (quickurl-url-file):
      * lisp/international/kkc.el (kkc-init-file-name):
      * lisp/ido.el (ido-save-directory-list-file):
      * lisp/emulation/viper.el (viper-custom-file-name):
      * lisp/emulation/vip.el (vip-startup-file):
      * lisp/calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
      * lisp/calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
      940e5099
  26. 01 Jan, 2013 1 commit
  27. 17 Sep, 2012 1 commit
    • Chong Yidong's avatar
      Update docstrings and comments to use "init file" terminology. · 865fe16f
      Chong Yidong authored
      * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
      * comint.el (comint-prompt-read-only):
      * custom.el (defcustom):
      * hi-lock.el (hi-lock-mode):
      * ibuffer.el (ibuffer-formats):
      * ielm.el (ielm-prompt-read-only):
      * novice.el (disable-command):
      * saveplace.el (toggle-save-place):
      * speedbar.el (speedbar-supported-extension-expressions):
      * startup.el (auto-save-list-file-prefix, init-file-user)
      (after-init-hook, inhibit-startup-echo-area-message):
      * strokes.el (strokes-help):
      * time-stamp.el (time-stamp):
      * calendar/calendar.el (calendar, diary-file):
      * calendar/diary-lib.el (diary-mail-entries, diary)
      (diary-list-entries-hook):
      * calendar/holidays.el (holidays, calendar-holidays):
      * calendar/lunar.el (lunar-phases):
      * calendar/solar.el (sunrise-sunset):
      * emulation/edt.el (edt-load-keys):
      * emulation/viper.el (viper-mode):
      * eshell/em-alias.el (eshell-command-aliases-list):
      * eshell/esh-util.el (eshell-convert-numeric-arguments):
      * international/ogonek.el (ogonek-information):
      * net/tramp-cmds.el (tramp-bug):
      * net/quickurl.el (quickurl-reread-hook-postfix):
      * play/decipher.el (decipher-font-lock-keywords):
      * progmodes/cc-styles.el (c-set-style):
      * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
      * progmodes/inf-lisp.el (inferior-lisp-prompt):
      * progmodes/octave-mod.el (octave-mode):
      * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
      * progmodes/verilog-mode.el (verilog-read-defines):
      * textmodes/two-column.el (2C-mode): Likewise.
      865fe16f
  28. 29 Jul, 2012 1 commit
    • Paul Eggert's avatar
      deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150) · 72b255c7
      Paul Eggert authored
      * NEWS: Document these changes.
      * leim/quail/uni-input.el (ucs-input-deactivate):
      Rename from ucs-input-inactivate.
      * leim/quail/hangul.el (hangul-input-method-deactivate):
      Rename from hangul-input-method-inactivate.
      * emulation/viper-init.el (viper-deactivate-input-method-action):
      Rename from viper-inactivate-input-method-action.
      (viper-deactivate-input-method):
      Rename from viper-inactivate-input-method.
      * lisp/follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
      * lisp/international/mule-cmds.el (deactivate-input-method):
      Rename from inactivate-input-method.
      Also run input-method-deactivate-hook.
      (deactivate-current-input-method-function):
      Rename from inactivate-current-input-method-function.
      (input-method-deactivate-hook): New hook.
      (input-method-inactivate-hook): Mark obsolete.
      * lisp/international/quail.el (quail-activate):
      Also run quail-deactivate-hook.
      (quail-deactivate): Rename from quail-inactivate.
      * lisp/international/robin.el (robin-activate):
      Also run robin-deactivate-hook.
      (robin-deactivate): Rename from robin-inactivate.
      72b255c7
  29. 25 Jul, 2012 1 commit
  30. 09 Apr, 2012 1 commit
  31. 28 Feb, 2012 1 commit
  32. 11 Jan, 2012 1 commit
  33. 05 Jan, 2012 1 commit
  34. 04 Dec, 2011 1 commit
  35. 19 Nov, 2011 1 commit
  36. 24 May, 2011 1 commit
  37. 23 May, 2011 1 commit
  38. 25 Jan, 2011 1 commit
  39. 15 Jan, 2011 1 commit