From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konstantin Kliakhandler Subject: org-do-**mote does not work properly on empty headings Date: Wed, 2 Sep 2015 18:55:27 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e013a177ad0e2ee051ecc6747 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56684) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXHse-0003y7-NN for emacs-orgmode@gnu.org; Wed, 02 Sep 2015 19:55:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXHsb-0005qA-HZ for emacs-orgmode@gnu.org; Wed, 02 Sep 2015 19:55:52 -0400 Received: from mail-ig0-f170.google.com ([209.85.213.170]:35562) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXHsb-0005pm-Dz for emacs-orgmode@gnu.org; Wed, 02 Sep 2015 19:55:49 -0400 Received: by igbkq10 with SMTP id kq10so37330521igb.0 for ; Wed, 02 Sep 2015 16:55:47 -0700 (PDT) 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: emacs-orgmode@gnu.org --089e013a177ad0e2ee051ecc6747 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, When I start a new heading and don't add text yet but click M-right/M-left, new spaces are tacked to the end so that when I do begin to write, sometimes there are too many spaces at the front. I tracked this down to org-do-demote/promote, since calling org-promote and org-demote does not appear to suffer from this. I will investigate further and report. Versions: Org-mode version 8.3.1 (8.3.1-95-g1dbb25-elpa @ /Users/kosta/.emacs.d/elpa/org-20150831/) GNU Emacs 24.5.1 (x86_64-apple-darwin14.3.0, Carbon Version 157 AppKit 1347.57) of 2015-06-01 on Singularity-2.local Steps to reproduce: 1. Make a heading with some text underneath 2. M-Return to create a new heading 3. M-Right, M-Left would get you to the same heading level, but the cursor would be further to the right than started with. --=20 Konstantin Kliakhandler http://slumpy.org )=C2=B0) )=C2=B0( (=C2=B0( --089e013a177ad0e2ee051ecc6747 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,

When I start a new heading and d= on't add text yet but click M-right/M-left, new spaces are tacked to th= e end so that when I do begin to write, sometimes there are too many spaces= at the front.

I tracked this down to org-do-demot= e/promote, since calling org-promote and org-demote does not appear to suff= er from this. I will investigate further and report.

Versions:
Org-mode version 8.3.1 (8.3.1-95-g1dbb25-elpa @ /Use= rs/kosta/.emacs.d/elpa/org-20150831/)
GNU Emacs 24.5.1 (x86_64-apple-darwin14.3.= 0, Carbon Version 157 AppKit 1347.57) of 2015-06-01 on Singularity-2.local<= br>

Steps to reproduce:
1. M= ake a heading with some text underneath
2. M-Return to create a n= ew heading
3. M-Right, M-Left would get you to the same heading l= evel, but the cursor would be further to the right than started with.
=

--=C2=A0
Konstantin Kliakhandler
=C2= =A0 =C2=A0 http://slumpy.or= g
=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0 )=C2=B0) )=C2=B0( (=C2=B0(=
--089e013a177ad0e2ee051ecc6747--