Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
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 ...
gdkrmr's user avatar
  • 215
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 ...
Jason's user avatar
  • 111
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 ...
Lorem Ipsum's user avatar
  • 4,577
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 ...
breathe_in_breathe_out's user avatar
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 ...
Realraptor's user avatar
  • 1,323
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 ...
Sati's user avatar
  • 835
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. ...
emacsomancer's user avatar
  • 1,041
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 ...
SFbay007's user avatar
  • 584
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 '#' ...
Dan's user avatar
  • 33.4k