From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wFZpBz5qx18zMgAA0tVLHw (envelope-from ) for ; Wed, 02 Dec 2020 10:19:42 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id qNstAz5qx1+RWwAAbx9fmQ (envelope-from ) for ; Wed, 02 Dec 2020 10:19:42 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2829D9400D3 for ; Wed, 2 Dec 2020 10:19:41 +0000 (UTC) Received: from localhost ([::1]:34690 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kkPEZ-0000Se-RT for larch@yhetil.org; Wed, 02 Dec 2020 05:19:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60514) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkOTt-0003mV-L8 for emacs-orgmode@gnu.org; Wed, 02 Dec 2020 04:31:25 -0500 Received: from mail-vs1-xe2f.google.com ([2607:f8b0:4864:20::e2f]:45223) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kkOTr-00056F-Kl for emacs-orgmode@gnu.org; Wed, 02 Dec 2020 04:31:25 -0500 Received: by mail-vs1-xe2f.google.com with SMTP id w18so555735vsk.12 for ; Wed, 02 Dec 2020 01:31:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=tmF+/I3aNfULtno2yxM1IBcRm/qwCxJ4Y+cTwuxpTOw=; b=GPd1EI07rq4h2iYgQsFtfJV4ZSl4BW5XDy5cLoZIn8tjleQ5F/kZri6XzEQgfab8u1 AdAU9uc3HU5Vm8gE1b9aevbtJ/EgfyO7thaSkK1SH+vBjfOldCGzHu/PoN3XNjN3Itm+ uWrCavgp2uUEjMYL7txhKGIdQtHh5lo8du/qyj4h5qp08lq28u6/0XVexETt4nVG7s17 c/aIckgdWS1NM1Zq+wASwP7YkqntIoSSlsBC7m2lMJJJeYYjWS6xfSIiCOdDMx5uzJSS QirwmO8vgj08qTLDw5Sc+nf/hMe1GRFQqDjCGfnUFWgUYskwI/QeUryFRo3ywGye108o G53Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=tmF+/I3aNfULtno2yxM1IBcRm/qwCxJ4Y+cTwuxpTOw=; b=A0Y7W4RC7Ily6uZlW/SUMe5ylJq0KMcK/S21xIy7wpfVYfh9foSMhSy9+3fUmIQLS9 tX7jLPbm3o+g8DzKiYKpcvWOxBKHjyRC/uWl0oDqciT345vXOfji/B/NT32fz0Ja8bXl KkDGAMBKEaQ14HWHgd6BwkIjGYg0j/trpdrN/QEphcTHkchGLzoowMZ/JJFn7RMMI5GW 1JPDLyJl2hjqjhkEgIUKJuiUllUMe6QOdtFpur6MUeQt6QmnZ6OPsbz4z2WkKW2/ILsL wItZAhBgqFKFS+IO1mh4iVWbqo5iyf0xpMZvoZGH2BG4oBAlc8qYkEQivTs19p4Zxj8P saug== X-Gm-Message-State: AOAM530iDVKDK6cXAGYOQLvsfiITfmIJ2Uk4s541Zv8lfjO2i3/S9V0j 6wWqp9kqJ8nMUvtcqBqwct4pwJcFVbmOO5I6m4VRY0pcrg== X-Google-Smtp-Source: ABdhPJy8MCPdSomSNODitIMKamwyQgCD9FebaynRc9MnEz4b6yJKrvQ0vFDy3U1x5LT1VKFZeb7JeszpR/HNY9Uwofo= X-Received: by 2002:a67:7956:: with SMTP id u83mr730130vsc.28.1606901479234; Wed, 02 Dec 2020 01:31:19 -0800 (PST) MIME-Version: 1.0 From: stardiviner Date: Wed, 2 Dec 2020 17:30:52 +0800 Message-ID: Subject: [PATCH] [C-c C-q] completing tags from both buffer-local and global alist of tags To: Org-mode Content-Type: multipart/mixed; boundary="000000000000dbf8ee05b577e7f8" Received-SPF: pass client-ip=2607:f8b0:4864:20::e2f; envelope-from=numbchild@gmail.com; helo=mail-vs1-xe2f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 1.42 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=gmail.com header.s=20161025 header.b=GPd1EI07; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 2829D9400D3 X-Spam-Score: 1.42 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: jub1M7x7ojF6 --000000000000dbf8ee05b577e7f8 Content-Type: multipart/alternative; boundary="000000000000dbf8eb05b577e7f6" --000000000000dbf8eb05b577e7f6 Content-Type: text/plain; charset="UTF-8" The default [C-c C-q] completing tags only retrieve tags from current buffer locally. By this patch, will merge both buffer-local tags and user defined global `org-tags-alist`. This is more reasonable. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ --000000000000dbf8eb05b577e7f6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The default [C-c C-q] completing tags only retrieve tags f= rom current buffer locally.

By this patch, will merge both b= uffer-local tags and user defined global `org-tags-alist`.

=
= This is more reasonable.


[stardiviner]=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <Hack this world!>=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 GPG key ID: 47C32433
IRC(freeenode): stardiviner = =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Twitter:=C2=A0 @numbchild
Key fi= ngerprint =3D 9BAA 92BC CDDD B9EF 3B36=C2=A0 CB99 B8C4 B8E5 47C3 2433
Bl= og: http://star= diviner.github.io/
--000000000000dbf8eb05b577e7f6-- --000000000000dbf8ee05b577e7f8 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-org.el-Complete-tags-from-both-global-and-buffer-loc.patch" Content-Disposition: attachment; filename="0001-org.el-Complete-tags-from-both-global-and-buffer-loc.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_ki77mroc0 RnJvbSBjMWY4ODQxMTgzNWYzNGE4YzU3MTU0N2JmODE1NmM5OGYxOGQyYjJlIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQ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