[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#36167: [PATCH] Replace [0-9a-fA-F] with [[:xdigit:]]
From: |
Lars Ingebrigtsen |
Subject: |
bug#36167: [PATCH] Replace [0-9a-fA-F] with [[:xdigit:]] |
Date: |
Wed, 12 Jun 2019 23:33:16 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Konstantin Kharlamov <hi-angel@yandex.ru> writes:
> Anyway, I'll try making some function later to apply recursively the
> (add-change-log-entry-other-window), that sounds good to have in
> general.
If it helps, I've got this that emulates hitting `C-x 4 a' on all
changes in a diff-mode (in probably the least efficient way possible)
which is handy if you're doing a lot of semi-automatic changes to many
functions.
(defun lars-gather-changelog ()
(interactive)
(let* ((buf-file-name (funcall add-log-buffer-file-name-function))
(buffer-file (if buf-file-name (expand-file-name buf-file-name)))
(change-buffer
(add-log-find-changelog-buffer
(expand-file-name (find-change-log nil buffer-file)))))
(with-current-buffer change-buffer
(erase-buffer))
(save-excursion
(goto-char (point-min))
(while (re-search-forward "^[-+] " nil t)
(save-window-excursion
(diff-goto-source)
(add-change-log-entry-other-window))))
(switch-to-buffer-other-window change-buffer)))
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#36167: [PATCH] Replace [0-9a-fA-F] with [[:xdigit:]], (continued)
- bug#36167: [PATCH] Replace [0-9a-fA-F] with [[:xdigit:]], Konstantin Kharlamov, 2019/06/11
- bug#36167: [PATCH] Replace [0-9a-fA-F] with [[:xdigit:]], Robert Pluim, 2019/06/11
- bug#36167: [PATCH] Replace [0-9a-fA-F] with [[:xdigit:]], Konstantin Kharlamov, 2019/06/11
- bug#36167: [PATCH] Replace [0-9a-fA-F] with [[:xdigit:]], Eli Zaretskii, 2019/06/11
- bug#36167: [PATCH] Replace [0-9a-fA-F] with [[:xdigit:]], Robert Pluim, 2019/06/12
- bug#36167: [PATCH] Replace [0-9a-fA-F] with [[:xdigit:]], Konstantin Kharlamov, 2019/06/12
- bug#36167: [PATCH] Replace [0-9a-fA-F] with [[:xdigit:]], Eli Zaretskii, 2019/06/12
- bug#36167: [PATCH] Replace [0-9a-fA-F] with [[:xdigit:]], Konstantin Kharlamov, 2019/06/12
- bug#36167: [PATCH] Replace [0-9a-fA-F] with [[:xdigit:]], Eli Zaretskii, 2019/06/12
- bug#36167: [PATCH] Replace [0-9a-fA-F] with [[:xdigit:]], Konstantin Kharlamov, 2019/06/12
- bug#36167: [PATCH] Replace [0-9a-fA-F] with [[:xdigit:]],
Lars Ingebrigtsen <=
- bug#36167: [PATCH] Replace [0-9a-fA-F] with [[:xdigit:]], Lars Ingebrigtsen, 2019/06/12
- bug#36167: [PATCH] Replace [0-9a-fA-F] with [[:xdigit:]], Andreas Schwab, 2019/06/12
- bug#36167: [PATCH] Replace [0-9a-fA-F] with [[:xdigit:]], Lars Ingebrigtsen, 2019/06/12
- bug#36167: [PATCH] Replace [0-9a-fA-F] with [[:xdigit:]], Konstantin Kharlamov, 2019/06/12
- bug#36167: [PATCH] Replace [0-9a-fA-F] with [[:xdigit:]], npostavs, 2019/06/11
- bug#36167: [PATCH] Replace [0-9a-fA-F] with [[:xdigit:]], Eli Zaretskii, 2019/06/11
bug#36167: [PATCH] Replace manually crafted hex regexes with [[:xdigit:]], Paul Eggert, 2019/06/11