Questions tagged [org-mode]
is an Emacs major mode for keeping notes, maintaining TODO lists, planning projects, and authoring documents with a fast and effective plain-text system. Because Org mode is a vast subject area, other tags must accompany the `org-mode` tag.
4,405
questions
0
votes
0answers
63 views
Recommended Emacs for ORG-Mode (vanilla, emacs plus, doom, spacemacs)? Getting Things Done (GTD) Method?
This is just a general question in relation to emacs and it's specific use for ORG mode.
I have always been miserable at planning and organization in daily life (keeping TODO list, general time ...
0
votes
0answers
24 views
How to remove spurious whitespace in `org-add-note` LOGBOOK drawer
When using org-add-note (C-c C-z) in Org, I'm unable to automatically remove whitespace that is inserted when finalizing the note and the text is filed into the LOGBOOK drawer. global-whitespace-...
0
votes
1answer
45 views
Italics not shown in block quotes in orgmode
In my blockquotes in org-mode, the fontification does not pick up on italics. I have looked at this question and answer that says it was fixed several years ago, but my issue persists.
I have tried ...
0
votes
0answers
43 views
How to unbind the key for a specific map?
I use org, smartparens and use-package altogether. Sometimes I need to delete a heading and its subheadings. Without smartparens package I use the C-k key and it allows me to delete the heading itself ...
0
votes
1answer
30 views
org-mode delete all checked items
I use org-mode for my shopping lists and I would like to be able to remove all checked items in one action.
i.e.
[X] cotton buds
[ ] cordial
[X] milk
[X] sugar
In the list above remove all the lines ...
2
votes
0answers
100 views
Emphasize text snippets in source blocks
If one sets org-src-fontify-natively to t org source blocks are fontified according to the associated major-mode. That is fine.
But, is it possible to emphasize text snippets within the source blocks, ...
0
votes
0answers
20 views
Search on org-mode tags directory-wide?
I have a large set of my own tags that I've added to org-tag-alist that I use liberally to tag headings throughout my org files. I would like to search throughout my org directory (recursively) on a ...
0
votes
1answer
30 views
Access Table data from from elisp using headline ID
I have a bunch of recipes under different headline, and each have an ingredient list specified as a table.
I would like to access that table as an list in a src block using the headline id, same as if ...
0
votes
0answers
13 views
Format links or dates context sensitive in org-mode headings?
In org-mode I use headings with different font sizes decreasing with the # in org-level-#.
In the following Examples, the font size is in brackets and size 5 > size 4 etc.
Example:
* Heading lvl 1 ...
0
votes
1answer
30 views
Locking an org-timer into the mode-line
Context. I frequently use
org-mode timers
The org-mode clock (which just displays the clock in the org-mode mode-line)
A custom "target time" clock, which shows a point in time (either a ...
1
vote
1answer
32 views
How to remove indent on left margin and vertical line from src block when exporting org-mode to ascii?
When I export an org file to an ascii file, using org-export-to-ascii, I get some annoying lines on the left margin and an indent
,----
| .class{
| background:red;
| }
This is what I'm after:
....
0
votes
0answers
49 views
Resize inline images in org-mode to be fit a max size
In org mode, I am trying to resize inline images to fit a 100px x 100px square, which would be particular useful in the cases in which an image is much taller that wider, or vice versa. In other words ...
0
votes
1answer
23 views
Change org-log-done setting only for a subtree
In my configuration, I have:
(setq org-log-done 'time)
However, for one particular subtree, I want to suppress this behavior. So, closing any items here will not record a time.
Can this be done by ...
1
vote
0answers
91 views
Doom emacs config does not fully load at start up
I am on Doom emacs, and have placed various scripts in my config file. These are mainly new keybindings and options for packages, e.g.
(define-key org-mode-map (kbd "s-;") 'org-agenda) ;
...
0
votes
2answers
42 views
Org-mode hook following creation of a new <<<radio target>>>
I want to call org-update-radio-target-regexp as soon as org-mode recognises that a new <<<radio target>>> has been created (which seems to happen as soon as the third ">&...
0
votes
0answers
91 views
The export of external links in org files to pdf and html files
I have a problem with the export of external links in org files to pdf and html files.
Let's say I have the two org files in the same directory:
file1.org =
here is the label of file1: <<label&...
1
vote
1answer
15 views
Org-Mode Startup not Rendering Theme Colors at Startup
System Info
Windows 10
emacs 27.1 64-bit
Description
Basically, when I open a new org file, it appears to be a plain text document. However, I can clearly see that org-mode is activated, and this ...
0
votes
2answers
27 views
Looking for a function to determine if an org-mode entry has a tag
I can use (org-entry-get (point) "myproperty") to get the value of the myproperty property for the current org-mode entry.
What about tags? Since a tag is either present or not, I was ...
0
votes
0answers
12 views
Org mode tables with Devanagari characters look misaligned
Here is the table:
|----+-----------|
| No | Name |
| 1 | Mumbai |
| 2 | ą¤®ą„ą¤ą¤¬ą¤ |
| 3 | ą¤Ŗą„ą¤£ą„ |
| 4 | ą¤ą¤øą„मानाबाद |
|----+-----------|
With devanagari characters, the table cell ...
0
votes
1answer
22 views
Meta key sending some commands two times over Citrix VDI
I am using Emacs 26.1 on a Windows machine that I connect to via Citrix Viewer running on MacOS 11.1.
I'm using left-option as my meta key.
When using org-mode, the meta key is behaving inconsistently....
0
votes
2answers
49 views
How to know the list of possible commands when in a session?
For instance: When I am in C-c C-e (export), by pressing # you get extra options. How to know this?
Another example: When in a helm session, by pressing C-c C-f, you activate helm-follow-mode. But ...
0
votes
0answers
63 views
Latex and Emacs
I have tried to export to Latex an Orgmode document that has some unicode characters not recognized (emojis). When compiling I get the error
! Package inputenc Error: Unicode character š„ (U+1F525)
(...
0
votes
0answers
28 views
Org referencing title on #+HTML_HEAD_EXTRA
I have the following Org files:
main.org
#+TITLE: Main Document - Draft
#+SETUPFILE: ../themes/main-theme/main-theme.setup
* Test 1
main-theme.setup (CSS already loads correctly for HTML exports).
# ...
0
votes
1answer
37 views
Can't evaluate plantuml in org-mode blocks
I have this weird error I don't understand :
#+begin_src plantuml :file img/example-uml.png
@startuml
class Example {
- value : Integer
- other : Double
+ up()
+ down()
}
@enduml
#+end_src
This fails ...
0
votes
1answer
31 views
Org-mode navigate in list
How to navigate in same level list, with sub list in between?
- one (cursor at the beginning)
- two
- three
- four (move to this list)
Tried C-up and M-a, but they go through each sub level, ...
0
votes
0answers
46 views
How to insert current time (hh:mm) in org mode without date
How can I insert the current time (format hh:mm) in org-mode without a date, i.e. just the time?
1
vote
1answer
34 views
orgmode - calculate difference between two remote tables
I use below code to calculate the difference between two columns from remote tables but the output is all zero!
#+name: tbl1
| x |
| 1 |
| 2 |
| 3 |
#+name: tbl2
| y |
| 1 |
| 1 |
| 1 |
#+name: ...
0
votes
1answer
31 views
Is there a way to create a web link in an org-mode file which would cause the browser to load a page and then search for a text in it?
Running the command org-open-at-point on an external link such as
[[./file.txt::foo][Link]]
causes the file file.txt to be opened in a separate buffer and the cursor to be placed on the first ...
0
votes
1answer
50 views
Org mode + Gnu Octave session
I interact with the Gnu Octave's inferior mode and everything seems to be working fine there:
octave> pkg load symbolic
octave> syms x
g = (x+1)/sqrt(x^2 - 1)
simplify(diff(g,x))
octave> g = (...
0
votes
0answers
56 views
Strange behavior of org-agenda-files initialization
I am using emacs-27.1 build 1 and org-mode 9.3.7 under Ubuntu 18.04 LTS.
Situation 1:
If I restart emacs and call org-agenda the 'Agenda for current week or day' shows only days of the week. I ran ...
0
votes
1answer
62 views
Doom Emacs start-up problems
Running Doom Emacs 2.0.9 on Emacs 27.1.
In my init.el I have org-roam enabled like so:
:lang
(org +roam +journal)
In my config.el I also load org-habits, hide it in initial agenda view and set-up a ...
1
vote
2answers
69 views
Fast way to copy a link at point in org mode
If the point is on a link on org mode, how can I copy the link (complete link, including url and description) directly into the kill ring without marking the whole link, killing it and yanking it ...
0
votes
0answers
20 views
How to git stage a just-tangled file in `org-babel-post-tangle-hook`
I want to create a org-babel-post-tangle-hook that does a git stage buffer-file-name. There is a boring technical issue I have, which is that I don't know how to call magit-stage-file from elisp so ...
1
vote
2answers
115 views
Emacs org-mode custom agenda view for each project
I have a project.org file that as a * Project subtree where each project I'm currently working on is tracked. I'd like to create a custom agenda view that separates out each project by project so I ...
0
votes
0answers
32 views
orgmode - define multiple line code as macro
How can I convert below code into a macro?
#+REVEAL_HTML: <div class="absolute" style="left:60%;top:0%">
[[./sample.png]]
#+REVEAL_HTML: </div>
I try it as below but ...
1
vote
1answer
39 views
Reverting back to higher heading
Here is a sample text to illustrate my difficulty:
* H1
L1 Some introductory text for H1
** H2
L2 Some text relating to H2
L3 This is part of H2. But I would like it to be part of H1 only, not part of ...
0
votes
0answers
41 views
How to debug emacs config / need to rerun org-mode after startup
I run emacs on Windows and I start with this command:
C:\path-to\emacs.exe -q --load "C:/path-to-git-tracked-config-folder/.emacs" --debug-init
Emacs starts without error from --debug-init.
...
1
vote
1answer
38 views
org-babel-tangle error
I am experiencing a very unusual (concerning) error with my org-mode installation, and I am afraid that something might be broken. First, I have this setup in my .emacs file
;; Use my org-mode file as ...
0
votes
0answers
36 views
Org v9 and org-latex-preview incompatibility?
In the following MWE I start with a simple latex code block. I hit C-c C-c to generate the results, and get an export latex block, which I believe is consistent with org-version ā„9 (as opposed to a #+...
0
votes
0answers
7 views
orgmode - file link with line number export to html error
When I try to export below code to html, I got below error message:
No match for fuzzy expression:2
org Code:
* test
#+begin_src python :results output drawer :exports results
print("[[file+...
0
votes
0answers
57 views
org-mode conditional dir property
In org-mode, you are able to set the directory property for a heading in a straightforward manner by placing the following text under your heading of choice:
:PROPERTIES:
:DIR: ~/path/to/my_folder/
:...
1
vote
1answer
168 views
Cannot set correct size for variable pitch font in Doom Emacs
I am trying to use a variable-pitch font for Org-mode:
(add-hook! 'org-mode-hook #'mixed-pitch-mode)
I am specifying a variable pitch font that is normally renders much smaller than the fixed pitch ...
0
votes
1answer
29 views
How to disable the logging of timestamps for repeated tasks?
For example, if I have a repeating TODO such as
* TODO item 1
SCHEDULED: [date]
- State "DONE" from "TODO" [timestamp]
How do I keep the third line from displaying? It ...
0
votes
1answer
76 views
error: Invalid face, org-level-1
(dolist (face '((org-level-1 . 1.2)
(org-level-2 . 1.1)
(org-level-3 . 1.05)
(org-level-4 . 1.0)
(org-level-5 . 1.1)
(...
0
votes
1answer
18 views
Since update to org-mode 9.4 misaligned column view headers
I updated org-mode to 9.4. When I enter column view, the header is not in the correct size, so table columns are not below the respective header field.
I use different font sizes for different org-...
0
votes
1answer
30 views
Manage JSON (comments) with org literate programming and tangle
I would like to manage a JSON config file with added comments on some key-value-pairs and explain options. Since it is not possible to comment in JSON, I thought about using org-mode literate ...
1
vote
1answer
90 views
Workflow to collect TODO notes from various files into an org agenda
I often want to add TODO notes inside of my latex files I am currently working on or inside of other source code files scattered around in my filesystem.
The problem with this is that those TODO notes ...
0
votes
1answer
70 views
What is the mechanism by which org-export collates links for the summary?
I use org-export to generate my end of week email reports. One of the links I have in those reports is for mu4e searches. I have a helper function to translate them into something more useful:
;; ...
0
votes
1answer
26 views
Disable “10 repeater intervals were not enough”
I sometimes get the message:
10 repeater intervals were not enough to shift date past today. Continue? (y or n)
When I mark a repeating TODO as done.
I would not like to be asked this.
In other words,...
0
votes
0answers
18 views
org: colorize clocked tasks by height and category
https://orgmode.org/worg/org-hacks.html includes a hook function to "Show Org Agenda tasks with height spacing based on clock time with org-agenda-log-mode." The four colors are applied in a ...