emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* a '#' at the beginning of my text lines.
@ 2007-01-09 18:38 J. David Boyd
  2007-01-09 20:42 ` J. David Boyd
  0 siblings, 1 reply; 5+ messages in thread
From: J. David Boyd @ 2007-01-09 18:38 UTC (permalink / raw)
  To: emacs-orgmode



I like to put notes in my TODO items, like

*** TODO yadda yadda yadda 
    [CLOCK thing]

    The purpose of this note is to 
    figure out what I should do with
    the whatever, whenever.


However, now I am getting:

*** TODO yadda yadda yadda 
    [CLOCK thing]

    The purpose of this note is to 
    #figure out what I should do with
    #the whatever, whenever.



Where did the '#' characters come from, and how do I turn them off?

Dave

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

* Re: a '#' at the beginning of my text lines.
  2007-01-09 18:38 a '#' at the beginning of my text lines J. David Boyd
@ 2007-01-09 20:42 ` J. David Boyd
  2007-01-09 21:43   ` Kai Großjohann
  2007-01-09 22:03   ` Carsten Dominik
  0 siblings, 2 replies; 5+ messages in thread
From: J. David Boyd @ 2007-01-09 20:42 UTC (permalink / raw)
  To: emacs-orgmode

david@adboyd.com (J. David Boyd) writes:

> I like to put notes in my TODO items, like
>
> *** TODO yadda yadda yadda 
>     [CLOCK thing]
>
>     The purpose of this note is to 
>     figure out what I should do with
>     the whatever, whenever.
>
>
> However, now I am getting:
>
> *** TODO yadda yadda yadda 
>     [CLOCK thing]
>
>     The purpose of this note is to 
>     #figure out what I should do with
>     #the whatever, whenever.
>
>
>
> Where did the '#' characters come from, and how do I turn them off?
>
> Dave



Hmm, it has something to do with turning on 'auto-fill-mode'.  If
auto-fill-mode is off, I don't see these. 

I'll have to dig in to this, because I _like_ auto-fill-mode, but I _don't_
like the '#'.

Dave

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

* Re: a '#' at the beginning of my text lines.
  2007-01-09 20:42 ` J. David Boyd
@ 2007-01-09 21:43   ` Kai Großjohann
  2007-01-09 22:03   ` Carsten Dominik
  1 sibling, 0 replies; 5+ messages in thread
From: Kai Großjohann @ 2007-01-09 21:43 UTC (permalink / raw)
  To: emacs-orgmode

david@adboyd.com (J. David Boyd) writes:

> I'll have to dig in to this, because I _like_ auto-fill-mode, but I
> _don't_ like the '#'.

Auto fill mode has a "fill prefix" which is prefixed to every line
when auto filling happens.  (The fill prefix is also used for filling,
e.g. via M-q.)

There is a key for this, see below.  Use it at the beginning of the
line to set the fill prefix to nothing.

Kai

C-x . runs the command set-fill-prefix
  which is an interactive compiled Lisp function in `fill.el'.
It is bound to C-x ..
(set-fill-prefix)

Set the fill prefix to the current line up to point.
Filling expects lines to start with the fill prefix and
reinserts the fill prefix in each resulting line.

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

* Re: Re: a '#' at the beginning of my text lines.
  2007-01-09 20:42 ` J. David Boyd
  2007-01-09 21:43   ` Kai Großjohann
@ 2007-01-09 22:03   ` Carsten Dominik
  2007-01-10 16:22     ` J. David Boyd
  1 sibling, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2007-01-09 22:03 UTC (permalink / raw)
  To: J. David Boyd; +Cc: emacs-orgmode

This was already described earlier today.

For the time being,

   (add-hook 'org-mode-hook (lambda () (setq comment-start nil)))

should fix this, the next version will have this fixed.

- Carsten

On Jan 9, 2007, at 21:42, J. David Boyd wrote:

> david@adboyd.com (J. David Boyd) writes:
>
>> I like to put notes in my TODO items, like
>>
>> *** TODO yadda yadda yadda
>>     [CLOCK thing]
>>
>>     The purpose of this note is to
>>     figure out what I should do with
>>     the whatever, whenever.
>>
>>
>> However, now I am getting:
>>
>> *** TODO yadda yadda yadda
>>     [CLOCK thing]
>>
>>     The purpose of this note is to
>>     #figure out what I should do with
>>     #the whatever, whenever.
>>
>>
>>
>> Where did the '#' characters come from, and how do I turn them off?
>>
>> Dave
>
>
>
> Hmm, it has something to do with turning on 'auto-fill-mode'.  If
> auto-fill-mode is off, I don't see these.
>
> I'll have to dig in to this, because I _like_ auto-fill-mode, but I 
> _don't_
> like the '#'.
>
> Dave
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>

--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477

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

* Re: a '#' at the beginning of my text lines.
  2007-01-09 22:03   ` Carsten Dominik
@ 2007-01-10 16:22     ` J. David Boyd
  0 siblings, 0 replies; 5+ messages in thread
From: J. David Boyd @ 2007-01-10 16:22 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik <dominik@science.uva.nl> writes:

> This was already described earlier today.
>
> For the time being,
>
>   (add-hook 'org-mode-hook (lambda () (setq comment-start nil)))
>
> should fix this, the next version will have this fixed.
>
> - Carsten
>
> On Jan 9, 2007, at 21:42, J. David Boyd wrote:
>
>> david@adboyd.com (J. David Boyd) writes:
>>
>>> I like to put notes in my TODO items, like
>>>
>>> *** TODO yadda yadda yadda
>>>     [CLOCK thing]
>>>
>>>     The purpose of this note is to
>>>     figure out what I should do with
>>>     the whatever, whenever.
>>>
>>>
>>> However, now I am getting:
>>>
>>> *** TODO yadda yadda yadda
>>>     [CLOCK thing]
>>>
>>>     The purpose of this note is to
>>>     #figure out what I should do with
>>>     #the whatever, whenever.
>>>
>>>
>>>
>>> Where did the '#' characters come from, and how do I turn them off?
>>>
>>> Dave
>>
>>
>>
>> Hmm, it has something to do with turning on 'auto-fill-mode'.  If
>> auto-fill-mode is off, I don't see these.
>>
>> I'll have to dig in to this, because I _like_ auto-fill-mode, but I
>> _don't_
>> like the '#'.
>>
>> Dave


Yes, that works perfectly, thank you!

Dave

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

end of thread, other threads:[~2007-01-10 16:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-09 18:38 a '#' at the beginning of my text lines J. David Boyd
2007-01-09 20:42 ` J. David Boyd
2007-01-09 21:43   ` Kai Großjohann
2007-01-09 22:03   ` Carsten Dominik
2007-01-10 16:22     ` J. David Boyd

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).