!ZrZoyXEyFrzcBZKNis:matrix.org

Emacs Matrix Client

40 Members
matrix-client-el: a Matrix client for Emacs | https://github.com/jgkamat/matrix-client-el | [RFC] https://github.com/jgkamat/matrix-client-el/issues/311 Servers

Load older messages


Timestamp Message
12 Dec 2018
21:35:02@jayspeer:matrix.orgjayspeersome images do show, some don't any reason?
21:35:25@alphapapa:matrix.orgalphapapa
In reply to alphapapa
sure, you can drag-and-drop images onto the Emacs window, or type "/upload /path/to/image.jpg"
I recommend using hippie-expand in Emacs, it makes it easy to expand paths without having to type them all out
21:35:45@alphapapa:matrix.orgalphapapa
In reply to jayspeer
some images do show, some don't any reason?
You'll have to be more specific than that. But images are disabled by default.
21:37:11@jayspeer:matrix.orgjayspeerpictures you send earlier in this channel do show up, but picture I send previously to my brother via riot does not
21:37:44@alphapapa:matrix.orgalphapapaDo you mean that the message appears but not the image?
21:38:10@jayspeer:matrix.orgjayspeerit's just a filename: picture.png bo not the picture itself
21:38:55@alphapapa:matrix.orgalphapapaI don't know, there could be a number of reasons. Maybe it was a network error. Try disconnecting and reconnecting. Or maybe the image is corrupt and Emacs can't read it.
21:42:25@jayspeer:matrix.orgjayspeerbeuno.jpg
beuno.jpg
21:42:37@jayspeer:matrix.orgjayspeerSo far my reaction
21:43:59@alphapapa:matrix.orgalphapapaderp.png
derp.png
21:44:37@alphapapa:matrix.orgalphapapaderp.png
derp.png
21:44:53@jayspeer:matrix.orgjayspeerafter restart images do show up. is there a way to rerender matrix-client buffer?
21:45:06@alphapapa:matrix.orgalphapapa
In reply to jayspeer
after restart images do show up. is there a way to rerender matrix-client buffer?
You mean a room buffer?
21:45:32@jayspeer:matrix.orgjayspeeryeah. I tried redraw-display, but few errors still show up
21:45:40@alphapapa:matrix.orgalphapapaerrors?
21:46:22@jayspeer:matrix.orgjayspeerafter sending a message, sometimes it appears in few places
21:47:26@alphapapa:matrix.orgalphapapawell, that's not an error, just a bug. Seems to be a race condition that causes it. You see, when you send a message, we display it immediately, before the server acknowledges it. Then when the server accepts it, we delete it and redisplay it, storing the event ID. Sometimes it doesn't delete the first one. Not sure why.
21:48:15@alphapapa:matrix.orgalphapapaif you look in the matrix-client/scratch.el file, there's a function matrix-client-replay, that will redraw a room buffer. It's for debugging, but you can use it. Use M-: and type (matrix-client-replay matrix-client-room)
21:49:02@alphapapa:matrix.orgalphapapaBTW, you can use tab/s-tab to move between messages, and r and R to reply without and with quoting
21:49:26@alphapapa:matrix.orgalphapapaand you can load older messages with M-v, scrolling to the top of the buffer
21:50:30@jayspeer:matrix.orgjayspeerthat's nice. Can you prepare cheatsheet with all the default keybindings?
21:51:02@alphapapa:matrix.orgalphapapathat could be done, but I would just use helm-descbinds, it shows all the bindings in a buffer organized by mode
21:52:40@jayspeer:matrix.orgjayspeer
In reply to alphapapa
after sending a message, sometimes it appears in few places [22:47:26] alphapapa> well, that's not an error, just a bug. Seems to be a race condition that causes it. You see, when you send a message, we display it immediately, before the server acknowledges it. Then when the server accepts it, we delete it and redisplay it, storing the event ID. Sometimes it doesn't delete the first one. Not sure why.
maybe only display message from server replay? and skip one displayed locally
21:52:54@alphapapa:matrix.orgalphapapahuh?
21:53:55@jayspeer:matrix.orgjayspeeryou mentioned that it is printed twice: first after sending a message, and then after server response. Maybe only display it after server response
21:54:32@alphapapa:matrix.orgalphapapaThe point of displaying it locally, immediately is to give the user immediate feedback that the message is being sent
21:55:06@alphapapa:matrix.orgalphapapawhen it works properly, the only thing the user sees is the timestamp possibly being updated after the server syncs again
21:55:12@jayspeer:matrix.orgjayspeerit can be caused by system clock. f.e. it shows every message I sent twice with around 40 sec difference
21:55:34@alphapapa:matrix.orgalphapapathat suggests that your homeserver is overloaded
21:55:49@alphapapa:matrix.orgalphapapawhich the matrix.org server sometimes is

There are no newer messages yet.


Back to Room List