emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* no syntax defined for comments
@ 2010-01-12 16:05 andrea
  2010-01-12 19:36 ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: andrea @ 2010-01-12 16:05 UTC (permalink / raw)
  To: emacs-orgmode


I sometimes want to write comments in my org-mode files, but the handy
function *comment-region* doesn't work, "no syntax defined for.."
Then I can choose '#' but it doesn't put it in the beginning of the
line.

I normally end in selecting the rectangle and run *string-rectangle*
with '#', but that's a bit annoying.

Why we can't just set '#' as the comment character so that normal
functions work fine?
Thanks

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: no syntax defined for comments
  2010-01-12 16:05 no syntax defined for comments andrea
@ 2010-01-12 19:36 ` Carsten Dominik
  2010-01-12 20:17   ` Samuel Wales
  0 siblings, 1 reply; 3+ messages in thread
From: Carsten Dominik @ 2010-01-12 19:36 UTC (permalink / raw)
  To: andrea; +Cc: emacs-orgmode


On Jan 12, 2010, at 5:05 PM, andrea wrote:

>
> I sometimes want to write comments in my org-mode files, but the handy
> function *comment-region* doesn't work, "no syntax defined for.."
> Then I can choose '#' but it doesn't put it in the beginning of the
> line.
>
> I normally end in selecting the rectangle and run *string-rectangle*
> with '#', but that's a bit annoying.
>
> Why we can't just set '#' as the comment character so that normal
> functions work fine?

For some reason, setting the comment character causes problems with  
autofilling, inserting that character in places where it does not  
belong - his has come up several times here -we even have a FAQ about  
it.

     http://orgmode.org/worg/org-faq.php#auto-fill-and-unwanted-comments

I'd love to see a solution for this problem, but I do not have one.

- Carsten

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: no syntax defined for comments
  2010-01-12 19:36 ` Carsten Dominik
@ 2010-01-12 20:17   ` Samuel Wales
  0 siblings, 0 replies; 3+ messages in thread
From: Samuel Wales @ 2010-01-12 20:17 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode, andrea

Search this list for filladapt.

On 2010-01-12, Carsten Dominik <carsten.dominik@gmail.com> wrote:
>
> On Jan 12, 2010, at 5:05 PM, andrea wrote:
>
>>
>> I sometimes want to write comments in my org-mode files, but the handy
>> function *comment-region* doesn't work, "no syntax defined for.."
>> Then I can choose '#' but it doesn't put it in the beginning of the
>> line.
>>
>> I normally end in selecting the rectangle and run *string-rectangle*
>> with '#', but that's a bit annoying.
>>
>> Why we can't just set '#' as the comment character so that normal
>> functions work fine?
>
> For some reason, setting the comment character causes problems with
> autofilling, inserting that character in places where it does not
> belong - his has come up several times here -we even have a FAQ about
> it.
>
>      http://orgmode.org/worg/org-faq.php#auto-fill-and-unwanted-comments
>
> I'd love to see a solution for this problem, but I do not have one.
>
> - Carsten
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>


-- 
Q: How many CDC "scientists" does it take to change a lightbulb?
A: You only think it's dark. [CDC has denied ME/CFS for 25 years]
=================================================================
Retrovirus: http://www.wpinstitute.org/xmrv/xmrv_qa.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-01-12 20:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-12 16:05 no syntax defined for comments andrea
2010-01-12 19:36 ` Carsten Dominik
2010-01-12 20:17   ` Samuel Wales

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).