From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#36167: [PATCH] Replace [0-9a-fA-F] with [[:xdigit:]] Date: Tue, 11 Jun 2019 15:30:48 +0200 Message-ID: References: <1560254386.25060.0@yandex.ru> <20190611122925.12809-1-Hi-Angel@yandex.ru> <1560259030.21373.0@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="156176"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 36167@debbugs.gnu.org To: Konstantin Kharlamov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 11 15:32:57 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 1hagtV-000eQv-KC for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Jun 2019 15:32:57 +0200 Original-Received: from localhost ([::1]:59030 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hagtU-0001k7-JR for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Jun 2019 09:32:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53932) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hagsm-0000hL-SO for bug-gnu-emacs@gnu.org; Tue, 11 Jun 2019 09:32:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hagsf-0004DC-WE for bug-gnu-emacs@gnu.org; Tue, 11 Jun 2019 09:32:11 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44649) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hagsc-0004Bx-QX for bug-gnu-emacs@gnu.org; Tue, 11 Jun 2019 09:32:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hagsc-0002Oq-JN for bug-gnu-emacs@gnu.org; Tue, 11 Jun 2019 09:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Jun 2019 13:32:02 +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.15602598669158 (code B ref 36167); Tue, 11 Jun 2019 13:32:02 +0000 Original-Received: (at 36167) by debbugs.gnu.org; 11 Jun 2019 13:31:06 +0000 Original-Received: from localhost ([127.0.0.1]:58193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hagri-0002Ne-31 for submit@debbugs.gnu.org; Tue, 11 Jun 2019 09:31:06 -0400 Original-Received: from mail-ed1-f46.google.com ([209.85.208.46]:34477) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hagrd-0002N8-9A for 36167@debbugs.gnu.org; Tue, 11 Jun 2019 09:31:04 -0400 Original-Received: by mail-ed1-f46.google.com with SMTP id c26so20152175edt.1 for <36167@debbugs.gnu.org>; Tue, 11 Jun 2019 06:31:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version:content-transfer-encoding; bh=5dD4YaWc3bJ7prcwi19N6D8Asil/Fx+rt4mQbg0Hrko=; b=bCXg2nlJq2YmdD1o/BykolsuainkZw+1ILSGCd55qqVShqiWkTF+MABshlRVQFdCKd ElegG9F0ovfXAxxsdniUdIFrnZRKOniHNgwsX2tLQxgS2DScQwG7miGVLJGEczAicV5M Q0fzRfxkrQ0Frd0J4PI12LcH5w766JnU+kMjEAhLnQydP2vcIxF20vOiZ2AEru8tr1WL 8/vBqQp8TH1I3LIDc+svq8fGX5M0aalBvAtvVYXXdC25A02a+hV9HRXS+Sfu5/1WU44S aBkMX19pM13wQTfd5XVwC7AYOJ3gm0RcJ2/Y4xURa/SSI2ZGSvU54aymEe47zOfmZVSN GYGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=5dD4YaWc3bJ7prcwi19N6D8Asil/Fx+rt4mQbg0Hrko=; b=RXYwz3vvoNPsv3Wt3uU1n/k8uM4MDsL1RaPsnImi6Sv5E9ZJUfs88zZqNORBRwEhDI 3+xmHefIS/qPOQcs/Jn0tUHXayzxXhpSe+8qZbxAhqexpyfeSklGWT+RAObplsh+U5wS CDjS+hkS8YcfFJR+A3sb+Fh1jTSXhLdJKDbblAmKg6IATJW3/LVJUpQ0XpiOfVECOyze ui0z/18A89vihwwlFrrZG+r7pDvyo40crJdLnAN7UV3j12e/XYZJovrUdn8D7+swCwcn 11Nz0fHwkMvSQBxJgX2qLmILuyI81IOXE6XkidYzY5cDonVUHCiN/2Yr19Een+Jdne0Y jmCA== X-Gm-Message-State: APjAAAW8qYlWPTo3ybrdsrSIWQkbFE61ND3y7UumMCNFAH/fFJ9gHu6H dx9Bk3PwCV5KoF5xSnXL8nFakEqiedg= X-Google-Smtp-Source: APXvYqyf8+UyOwGRvKN56ky0bGXMsu0Z3OuDV76s0mPlzyMktpOMHLiQrzh9uzx3MxoI19hQZcf9qw== X-Received: by 2002:a50:9871:: with SMTP id h46mr61628854edb.69.1560259854853; Tue, 11 Jun 2019 06:30:54 -0700 (PDT) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id d44sm139467eda.75.2019.06.11.06.30.49 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 11 Jun 2019 06:30:49 -0700 (PDT) Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <1560259030.21373.0@yandex.ru> (Konstantin Kharlamov's message of "Tue, 11 Jun 2019 16:17:10 +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:160365 Archived-At: >>>>> On Tue, 11 Jun 2019 16:17:10 +0300, Konstantin Kharlamov said: Konstantin> * etc/schema/od-schema-v1.2-os.rnc: replace Konstantin> [0-9a-fA-F] with [[:xdigit:]] >>=20 >> This is the org schema file for OpenDocument export, not emacs >> lisp. Does that support :xdigit: syntax? Konstantin> Oh, okay, thanks, I couldn't figure out what it is because = Wikipedia Konstantin> says that .rnc is just a variation of XML, and README just = says it's Konstantin> something to map some xml schemas to documents. So I deemed= these Konstantin> regexps are too used by ELisp. Konstantin> Can I test it somehow? Either way, not a big deal, I can ju= st drop Konstantin> that one. If I remember correctly, the schema is copied into the resulting OpenDocument file, so it=CA=BCs probably safest not to touch it. Konstantin> * lisp/calc/calc-aent.el: replace [0-9a-fA-F] with Konstantin> [[:xdigit:]] >>=20 >> Normally, you'd mention the containing function in the ChangeLog >> entry. Using 'C-x 4 a' (ie 'add-change-log-entry-other-window') with >> point on the code you=CA=BCre changing does that for you. Konstantin> Ah, thanks. At this point I'll probably ask on emacs-devel = about Konstantin> adding to prepare-commit-msg a code to pre-format the chang= es, because Konstantin> clearly that's a lot of manual work for something that shou= ld be Konstantin> automated. It=CA=BCs pretty automated: - Do M-x vc-dir in your emacs repository to see which files are changed - Do C-x 4 a to prepare the ChangeLog entries - Mark the files you want you commit - Commit from the vc-dir buffer. This will copy the earlier ChangeLog entries into the commit message buffer Unless you meant completely automatically generating the ChangeLog entries, which is a wholly different can of worms. Robert