emacs-erc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can't do `backward-word' at end of line with certain timestamp confi


From: Emanuel Berg
Subject: Re: can't do `backward-word' at end of line with certain timestamp config
Date: Mon, 01 Apr 2024 02:51:00 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]