From: Martin Pohlack <mp26@os.inf.tu-dresden.de>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: "Not on a heading" seen on indenting headlines with an indented list as content [6.34]
Date: Mon, 11 Jan 2010 12:25:46 +0100 [thread overview]
Message-ID: <4B4B0ABA.2000901@os.inf.tu-dresden.de> (raw)
In-Reply-To: <E3B28939-A5C5-4FA4-8D4D-2CA3652A690D@gmail.com>
Hi Carsten and Matthew,
I think the problem is related to mrd-org-smartwrap-mode, but I cannot
further pinpoint it.
Here is a small startup file for reproducing (init.mrd.el):
---------->8---------->8---------->8---------->8---------->8----------
; path to current org-mode here
(add-to-list 'load-path "~/.emacs.d/lisp/")
(add-to-list 'load-path "~/.emacs.d/lisp/org-mode/")
(require 'org)
(require 'org-docbook)
(require 'mrd-org-smartwrap)
(add-hook 'org-mode-hook 'mrd-org-smartwrap-mode)
---------->8---------->8---------->8---------->8---------->8----------
Example file that triggers the bug (test.org):
---------->8---------->8---------->8---------->8---------->8----------
* test für list childs
*
---------->8---------->8---------->8---------->8---------->8----------
emacs -q --no-site-file -l init.mrd.el test.org
Cheers,
Martin
Carsten Dominik wrote:
> Hi Martin,
>
> I am unable to reproduce this.
>
> Could you please try to create a minimal setup with a minimum
> configuration?
>
> Thanks.
>
> - Carsten
>
> On Jan 11, 2010, at 10:16 AM, Martin Pohlack wrote:
>
>> Remember to cover the basics, that is, what you expected to happen and
>> what in fact did happen. You don't know how to make a good report?
>> See
>>
>> http://orgmode.org/manual/Feedback.html#Feedback
>>
>> Your bug report will be posted to the Org-mode mailing list.
>> ------------------------------------------------------------------------
>>
>> When indenting headlines via org-demote-subtree etc. the following
>> error is shown: Not on a heading.
>>
>> The headline itself is indented, but not its content.
>>
>> The following example file triggers the bug here:
>>
>> ---------->8---------->8---------->8---------->8---------->8----------
>> *** daksd lksa ndlksa
>> *
>> ---------->8---------->8---------->8---------->8---------->8----------
>>
>> After indentation the the buffer has the following content:
>> ---------->8---------->8---------->8---------->8---------->8----------
>> ***** daksd lksa ndlksa
>> *
>> ---------->8---------->8---------->8---------->8---------->8----------
>>
>> I would have expected the following:
>> ---------->8---------->8---------->8---------->8---------->8----------
>> ***** daksd lksa ndlksa
>> *
>> ---------->8---------->8---------->8---------->8---------->8----------
>>
>> This happens with the current git version (from 2010-01-11 10:00 MET).
>>
>>
>> Emacs : GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.14.7)
>> of 2009-09-17 on monat400
>> Package: Org-mode version 6.34
>>
>> current state:
>> ==============
>> (setq
>> org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-
>> vars)
>> org-link-frame-setup '((vm . vm-visit-folder-other-frame)
>> (gnus . gnus-other-frame) (file . find-file))
>> org-special-ctrl-a/e 'reversed
>> org-agenda-show-inherited-tags nil
>> org-hide-leading-stars t
>> org-disputed-keys '(([(meta left)] . [(meta shift left)])
>> ([(meta right)] . [(meta shift right)]))
>> org-agenda-skip-timestamp-if-done t
>> org-after-todo-state-change-hook '(org-clock-out-if-current)
>> org-archive-location "::* Archiv"
>> org-odd-levels-only t
>> org-special-ctrl-k t
>> org-agenda-restore-windows-after-quit t
>> org-deadline-warning-days 7
>> org-export-latex-format-toc-function 'org-export-latex-format-toc-
>> default
>> org-agenda-skip-scheduled-if-done t
>> org-stuck-projects '("+LEVEL>=2&-maybe/+PROJECT"
>> ("TODO" "NEXT" "INBOX" "WAITING" "TICKLER") nil
>> "")
>> org-export-preprocess-hook '(org-export-blocks-preprocess)
>> org-tab-first-hook '(org-hide-block-toggle-maybe)
>> org-src-mode-hook '(org-src-mode-configure-edit-buffer)
>> org-confirm-shell-link-function 'yes-or-no-p
>> org-export-first-hook '(org-beamer-initialize-open-trackers)
>> org-todo-keywords '((sequence "TODO(t)" "INBOX(i)" "|" "WAITING(w!)"
>> "MAYBE(m)" "TICKLER(k)" "DONE(d!)" "CANCELED(c!)"
>> "PROJECT(p)" "BLOCKED(b)" "CONTAINER(o)")
>> )
>> org-agenda-before-write-hook '(org-agenda-add-entry-text)
>> org-n-level-faces 1
>> org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-
>> drawers
>> org-cycle-show-empty-lines
>> org-optimize-window-after-visibility-change)
>> org-export-preprocess-before-normalizing-links-hook '(org-remove-
>> file-link-modifiers)
>> org-agenda-window-frame-fractions '(0.25 . 0.5)
>> org-replace-disputed-keys t
>> org-agenda-mouse-1-follows-link t
>> org-mode-hook '(mrd-org-smartwrap-mode visual-line-mode
>> (lambda nil (local-set-key "\x03l" (quote org-store-
>> link))
>> (local-set-key "\x03a" (quote org-agenda))
>> (local-set-key "\x03b" (quote org-iswitchb))
>> (local-set-key (quote [(control up)])
>> (quote outline-previous-visible-heading))
>> (local-set-key (quote [(control down)])
>> (quote outline-next-visible-heading))
>> (local-set-key (quote [(control meta left)])
>> (quote outline-up-heading))
>> (local-set-key (quote [(control meta right)])
>> (quote org-cycle))
>> (make-local-variable (quote filladapt-token-table))
>> (set (quote filladapt-token-table)
>> (quote
>> (("^" beginning-of-line) (">+" citation->)
>> ("\\(\\w\\|[0-9]\\)[^'`\"< \n]*>[ ]*"
>> supercite-citation)
>> (";+" lisp-comment) ("# ABC" sh-comment)
>> ("%+" postscript-comment) ("///*" c++-comment)
>> ("@c[ ]" texinfo-comment)
>> ("@comment[ ]" texinfo-comment)
>> ("\\\\item[ ]" bullet)
>> ("[0-9]+\\.[ ]" bullet)
>> ("[0-9]+\\(\\.[0-9]+\\)+[ ]" bullet)
>> ("[A-Za-z]\\.[ ]" bullet)
>> ("(?[0-9]+)[ ]" bullet)
>> ("(?[A-Za-z])[ ]" bullet)
>> ("[0-9]+[A-Za-z]\\.[ ]" bullet)
>> ("(?[0-9]+[A-Za-z])[ ]" bullet)
>> ("[-~+#→]+[ ]" bullet) ("[ ]+[*][ ]" bullet)
>> ("o[ ]" bullet) ("[ ]+" space) ("$" end-of-line)
>> ("[@\\]\\(param\\(?:\\s-*\\[\\(?:in\\|out\\|
>> in,out\\)\\]\\)?\\s-+\\sw+\\|return\\)" bullet)
>> )
>> )
>> )
>> )
>> (lambda nil
>> (org-add-hook (quote change-major-mode-hook)
>> (quote org-show-block-all) (quote append) (quote
>> local))
>> )
>> turn-on-auto-fill)
>> (nil :maxlevel . 5))
>> org-confirm-elisp-link-function 'yes-or-no-p
>> org-refile-use-outline-path t
>> org-agenda-start-on-weekday nil
>> org-agenda-skip-deadline-if-done t
>> org-occur-hook '(org-first-headline-recenter)
>> org-from-is-user-regexp nil
>> org-export-preprocess-before-selecting-backend-code-hook '(org-
>> beamer-select-beamer-code)
>> org-time-stamp-custom-formats '("<%Y-%m-%d>" . "<%Y-%m-%d %H:%M>")
>> org-modules '(org-bbdb org-bibtex org-gnus org-id org-info org-
>> jsinfo org-irc
>> org-mew org-mhe org-rmail org-vm org-wl org-w3m)
>> org-ellipsis "…"
>> org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-
>> toc
>> org-beamer-auto-fragile-frames
>> org-beamer-place-default-actions-for-
>> lists)
>> )
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Please use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
> - Carsten
prev parent reply other threads:[~2010-01-11 11:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-11 9:16 Bug: "Not on a heading" seen on indenting headlines with an indented list as content [6.34] Martin Pohlack
2010-01-11 9:29 ` Carsten Dominik
2010-01-11 11:25 ` Martin Pohlack [this message]
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=4B4B0ABA.2000901@os.inf.tu-dresden.de \
--to=mp26@os.inf.tu-dresden.de \
--cc=carsten.dominik@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).