From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: bug#35122: 27.0.50; item nubmers are not maintained when shifting items in org plain lists Date: Sun, 05 May 2019 11:34:34 +0200 Message-ID: <87a7g1fdn9.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:38074) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNDXz-0004yk-4l for emacs-orgmode@gnu.org; Sun, 05 May 2019 05:35:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hNDXy-00085B-B0 for emacs-orgmode@gnu.org; Sun, 05 May 2019 05:35:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39432) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hNDXy-00084l-7y for emacs-orgmode@gnu.org; Sun, 05 May 2019 05:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hNDXx-0002cu-Vf for emacs-orgmode@gnu.org; Sun, 05 May 2019 05:35:02 -0400 Sender: "Debbugs-submit" Resent-To: emacs-orgmode@gnu.org Resent-Message-ID: In-Reply-To: (Li Feng's message of "Wed, 3 Apr 2019 18:50:53 +1100") 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" To: Li Feng Cc: 35122-done@debbugs.gnu.org Hello, Li Feng writes: > 0. clean start emacs with "emacs -q" > 1. create an org-mode file > 2. enter a few plain list items > 3. use M-S-up/down to move them > 4. observe that the numbers are wrong This is expected. M-S-up/down moves lines around /without taking context into consideration/. Note that you can fix again the numbers with `C-c C-c'. In any case, if you want to adjust structure of the list, use dedicated commands, like M-up and M-down, as for headlines. I'm closing this bug. Feel free to re-open it if you disagree. Regards, -- Nicolas Goaziou