From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#36167: [PATCH] Replace [0-9a-fA-F] with [[:xdigit:]] Date: Wed, 12 Jun 2019 23:33:16 +0200 Message-ID: References: <1560254386.25060.0@yandex.ru> <20190611122925.12809-1-Hi-Angel@yandex.ru> <1560259030.21373.0@yandex.ru> <1560299369.31875.0@yandex.ru> <1560359349.5452.1@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="181323"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: rpluim@gmail.com, 36167@debbugs.gnu.org To: Konstantin Kharlamov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 12 23:34:25 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hbAsx-000kvA-Kq for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Jun 2019 23:34:23 +0200 Original-Received: from localhost ([::1]:35100 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbAsw-00040E-Jy for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Jun 2019 17:34:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37074) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbAsi-0003zb-19 for bug-gnu-emacs@gnu.org; Wed, 12 Jun 2019 17:34:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbAsf-0000kv-07 for bug-gnu-emacs@gnu.org; Wed, 12 Jun 2019 17:34:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48897) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hbAsb-0000ia-NI for bug-gnu-emacs@gnu.org; Wed, 12 Jun 2019 17:34:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hbAsb-0002VY-IG for bug-gnu-emacs@gnu.org; Wed, 12 Jun 2019 17:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Jun 2019 21:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36167 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 36167-submit@debbugs.gnu.org id=B36167.15603752049585 (code B ref 36167); Wed, 12 Jun 2019 21:34:01 +0000 Original-Received: (at 36167) by debbugs.gnu.org; 12 Jun 2019 21:33:24 +0000 Original-Received: from localhost ([127.0.0.1]:34208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbAs0-0002UX-41 for submit@debbugs.gnu.org; Wed, 12 Jun 2019 17:33:24 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:59996) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbAry-0002UM-7S for 36167@debbugs.gnu.org; Wed, 12 Jun 2019 17:33:22 -0400 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hbArs-0001dz-RW; Wed, 12 Jun 2019 23:33:19 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEUPEhtPTGpqZpEwM0QO DhISFR4ZHSgHAwKkoLaAfqMLCAjm6vmaT5VbAAACVElEQVQ4jV2TMYvbQBCFp7DSy4IjKbWdSiOi 2sU6xVaCeFWkOrC1vyAgUJdLihWuTpW3jkCwZSof/nN5syv7nMyBfXrfzHuzi0zX/+piUYMd6EE6 Xa/2fD5b55wdH4E9XZy17uyG8yAeACyCjx2cfXkA3G2vNqLxAQzO3gr6O3gbC4TCnq2cewdOBOBG Z8P3DVyKADCWR34Db0KMoxidGPNP/4AXkQoUgzXr94wxT9cAWCflj/tWF5Fu8FSIey3gj0jTdVE4 KHE0Jz5QiFhjrWJEQywGpxCBiZCQs5yVEVzyPC03awbQSy4awuWIYCHiF+sHiucMoeniArkyC8hj YhltSgOrcG9oj0pZGdYXAJuy0k1QjNH8ETKQWBmtdaMT1psG/xoAITLWE10T0Qdub2sQSmFj0KQp VsMEM8SrsVG9gCTR7GeoCsN0LwDN+RGwj6TVdsVEB0LBsqaEVlJu40SSYGeARrccICMgHmgRHgcY KC/vm7UNtbwSJfUKYCLzDDPeuKFlUc1z2zppw40gnfhkMJcKGdhB8kY1+hhI6VEz/jwo9t7Fi9D1 SgF0fQfgJ95utU2Ib7QGmFmW3CG5Ej6gMc8KYNrto6nnvAjMkTt37W6vOt/7CZYAfFutkrDQipt9 iMIllkd5KI97tZMyLBBqos8d9tm8Pu3UJH3X4SkS+oWHzUc7HNWk5q6f5j4ein7O3Xf86l+f9hKb zVHliR+d+u1GvIBHGc8IDENP+ZdsAzkrq+UQHNT1nrKvAPy+ltL3Nx2EskMV3kzTfvO98v0cgf8L /7W8ha02atoAAAAASUVORK5CYII= In-Reply-To: <1560359349.5452.1@yandex.ru> (Konstantin Kharlamov's message of "Wed, 12 Jun 2019 20:09:09 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:160469 Archived-At: Konstantin Kharlamov 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