From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: Tracking Tags ?? Date: Wed, 23 Jan 2019 15:22:46 -0500 Message-ID: References: <87zhrrteo8.fsf@yandex.com> <87va2ftatl.fsf@yandex.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000001185bd058025dcb8" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:55155) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmP38-0006X6-01 for emacs-orgmode@gnu.org; Wed, 23 Jan 2019 15:23:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gmP36-0003P6-4q for emacs-orgmode@gnu.org; Wed, 23 Jan 2019 15:23:01 -0500 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:36872) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gmP35-0003OE-ET for emacs-orgmode@gnu.org; Wed, 23 Jan 2019 15:23:00 -0500 Received: by mail-wr1-x434.google.com with SMTP id s12so4028706wrt.4 for ; Wed, 23 Jan 2019 12:22:59 -0800 (PST) In-Reply-To: <87va2ftatl.fsf@yandex.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Colin Baxter Cc: David Masterson , "emacs-orgmode@gnu.org" --0000000000001185bd058025dcb8 Content-Type: text/plain; charset="UTF-8" I see, that only finds files with the particular tag. I think the goal of this is to get a list of all the tags, for use in completion, for example. John ----------------------------------- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu On Wed, Jan 23, 2019 at 2:48 PM Colin Baxter wrote: > >>>>> John Kitchin writes: > > > There are a few ways to specify tags with inheritance at the file, > > and heading level that would be trickier to get via grep. That > > said, if you have a nice grep cmd/regexp that finds tags do share! > > I take your point. My setup must be very simple because I find just > 'grep -irn .' is sufficient. > > Best wishes, > > Colin Baxter > m43cap@yandex.com > --------------------------------------------------------------------- > GnuPG fingerprint: 68A8 799C 0230 16E7 BF68 2A27 BBFA 2492 91F5 41C8 > --------------------------------------------------------------------- > The sole cause of all human misery is the inability of people to sit > quietly in their rooms. Blaise Pascal, 1670 > --0000000000001185bd058025dcb8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I see, that only finds files with the particular tag. I th= ink the goal of this is to get a list of all the tags, for use in completio= n, for example.=C2=A0

<= div dir=3D"ltr">John

-----------------------------------
Professo= r John Kitchin=C2=A0
Doherty Hall A207F
Department of Chemical Engine= ering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803=


=
On Wed, Jan 23, 2019 at 2:48 PM Colin Baxter <m43cap@yandex.com> wrote:
>>>>> John Ki= tchin <jkit= chin@andrew.cmu.edu> writes:

=C2=A0 =C2=A0 > There are a few ways to specify tags with inheritance at= the file,
=C2=A0 =C2=A0 > and heading level that would be trickier to get via grep= . That
=C2=A0 =C2=A0 > said, if you have a nice grep cmd/regexp that finds tags= do share!

I take your point. My setup must be very simple because I find just
'grep -irn <TAG> .' is sufficient.

Best wishes,

Colin Baxter
m43cap@yandex.com
---------------------------------------------------------------------
GnuPG fingerprint: 68A8 799C 0230 16E7 BF68=C2=A0 2A27 BBFA 2492 91F5 41C8<= br> ---------------------------------------------------------------------
The sole cause of all human misery is the inability of people to sit
quietly in their rooms.=C2=A0 Blaise Pascal, 1670
--0000000000001185bd058025dcb8--