emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Guido Van Hoecke <guivho@gmail.com>
To: emacs-orgmode@gnu.org
Subject: org mode alignment problem
Date: Sun, 23 Mar 2014 16:22:36 +0100	[thread overview]
Message-ID: <m2vbv53poj.fsf@gmail.com> (raw)

Hi,

Emacs org mode aligns strangely and I wonder whether that could be due
to my setup.

Using a small 5 line input file:

* 1
** capello [ka-PEL-lo]
** cappello [kap-PEL-lo]
** bello [BEL-lo]
** caffè [kaf-FÈ]

I have org-hide-leading-stars set to t so leading stars are displayed
as spaces. I'll use _ to show them hereafter for clarity.

Initially the file shows as expected:

* 1
_* capello [ka-PEL-lo]
_* cappello [kap-PEL-lo]
_* bello [BEL-lo]
_* caffè [kaf-FÈ]

My cursor sits below the last line in the file.

When I put the cusor behind the last character of the last line, the
displayed portion of this line moves one position to the left and the
buffer displays as:

* 1
_* capello [ka-PEL-lo]
_* cappello [kap-PEL-lo]
_* bello [BEL-lo]
* caffè [kaf-FÈ]

When I hit the up arrow, it looks like this:
* 1
_* capello [ka-PEL-lo]
_* cappello [kap-PEL-lo]
* bello [BEL-lo]
_* caffè [kaf-FÈ]

I now hit the down arrow twice, and this is how it looks now:
* 1
_* capello [ka-PEL-lo]
_* cappello [kap-PEL-lo]
* bello [BEL-lo]
* caffè [kaf-FÈ]

Hitting one more down arrow, it reverts to the orignal expected display:
* 1
_* capello [ka-PEL-lo]
_* cappello [kap-PEL-lo]
_* bello [BEL-lo]
_* caffè [kaf-FÈ]

If this works as expected, I would at least like to understand this
behaviour.

But I'm pretty sure this is not normal, so any help or suggestion
would be usefull.

I am using 

Org-mode version 8.2.5h 
(release_8.2.5h-830-gb3a10b @ /Users/guivho/.emacs.d/org-mode/lisp/)

GNU Emacs 24.3.1
(x86_64-apple-darwin, NS apple-appkit-1187.37) of 2013-05-18.

TIA,


Guido

--
The Following Subsume All Physical and Human Laws:

	1. You can't push on a string.
	2. Ain't no free lunches.
	3. Them as has, gets.
	4. You can't win them all, but you sure as hell can lose them all.

             reply	other threads:[~2014-03-23 15:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-23 15:22 Guido Van Hoecke [this message]
2014-03-23 17:59 ` org mode alignment problem Bastien
2014-03-23 19:20   ` Guido Van Hoecke
2014-03-23 20:23     ` Guido Van Hoecke
2014-03-23 20:48     ` Bastien
2014-03-23 21:51       ` Guido Van Hoecke
2014-03-24 20:53         ` Guido Van Hoecke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2vbv53poj.fsf@gmail.com \
    --to=guivho@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).