emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Headlines and visual-line-mode
@ 2011-05-12  7:58 Ethan
  2011-05-13 14:59 ` Pieter Praet
  2011-05-13 16:05 ` Michael Brand
  0 siblings, 2 replies; 5+ messages in thread
From: Ethan @ 2011-05-12  7:58 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 781 bytes --]

[Please CC me!]

Hi,

I have a text-mode-hook that turns on visual-line-mode, which means it's on
in all org files.  Generally I like visual-line-mode and would like it to be
on in my org-mode buffers, but I'm seeing a bug involving the wrapping of
headlines.  Specifically, because tags are placed at the right side of the
frame, and because collapsed headlines are followed by "...", the tags at
the end of the headline are wrapped, even if the headline is short.  So
instead of:

* Music
:music:...

I see

* Music
:music:...

Do other people encounter this problem?  The only information I could find
about org and visual-line-mode was about "clean mode", which I'm not using.

I'm using emacs 23.2.1 and Org-mode version 7.5 (release_7.5.204.g7327b)
from git.

Thanks!

Ethan

[-- Attachment #2: Type: text/html, Size: 1012 bytes --]

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

* Re: Headlines and visual-line-mode
  2011-05-12  7:58 Headlines and visual-line-mode Ethan
@ 2011-05-13 14:59 ` Pieter Praet
  2011-05-13 16:05 ` Michael Brand
  1 sibling, 0 replies; 5+ messages in thread
From: Pieter Praet @ 2011-05-13 14:59 UTC (permalink / raw)
  To: Ethan, emacs-orgmode

On Thu, 12 May 2011 03:58:07 -0400, Ethan <ethan.glasser.camp@gmail.com> wrote:
> [Please CC me!]
> 
> Hi,
> 
> I have a text-mode-hook that turns on visual-line-mode, which means it's on
> in all org files.  Generally I like visual-line-mode and would like it to be
> on in my org-mode buffers, but I'm seeing a bug involving the wrapping of
> headlines.  Specifically, because tags are placed at the right side of the
> frame, and because collapsed headlines are followed by "...", the tags at
> the end of the headline are wrapped, even if the headline is short.  So
> instead of:
> 
> * Music
> :music:...
> 
> I see
> 
> * Music
> :music:...
> 
> Do other people encounter this problem?  The only information I could find
> about org and visual-line-mode was about "clean mode", which I'm not using.

Have you looked at the actual function docstring?

(describe-function 'visual-line-mode)
  Redefine simple editing commands to act on visual lines, not logical lines.
  This also turns on `word-wrap' in the buffer.

Specifically that line about word-wrap should ring a bell.

> I'm using emacs 23.2.1 and Org-mode version 7.5 (release_7.5.204.g7327b)
> from git.
> 
> Thanks!
> 
> Ethan
Non-text part: text/html

Peace

-- 
Pieter

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

* Re: Headlines and visual-line-mode
  2011-05-12  7:58 Headlines and visual-line-mode Ethan
  2011-05-13 14:59 ` Pieter Praet
@ 2011-05-13 16:05 ` Michael Brand
  2011-05-14 14:40   ` Ethan
  1 sibling, 1 reply; 5+ messages in thread
From: Michael Brand @ 2011-05-13 16:05 UTC (permalink / raw)
  To: Ethan; +Cc: emacs-orgmode

Hi Ethan

Does the variable org-tags-column help? I set it to 0 to align the
tags left, just after the headline. (Changing this variable will
affect only tags touched afterwards.)

Michael

On Thu, May 12, 2011 at 09:58, Ethan <ethan.glasser.camp@gmail.com> wrote:
> I have a text-mode-hook that turns on visual-line-mode, which means it's on
> in all org files.  Generally I like visual-line-mode and would like it to be
> on in my org-mode buffers, but I'm seeing a bug involving the wrapping of
> headlines.  Specifically, because tags are placed at the right side of the
> frame, and because collapsed headlines are followed by "...", the tags at
> the end of the headline are wrapped, even if the headline is short.  So
> instead of:
>
> * Music
> :music:...
>
> I see
>
> * Music
> :music:...
>
> Do other people encounter this problem?  The only information I could find
> about org and visual-line-mode was about "clean mode", which I'm not using.
>
> I'm using emacs 23.2.1 and Org-mode version 7.5 (release_7.5.204.g7327b)
> from git.

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

* Re: Headlines and visual-line-mode
  2011-05-13 16:05 ` Michael Brand
@ 2011-05-14 14:40   ` Ethan
  2011-05-15  6:49     ` Michael Brand
  0 siblings, 1 reply; 5+ messages in thread
From: Ethan @ 2011-05-14 14:40 UTC (permalink / raw)
  To: Michael Brand; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1438 bytes --]

Hi, I decreased org-tags-column by a little bit and now it doesn't wrap.
Thanks!  Is there a similar option for org clock displays (as generated by
C-c C-x C-d)?  I think that's the only other place where I get gratuitous
wrapping.

Ethan

On Fri, May 13, 2011 at 12:05 PM, Michael Brand
<michael.ch.brand@gmail.com>wrote:

> Hi Ethan
>
> Does the variable org-tags-column help? I set it to 0 to align the
> tags left, just after the headline. (Changing this variable will
> affect only tags touched afterwards.)
>
> Michael
>
> On Thu, May 12, 2011 at 09:58, Ethan <ethan.glasser.camp@gmail.com> wrote:
> > I have a text-mode-hook that turns on visual-line-mode, which means it's
> on
> > in all org files.  Generally I like visual-line-mode and would like it to
> be
> > on in my org-mode buffers, but I'm seeing a bug involving the wrapping of
> > headlines.  Specifically, because tags are placed at the right side of
> the
> > frame, and because collapsed headlines are followed by "...", the tags at
> > the end of the headline are wrapped, even if the headline is short.  So
> > instead of:
> >
> > * Music
> > :music:...
> >
> > I see
> >
> > * Music
> > :music:...
> >
> > Do other people encounter this problem?  The only information I could
> find
> > about org and visual-line-mode was about "clean mode", which I'm not
> using.
> >
> > I'm using emacs 23.2.1 and Org-mode version 7.5 (release_7.5.204.g7327b)
> > from git.
>

[-- Attachment #2: Type: text/html, Size: 2031 bytes --]

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

* Re: Headlines and visual-line-mode
  2011-05-14 14:40   ` Ethan
@ 2011-05-15  6:49     ` Michael Brand
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Brand @ 2011-05-15  6:49 UTC (permalink / raw)
  To: Ethan; +Cc: emacs-orgmode

Hi Ethan

For tags alignment in the agenda view there is also the variable
org-agenda-tags-column.

For the clock display C-c C-x C-d you ask for I can't find such an
option, except than directly decreasing (c 60) in
org-clock-put-overlay. To minimize line wrapping even more, both
(make-string (- 16 l) ?\ ) can be changed to "".

Michael

On Sat, May 14, 2011 at 16:40, Ethan <ethan.glasser.camp@gmail.com> wrote:
> Hi, I decreased org-tags-column by a little bit and now it doesn't wrap.
> Thanks!  Is there a similar option for org clock displays (as generated by
> C-c C-x C-d)?  I think that's the only other place where I get gratuitous
> wrapping.
>
> Ethan
>
> On Fri, May 13, 2011 at 12:05 PM, Michael Brand <michael.ch.brand@gmail.com>
> wrote:
>>
>> Hi Ethan
>>
>> Does the variable org-tags-column help? I set it to 0 to align the
>> tags left, just after the headline. (Changing this variable will
>> affect only tags touched afterwards.)
>>
>> Michael
>>
>> On Thu, May 12, 2011 at 09:58, Ethan <ethan.glasser.camp@gmail.com> wrote:
>> > I have a text-mode-hook that turns on visual-line-mode, which means it's
>> > on
>> > in all org files.  Generally I like visual-line-mode and would like it
>> > to be
>> > on in my org-mode buffers, but I'm seeing a bug involving the wrapping
>> > of
>> > headlines.  Specifically, because tags are placed at the right side of
>> > the
>> > frame, and because collapsed headlines are followed by "...", the tags
>> > at
>> > the end of the headline are wrapped, even if the headline is short.  So
>> > instead of:
>> >
>> > * Music
>> > :music:...
>> >
>> > I see
>> >
>> > * Music
>> > :music:...
>> >
>> > Do other people encounter this problem?  The only information I could
>> > find
>> > about org and visual-line-mode was about "clean mode", which I'm not
>> > using.
>> >
>> > I'm using emacs 23.2.1 and Org-mode version 7.5 (release_7.5.204.g7327b)
>> > from git.

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

end of thread, other threads:[~2011-05-15  6:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-12  7:58 Headlines and visual-line-mode Ethan
2011-05-13 14:59 ` Pieter Praet
2011-05-13 16:05 ` Michael Brand
2011-05-14 14:40   ` Ethan
2011-05-15  6:49     ` Michael Brand

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