1. 07 Jul, 2019 1 commit
    • Juri Linkov's avatar
      Handle scroll-error-top-bottom in follow.el and view.el (bug#21893) · 8d09cb21
      Juri Linkov authored
      * lisp/follow.el (follow-scroll-up-arg, follow-scroll-up-window):
      Use scroll-up-command instead of scroll-up.
      (follow-scroll-down-arg, follow-scroll-down-window):
      Use scroll-down-command instead of scroll-down.
      (follow-scroll-up, follow-scroll-down): Handle scroll-error-top-bottom.
      
      * lisp/view.el (view-scroll-lines): Use scroll-down-command
      instead of scroll-down and scroll-up-command instead of scroll-up.
      (view-really-at-end): Handle scroll-error-top-bottom.
      8d09cb21
  2. 25 Jun, 2019 1 commit
  3. 25 May, 2019 1 commit
    • Paul Eggert's avatar
      Go back to "Maintainer: emacs-devel@gnu.org" · f744797a
      Paul Eggert authored
      Restore lines saying "Maintainer: emacs-devel@gnu.org" when there is
      no special maintainer for a file.  Although this wasn't documented
      it was common practice and removing the lines didn't have consensus.
      f744797a
  4. 20 May, 2019 1 commit
  5. 01 Jan, 2019 1 commit
  6. 02 Jul, 2018 1 commit
    • John Shahid's avatar
      Optionally add argument description in minor mode DOC (bug#10754) · ee3e4323
      John Shahid authored
      Add a paragraph to minor mode's docstring documenting the mode's ARG
      usage if the supplied docstring doesn't already contain the word "ARG".
      
      * easy-mmode.el (easy-mmode--arg-docstring): New const.
      (easy-mmode--arg-docstring): New function.
      (define-minor-mode): Use them.
      
      Remove argument documentation from all minor modes.
      ee3e4323
  7. 01 Jan, 2018 1 commit
  8. 26 Nov, 2017 1 commit
  9. 02 Oct, 2017 1 commit
    • Paul Eggert's avatar
      Prefer HTTPS to HTTP for gnu.org · 5172fa02
      Paul Eggert authored
      This fixes some URLs I omitted from my previous pass,
      notably those in lists.gnu.org.  Although lists.gnu.org
      does not yet support TLS 1.1, TLS 1.0 is better than nothing.
      * lisp/erc/erc.el (erc-official-location):
      * lisp/mail/emacsbug.el (report-emacs-bug):
      Use https:, not http:.
      5172fa02
  10. 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
  11. 06 Jun, 2017 1 commit
  12. 01 Jan, 2017 1 commit
  13. 08 Oct, 2016 1 commit
    • Eli Zaretskii's avatar
      Deprecate 'wp' group and introduce a new group 'text' · 67d14c82
      Eli Zaretskii authored
      * lisp/textmodes/tildify.el (tildify):
      * lisp/textmodes/text-mode.el (text-mode-hook):
      * lisp/textmodes/table.el (table):
      * lisp/textmodes/rst.el (rst):
      * lisp/textmodes/refer.el (refer):
      * lisp/textmodes/refbib.el (refbib):
      * lisp/textmodes/picture.el (picture):
      * lisp/textmodes/nroff-mode.el (nroff):
      * lisp/textmodes/enriched.el (enriched):
      * lisp/textmodes/bib-mode.el (bib):
      * lisp/progmodes/ebnf2ps.el (ebnf2ps):
      * lisp/nxml/rng-valid.el (relax-ng):
      * lisp/view.el (view):
      * lisp/ps-print.el (ps-print):
      * lisp/printing.el (printing):
      * lisp/outline.el (outlines):
      * lisp/lpr.el (lpr):
      * lisp/delim-col.el (columns): Use 'text' group instead of 'wp'.
      * lisp/cus-edit.el (wp): Remove the "text" tag.
      (text): New defgroup, inherits from the deprecated 'wp'.
      (outlines): Remove, in favor of the definition in outline.el.
      (tex): Inherit from 'text'.
      Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#24549)
      67d14c82
  14. 06 Jun, 2016 1 commit
    • Stephen Berman's avatar
      Fix doc string quoting · 9d5ccebe
      Stephen Berman authored
      * lisp/files.el (shell-quote-wildcard-pattern):
      * lisp/progmodes/vhdl-mode.el (vhdl-mode):
      * lisp/subr.el (replace-regexp-in-string):
      * lisp/view.el (view-mode):
      * src/nsfns.m (syms_of_nsfns):
      * src/syntax.c (Fbackward_prefix_chars):
      Fix quoting problems in doc strings (Bug#23696).
      9d5ccebe
  15. 01 Jan, 2016 1 commit
  16. 01 Jan, 2015 2 commits
  17. 21 Jul, 2014 1 commit
    • Glenn Morris's avatar
      Small fixes re toggle-read-only, mainly doc · f6c951e5
      Glenn Morris authored
      * progmodes/hideif.el (hide-ifdef-mode-submap): Also substitute read-only-mode.
      
      * bindings.el (mode-line-toggle-read-only):
      * bs.el (bs-toggle-readonly):
      * buff-menu.el (Buffer-menu-toggle-read-only):
      * dired.el (dired-toggle-read-only):
      * files.el (view-read-only, find-file-read-only)
      (find-file-read-only-other-window)
      (find-file-read-only-other-frame):
      * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
      Doc fixes re toggle-read-only.
      
      * view.el: Comment updates.
      f6c951e5
  18. 01 Jan, 2014 1 commit
  19. 11 Aug, 2013 1 commit
    • Juanma Barranquero's avatar
      lisp/*.el: More lexical-binding warnings' cleanups. · 9a4ebc74
      Juanma Barranquero authored
      * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
        (tutorial--detailed-help): Remove unused local variables.
        (tutorial--save-tutorial-to): Use ignore-errors.
        (help-with-tutorial): Use looking-at-p.
      
      * view.el (view-buffer-other-window, view-buffer-other-frame):
        Mark unused arguments.
      
      * woman.el (woman-parse-colon-path, woman-parse-colon-path)
        (woman-select-symbol-fonts, woman, woman-find-file)
        (woman-insert-file-contents, woman-non-underline-faces):
        Use string-match-p.
        (woman1-unquote): Move declaration.
      
      * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
        (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
        argument.  Remove unused local variable.
        (xml-parse-elem-type): Use string-match-p.
        (xml-substitute-numeric-entities): Use ignore-errors.
      9a4ebc74
  20. 12 Feb, 2013 1 commit
    • Glenn Morris's avatar
      Make S-SPC scroll in the opposite direction to SPC · 958614cf
      Glenn Morris authored
      * lisp/calc/calc-graph.el (calc-graph-show-dumb):
      * lisp/calendar/calendar.el (calendar-mode-map):
      * lisp/cus-edit.el (custom-mode-map):
      * lisp/ehelp.el (electric-help-map):
      * lisp/emulation/vip.el (vip-mode-map):
      * lisp/epa.el (epa-key-list-mode-map):
      * lisp/info.el (Info-mode-map):
      * lisp/mail/rmail.el (rmail-mode-map):
      * lisp/mail/rmailsum.el (rmail-summary-mode-map):
      * lisp/man.el (Man-mode-map):
      * lisp/net/newst-plainview.el (newsticker-mode-map):
      * lisp/progmodes/cpp.el (cpp-edit-mode-map):
      * lisp/progmodes/grep.el (grep-mode-map):
      * lisp/progmodes/idlw-help.el (idlwave-help-mode-map):
      * lisp/simple.el (special-mode-map):
      * lisp/startup.el (splash-screen-keymap):
      * lisp/view.el (view-mode-map):
      Make S-SPC scroll in the opposite sense to SPC.
      
      Fixes: debbugs:2145
      958614cf
  21. 04 Jan, 2013 1 commit
  22. 01 Jan, 2013 2 commits
  23. 25 Sep, 2012 1 commit
    • Chong Yidong's avatar
      Use declare forms, where possible, to mark obsolete functions. · 59f7af81
      Chong Yidong authored
      * lisp/allout.el (allout-passphrase-hint-string): Likewise.
      (allout-init): Use a declare form to mark obsolete.
      
      * lisp/calendar/calendar.el (calendar-version):
      * lisp/calendar/icalendar.el (icalendar-extract-ical-from-buffer)
      (icalendar-convert-diary-to-ical):
      * lisp/cus-edit.el (custom-mode):
      * lisp/ansi-color.el (ansi-color-unfontify-region):
      * lisp/international/latin1-disp.el (latin1-char-displayable-p):
      * lisp/progmodes/cwarn.el (turn-on-cwarn-mode):
      * lisp/progmodes/which-func.el (which-func-update-1): Use
      define-obsolete-function-alias.
      
      * lisp/bookmark.el (bookmark-jump-noselect): Use a declare form to mark
      this function obsolete.
      
      * lisp/calendar/cal-x.el (calendar-two-frame-setup)
      (calendar-only-one-frame-setup, calendar-one-frame-setup):
      * lisp/calendar/calendar.el (american-calendar, european-calendar)
      (calendar-for-loop):
      * lisp/comint.el (comint-dynamic-simple-complete)
      (comint-dynamic-complete-as-filename, comint-unquote-filename):
      * lisp/desktop.el (desktop-load-default):
      * lisp/dired-x.el (dired-omit-here-always)
      (dired-hack-local-variables, dired-default-directory):
      * lisp/emacs-lisp/derived.el (derived-mode-class):
      * lisp/emacs-lisp/timer.el (timer-set-time-with-usecs):
      * lisp/emacs-lock.el (toggle-emacs-lock):
      * lisp/epa.el (epa-display-verify-result):
      * lisp/epg.el (epg-sign-keys, epg-start-sign-keys)
      (epg-passphrase-callback-function):
      * lisp/eshell/esh-util.el (eshell-for):
      * lisp/eshell/eshell.el (eshell-remove-from-window-buffer-names)
      (eshell-add-to-window-buffer-names):
      * lisp/files.el (locate-file-completion):
      * lisp/imenu.el (imenu-example--create-c-index)
      (imenu-example--create-lisp-index)
      (imenu-example--lisp-extract-index-name)
      (imenu-example--name-and-position):
      * lisp/international/mule-cmds.el (princ-list):
      * lisp/international/mule-diag.el (decode-codepage-char):
      * lisp/international/mule-util.el (detect-coding-with-priority):
      * lisp/iswitchb.el (iswitchb-read-buffer):
      * lisp/mail/mailalias.el (mail-complete):
      * lisp/mail/sendmail.el (mail-sent-via):
      * lisp/mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
      (mouse-major-mode-menu):
      * lisp/password-cache.el (password-read-and-add):
      * lisp/pcomplete.el (pcomplete-parse-comint-arguments):
      * lisp/progmodes/sh-script.el (sh-maybe-here-document):
      * lisp/replace.el (query-replace-regexp-eval):
      * lisp/savehist.el (savehist-load):
      * lisp/simple.el (choose-completion-delete-max-match):
      * lisp/term.el (term-dynamic-simple-complete):
      * lisp/vc/ediff-init.el (ediff-check-version):
      * lisp/vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
      * lisp/vc/vc.el (vc-diff-switches-list):
      * lisp/view.el (view-return-to-alist-update): Likewise.
      
      * lisp/iswitchb.el (iswitchb-read-buffer): Move code of
      iswitchb-define-mode-map here, and delete that obsolete function.
      
      * lisp/subr.el (eval-next-after-load, makehash, insert-string)
      (assoc-ignore-representation, assoc-ignore-case): Use declare to
      mark obsolete.
      (mode-line-inverse-video): Variable deleted.
      
      * lisp/emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
      this applies to functions.
      
      * lisp/erc/erc.el (erc-send-command): Use define-obsolete-function-alias.
      
      * lisp/international/mule-util.el (string-to-sequence): Remove.
      
      * lisp/net/newst-backend.el (newsticker-cache-filename):
      * lisp/net/newst-treeview.el (newsticker-groups-filename): Fix
      incorrect obsolescence declaration.
      
      * lisp/net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
      font-lock-reference-face.
      
      * lisp/url/url-parse.el (url-recreate-url-attributes):
      * lisp/url/url-util.el (url-generate-unique-filename): Use declare to mark
      obsolete.
      
      * src/xdisp.c (mode_line_inverse_video): Delete obsolete variable.
      59f7af81
  24. 16 Mar, 2012 1 commit
  25. 01 Feb, 2012 1 commit
  26. 11 Jan, 2012 1 commit
  27. 05 Jan, 2012 1 commit
  28. 05 Dec, 2011 1 commit
  29. 04 Dec, 2011 1 commit
  30. 24 Nov, 2011 1 commit
  31. 14 Nov, 2011 1 commit
  32. 19 Oct, 2011 1 commit
    • Chong Yidong's avatar
      Fix minor mode docstrings for the new meaning of a nil ARG. · 06e21633
      Chong Yidong authored
      * abbrev.el (abbrev-mode):
      * allout.el (allout-mode):
      * autoinsert.el (auto-insert-mode):
      * autoarg.el (autoarg-mode, autoarg-kp-mode):
      * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
      (global-auto-revert-mode):
      * battery.el (display-battery-mode):
      * composite.el (global-auto-composition-mode)
      (auto-composition-mode):
      * delsel.el (delete-selection-mode):
      * desktop.el (desktop-save-mode):
      * dired-x.el (dired-omit-mode):
      * dirtrack.el (dirtrack-mode):
      * doc-view.el (doc-view-minor-mode):
      * double.el (double-mode):
      * electric.el (electric-indent-mode, electric-pair-mode):
      * emacs-lock.el (emacs-lock-mode):
      * epa-hook.el (auto-encryption-mode):
      * follow.el (follow-mode):
      * font-core.el (font-lock-mode):
      * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
      * help.el (temp-buffer-resize-mode):
      * hilit-chg.el (highlight-changes-mode)
      (highlight-changes-visible-mode):
      * hi-lock.el (hi-lock-mode):
      * hl-line.el (hl-line-mode, global-hl-line-mode):
      * icomplete.el (icomplete-mode):
      * ido.el (ido-everywhere):
      * image-file.el (auto-image-file-mode):
      * image-mode.el (image-minor-mode):
      * iswitchb.el (iswitchb-mode):
      * jka-cmpr-hook.el (auto-compression-mode):
      * linum.el (linum-mode):
      * longlines.el (longlines-mode):
      * master.el (master-mode):
      * mb-depth.el (minibuffer-depth-indicate-mode):
      * menu-bar.el (menu-bar-mode):
      * minibuf-eldef.el (minibuffer-electric-default-mode):
      * mouse-sel.el (mouse-sel-mode):
      * msb.el (msb-mode):
      * mwheel.el (mouse-wheel-mode):
      * outline.el (outline-minor-mode):
      * paren.el (show-paren-mode):
      * recentf.el (recentf-mode):
      * reveal.el (reveal-mode, global-reveal-mode):
      * rfn-eshadow.el (file-name-shadow-mode):
      * ruler-mode.el (ruler-mode):
      * savehist.el (savehist-mode):
      * scroll-all.el (scroll-all-mode):
      * scroll-bar.el (scroll-bar-mode):
      * server.el (server-mode):
      * shell.el (shell-dirtrack-mode):
      * simple.el (auto-fill-mode, transient-mark-mode)
      (visual-line-mode, overwrite-mode, binary-overwrite-mode)
      (line-number-mode, column-number-mode, size-indication-mode)
      (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
      * strokes.el (strokes-mode):
      * time.el (display-time-mode):
      * t-mouse.el (gpm-mouse-mode):
      * tool-bar.el (tool-bar-mode):
      * tooltip.el (tooltip-mode):
      * type-break.el (type-break-mode-line-message-mode)
      (type-break-query-mode):
      * view.el (view-mode):
      * whitespace.el (whitespace-mode, whitespace-newline-mode)
      (global-whitespace-mode, global-whitespace-newline-mode):
      * xt-mouse.el (xterm-mouse-mode): Doc fix.
      
      * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Fix
      autogenerated docstring.
      06e21633
  33. 02 Sep, 2011 1 commit
    • Chong Yidong's avatar
      Remove pop-to-buffer-same-window. · c3313451
      Chong Yidong authored
      * lisp/window.el (pop-to-buffer-1, pop-to-buffer-same-window): Deleted.
      (pop-to-buffer): Change interactive spec.  Pass second argument
      directly to display-buffer.
      (display-buffer): Fix interactive spec.  Use functionp to
      distinguish between a function and a list of functions.
      
      * lisp/abbrev.el (edit-abbrevs):
      * lisp/arc-mode.el (archive-extract):
      * lisp/autoinsert.el (auto-insert):
      * lisp/bookmark.el (bookmark-bmenu-list):
      * lisp/files.el (find-file):
      * lisp/view.el (view-buffer):
      * lisp/progmodes/compile.el (compilation-goto-locus):
      * lisp/textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
      
      * lisp/org/ob-ref.el (org-babel-ref-goto-headline-id):
      * lisp/org/org.el (org-get-location, org-tree-to-indirect-buffer)
      (org-mark-ring-goto, org-refile, org-add-log-note)
      (org-revert-all-org-buffers, org-switchb)
      (org-cycle-agenda-files, org-submit-bug-report)
      (org-goto-marker-or-bmk):
      * lisp/org/org-agenda.el (org-prepare-agenda, org-agenda-switch-to):
      * lisp/org/org-capture.el (org-capture-goto-target)
      (org-capture-fill-template):
      * lisp/org/org-clock.el (org-clock-goto):
      * lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file):
      * lisp/org/org-exp.el (org-export-as-org):
      * lisp/org/org-feed.el (org-feed-show-raw-feed):
      * lisp/org/org-html.el (org-export-htmlize-generate-css):
      * lisp/org/org-id.el (org-id-goto):
      * lisp/org/org-irc.el (org-irc-visit-erc):
      * lisp/org/org-mobile.el (org-mobile-apply):
      * lisp/org/org-publish.el (org-publish-org-to, org-publish-find-date):
      * lisp/org/org-remember.el (org-go-to-remember-target):
      * lisp/org/org-src.el (org-src-switch-to-buffer)
      (org-edit-fixed-width-region): Use switch-to-buffer.
      
      * lisp/org/org-compat.el (org-pop-to-buffer-same-window): Deleted.
      c3313451
  34. 01 Sep, 2011 1 commit
    • Chong Yidong's avatar
      Fix display-buffer interactive spec, and fixes for pop-to-buffer*. · 437014c8
      Chong Yidong authored
      * lisp/window.el (display-buffer): Restore interactive spec.
      (display-buffer-same-window, display-buffer-other-window): New
      functions.
      (pop-to-buffer-1): New function.  Use the above.
      (pop-to-buffer, pop-to-buffer-same-window): Use it.
      (pop-to-buffer-other-window, pop-to-buffer-other-frame): Deleted.
      
      * lisp/view.el (view-buffer-other-window, view-buffer-other-frame):
      Just use pop-to-buffer.
      437014c8
  35. 24 Aug, 2011 1 commit
    • Chong Yidong's avatar
      Rename quit-restore-window into quit-window. · 1ed43b09
      Chong Yidong authored
      * lisp/window.el (quit-window): Renamed from quit-restore-window.  Use
      same arglist as old quit-window.
      (frame-auto-delete): Doc fix.
      
      * lisp/view.el (view-mode-exit): Use quit-window.
      1ed43b09
  36. 19 Jul, 2011 1 commit
  37. 13 Jun, 2011 1 commit
    • Martin Rudalics's avatar
      Make help and view-mode work with new buffer display facilities. · 357f93d2
      Martin Rudalics authored
      * help.el (help-window): Remove variable.
      (help-window-point-marker, temp-buffer-max-height)
      (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
      (help-print-return-message): Don't set help-window.
      (resize-temp-buffer-window): Rewrite cod eand doc-string.
      (help-window-setup-finish): Remove.
      (help-window-display-message, help-window-setup)
      (with-help-window): Major rewrite based on new
      display-buffer-window variable.
      
      * help-mode.el (help-mode-finish): Remove help-window related
      code.
      
      * view.el (view-exits-all-viewing-windows): Remove reference to
      view-return-to-alist in doc-string.
      (view-return-to-alist): Make obsolete.
      (view-buffer): Call pop-to-buffer-same-window and remove
      undo-window code.
      (view-buffer-other-window): Call pop-to-buffer-other-window and
      simplify code.  Ignore second argument.
      (view-buffer-other-frame): Call pop-to-buffer-other-frame and
      simplify code.  Ignore second argument.
      (view-return-to-alist-update): Make obsolete.
      (view-mode-enter): Rename second argument to QUIT-RESTORE.
      Rewrite using quit-restore window parameters.
      (view-mode-exit): Rename second argument to EXIT-ONLY.  Rewrite
      using quit-restore-window.
      (View-exit, View-exit-and-edit, View-leave, View-quit)
      (View-quit-all, View-kill-and-leave): Call view-mode-exit with
      appropriate arguments.
      (view-end-message): Use quit-restore window parameter.
      357f93d2
  38. 19 Apr, 2011 1 commit