emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: Florian Blank <blank@informatik.uni-muenchen.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Tagging
Date: Tue, 1 Mar 2011 10:03:38 -0600	[thread overview]
Message-ID: <AANLkTim-nUbUVCm5uMD03hypg06crNB5z1H99gPySrKk@mail.gmail.com> (raw)
In-Reply-To: <20110301122201.GA5239@Adorno.projectStud>


[-- Attachment #1.1: Type: text/plain, Size: 3081 bytes --]

Hi,

On Tue, Mar 1, 2011 at 6:24 AM, Florian Blank <
blank@informatik.uni-muenchen.de> wrote:

> Hallo,
>
> I'm quite new in org-mode. So I'm sorry to ask maybe an easy question, i
> absolutly do not find the solution for my problem. Even if I'm thinking,
> that org-mode ist the most sympatic and efficent way to work for me. But to
> the problem.
>
> I want to use org-mode to organize excerpts. So my biggest Problem at the
> moment si,
>
> a) how to sum up multiple files und subfolders in an (root-)folder for a
> search on the tags, (and produce an file with an output)
>
>
While it might not be the best looking output, you can use agenda for
something like this. I don't know if you have familiarity with agenda or
not, so assuming you don't, the process would be like so:
- add your various files to your agenda list (visit the file and do C-c [)
covered here: http://orgmode.org/manual/Agenda-files.html#Agenda-files

- run agenda with M-x org-agenda or add this to .emacs
,-----
| global-set-key "\C-ca" 'org-agenda)
`-----
and then use C-c a.

- choose the "m" option for 'Match a tags/prop/todo query'

- type in your tag and observe the output. When I do this and insert a tag I
know exists all over, the resulting agenda view produces a list like so:
,-----
| Filename:  Headline-where-tag-occurs   :tag-I-searched:
| Filename:  Headline-where-tag-occurs2   :tag-I-searched:
| ...
`-----

- you can then write this list using C-x C-w to a file. Others may be able
to comment on more advanced exporting; I haven't used this feature yet
(other than knowing it exists) -- there may be a way to export to another
org file. Otherwise, you could run some sed commands and insert stars at the
beginning of each list or change ":" into ": |" to make an org table from
the output. I think once you have your exported list, you should be able to
do something with it to make it usable, hopefully.


> b) how to extract the used tags of an given root-folder to a list
> (buffer, file)
>
>
I'll let someone else handle this... I was thinking 'grep ':.*:' files' but
that isn't working so hot...


> By the way: Not realy a big question to me at the moment, but I was
> wondering if der is any possibillity to handle bibtex files (*.bib)
> like
>
> @BOOK{Metaphysik_Rapp_1996,
>  title = {Aristoteles Metaphysik, Die Substanzbücher {(Z,} Ē, {TH)}},
>  publisher = {Akademie Verl.},
>  year = {1996},
>  author = {Christof Rapp},
>  address = {Berlin},
>  isbn = {9783050028651},
>  keywords = {Metaphysik, Aristoteles, Substanz, ousia},
>  lccn = {0000},
>  owner = {schlaubi},
> }
>
> For example, that it ist possible to include in an tag-search the values of
>  "keywords = {xxx}" of an given bibtex-file (database-file).
>
> Thank you for your time,
>
> Florian Blank.
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

[-- Attachment #1.2: Type: text/html, Size: 4330 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

      reply	other threads:[~2011-03-01 16:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-01 12:24 Tagging Florian Blank
2011-03-01 16:03 ` John Hendy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTim-nUbUVCm5uMD03hypg06crNB5z1H99gPySrKk@mail.gmail.com \
    --to=jw.hendy@gmail.com \
    --cc=blank@informatik.uni-muenchen.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).