Skip to content

v0.12

Compare
Choose a tag to compare
@alphapapa alphapapa released this 15 Sep 01:02
· 151 commits to master since this release
v0.12

Additions

  • Command ement-notifications shows recent notifications, similar to the pane in the Element client. (This new command fetches recent notifications from the server and allows scrolling up to retrieve older ones. Newly received notifications, as configured in the ement-notify options, are displayed in the same buffer. This functionality will be consolidated in the future.)
  • Face ement-room-quote, applied to quoted parts of replies.

Changes

  • Commands ement-room-goto-next and ement-room-goto-prev work more usefully at the end of a room buffer. (Now pressing n on the last event moves point to the end of the buffer so it will scroll automatically for new messages, and then pressing p skips over any read marker to the last event.)
  • Room buffer bindings:
    • ement-room-goto-next and ement-room-goto-prev are bound to n and p, respectively.
    • ement-room-goto-fully-read-marker is bound to M-g M-p (the mnemonic being "go to previously read").
  • The quoted part of a reply now omits the face applied to the rest of the message, helping to distinguish them.
  • Commands that read a string from the minibuffer in ement-room buffers and ement-connect user ID prompts use separate history list variables.
  • Use Emacs's Jansson-based JSON-parsing functions when available. (This results in a 3-5x speed improvement for parsing JSON responses, which can be significant for large initial sync responses. Thanks to Ryan Rix for discovering this!)

Fixes

  • File event formatter assumed that file size metadata would be present (a malformed, e.g. spam, event might not have it).
  • Send correct file size when sending files/images.
  • Underscores are no longer interpreted as denoting subscripts when sending messages in Org format. (Thanks to Phil Sainty.)
  • Add workaround for savehist-mode's serializing of the command-history variable's arguments. (For ement- commands, that may include large data structures, like ement-session structs, which should never be serialized or reused, and savehist's doing so could cause noticeable delays for users who enabled it). (See #216. Thanks to Phil Sainty and other users who helped to discover this problem.)