Questions tagged [tags]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
41 views

org mode: show TODO headings that are scheduled not for future, filtered by a tag

I really like how I can click on a tag next to a heading in an org mode file that has been added to the agenda, and org mode will generate a org-tags-view, a list of headings with same tag in a new ...
user avatar
0 votes
4 answers
51 views

How to match only the one word tag without the multiple word tag in image-dired?

In image-dired I use M-x image-dired-mark-tagged-files to mark files containing a tag e.g. bar (one word tag). The problem is that foo bar (multiple word tag) is marked as well. What regex do I need ...
user avatar
  • 617
0 votes
0 answers
46 views

Gather all tagged text in one document a la LogSeq

Is it possible to have a flow in Emacs similar to LogSeq whereby the user can call one tag (e.g., #quotes) and have a buffer filled with all the text that matches such tag? I suppose the closer thing ...
user avatar
0 votes
1 answer
38 views

org-agenda tag selection buffer is too small to view any tags

when using C-c C-q to run org-set-tags-command on an existing headline, i am unable to see the list of tags because the buffer window is so small. all i see is inherited tags and current tags lines. ...
user avatar
  • 31
0 votes
1 answer
12 views

Progressive filtering with tags

I don't know how to name this functionality that I want. I am sure it exists. So What I want to do is similar to when you apply "tags", output is shown. Then you can choose to apply more ...
user avatar
0 votes
0 answers
7 views

tags-table-list: load tags file on demand

I work upon several projects with tags tables. Some of them are located on remote server, some - local. I setup tags-table-list like this: (setq tags-table-list '("/ssh:server:/media/...
user avatar
  • 845
0 votes
0 answers
73 views

View org-mode tags (with group tag) as a tree structure

I use Emacs org-mode tags with the "group tag" Tags Hierarchy and groups with #+TAGS: syntax for a specific file, without overriding org-tag-alist/org-tag-persistent-alist. List of tags can ...
user avatar
  • 1
1 vote
1 answer
110 views

xref-find-definitions, find next

In decades past when I used find-tag, I think there was a way to advance to the next tag definition if the first one found is not the one you were looking for. Is there a way to do this now that find-...
user avatar
  • 111
0 votes
2 answers
190 views

emacs stalling when looking up definitions with lsp-mode and gopls

I'm using lsp-mode as lsp client and gopls as lsp backend in order to lookup function and variable definitions in go projects. On a given large repository (kubernetes) that I recently wiped and cloned ...
user avatar
0 votes
1 answer
87 views

unexpected "Visit tags table (default TAGS)" prompt when looking up definitions with lsp-mode and gopls

I'm using company-mode with lsp-mode as lsp client and gopls as lsp backend in order to lookup function and variable definitions in go projects. On some repositories, when I want to lookup a ...
user avatar
4 votes
1 answer
133 views

Emacs elisp debugger: How do i make the debugger jump to source when i press s?

The builtin elisp debugger (i.e. the regular one, debug, not edebug) has a default binding of s to command backtrace-goto-source. When I try to use it, it says: Source code location not known You can ...
user avatar
  • 63
1 vote
1 answer
80 views

How do I populate tags for C?

I hover over stdlib: #include <stdlib.h> I type M-. and it asks me: Visit tags table (default TAGS): I don't have one of those. I see a lot of information about TAGS in the emacs ...
user avatar
0 votes
2 answers
82 views

Use wildcard in tag search

Hi I would like to use C-c a m To create a todo list that is filtered by tags. If I have a tag like :Makeamilliondollars: I would like to be able search for it using a wildcard. Eg I would like to ...
user avatar
0 votes
0 answers
74 views

Cycle Through Org Mode Todo Tags Based on Tag

I have one org file, inbox.org, which I use for keeping all of my todos. I have todos of several categories, like: work memory fitness outreach and so on. Is there a way to order these tags to ...
user avatar
  • 153
0 votes
1 answer
244 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 ...
user avatar
1 vote
0 answers
107 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-...
user avatar
  • 345
3 votes
1 answer
95 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 ...
user avatar
0 votes
2 answers
111 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 ...
user avatar
0 votes
0 answers
271 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 '...
user avatar
1 vote
0 answers
65 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'...
user avatar
0 votes
0 answers
138 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 ...
user avatar
  • 101
0 votes
0 answers
30 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 ...
user avatar
1 vote
1 answer
135 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 ...
user avatar
1 vote
1 answer
436 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> *...
user avatar
  • 748
0 votes
1 answer
213 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 ...
user avatar
  • 101
0 votes
1 answer
375 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 ...
user avatar
  • 1,060
1 vote
1 answer
104 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 ...
user avatar
  • 521
2 votes
1 answer
271 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 ...
user avatar
0 votes
0 answers
112 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"...
user avatar
  • 1
3 votes
1 answer
89 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? ...
user avatar
  • 101
2 votes
0 answers
82 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: ...
user avatar
  • 385
3 votes
0 answers
408 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' ...
user avatar
  • 353
2 votes
0 answers
83 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, ...
user avatar
2 votes
1 answer
148 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 ...
user avatar
  • 171
1 vote
0 answers
33 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) ...
user avatar
  • 1,668
0 votes
1 answer
911 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") (:...
user avatar
0 votes
1 answer
659 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 ...
user avatar
  • 103
2 votes
1 answer
455 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 ...
user avatar
  • 17.7k
1 vote
1 answer
413 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 ...
user avatar
  • 11
0 votes
3 answers
456 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 ...
user avatar
  • 101
0 votes
1 answer
139 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-...
user avatar
  • 967