4
Set the state of a header to COMMENT:
** COMMENT This will not be tangled
#+BEGIN_SRC elisp
(foo)
#+END_SRC
C-c ; runs the command org-toggle-comment.
2
Have a look at Rainer Königs video on Youtube. He described the solution of your problem in excess.
Rainers solution: using org mode version >=8.3, since tag hierarchies were introduced with org 8.3.
2
js2-mode generates an imenu index that Treemacs displays.
2
You can use a source block with a self-defined major mode.
It is easy to define a customized major mode with helper functions like define-derived-mode.
Let us name your new major mode myorg-mode. Then the name of the function executed on C-c C-c is org-babel-execute:myorg.
It is called with two arguments. The first arg is the content of the source block as a ...
1
I was able to generate the tags running gtags --gtagslabel=ctags from the root of the project, using a configuration from ubuntu (zcat /usr/share/doc/global/examples/gtags.conf.gz > ~/.globalrc).
It included at least C, C++, Lua and Javascript.
1
The correct option to exclude task keywords is the following:
#+OPTIONS: todo:nil
See all export options here: https://orgmode.org/manual/Export-Settings.html
1
This was suggested to me through the org-mode mailing list: replace ‘org-tag-persistent-alist’ instead of org-tag-alist in ~/.emacs. I tried it: autocomplete works for both the local and global tag lists.
1
KO, I think that C-c a m works only in Agenda files and the one I searched is not a dedicated agenda file. Anyway (org-match-sparse-tree) which should do the trick delivers more than I want i.e. every Headline no matter which tag it has. Puzzled.
1
You should use the new advice system `nadvice` instead of the old one.
xref-find-definitions prompts the user already in its `interactive-form`. So you need to run `open-tags-file` in the interactive-form of your advice for the case that xref-find-definitions is called interactively.
I use the interactive specification of xref-find-definitions of emacs 25.3....
1
You have a spelling mistake:
helm-cscope-find-calling-this-funtcion
The word is spelled function
I'm not using these features so I don't know for sure, but I suspect that the problem will be solved if you fix that name.
1
You can generate the TAG file like this:
find . -name "*.py" | xargs etags -a
Then in .emacs file:
(setq tags-table-list (list "/path/to/TAG/file/dir/"))
1
You can get the input from helm-pattern, for example,
(helm :sources
(helm-build-async-source "test"
:candidates-process
(lambda ()
(start-process "echo" nil "echo" helm-pattern))))
Only top voted, non community-wiki answers of a minimum length are eligible
Related Tags
tags × 30org-mode × 12
ctags × 6
org-agenda × 4
org-tags × 3
gtags × 3
xref × 3
org-export × 2
helm × 2
python × 2
javascript × 2
etags × 2
init-file × 1
org-babel × 1
microsoft-windows × 1
search × 1
projectile × 1
minibuffer × 1
auto-complete-mode × 1
c++ × 1
org-capture × 1
commands × 1
minor-mode × 1
c × 1
advice × 1