1. 13 Jun, 2021 3 commits
  2. 12 Jun, 2021 8 commits
    • Juri Linkov's avatar
    • Stefan Monnier's avatar
      EIEIO: Promote the CLOS behavior over the EIEIO-specific behavior · 4c655441
      Stefan Monnier authored
      Change docs to advertize `slot-value` rather than `oref`.
      Change the implementation of `:initform` to better match the CLOS semantics,
      while preserving the EIEIO semantics, but warn when encountering cases
      where the two diverge.
      Demote the mostly unused special semantics of `oref-default`
      on non-class allocated slots.
      * doc/misc/eieio.texi (Quick Start): Use `slot-value`.
      (Accessing Slots): Move `slot-value` before `oref`.
      Fix paren-typo in example (reported by pillule <pillule@riseup.net>).
      (Introspection): Remove mention of `class-slot-initarg`.
      * lisp/transient.el (transient--parse-group, transient--parse-suffix):
      Don't use `oref-default` to get the default value.
      (transient-lisp-variable): Init forms are evaluated.
      * lisp/emacs-lisp/eieio.el (defclass): Warn about inapplicable
      `:initarg` and about uses of init forms that are ambiguous.
      (oref): Don't advertize the deprecated use of initargs as slot names.
      (oref-default): Don't advertize the deprecated case where it returns the
      initform's value.
      (initialize-instance): Use `macroexp-const-p`.
      * lisp/emacs-lisp/eieio-core.el (eieio--unbound): Rename from
      (eieio--unbound-form): New var.
      (eieio--slot-override): Use it.
      (eieio-defclass-internal): Use it.  Change `init` so it should always
      be evaluated.
      (eieio--known-class-slot-names): New var.
      (eieio--eval-default-p): Rename from `eieio-eval-default-p`.
      (eieio--perform-slot-validation-for-default): Use `macroexp-const-p` to
      decide whether to skip the test.
      (eieio--add-new-slot): Register slot in `eieio--known-class-slot-names`
      when applicable.
      (eieio-oref-default, eieio-oset-default): Add warning for unknown slots
      and slots not known to be allocated to the class.
      (eieio-default-eval-maybe): Delete function.  Use just `eval` instead.
      (eieio-declare-slots): Allow slots to specify their allocation class.
      * lisp/cedet/srecode/insert.el (point): Declare the slot instead of
      moving the class definition before the slot's first use.
      (srecode-template-inserter-point, srecode-insert-fcn):
      Use nil instead of unbound for the `point` slot.
      * lisp/cedet/srecode/compile.el (srecode-template-inserter):
      Declare the `key` slot that all children should have.
      * lisp/emacs-lisp/eieio-speedbar.el (eieio-speedbar)
      (eieio-speedbar-directory-button, eieio-speedbar-file-button):
      * lisp/emacs-lisp/eieio-custom.el (eieio-widget-test-class):
      * lisp/emacs-lisp/chart.el (chart-bar):
      * lisp/cedet/semantic/ede-grammar.el (semantic-ede-proj-target-grammar):
      * lisp/cedet/semantic/db.el (semanticdb-project-database):
      * lisp/cedet/semantic/db-javascript.el (semanticdb-table-javascript)
      * lisp/cedet/semantic/db-el.el (semanticdb-table-emacs-lisp)
      * lisp/cedet/semantic/db-ebrowse.el (semanticdb-table-ebrowse)
      * lisp/cedet/ede/proj.el (ede-proj-project):
      * lisp/cedet/ede/proj-obj.el (ede-proj-target-makefile-objectcode):
      * lisp/cedet/ede/generic.el (ede-generic-project):
      * lisp/cedet/ede/config.el (ede-project-with-config):
      * lisp/cedet/ede/base.el (ede-target, ede-project):
      * lisp/auth-source.el (auth-source-backend): Init forms are evaluated,
      so quote them accordingly.
    • Robert Pluim's avatar
      Make `window-system-for-display' work for ipv6, too · 0afab352
      Robert Pluim authored
      * lisp/term/x-win.el (display-format-alist): Also work for ipv6
    • Lars Ingebrigtsen's avatar
      Clarify some browse-url doc strings · 099c7a0c
      Lars Ingebrigtsen authored
      * lisp/net/browse-url.el (browse-url-of-file)
      (browse-url-of-buffer, browse-url-of-region, browse-url)
      (browse-url-at-point, browse-url-at-mouse): Clarify doc strings
    • Tassilo Horn's avatar
      Use file-in-directory-p instead of obsolete dired-in-this-tree-p · b425966b
      Tassilo Horn authored
      * lisp/dired-aux.el (dired-rename-subdir,dired-rename-subdir-1)
      (dired-kill-tree,dired-tree-down): Use file-in-directory-p instead of
      obsolete dired-in-this-tree-p.
    • Lars Ingebrigtsen's avatar
      Fix double (recursive) load of fortran.el · 6b5a7136
      Lars Ingebrigtsen authored
      * lisp/progmodes/fortran.el (fortran-menu): Move menu creation to
      the end to avoid a recursive load (bug#43116).
    • Alex Bochannek's avatar
      Mention nov-is-evil/nnvirtual combination in the Gnus manual · dd309417
      Alex Bochannek authored
      * doc/misc/gnus.texi (To From Newsgroups): Mention using separate
      select methods for different values (bug#48801).
    • Matt Beshara's avatar
      Add ability to bring only the selected frame to the front (bug#48865) · 57950515
      Matt Beshara authored
      Causes ‘ns-hide-emacs’ to layer the selected frame in front of every other
      application’s windows, and give that frame keyboard focus, when called with
      * src/nsfns.m (Fns_hide_emacs): Allow activating only selected frame.
  3. 11 Jun, 2021 6 commits
  4. 10 Jun, 2021 3 commits
    • Eli Zaretskii's avatar
      Support mercury in 'ctags' as well · af4cccb8
      Eli Zaretskii authored
      The previous lack of support was due to incorrect calls to 'make_tag'
      in 'mercury_pr', which caused 'pfnote' to refrain from adding Mercury
      tags to the list of recorded tags.
      * lib-src/etags.c (mercury_pr): Pass the correct NAME and NAMELEN
      arguments to 'make_tag'.
      * test/manual/etags/CTAGS.good: Adjust to the above change.
    • Eli Zaretskii's avatar
      Improve documentation of 'M-y' · e27b531d
      Eli Zaretskii authored
      * doc/emacs/killing.texi (Yanking): Mention that TTY frames can
      also support yanking from the clipboard.
      (Earlier Kills): Finalize the documentation of the new behavior
      of the lone 'M-y'.  (Bug#48478)
    • Martin Rudalics's avatar
      Provide new option `delete-window-set-selected' (Bug#47300) · b3dd0ce7
      Martin Rudalics authored
      When `delete-window' deletes its frame's selected window, this new
      option allows to choose another window as replacement.
      * lisp/window.el (get-lru-window, get-mru-window)
      (get-largest-window): New optional argument NO-OTHER.
      (window-at-pos): New function.
      (delete-window-set-selected): New option.
      (delete-window): Handle `delete-window-set-selected'.
      * src/window.c (Fdelete_window_internal): Set the selected
      window of WINDOW's frame to the first window on that frame and
      let `delete-window' choose a more suitable window instead.
      * doc/lispref/windows.texi (Deleting Windows): Describe new
      option `delete-window-set-selected'.
      (Cyclic Window Ordering): Describe new NO-OTHER argument for
      `get-lru-window', `get-mru-window' and `get-largest-window'.
      * etc/NEWS: Mention `delete-window-set-selected' and the NO-OTHER
  5. 09 Jun, 2021 6 commits
    • Harald Jörg's avatar
      ; perl-mode.el: Detect quote-like operator immediately after => · dd9385b4
      Harald Jörg authored
      * lisp/progmodes/perl-mode.el (perl-syntax-propertize-function):
      Detect a quotelike operator immediately after a fat comma "=>"
      * test/lisp/progmodes/cperl-mode-tests.el (cperl-test-bug-25098):
      Test case for the bug with code from the bug report.
      * test/lisp/progmodes/cperl-mode-resources/cperl-bug-25098.pl:
      Resource file for the test.
    • Alan Third's avatar
      Remove pause on fullscreening in NS (bug#48406) · ff65ea93
      Alan Third authored
      * src/nsterm.m (ns_make_frame_visible):
      ([EmacsView windowWillEnterFullScreen:]):
      ([EmacsView windowDidEnterFullScreen:]):
      ([EmacsView windowWillExitFullScreen:]):
      ([EmacsView initFrameFromEmacs:]): Remove references to
      ([EmacsView toggleFullScreen:]): Remove calls to removed methods.
      ([EmacsView inFullScreenTransition]):
      ([EmacsView waitFullScreenTransition]): Remove Methods.
      * src/nsterm.h (EmacsView): Remove defintions of removed methods, and
      the in_fullscreen_transition variable.
    • Glenn Morris's avatar
      * lib/Makefile.in (Makefile): Fix typo. · 5b68e7b4
      Glenn Morris authored
    • Alan Third's avatar
      Fix image filename encoding issues (bug#48902) · fb62846b
      Alan Third authored
      * src/image.c (image_find_image_fd): Don't return an encoded filename
      * src/nsfns.m: ([NSString stringWithLispString:]): Clarify usage
      * src/nsimage.m ([EmacsImage allocInitFromFile:]): No need to encode
      the filename when converting to NSString.
    • Michael Albinus's avatar
    • Jason Kim's avatar
      Handle auto-cd in shell-mode · e67883bc
      Jason Kim authored
      * lisp/shell.el (shell-has-auto-cd): New defcustom.
      (shell-directory-tracker): Handle implicit "cd".
      Copyright-paperwork-exempt: yes
  6. 08 Jun, 2021 10 commits
  7. 07 Jun, 2021 4 commits