emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nathan Aclander <nathan.aclander@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Bug: shiftmeta[left|right] on multi line items [9.1.2 (release_9.1.2-40-g6ca906 @ /usr/local/share/emacs/27.0.50/lisp/org/)]
Date: Tue, 21 Nov 2017 21:00:33 -0800	[thread overview]
Message-ID: <87a7zezz4e.fsf@gmail.com> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


When using lists in org like the following:

- - Item 1
  - Sub-item 1
  - Sub-item 1
- - Item 2
- - Item 3

I can shift them left and right using ~org-shiftmetaright~ or
~org-shiftmetaleft~.

This also works on the following list:

- - Item 1
  - This is a very long sub-item that is definitely going to be longer
    than 80 characters.
  - Sub-item 2
- - Item 2
- - Item 3

When my cursor is on the second line ( the line that begins with "This
is a very..." I can move the sub-item left and right as expected.

When my cursor is on the third line ( the line that begins with "than
80..." I get a message saying:

"user-error: This command is active in special context like tables,
headlines or items"

Because this *does* work when my cursor is on the above line, I know org
knows how to handle multi line items. Therefore I think it's a bug that
org doesn't recognize the cursor being inside a list when it is on the second
line of a multi item list.

Hopefully I've explained myself clearly, this is my first time
submitting an org bug report. Thanks for the continuing effort going in
to org. 

Please CC me in responses as I'm not subscribed to this list.

Nathan

Emacs  : GNU Emacs 27.0.50 (build 7, x86_64-pc-linux-gnu, GTK+ Version 3.22.26)
 of 2017-11-20
Package: Org mode version 9.1.2 (release_9.1.2-40-g6ca906 @ /usr/local/share/emacs/27.0.50/lisp/org/)

current state:
==============
(setq
 org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer)
 org-fontify-whole-heading-line t
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 org-agenda-files '("/home/current_user/.emacs.d/org-gcal-calanders/schedule.org")
 org-startup-folded nil
 org-mode-hook '(highlight-sexp-mode (closure (t) nil (org-bullets-mode 1))
                 #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-block-all append local] 5]
                 #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-babel-show-result-all append local] 5]
                 org-babel-result-hide-spec org-babel-hide-all-hashes turn-on-flyspell)
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 "\n\n(fn ENTRY)"]
 org-babel-pre-tangle-hook '(save-buffer)
 org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand)
 org-fontify-quote-and-verse-blocks t
 org-fontify-done-headline t
 org-occur-hook '(org-first-headline-recenter)
 org-structure-template-alist '(("e" "#+BEGIN_SRC emacs-lisp \n?\n#+END_SRC") ("s" "#+BEGIN_SRC ?\n\n#+END_SRC")
                                ("e" "#+BEGIN_EXAMPLE\n?\n#+END_EXAMPLE") ("q" "#+BEGIN_QUOTE\n?\n#+END_QUOTE")
                                ("v" "#+BEGIN_VERSE\n?\n#+END_VERSE") ("V" "#+BEGIN_VERBATIM\n?\n#+END_VERBATIM")
                                ("c" "#+BEGIN_CENTER\n?\n#+END_CENTER") ("C" "#+BEGIN_COMMENT\n?\n#+END_COMMENT")
                                ("l" "#+BEGIN_EXPORT latex\n?\n#+END_EXPORT") ("L" "#+LaTeX: ")
                                ("h" "#+BEGIN_EXPORT html\n?\n#+END_EXPORT") ("H" "#+HTML: ")
                                ("a" "#+BEGIN_EXPORT ascii\n?\n#+END_EXPORT") ("A" "#+ASCII: ") ("i" "#+INDEX: ?")
                                ("I" "#+INCLUDE: %file ?"))
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines
                  org-optimize-window-after-visibility-change)
 org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate)
 org-return-follows-link t
 org-open-non-existing-files t
 org-confirm-shell-link-function 'yes-or-no-p
 org-link-parameters '(("id" :follow org-id-open) ("rmail" :follow org-rmail-open :store org-rmail-store-link)
                       ("mhe" :follow org-mhe-open :store org-mhe-store-link) ("irc" :follow org-irc-visit :store org-irc-store-link)
                       ("info" :follow org-info-open :export org-info-export :store org-info-store-link)
                       ("gnus" :follow org-gnus-open :store org-gnus-store-link)
                       ("docview" :follow org-docview-open :export org-docview-export :store org-docview-store-link)
                       ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link)
                       ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org-bbdb-complete-link :store
                        org-bbdb-store-link)
                       ("w3m" :store org-w3m-store-link) ("file+sys") ("file+emacs") ("doi" :follow org--open-doi-link)
                       ("elisp" :follow org--open-elisp-link) ("file" :complete org-file-complete-link)
                       ("ftp" :follow (lambda (path) (browse-url (concat "ftp:" path)))) ("help" :follow org--open-help-link)
                       ("http" :follow (lambda (path) (browse-url (concat "http:" path))))
                       ("https" :follow (lambda (path) (browse-url (concat "https:" path))))
                       ("mailto" :follow (lambda (path) (browse-url (concat "mailto:" path))))
                       ("news" :follow (lambda (path) (browse-url (concat "news:" path)))) ("shell" :follow org--open-shell-link))
 org-latex-packages-alist '(("" "minted"))
 org-link-frame-setup '((file . find-file))
 )
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEGeJXVkBwWe7PtHGAT+2Q9qPVLSQFAloVBHEACgkQT+2Q9qPV
LSTrdRAA7fdsLZiK70GnN1IJ4ebtkLgF+yh2RbkwXEWa1nAjAxFNyEHDPYdXyKc8
JHlfLWTlkmapR2msWKgX1HetjA5+LRnMnLu7+P+tNdjL37kEJJ3fEKuJF6S02cre
GC9zaNYpdAJohovr7zLu169RpdqZnWWw8vxMf7IKlR8j+aMFwefOgiqdLxOyw9Iw
4S5Wn3dmJOgk4lY78/Bw6rj2Spi+kdNmsWMdiYSDWghz/xL/+23Z/TfmpaokisMo
yNAE3D2i7iHJ7NND50P57BKU+MfOO6fNvyQSX2yAy0O82ANIdy1P3BDP75bSnDSb
dV0KSMpWf6X+whkQ6tl4yoUlTSLyh5r3Fspc2gFtsGlPReTaWrtAnk2+UB+/Q5/X
q319WshT2tmg0I26KVIF4IFPtVa0W2GtJftPPTD+BX8E44MbYHk6coEoqIWQiq4i
W4ogGx7/V0zf4UqVBz9pSB+gPNq4QqFsIhNOZ46hIaKcsDOuEccQbvyGSNofLggG
lUivxD8H0qk+PrITIFQKqMUDD3FF5z97bksqbaUih3E636AY9qKj57JE2LqC0Ie6
c2JhOaHKz++OZem4OSKueuvCOQ1kIaGXP0o9cFtB+JPq/qczpS26bBwdlPVVWG37
nlkFQp59/qoJJzFDcPeTuFmxYZwuI/SYzdPqFAoKiMQ9cNxmKEI=
=fxE8
-----END PGP SIGNATURE-----

             reply	other threads:[~2017-11-22  5:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-22  5:00 Nathan Aclander [this message]
2017-12-01 17:28 ` Bug: shiftmeta[left|right] on multi line items [9.1.2 (release_9.1.2-40-g6ca906 @ /usr/local/share/emacs/27.0.50/lisp/org/)] Nicolas Goaziou
2017-12-10  0:41   ` Nathan Aclander
2017-12-10  1:04     ` Allen Li
2017-12-10  5:25       ` Nathan Aclander
2017-12-10 16:01         ` Nicolas Goaziou
2017-12-10 19:33           ` Nathan Aclander
2017-12-22 18:37             ` Nicolas Goaziou

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=87a7zezz4e.fsf@gmail.com \
    --to=nathan.aclander@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).