1. 13 Sep, 2019 2 commits
    • Gemini Lasswell's avatar
      Improve print output options commands in backtrace-mode (bug#36566) · 2093395d
      Gemini Lasswell authored
      * lisp/emacs-lisp/backtrace.el (backtrace-view): Mention
      :print-gensym in docstring.
      (backtrace-mode-map): Add keyboard binding for
      backtrace-toggle-print-gensym.  Add menu entries for
      backtrace-toggle-print-circle and backtrace-toggle-print-gensym.
      (backtrace--with-output-variables): Bind print-gensym with value
      of :print-gensym found in view plist.
      (backtrace-toggle-print-circle): Remove description of
      implementation details from docstring.
      (backtrace-toggle-print-gensym): New command.
      (backtrace--toggle-feature): Add echo area message describing result
      of command.
      
      * test/lisp/emacs-lisp/backtrace-tests.el
      (backtrace-tests--print-circle): New test.
      
      * doc/lispref/debugging.texi (Backtraces): Document keyboard
      binding for backtrace-toggle-print-gensym.
      2093395d
    • Stefan Kangas's avatar
  2. 12 Sep, 2019 1 commit
    • Karl Fogel's avatar
      Add `isearch-yank-until-char' · bbadc6e0
      Karl Fogel authored
      * lisp/isearch.el (isearch-yank-until-char): New function.
        (isearch-mode-map, isearch-menu-bar-yank-map): Add it.
        (isearch-forward): Document the new binding.
      
      * doc/emacs/search.texi (Isearch Yanking): Document the feature.
      
      * etc/NEWS: Mention the above.
      bbadc6e0
  3. 02 Sep, 2019 2 commits
    • Paul Eggert's avatar
      Update from Gnulib · fda015e7
      Paul Eggert authored
      This incorporates:
      2019-08-25 intprops.h, verify.h: port better to clang
      2019-08-21 New strip-trailing-space option for srclist-update
      * .gitattributes: Remove doc/misc/texinfo.tex special case,
      which is no longer needed now that Gnulib trims blank-at-eol.
      * build-aux/install-sh, doc/misc/texinfo.tex, lib/intprops.h:
      * lib/regex_internal.c, lib/verify.h: Copy from Gnulib.
      fda015e7
    • Paul Eggert's avatar
  4. 01 Sep, 2019 1 commit
  5. 31 Aug, 2019 1 commit
  6. 30 Aug, 2019 1 commit
    • Nick Drozd's avatar
      Minor copyedits in ido.texi · 462be72f
      Nick Drozd authored
      * doc/misc/ido.texi (Overview)
      (Interactive Substring Matching, Prefix Matching)
      (Regexp Matching, Hidden Buffers and Files)
      (Changing List Order, Find File At Point, Misc)
      (All Matching, Replacement): Fix wording, markup and punctuation.
      (Bug#37225)
      462be72f
  7. 27 Aug, 2019 3 commits
    • Paul Eggert's avatar
      Use XDG conventions more consistently · 4118297a
      Paul Eggert authored
      Fit in better with the XDG conventions.
      Something like this was suggested in 2008 (Bug#583)
      and the XDG conventions seem to have settled down by now.
      * doc/emacs/custom.texi (Init File, Init Syntax, Find Init):
      * doc/lispref/files.texi (Standard File Names):
      * doc/lispref/os.texi (Init File):
      * doc/misc/url.texi (Customization):
      * etc/NEWS:
      Adjust accordingly.
      * lisp/startup.el (startup--load-user-init-file):
      If init-file-name is nil, do not load from it; instead
      just use the alt-file.
      (find-init-path): Remove; no longer used.
      (command-line): Don't check twice for XDG.
      Look at XDG_CONFIG_HOME instead of assuming it's ~/.config.
      Prefer XDG configuration if it exists; the user can disable
      this by setting XDG_CONFIG_HOME to some other place.
      * lisp/subr.el (user-emacs-directory):
      Prefer XDG configuration if it exists.
      4118297a
    • Juri Linkov's avatar
      Browser-like Info-history button menu (bug#37184) · ba5d9795
      Juri Linkov authored
      * doc/misc/info.texi (Help-Int): Using tool-bar to navigate history.
      
      * lisp/info.el (Info-history-menu): New function.
      (Info-history-back-menu, Info-history-forward-menu): New commands.
      (Info-mode-map): Bind Info-history-back-menu and
      Info-history-forward-menu to tool-bar on C-key.
      ba5d9795
    • Stefan Kangas's avatar
      Prefer display-line-numbers over linum in docs and one defcustom · 3ef6849b
      Stefan Kangas authored
      * doc/misc/efaq.texi: Replace linum with display-line-numbers.
      * lisp/progmodes/prog-mode.el (prog-mode-hook): Replace linum-mode
      with display-line-numbers-mode in :options.  (Bug#37120)
      3ef6849b
  8. 25 Aug, 2019 1 commit
    • Alan Mackenzie's avatar
      Introduce new value t for compilation-context-lines to eliminate scrolling · 29d1c72d
      Alan Mackenzie authored
      In particular, to prevent scrolling in a window lacking a left fringe.
      Instead, a visible arrow "=>" is inserted before column zero.  This fixes
      bug #36832.
      
      * lisp/progmodes/compile.el (compilation-context-lines): Add the new value t.
      (compilation-set-window): Amend to handle compilation-context-lines being t.
      (overlay-arrow-overlay): New variable holding an overlay with before-string
      property "=>".
      (compilation-set-overlay-arrow): New function which manipulates
      overlay-arrow-overlay.
      (compilation-goto-locus, compilation-find-file): In addition to calling
      compilation-set-window, also call compilation-set-overlay-arrow.
      
      * doc/emacs/building.texi (Compilation Mode): Document the new value t which
      compilation-context-lines can take.
      
      * etc/NEWS: Add an entry for this change.
      29d1c72d
  9. 23 Aug, 2019 4 commits
  10. 22 Aug, 2019 2 commits
  11. 21 Aug, 2019 5 commits
    • Lars Ingebrigtsen's avatar
      Use `quit-window-hook' in Info instead of having its own command · 08dd4b9f
      Lars Ingebrigtsen authored
      * doc/misc/info.texi (Help-Q): Info now uses `quit-window'.
      
      * lisp/info.el (info-standalone): Adjust doc string.
      (Info-exit): Made into obsolete alias.
      (Info-mode-map): Bind "q" to `quit-window'.
      (Info-mode-menu): Adjust.
      (info-tool-bar-map): Ditto.
      (Info-mode): Adjust doc string.
      (Info-mode): If Info is standalone, kill Emacs on "q".
      08dd4b9f
    • Lars Ingebrigtsen's avatar
      Adjust quit-window-hook documentation · b60bdfcd
      Lars Ingebrigtsen authored
      * doc/lispref/windows.texi (Quitting Windows): Adjust
      documentation of quit-window-hook (bug#9867).
      b60bdfcd
    • Lars Ingebrigtsen's avatar
      Mention quit-window-hook in "Standard Hooks" · ab9cb08e
      Lars Ingebrigtsen authored
      * doc/lispref/hooks.texi (Standard Hooks): Mention
      quit-window-hook (bug#9867).
      ab9cb08e
    • Paul Eggert's avatar
      Avoid some excess precision in time arithmetic · 396ed88a
      Paul Eggert authored
      * doc/misc/emacs-mime.texi (time-date):
      Adjust example to match new behavior.
      * etc/NEWS: Mention this.
      * lisp/calendar/time-date.el (decoded-time-add)
      (decoded-time--alter-second):
      Don’t lose underestimate precision of seconds component.
      * src/bignum.c (mpz): Grow by 1.
      * src/timefns.c (trillion_factor): New function.
      (timeform_sub_ps_p): Remove.
      (time_arith): Avoid unnecessarily-large hz, by reducing the hz
      to a value no worse than the worse hz of the two arguments.
      The result is always exact unless an error is signaled.
      * test/src/timefns-tests.el (timefns-tests--decode-time):
      New function.
      (format-time-string-with-zone): Test (decode-time LOOK ZONE t)
      resolution as well as its numeric value.
      396ed88a
    • Noam Postavsky's avatar
      Respect global-eldoc-mode in minibuffers (Bug#36886) · 7e2090ee
      Noam Postavsky authored
      * lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Accept
      a BODY parameter.
      * doc/lispref/modes.texi (Defining Minor Modes): Document new
      parameter.
      * etc/NEWS: Announce it.
      
      * lisp/simple.el (read--expression): Move eldoc-mode setup to...
      * lisp/emacs-lisp/eldoc.el (eldoc--eval-expression-setup): ... here,
      new function.
      (global-eldoc-mode): Add or remove it to
      eval-expression-minibuffer-setup-hook when enabling or disabling
      global-eldoc-mode.  This enables eldoc in the minibuffer (solving
      Bug#27202), only when global-eldoc-mode is enabled.
      7e2090ee
  12. 20 Aug, 2019 3 commits
    • Paul Eggert's avatar
      Support larger TIMEs in (time-convert TIME t) · 5a955212
      Paul Eggert authored
      Also, improve the doc to match current behavior.
      * doc/lispref/os.texi (Time Conversion): Document that
      time-convert signals an error for infinite or NaN args,
      and that (time-convert TIME t) is exact otherwise.
      Mention float-time as an alternative to time-convert.
      (Time Calculations): Document that time-add and time-subtract
      are exact and do not decrease HZ below the minimum of their args.
      * src/timefns.c (decode_float_time): Don’t signal an error for
      floating-point arguments whose base-FLT_RADIX exponent is not less
      than DBL_MANT_DIG.  Instead, convert them to (TICKS . 1) values.
      Use two (instead of three) integer exponent comparisons in the
      typical case.
      * test/src/timefns-tests.el (time-arith-tests):
      Add more floating-point tests, including some tests
      that the old code fails.
      5a955212
    • Stephen Leake's avatar
      Delete built-in ada-mode; Gnu ELPA is a good replacement · a13c6420
      Stephen Leake authored
      * doc/misc/Makefile.in (INFO_COMMON): Delete ada-mode.
      
      * doc/misc/ada-mode.texi: Delete.
      
      * etc/NEWS: Mention ada-mode deleted.
      
      * lisp/progmodes/ada-mode.el: Delete.
      
      * lisp/progmodes/ada-prj.el: Delete.
      
      * lisp/progmodes/ada-stmt.el: Delete.
      
      * lisp/progmodes/ada-xref.el: Delete.
      a13c6420
    • Lars Ingebrigtsen's avatar
      Add a new hook: `quit-window-hook' · afdf6798
      Lars Ingebrigtsen authored
      * doc/lispref/windows.texi (Quitting Windows): Mention in.
      
      * lisp/window.el (quit-restore-window): Run the new
      `quit-window-hook' before doing anything else (bug#9867).
      (quit-window): Note that the hook will be run in the doc string.
      
      * lisp/window.el (quit-window-hook): New variable.
      afdf6798
  13. 19 Aug, 2019 1 commit
    • Noam Postavsky's avatar
      Fix process filter documentation (Bug#13400) · 615cff42
      Noam Postavsky authored
      * doc/lispref/processes.texi (Asynchronous Processes): Note that input
      may read when sending data as well.
      (Output from Processes): Note that functions which send data may also
      trigger reading from processes.
      (Input to Processes, Filter Functions): Note that filter functions may
      be called recursively.
      615cff42
  14. 18 Aug, 2019 2 commits
  15. 17 Aug, 2019 2 commits
    • Eli Zaretskii's avatar
      Fix a recent documentation change · 6715e6af
      Eli Zaretskii authored
      * doc/emacs/windows.texi (Other Window): Add a cross-reference
      to "Rebinding".  (Bug#12431)
      6715e6af
    • Paul Eggert's avatar
      More-compatible subsecond calendrical timestamps · 37257d6a
      Paul Eggert authored
      Instead of appending a subseconds member to the result of
      ‘decode-time’, this keeps the format unchanged unless you give
      a new optional argument to ‘decode-time’.  Also, the augmented
      format now puts the subsecond info in the SECONDS element, so
      the total number of elements is unchanged; this is more
      compatible with code that expects the traditional 9 elements,
      such as ‘(pcase decoded-time (`(,SEC ,MIN ,HOUR ,DAY ,MON
      ,YEAR ,DOW ,DST ,ZONE) ...) ...)’.
      * doc/lispref/os.texi, doc/misc/emacs-mime.texi, etc/NEWS:
      * lisp/net/soap-client.el (soap-decode-date-time):
      * lisp/simple.el (decoded-time):
      Document the new behavior.
      * lisp/calendar/icalendar.el (icalendar--decode-isodatetime):
      * lisp/calendar/iso8601.el (iso8601-parse)
      (iso8601-parse-time, iso8601-parse-duration)
      (iso8601--decoded-time):
      * lisp/calendar/parse-time.el (parse-time-string):
      * lisp/calendar/time-date.el (decoded-time-add)
      (decoded-time--alter-second):
      * lisp/org/org.el (org-parse-time-string):
      * lisp/simple.el (decoded-time):
      * src/timefns.c (Fdecode_time, Fencode_time):
      * test/lisp/calendar/icalendar-tests.el:
      (icalendar--decode-isodatetime):
      * test/lisp/calendar/iso8601-tests.el (test-iso8601-date-years)
      (test-iso8601-date-dates, test-iso8601-date-obsolete)
      (test-iso8601-date-weeks, test-iso8601-date-ordinals)
      (test-iso8601-time, test-iso8601-combined)
      (test-iso8601-duration, test-iso8601-intervals)
      (standard-test-dates, standard-test-time-of-day-fractions)
      (standard-test-time-of-day-beginning-of-day)
      (standard-test-time-of-day-utc)
      (standard-test-time-of-day-zone)
      (standard-test-date-and-time-of-day, standard-test-interval):
      * test/lisp/calendar/parse-time-tests.el (parse-time-tests):
      * test/src/timefns-tests.el (format-time-string-with-zone)
      (encode-time-dst-numeric-zone):
      Revert recent changes that added a SUBSECS member to
      calendrical timestamps, since that component is no longer
      present (the info, if any, is now in the SECONDS member).
      * lisp/calendar/time-date.el (decoded-time-add)
      (decoded-time--alter-second):
      Support fractional seconds in the new form.  Simplify.
      * src/timefns.c (Fdecode_time): Support new arg FORM.
      (Fencode_time): Support subsecond resolution.
      * test/src/timefns-tests.el (format-time-string-with-zone)
      (decode-then-encode-time): Test subsecond calendrical timestamps.
      37257d6a
  16. 16 Aug, 2019 4 commits
  17. 15 Aug, 2019 5 commits