Re: can't do `backward-word' at end of line with certain timestamp config
Emanuel Berg <[email protected]> Mon, 01 Apr 2024 02:51:00 +0200
| Newsgroups | gmane.emacs.erc.general |
|---|---|
| Message-ID | <[email protected]> |
J.P. wrote: > Perhaps you can do something like > > (defun my-erc-backward-word (&optional arg) > (interactive "^p") > (let ((inhibit-field-text-motion > (or (< (point) erc-input-marker) inhibit-field-text-motion))) > (backward-word arg))) > > (keymap-set erc-mode-map "<remap> <backward-word>" #'my-erc-backward-word) There is another problem with timestamps, when you kill text from IRC to yank someplace else, it is still included even tho they are made invisible with `erc-toggle-timestamps'. So I'm gonna disable them completely, but since you asked, sure, I'll try what you propose anyway, 1s. -- underground experts united https://dataswamp.org/~incal