1. 13 Aug, 2022 25 commits
    • Basil L. Contovounesios's avatar
      Document time-convert FORM argument as mandatory · 864847bf
      Basil L. Contovounesios authored
      This is a followup to commit b70369c5 of 2022-08-05
      "time-convert): Deprecate calls without an explicit FORM arg".
      * doc/lispref/os.texi (Time Conversion):
      * src/timefns.c (Ftime_convert): Describe FORM argument as required
      as per the advertised calling convention.
    • Stefan Kangas's avatar
      Improve time-convert docstring formatting for readability · 0a937593
      Stefan Kangas authored
      * src/timefns.c (Ftime_convert): Doc fix; improve formatting for
    • Stefan Monnier's avatar
      nadvice.el: Avoid exponential blow up in interactive-form recursion · dd2973bf
      Stefan Monnier authored
      * lisp/emacs-lisp/nadvice.el (advice--interactive-form): Sink the call
      to `commandp` into the autoloaded function case since it's redundant in
      the other branch.
      (advice--make-interactive-form): Take just the interactive forms rather
      than the actual functions as arguments.
      (oclosure-interactive-form): Use `advice--interactive-form` rather than
      `commandp` since we'd call `advice--interactive-form` afterwards anyway.
    • Eli Zaretskii's avatar
      ; Fix documentation of 'deactivate-mark' · a1cf3b96
      Eli Zaretskii authored
      * src/keyboard.c (syms_of_keyboard):
      * etc/NEWS: Fix the documentation of 'deactivate-mark' and its new
      value 'dont-save'.  (Bug#57147)
    • Stefan Kangas's avatar
      Update Gnus Installation FAQ · f289a17c
      Stefan Kangas authored
      * doc/misc/gnus-faq.texi (FAQ 1-1, FAQ 1-2, FAQ 1-3, FAQ 1-4)
      (FAQ 1-5): Update to reflect that Gnus is no longer released
      separately from Emacs.  Delete FAQ on Gnus 5.10, released in May 2003.
    • Stefan Kangas's avatar
      Make many gnus version variables obsolete · 9d6d3b0e
      Stefan Kangas authored
      Many haven't been bumped since 1997, others not since 2004.
      * lisp/gnus/deuglify.el (gnus-outlook-deuglify-version):
      * lisp/gnus/gnus-diary.el (gnus-diary-version):
      * lisp/gnus/nnagent.el (nnagent-version):
      * lisp/gnus/nnbabyl.el (nnbabyl-version):
      * lisp/gnus/nndiary.el (nndiary-version):
      * lisp/gnus/nndir.el (nndir-version):
      * lisp/gnus/nndoc.el (nndoc-version):
      * lisp/gnus/nndraft.el (nndraft-version):
      * lisp/gnus/nneething.el (nneething-version):
      * lisp/gnus/nnfolder.el (nnfolder-version):
      * lisp/gnus/nnmaildir.el (nnmaildir-version):
      * lisp/gnus/nnmbox.el (nnmbox-version):
      * lisp/gnus/nnmh.el (nnmh-version):
      * lisp/gnus/nnml.el (nnml-version):
      * lisp/gnus/nnrss.el (nnrss-version):
      * lisp/gnus/nnspool.el (nnspool-version):
      * lisp/gnus/nntp.el (nntp-version):
      * lisp/gnus/nnvirtual.el (nnvirtual-version): Make obsolete in
      favor of emacs-version.
    • Stefan Monnier's avatar
      js.el: Tweak last change · 3fcbcc61
      Stefan Monnier authored
      * lisp/progmodes/js.el (js-json-mode): Use a function as value of
    • Eli Zaretskii's avatar
      Speed up display of long lines under 'truncate-lines' · 94c10c42
      Eli Zaretskii authored
      * src/xdisp.c (partial_line_height): Return zero for long and
      truncated lines.
      (fast_move_it_horizontally): New function.
      (hscroll_window_tree, display_line): Use
      'fast_move_it_horizontally' in preference to
      'move_it_in_display_line_to', when dealing with long and truncated
      (redisplay_internal): Optimize "optimization 3" for long and
      truncated lines.
      * src/buffer.c (syms_of_buffer) <large-hscroll-threshold>: New
      * etc/NEWS: Announce 'large-hscroll-threshold'.
    • Po Lu's avatar
      Add new value `dont-save' to `deactivate-mark' · 0ab572d5
      Po Lu authored
      * etc/NEWS: Announce new value of `deactivate-mark'.
      * lisp/simple.el (deactivate-mark): Handle new value.
      * src/keyboard.c (syms_of_keyboard): Update doc string of
    • Lars Ingebrigtsen's avatar
      Tweak outline symbol icons · d1578888
      Lars Ingebrigtsen authored
      * lisp/outline.el (outline-close, outline-open): Use icons of the
      same size in Symbola.
    • Lars Ingebrigtsen's avatar
      Allow EXCLUDED-FILES in loaddefs-generate to be relative · 2bbb007e
      Lars Ingebrigtsen authored
      * lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate): Allow the
      excluded files to be relative (bug#57144).
    • Lars Ingebrigtsen's avatar
      Don't hide final dump in admin/emake · 1c7910ea
      Lars Ingebrigtsen authored
    • Stefan Kangas's avatar
    • Stefan Kangas's avatar
      Make ps-mode-version variable obsolete · fdb88899
      Stefan Kangas authored
      * lisp/progmodes/ps-mode.el (ps-mode-version): Make obsolete.
      (ps-mode-show-version, ps-mode-submit-bug-report): Don't use above
      obsolete variable.
    • Stefan Kangas's avatar
      Make htmlfontify-version variable obsolete · 764d832b
      Stefan Kangas authored
      * lisp/htmlfontify.el (htmlfontify-version): Make obolete.
      (hfy-meta-tags): Don't use above obsolete variable.
    • Stefan Kangas's avatar
      Delete many references to Emacs 23 or older from docs · 4530368c
      Stefan Kangas authored
      * doc/emacs/glossary.texi (Glossary):
      * doc/emacs/msdos.texi (Windows Fonts):
      * doc/lispref/loading.texi (Library Search):
      * doc/lispref/processes.texi (Accepting Output):
      * doc/misc/auth.texi (GnuPG and EasyPG Assistant Configuration):
      * doc/misc/efaq-w32.texi (Font names):
      * doc/misc/efaq.texi (Turning on syntax highlighting)
      (Escape sequences in shell output):
      * doc/misc/eshell.texi (Bugs and ideas):
      * doc/misc/gnus.texi (nnmairix requirements):
      * doc/misc/gnus-faq.texi (FAQ 1-5):
      * doc/misc/idlwave.texi (Troubleshooting):
      * doc/misc/message.texi (Using S/MIME):
      * doc/misc/mh-e.texi (Preface, Incorporating Mail):
      * doc/misc/viper.texi (Viper Specials): Delete references to Emacs 23
      or older.
    • Eli Zaretskii's avatar
      ; * etc/NEWS: Minor fixes. (Bug#57169) · 60f2a486
      Eli Zaretskii authored
    • Po Lu's avatar
      Prevent selection converter from signalling if buffer is narrowed · f937a0f3
      Po Lu authored
      * lisp/select.el (xselect-convert-to-string): If positions are
      outside the accessible portion of the buffer, don't return
    • Eli Zaretskii's avatar
      Fix a recently-added Eshell test on MS-Windows · 6de88b6b
      Eli Zaretskii authored
      * test/lisp/eshell/esh-var-tests.el
      (esh-var-test/last-result-var-ext-cmd): Fix the test on
      MS-Windows by making sure the internal 'format' command
      is invoked.  (Bug#57129)
    • Jim Porter's avatar
      Make '$?' and '$$' variables more consistent in Eshell · f3408af0
      Jim Porter authored
      Previously, '$?' (last exit code) was only useful for external
      commands, and '$$' (last result) was only useful for Lisp commands.
      * lisp/eshell/esh-cmd.el (eshell-lisp-form-nil-is-failure): New
      (eshell-lisp-command): Set last exit code to 1 when the command
      signals an error, and 2 if it returns nil (for Lisp forms only).
      * lisp/eshell/esh-proc.el (eshell-sentinel): Set last result to t if
      the command succeeded.
      * test/lisp/eshell/esh-cmd-tests.el
      (esh-cmd-test/while-loop-lisp-form, esh-cmd-test/until-loop-lisp-form)
      (esh-cmd-test/unless-else-statement-lisp-form): New tests.
      * test/lisp/eshell/esh-var-tests.el
      (esh-var-test/last-status-var-ext-cmd): New tests.
      (esh-var-test/last-result-var2): Rename from this...
      ( esh-var-test/last-result-var-twice): ... to this.
      * doc/misc/eshell.texi (Variables): Update documentation about '$?'
      and '$$'.
      (Control Flow): Mention that '(lisp forms)' can be used as
      * etc/NEWS: Announce this change (bug#57129).
    • Jim Porter's avatar
      Allow using dollar expansions in Eshell conditionals · 9d4fa4ed
      Jim Porter authored
      * lisp/eshell/esh-cmd.el (eshell-structure-basic-command): Forms
      beginning with 'eshell-escape-arg' are "data-wise".
      * test/lisp/eshell/esh-cmd-tests.el (esh-cmd-test/while-loop)
      (esh-cmd-test/until-loop, esh-cmd-test/if-statement)
      (esh-cmd-test/if-else-statement, esh-cmd-test/unless-statement)
      (esh-cmd-test/unless-else-statement): Use variable interpolation.
      (esh-cmd-test/while-loop-ext-cmd, esh-cmd-test/until-loop-ext-cmd)
      (esh-cmd-test/unless-else-statement-ext-cmd): New tests, adapted from
      the existing ones.
      * doc/misc/eshell.texi (Control Flow): Update documentation for
      conditionals (bug#57129).
    • Jim Porter's avatar
      Only set Eshell execution result metavariables when non-nil · 30320d94
      Jim Porter authored
      This simplifies usage of 'eshell-close-handles' in several places and
      makes it work more like the docstring indicated it would.
      * lisp/eshell/esh-io.el (eshell-close-handles): Only store EXIT-CODE
      and RESULT if they're non-nil.  Also, use 'dotimes' and 'dolist' to
      simplify the implementation.
      * lisp/eshell/em-alias.el (eshell-write-aliases-list):
      * lisp/eshell/esh-cmd.el (eshell-rewrite-for-command)
      (eshell-structure-basic-command): Adapt calls to
      * test/lisp/eshell/eshell-tests.el (eshell-test/simple-command-result)
      (eshell-test/lisp-command, eshell-test/lisp-command-with-quote)
      (eshell-test/for-loop, eshell-test/for-name-loop)
      (eshell-test/for-name-shadow-loop, eshell-test/lisp-command-args)
      (eshell-test/subcommand, eshell-test/subcommand-args)
      (eshell-test/subcommand-lisp): Move from here...
      * test/lisp/eshell/esh-cmd-tests.el
      (esh-cmd-test/simple-command-result, esh-cmd-test/lisp-command)
      (esh-cmd-test/lisp-command-with-quote, esh-cmd-test/for-loop)
      (esh-cmd-test/for-name-loop, esh-cmd-test/for-name-shadow-loop)
      (esh-cmd-test/lisp-command-args, esh-cmd-test/subcommand)
      (esh-cmd-test/subcommand-args, esh-cmd-test/subcommand-lisp): ... to
      (esh-cmd-test/and-operator, esh-cmd-test/or-operator)
      (esh-cmd-test/for-loop-list, esh-cmd-test/for-loop-multiple-args)
      (esh-cmd-test/while-loop, esh-cmd-test/until-loop)
      (esh-cmd-test/if-statement, esh-cmd-test/if-else-statement)
      (esh-cmd-test/unless-statement, esh-cmd-test/unless-else-statement):
      New tests.
      * doc/misc/eshell.texi (Invocation): Explain '&&' and '||'.
      (for loop): Move from here...
      (Control Flow): ... to here, and add documentation for other control
      flow forms.
    • Stefan Kangas's avatar
      Merge from origin/emacs-28 · 2d4058b3
      Stefan Kangas authored
      72fc7258 Delete references to deleted library hilit19.el
      e746fc2e Delete stale comments from Lisp Intro manual
      77613b92 ; Delete redundant installation instructions from ebnf2ps.el
    • Po Lu's avatar
    • Po Lu's avatar
      Improve MPX interaction with drag-and-drop · e311d05a
      Po Lu authored
      * src/xfns.c (Fx_set_mouse_absolute_pixel_position): Use
      internal client pointer record.
      * src/xterm.c (x_dnd_cancel_dnd_early): New function.  Only used
      on XI2 builds so far.
      (x_dnd_begin_drag_and_drop): Set the pointer device used for DND
      (xi_disable_devices): Cancel the drag-and-drop operation if that
      device is disabled.
      (x_send_scroll_bar_event): Update outdated comment.
      (handle_one_xevent): Only accept DND events from that device.
      (frame_set_mouse_pixel_position): Use internal client pointer
  2. 12 Aug, 2022 15 commits