Questions tagged [tags]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
32 views

how to go to the first definition with xref-find-definitions, do not show all options?

When I press gd to go to the definition of a class in C++, Emacs splits the screen and shows me two definition options that I need to click on with one of them. I'm used to coc.nvim where I would just ...
0
votes
0answers
14 views

org-mode Global Tags Auto-completion

I want tags to auto-complete based on all my org files. I've found (setq org-complete-tags-always-offer-all-agenda-tags t), but is there any similar line to always-offer-all-tags?;)
1
vote
0answers
30 views

how best to set the `projectile-regenerate-tags` command

I have a fortran project I'm working on and I cannot figure out the right way to use .dir-locals to set the projectile-tags-command here is my dir-locals.el file: ( (f90-mode (projectile-tags-...
3
votes
1answer
78 views

Adding new keywords delimeters

I am new to the Emacs (Doom Emacs to be precise) scene, and recently I came up with a minor mode that could come in handy for me so I decided to implement it. To achieve the full functionality of my ...
0
votes
2answers
55 views

Xref / xref-find-refernces / Windows 7 does not work

I'm struggling with Xref M-? finding references to symbols (C-code). It doesn't work for (e)tags nor for any symbol even in the buffered file. The Xref window/buffer with results is not opened instead ...
0
votes
0answers
53 views

How to use exuberant ctags with python?

I followed instructions here: https://github.com/leoliu/ggtags I've enabled the following: (add-hook 'c-mode-common-hook (lambda () (when (derived-mode-p 'c-mode 'c++-mode '...
1
vote
0answers
22 views

Do not require tags when doing org-capture

 I have this org-capture template: ("a" "Appointment or call" entry (file+headline "~/todo.org" "Tasks") "* %? %^G \n %^t \n %i") It asks for a tag. Sometimes I insert tags, sometimes I don'...
0
votes
0answers
52 views

What is the shortcut to set filetags?

In org-mode, when I press C-c C-q and I don't have a header anywhere but just have a filetags section defined: #+FILETAGS: then I get the error: org-back-to-heading: Before first headline at ...
0
votes
0answers
22 views

M-. takes over my commands and can't execute OR C-g to escape

I am using Emacs 26.3 and trying out ggtags-company-mode to navigate my code base. I move my cursor to a function I want to jump to the definition of, poll_count, and enter M-. I now have this at ...
0
votes
1answer
51 views

How do you get gtags working with Lua?

How do you get gtags working with Lua? I want to be able to have same tags functionality for Lua like with C/C++, i.e. find definitions of functions, function references, symbol references, etc. I ...
0
votes
0answers
9 views

Focus ggtags-global when it spawns

When I find definitions ggtags-find-tag-dwim and there are multiple results it opens *ggtags-global* but the focus remains in my buffer that initiated the call to ggtags-find-tag-dwim. I'm trying to ...
0
votes
1answer
78 views

Org Mode export options: do not export TODO keyword sections

I read in the manual, and here that #+STARTUP: overview #+TASKS: nil * TODO Config tasks :tasklist: ** TODO todo1 SCHEDULED: <2020-02-16 Sun> *...
0
votes
1answer
83 views

How to hook a TAG file with Emacs (Git-bash / windows)

I've successfully created a Tag file and could wade through the code using keys like M-,, but every time I need to choose the tag file for searching, so, I am looking for a way to hook the tag file I ...
0
votes
1answer
156 views

How to disable code blocks in an Emacs org-mode init file

My dot emacs config consists of a short init.el file and a very large org file in which I have created dozens of emacs-lisp code-blocks. This works very well for me, especially in terms of ...
1
vote
1answer
65 views

File tags prevent autocomplete of global tags

I amended .emacs as shown below. Then M-x load-file ~/.emacs. What I want to do in test.org is add MEntal tags to each of the two entries, for example Read and Reminder, respectively. Using the column ...
1
vote
1answer
96 views

How to generate and display tags in treemacs (for JavaScript)?

I'd like to generate a set of tags and then view them in Treemacs, ideally whenever I open a file that I can generate tags for. The docs for Treemacs' tag view say: Treemacs is able to display ...
0
votes
0answers
52 views

org-tags-view vs. org-agenda, M

My goal is a shortcut for an oft-used command. The oft-used command: An agenda view of all unfinished tasks matching a given tag: 1. M-x org-agenda 2. Prompts for the type of agenda 3. I enter "M"...
1
vote
1answer
52 views

Tag search in org mode delivers empty list although searched Tag exists

I have an .org file and some headlines have the tag Contact attached to them yet searching for tags (C-c a m) and entering Contact delivers nothing (see attached screenshot). What do I do wrong? ...
2
votes
0answers
62 views

Speedbar tag hierarchy in Clojure - organize manually with comments?

If I run speedbar and call (speedbar-add-supported-extension ".clj") in init.el, then I see my Clojure files in the speedbar, and I can expand them to show the function definitions inside, like this: ...
3
votes
0answers
312 views

How to generate TAGS tables for JavaScript with React?

I'd like to create TAGS tables for JavaScript ES6 code using React like the following: import React from 'react' import { observer } from 'mobx-react' import { Formik, Form, Field } from 'formik' ...
2
votes
0answers
57 views

org-mode: Duplicate tag groups when filtering agenda

When filtering org-agenda by tags using org-agenda-filter-by-tag, tag groups specified in org-tag-alist show up multiple times. org-agenda-filter-by-tag uses the variable org-tag-alist-for-agenda, ...
2
votes
1answer
127 views

Using advice to run function before tag symbol lookup

I use xref-find-definition to look up the definition of a symbol name. When I call xref-find-definition, I want to Emacs to automatically find and load an appropriately named etags file. For this ...
1
vote
0answers
26 views

Org Tags mess up on fast completion

In my init.el I have the following lines: (add-hook 'org-capture-mode-hook (lambda () (set (make-local-variable 'org-complete-tags-always-offer-all-agenda-tags) ...
0
votes
1answer
571 views

Setting up org-mode tags with groups

Running in emacs -Q I set up this file and added it to my agenda #+TAGS: [ toptag : subtag ] * headline 1 :toptag: * headline 2 :subtag: * headline 3 org-tag-alist now has value (("[") ("toptag") (:...
0
votes
1answer
476 views

Wrong type argument: commandp cscope

My question is how to let the command SPC-m-c-Cget the function name automatically? I am using 0.200.10@25.3.1 (spacemacs), on Ubuntu 16.04 64 bit I am using cscope layer, it is great but with one ...
2
votes
1answer
312 views

find-tag: Build a new TAGS file if it does not already exist

I prefer to use the older version of find-tag, instead of the xref library. I wrote a function to build the tag database, but I'm having trouble locating a good place to plug it in. The default ...
1
vote
1answer
313 views

Org Mode: exporting agenda with inherited tags

The manual says: C-x C-w (org-agenda-write) Write the agenda view to a file. [...] only the body of original headlines are exported, not subtrees or inherited tags. How to export inherited tags ...
0
votes
2answers
382 views

can't load python tags table

generating python tags with for file in $(find -type f -regex ".+\\.\(py\)"); do etags -a $file; done doesn't load at emacs with error path/TAGS is not a valid tags file although other language ...
0
votes
1answer
96 views

Add tmsu tags as a helm-source

How can I add tmsu tags as a source for helm-mini? Edit There doesn't seem to be such a source, so I am trying to define it by myself consider something like this: (helm :sources (helm-build-async-...