all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* M-q fill-paragraph and timestamps
@ 2013-03-11 16:35 Russell Adams
  2013-03-11 17:17 ` Samuel Wales
  2013-03-12 13:17 ` Bastien
  0 siblings, 2 replies; 6+ messages in thread
From: Russell Adams @ 2013-03-11 16:35 UTC (permalink / raw)
  To: emacs-orgmode

Minor question, I frequently use inactive timestamps in org, and
noticed that M-q (fill-paragraph) will often combine my timestamp in
with the text I'm writing.

Is there a method to prevent that?

ie:

[2013-03-11 Mon 11:33]
This is a typical note.

[2013-03-11 Mon 11:33]
I did it again, but now I'm wrapping and it considers the timestamp as
text to be filled instead of excluded and kept on it's own line.

(apply M-q)

[2013-03-11 Mon 11:33] I did it again, but now I'm wrapping and it
considers the timestamp as text to be filled instead of excluded and
kept on it's own line.

Thanks.



------------------------------------------------------------------
Russell Adams                            RLAdams@AdamsInfoServ.com

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

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

* Re: M-q fill-paragraph and timestamps
  2013-03-11 16:35 M-q fill-paragraph and timestamps Russell Adams
@ 2013-03-11 17:17 ` Samuel Wales
  2013-03-11 18:52   ` Russell Adams
  2013-03-12 13:17 ` Bastien
  1 sibling, 1 reply; 6+ messages in thread
From: Samuel Wales @ 2013-03-11 17:17 UTC (permalink / raw)
  To: emacs-orgmode

On 3/11/13, Russell Adams <RLAdams@adamsinfoserv.com> wrote:
> Minor question, I frequently use inactive timestamps in org, and
> noticed that M-q (fill-paragraph) will often combine my timestamp in
> with the text I'm writing.
>
> Is there a method to prevent that?

[ts] \\
par

Samuel

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress.  MANY people have died from it.  ANYBODY
can get it.  It attacks MANY body systems.  There is NO hope without
action.  This means YOU.

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

* Re: M-q fill-paragraph and timestamps
  2013-03-11 17:17 ` Samuel Wales
@ 2013-03-11 18:52   ` Russell Adams
  2013-03-11 19:26     ` Samuel Wales
  0 siblings, 1 reply; 6+ messages in thread
From: Russell Adams @ 2013-03-11 18:52 UTC (permalink / raw)
  To: emacs-orgmode

On Mon, Mar 11, 2013 at 10:17:57AM -0700, Samuel Wales wrote:
> On 3/11/13, Russell Adams <RLAdams@adamsinfoserv.com> wrote:
> > Minor question, I frequently use inactive timestamps in org, and
> > noticed that M-q (fill-paragraph) will often combine my timestamp in
> > with the text I'm writing.
> >
> > Is there a method to prevent that?
>
> [ts] \\
> par

Adding double \'s didn't work for me.

Any other ideas?

------------------------------------------------------------------
Russell Adams                            RLAdams@AdamsInfoServ.com

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

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

* Re: M-q fill-paragraph and timestamps
  2013-03-11 18:52   ` Russell Adams
@ 2013-03-11 19:26     ` Samuel Wales
  2013-03-11 19:30       ` Russell Adams
  0 siblings, 1 reply; 6+ messages in thread
From: Samuel Wales @ 2013-03-11 19:26 UTC (permalink / raw)
  To: emacs-orgmode

On 3/11/13, Russell Adams <RLAdams@adamsinfoserv.com> wrote:
>> [ts] \\
>> par
>
> Adding double \'s didn't work for me.

No other ideas.  It works in Emacs 24.2 with git master; did you try
point in par?

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress.  MANY people have died from it.  ANYBODY
can get it.  It attacks MANY body systems.  There is NO hope without
action.  This means YOU.

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

* Re: M-q fill-paragraph and timestamps
  2013-03-11 19:26     ` Samuel Wales
@ 2013-03-11 19:30       ` Russell Adams
  0 siblings, 0 replies; 6+ messages in thread
From: Russell Adams @ 2013-03-11 19:30 UTC (permalink / raw)
  To: emacs-orgmode

> No other ideas.  It works in Emacs 24.2 with git master; did you try
> point in par?

I'm on 23.3, I wonder if fill-paragraph changed.

Thanks.

------------------------------------------------------------------
Russell Adams                            RLAdams@AdamsInfoServ.com

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

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

* Re: M-q fill-paragraph and timestamps
  2013-03-11 16:35 M-q fill-paragraph and timestamps Russell Adams
  2013-03-11 17:17 ` Samuel Wales
@ 2013-03-12 13:17 ` Bastien
  1 sibling, 0 replies; 6+ messages in thread
From: Bastien @ 2013-03-12 13:17 UTC (permalink / raw)
  To: Russell Adams; +Cc: emacs-orgmode

Hi Russell,

Russell Adams <RLAdams@AdamsInfoServ.Com> writes:

> Minor question, I frequently use inactive timestamps in org, and
> noticed that M-q (fill-paragraph) will often combine my timestamp in
> with the text I'm writing.
>
> Is there a method to prevent that?

Not unless you use a workaround/hack.  "Floating" timestamps are part
of paragraphs, so M-q does the right thing here.  IOW, you need want
to separate the time-stamp and the paragraph with a blank line.

HTH,

-- 
 Bastien

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

end of thread, other threads:[~2013-03-12 13:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-11 16:35 M-q fill-paragraph and timestamps Russell Adams
2013-03-11 17:17 ` Samuel Wales
2013-03-11 18:52   ` Russell Adams
2013-03-11 19:26     ` Samuel Wales
2013-03-11 19:30       ` Russell Adams
2013-03-12 13:17 ` Bastien

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.