Commit Graph

32 Commits

Author SHA1 Message Date
Miguel de la Cruz 2b462b6b11 Add C-<return> to introduce a new line 2022-06-07 21:29:13 +02:00
Miguel de la Cruz b98abca259 Add hooks so buffers close correctly 2022-06-07 20:52:57 +02:00
Miguel de la Cruz ea9f2c07cc Add mouse-face to all buttons, so they don't get highlighted 2022-06-07 13:02:09 +02:00
Miguel de la Cruz 47eb5e405f Fetch message buffers from mattermost-buffers
When processing a WS frame, we were matching buffers by name to insert
the posts on them. This PR looks for the buffer on
`mattermost-buffers` by id keyword, making it much safer
2022-06-07 09:13:35 +02:00
Miguel de la Cruz 635e95107d Maintain a list of buffers 2022-06-03 19:22:36 +02:00
Miguel de la Cruz afc79685b8 Plenty of stuff 2022-06-03 13:05:46 +02:00
Miguel de la Cruz ac63ec4580 Multibyte payload works now 2022-06-02 14:33:56 +02:00
Miguel de la Cruz 44fb954ef9 Local variables work after a switch-to-buffer but not inside a with-current-buffer 2022-06-02 14:26:11 +02:00
Miguel de la Cruz 7de96b524b Posting messages works! tho the markers are still being set manually 2022-06-02 12:44:58 +02:00
Miguel de la Cruz 1c1272337c Adding styles and a basic prompt, tho local markers are not getting set 2022-06-01 19:44:51 +02:00
Miguel de la Cruz 952fe90817 Correctly print post messages 2022-06-01 13:09:28 +02:00
Miguel de la Cruz 34fa91691c Make WS messages less invasive 2022-06-01 11:59:26 +02:00
Miguel de la Cruz 3a8d4b661c Forbid inserting text in between channel characters 2022-06-01 11:49:54 +02:00
Miguel de la Cruz 538321926f Add refresh keybinding 2022-06-01 11:40:09 +02:00
Miguel de la Cruz 067147c996 Show channels as buttons 2022-06-01 11:38:02 +02:00
Miguel de la Cruz 4e9a055cd0 Improve channels keymap 2022-06-01 11:28:14 +02:00
Miguel de la Cruz fb76618919 Function name fix 2022-06-01 00:17:41 +02:00
Miguel de la Cruz bbddc90552 Fix show-root switch-to-buffer 2022-06-01 00:04:26 +02:00
Miguel de la Cruz 17e4ed6783 Refactor JSON functions 2022-06-01 00:02:51 +02:00
Miguel de la Cruz 23c1d56799 Adding WS and managing the state better 2022-05-31 23:16:19 +02:00
Miguel de la Cruz 39e77a80e9 Remove URL 2022-05-24 15:27:34 +02:00
Miguel de la Cruz 53ec54319b Add major mode, map and entrypoint function 2022-05-22 23:36:55 +02:00
Miguel de la Cruz 11ffa88521 Fix mattermost--get-user cache miss case 2022-05-22 21:38:29 +02:00
Miguel de la Cruz 784071afcf Add simple README file 2022-05-22 20:17:39 +02:00
Miguel de la Cruz a4da8b372f Sugar syntax 2022-05-22 20:11:46 +02:00
Miguel de la Cruz 0b553ba4e4 Update mattermost--get-user docstring 2022-05-22 20:10:41 +02:00
Miguel de la Cruz 190880e278 Add internal variables comment 2022-05-22 20:10:00 +02:00
Miguel de la Cruz a0a752d6bd Add internal user plist and use it to print usernames 2022-05-22 20:09:12 +02:00
Miguel de la Cruz c72317202f Fix typo 2022-05-22 18:13:39 +02:00
Miguel de la Cruz 9d4bab5a20 Small syntax sugar optimizations 2022-05-22 18:12:46 +02:00
Miguel de la Cruz ce0951fc45 Get the last messages from a channel and print them on a buffer 2022-05-22 18:02:11 +02:00
Miguel de la Cruz 15348b0999 Initial commit that fills up a buffer with teams and channels 2022-05-22 13:00:26 +02:00