All Questions
9 questions
2
votes
2
answers
337
views
keep org-mode comments on export
I am drafting a document in org. Because I will have some coauthors, I will have to switch to LaTeX at some point. I am usually putting a very short description of the paragraph on top:
# why do we ...
1
vote
1
answer
192
views
No comment syntax defined when tangling lua or vimrc code blocks
Resolution
With help from commenters, I have things kind of working.
I removed :comments link from Properties.
I manually added comments to the top of every code block to replicate what :comments ...
0
votes
2
answers
175
views
Commenting moves point unexpectedly
The usual behavior of comment-line is to move point to the next line.
When commenting code within an Org source block, however, the point will jump to some previous line.
For example, say that point ...
0
votes
1
answer
178
views
Comment out / uncomment source blocks on state change in org-mode config file
I started to move my config file to an org-file just recently.
I wondered if it was possible to use the TODO state to activate or deactivate source blocks in the entry under the heading. This way it ...
3
votes
2
answers
337
views
Change behaviour of "comment-region" in org-mode tangled source blocks?
I am experimenting with using org-mode for some of my startup config, and adding (org-babel-load-file (concat user-emacs-directory "config.org")) to my .emacs.
Then I use a structure like the ...
1
vote
0
answers
150
views
Org mode link in comments
Is there a way to make links work in comments?
# Comment with [[link]]
link
Error Message:
edmacro-parse-keys: C-M- must prefix a single character, not up
The link would work only when separated ...
1
vote
0
answers
78
views
Font-locking for text inside org-mode COMMENT blocks
While other sorts of #+BEGIN ... #+END blocks seem to get font-locking applied to them (potentially changing foreground and background colours etc.), #+BEGIN_COMMENT ... #+END_COMMENT blocks do not. ...
3
votes
0
answers
141
views
org-fill-paragraph leaves a comma at end of C style comment
In a src block when there is a C style comment /* ... */ doing an org-fill-paragraph would always put a comma just before the last star, like this:
/*
Some comment
,*/
Is there a way to stop it from ...
7
votes
1
answer
186
views
Modify org-mode's definition of comment lines?
Q: how do I change org-mode's definition of a commented line?
According to the manual, org-mode comments work as follows:
Lines starting with zero or more whitespace characters followed by one '#' ...