1. 25 Nov, 2020 12 commits
  2. 24 Nov, 2020 21 commits
    • Juri Linkov's avatar
      Yank items selected from kill-ring using completion and minibuffer history · 83b5fcb0
      Juri Linkov authored
      * doc/emacs/killing.texi (Earlier Kills): Document standalone M-y.
      * doc/emacs/search.texi (Isearch Yank): Explain standalone M-y.
      * doc/lispref/text.texi (Yank Commands): Soften the wording of
      yank after another yank.
      * lisp/delsel.el: Put 'yank' property on yank-pop and yank-from-kill-ring.
      * lisp/isearch.el (isearch-yank-pop): Use with-isearch-suspended
      and read-from-kill-ring to read a string from the kill-ring and
      append it to the search string.
      * lisp/simple.el (yank-pop): Call yank-from-kill-ring and
      read-from-kill-ring when last-command is not 'yank' instead of
      signaling an error.  Remove "*" from interactive spec.  Update docstring.
      (read-from-kill-ring): New function.
      (yank-from-kill-ring): New command.
    • Stefan Kangas's avatar
    • Philipp Stephani's avatar
      Add a (broken) unit test to exemplify Bug#11218. · 5804ac0b
      Philipp Stephani authored
      * test/lisp/emacs-lisp/ert-tests.el
      (ert-test-with-demoted-errors): New (broken) unit test.
    • Stefan Kangas's avatar
    • Stefan Kangas's avatar
      Remove XEmacs compat code from idlw-help.el · 6240c0dc
      Stefan Kangas authored
      * lisp/progmodes/idlw-help.el (idlwave-do-context-help)
      (idlwave-help-show-help-frame): Remove XEmacs compat code.
    • Stefan Kangas's avatar
      Make XEmacs compat aliases easy-menu-{add,remove} obsolete · affe9b22
      Stefan Kangas authored
      * lisp/emacs-lisp/easymenu.el (easy-menu-remove, easy-menu-add):
      Make XEmacs compat aliases obsolete.
      * lisp/allout.el (allout-setup-menubar):
      * lisp/cus-edit.el (Custom-mode):
      * lisp/gnus/gnus-art.el (gnus-article-edit-mode):
      * lisp/gnus/message.el (message-mode):
      * lisp/net/sieve.el (sieve-manage-mode):
      * lisp/org/org-agenda.el (org-agenda-mode):
      * lisp/org/org-table.el (org-table-edit-formulas, orgtbl-mode):
      * lisp/org/org.el:
      * lisp/progmodes/cperl-mode.el (cperl-mode):
      * lisp/progmodes/hideshow.el (hs-minor-mode):
      * lisp/progmodes/idlw-help.el (idlwave-help-mode):
      * lisp/progmodes/idlw-shell.el (idlwave-shell-mode):
      * lisp/progmodes/idlwave.el (idlwave-mode):
      * lisp/progmodes/meta-mode.el (meta-common-mode):
      * lisp/progmodes/octave.el (octave-mode):
      * lisp/progmodes/prolog.el (prolog-menu):
      * lisp/progmodes/tcl.el (tcl-mode):
      * lisp/speedbar.el (speedbar-reconfigure-keymaps):
      * lisp/term.el (term-mode, term-char-mode, term-process-pager):
      * lisp/textmodes/dns-mode.el (dns-mode):
      * lisp/wid-browse.el (widget-browse-mode): Don't call above
      obsolete aliases.
      * lisp/cedet/semantic/grammar.el (semantic-grammar-setup-menu-xemacs):
      * lisp/mh-e/mh-folder.el (mh-folder-mode):
      * lisp/mh-e/mh-identity.el (mh-identity-add-menu):
      * lisp/mh-e/mh-letter.el (mh-letter-mode):
      * lisp/mh-e/mh-search.el (mh-search-mode):
      * lisp/mh-e/mh-show.el (mh-show-mode):
      * lisp/obsolete/otodo-mode.el (todo-mode):
      * lisp/progmodes/antlr-mode.el (antlr-mode):
      * lisp/progmodes/cc-mode.el (c-mode, c++-mode, objc-mode)
      (java-mode, idl-mode, pike-mode):
      * lisp/progmodes/sql.el (sql-mode, sql-interactive-mode):
      * lisp/progmodes/vhdl-mode.el (vhdl-update-mode-menu)
      (vhdl-add-source-files-menu, vhdl-mode):
      * lisp/textmodes/reftex-index.el (reftex-index-mode)
      * lisp/textmodes/reftex-toc.el (reftex-toc-mode):
      * lisp/textmodes/reftex.el (reftex-mode): Only call above obsolete
      aliases in XEmacs.
      * lisp/progmodes/prolog.el (prolog-inferior-menu):
      * lisp/erc/erc-menu.el (erc-menu-add, erc-menu-remove): Don't call
      above obsolete aliases.  Make obsolete.
      * lisp/erc/erc-menu.el (menu, erc-menu-add, erc-menu-remove):
      * lisp/progmodes/prolog.el (prolog-inferior-mode): Adjust callers.
      * lisp/speedbar.el (speedbar-previous-menu): Make obsolete.
    • Basil L. Contovounesios's avatar
      Fix handling of defcustom :local tag · dea3d6aa
      Basil L. Contovounesios authored
      For discussion, see the following emacs-devel thread:
      * lisp/custom.el (custom-declare-variable): Delay call to
      make-variable-buffer-local until after user option has been
      initialized with a value.  Otherwise the user option may be
      initialized to nil.
      * test/lisp/custom-tests.el (custom--test-local-option)
      (custom--test-permanent-option): New :local user options.
      (custom-test-local-option): New test for defcustom :local keyword.
    • Alan Mackenzie's avatar
      CC Mode. Fix an off by one error. Fixes bug #41809 · b2ee6650
      Alan Mackenzie authored
      * lisp/progmodes/cc-engine.el (c-full-pp-to-literal): Change > to >= (twice).
    • Basil L. Contovounesios's avatar
      ; Fix last change to gnus-sum.el · e86199bf
      Basil L. Contovounesios authored
      * lisp/gnus/gnus-sum.el (gnus-paging-select-next): Add :version tag.
    • Eli Zaretskii's avatar
      Fix display artifacts when 'display' properties cover newlines · f425a774
      Eli Zaretskii authored
      * src/xdisp.c (pos_visible_p): Set glyph_row of scratch iterators
      to NULL, to avoid producing glyphs while we figure out the layout.
    • Mauro Aranda's avatar
      Fix menu binding for files in fileset · c390141d
      Mauro Aranda authored
      * lisp/filesets.el (filesets-remake-shortcut): We want the callback of
      the menu item, not a list that contains the callback.  (Bug#44764)
    • Mauro Aranda's avatar
      Fix matching of inline choices for the choice widget · cbd24607
      Mauro Aranda authored
      A choice widget should be able to match either no inline values or
      inline values, upon request.  (Bug#44579)
      * lisp/wid-edit.el (choice): New property, :inline-bubbles-p.  A
      predicate that returns non-nil if the choice widget can act as an
      inline widget.  Document it.
      (widget-choice-inline-bubbles-p): New function, for the
      :inline-bubbles-p property of the choice widget.
      (widget-inline-p): New function.  Use the :inline-bubbles-p property
      of the widget, if any.
      (widget-match-inline): Use the above to see if the widget can act like
      an inline widget.  Document it.
      (widget-choice-value-create): Account for the case of a choice widget
      that has inline members.
      (widget-checklist-add-item, widget-editable-list-value-create)
      (widget-group-value-create): Use widget-inline-p rather than just
      checking for a non-nil :inline property, allowing these functions to
      pass the complete information to widgets like the choice widget to
      create their values.
      * test/lisp/wid-edit-tests.el (widget-test-choice-match-no-inline)
      widget-test-choice-match-some-inline): New tests, to check that choice
      widgets can match its choices, inline or not.
      (widget-test-inline-p): New test, for the new function
      (widget-test-option-can-handle-inlinable-choice): New tests.  This
      grouping widgets need to be able to create a choice widget regardless
      if it has inline choices or not.
    • Drew Adams's avatar
      Fix finding filelist for :tree fileset (Bug#976) · 5cc57021
      Drew Adams authored
      * lisp/filesets.el (filesets-files-under): New function, used to get
      all files for a :tree fileset.
      (filesets-get-filelist): Use it.  Look for the directory and the
      pattern in the right place inside entry.
    • Mattias Engdegård's avatar
      Autoload the 'rx' pcase macroexpander (bug#44807) · 89a24e4d
      Mattias Engdegård authored
      * lisp/emacs-lisp/rx.el (rx--pcase-macroexpander]): Autoload.
    • Lars Ingebrigtsen's avatar
      Allow controlling whether SPC in Gnus goes to the next article · 329feffc
      Lars Ingebrigtsen authored
      * doc/misc/gnus.texi (Summary Maneuvering): Document it.
      * lisp/gnus/gnus-sum.el (gnus-paging-select-next): New variable.
      (gnus-summary-prev-page, gnus-summary-next-page): Use it.
    • Lars Ingebrigtsen's avatar
      Make the `C' command work on marked files · 71916f07
      Lars Ingebrigtsen authored
      * lisp/arc-mode.el (archive-copy-file): Make the `C' command work
      on marked files (bug#44753).
    • Lars Ingebrigtsen's avatar
      Add a user option to control how links are followed in eww · 6dad1f25
      Lars Ingebrigtsen authored
      * doc/misc/eww.texi (Advanced): Document it (bug#44783).
      * lisp/net/eww.el (eww-use-browse-url): New variable.
      (eww-follow-link): Use it.
    • Itai Seggev's avatar
      Codesign the executable on recene MacOS systems · 868f5132
      Itai Seggev authored
      * src/Makefile.in (temacs$(EXEEXT)): Codesign the executable on
      recent (ARM) MacOS systems (bug#43878).  Without this, building
      Emacs fails.
      Copyright-paperwork-exempt: yes
    • Lars Ingebrigtsen's avatar
      Delete the emacs-server directory upon Emacs exit · 3802f9ce
      Lars Ingebrigtsen authored
      * lisp/server.el (server-start): Delete the server directory upon
      Emacs exit (bug#44644).  This fixes the problem of /tmp/emacs0
      directories being left behind when running an Emacs server as root.
    • Lars Ingebrigtsen's avatar
      Tweak the face of unknown backend indicators in flymake · 33e25152
      Lars Ingebrigtsen authored
      * lisp/progmodes/flymake.el (flymake--mode-line-format): Don't put
      a face on the the "?" unknown backend indicator, because that
      looks odd in inactive windows (bug#44689).
    • Paul W. Rankin's avatar
      Handle outline overlays better when cycling in outline.el · 5a823a2a
      Paul W. Rankin authored
      * lisp/outline.el (outline--cycle-state): Only consider outline
      overlays that are on outline headings; when subtree end is
      point-max, return overlay-end +1 because final subtree overlay
      only reaches point-max -1 (bug#41198).
      (outline-cycle-buffer): Check that buffer has top-level headings
      before calling outline-hide-sublevels 1 thus preventing
      disconcerting buffer state of content reduced to single "..."
  3. 23 Nov, 2020 7 commits