From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pieter Praet Subject: Re: Headlines and visual-line-mode Date: Fri, 13 May 2011 16:59:45 +0200 Message-ID: <87sjsid4ta.fsf@praet.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:33707) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QKtqJ-0004DA-Fz for emacs-orgmode@gnu.org; Fri, 13 May 2011 10:59:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QKtqI-0005ME-Ed for emacs-orgmode@gnu.org; Fri, 13 May 2011 10:59:51 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:59221) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QKtqI-0005MA-AU for emacs-orgmode@gnu.org; Fri, 13 May 2011 10:59:50 -0400 Received: by wwb39 with SMTP id 39so2453116wwb.30 for ; Fri, 13 May 2011 07:59:49 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Ethan , emacs-orgmode On Thu, 12 May 2011 03:58:07 -0400, Ethan 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