emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: org-indent-mode cursor movement [7.8.03]
@ 2012-02-23  2:50 Andrew Stine
  2012-02-23  9:00 ` Nicolas Goaziou
  2012-06-13 20:53 ` N. Jackson
  0 siblings, 2 replies; 10+ messages in thread
From: Andrew Stine @ 2012-02-23  2:50 UTC (permalink / raw)
  To: emacs-orgmode

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 org-indent-mode is active, the cursor repeatedly jumps to the
bottom of the buffer. This makes using the buffer impossible while
org-indent-mode is active.

Emacs  : GNU Emacs 23.3.1 (i686-pc-linux-gnu, GTK+ Version 2.24.8)
 of 2012-01-05 on pidsley.hoetzel.info
Package: Org-mode version 7.8.03

current state:
==============
(setq
 org-log-done 'time
 org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
 org-speed-command-hook '(org-speed-command-default-hook
org-babel-speed-command-hook)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-export-latex-format-toc-function 'org-export-latex-format-toc-default
 org-tab-first-hook '(org-hide-block-toggle-maybe
org-src-native-tab-command-maybe
		      org-babel-hide-result-toggle-maybe)
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
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-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 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-mode-hook '(#[nil "\300\301\302\303\304$\207"
		   [org-add-hook change-major-mode-hook org-show-block-all append local] 5]
		 #[nil "\300\301\302\303\304$\207"
		   [org-add-hook change-major-mode-hook org-babel-show-result-all
append local] 5]
		 org-babel-result-hide-spec org-babel-hide-all-hashes
		 (lambda nil (visual-line-mode 1)) (lambda nil (flyspell-mode 1)))
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
org-babel-execute-safely-maybe)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-export-interblocks '((src org-babel-exp-non-block-elements))
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 org-occur-hook '(org-first-headline-recenter)
 org-export-preprocess-before-selecting-backend-code-hook
'(org-beamer-select-beamer-code)
 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)
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-export-blocks '((src org-babel-exp-src-block nil)
		     (export-comment org-export-blocks-format-comment t)
		     (ditaa org-export-blocks-format-ditaa nil)
		     (dot org-export-blocks-format-dot nil))
 )

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Bug: org-indent-mode cursor movement [7.8.03]
  2012-02-23  2:50 Bug: org-indent-mode cursor movement [7.8.03] Andrew Stine
@ 2012-02-23  9:00 ` Nicolas Goaziou
  2012-02-23  9:04   ` Nick Dokos
  2012-02-23 12:43   ` Andrew Stine
  2012-06-13 20:53 ` N. Jackson
  1 sibling, 2 replies; 10+ messages in thread
From: Nicolas Goaziou @ 2012-02-23  9:00 UTC (permalink / raw)
  To: Andrew Stine; +Cc: emacs-orgmode

Hello,

Andrew Stine <illuminati1113@gmail.com> writes:

> When org-indent-mode is active, the cursor repeatedly jumps to the
> bottom of the buffer. This makes using the buffer impossible while
> org-indent-mode is active.

I cannot reproduce it. Could you send me an example file where the
problem happens?


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Bug: org-indent-mode cursor movement [7.8.03]
  2012-02-23  9:00 ` Nicolas Goaziou
@ 2012-02-23  9:04   ` Nick Dokos
  2012-02-23 12:43   ` Andrew Stine
  1 sibling, 0 replies; 10+ messages in thread
From: Nick Dokos @ 2012-02-23  9:04 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: Andrew Stine, emacs-orgmode, nicholas.dokos

Nicolas Goaziou <n.goaziou@gmail.com> wrote:

> Hello,
> 
> Andrew Stine <illuminati1113@gmail.com> writes:
> 
> > When org-indent-mode is active, the cursor repeatedly jumps to the
> > bottom of the buffer. This makes using the buffer impossible while
> > org-indent-mode is active.
> 
> I cannot reproduce it. Could you send me an example file where the
> problem happens?
> 
> 

The OP should also probably check whether it happens with emacs -q.

Nick

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Bug: org-indent-mode cursor movement [7.8.03]
  2012-02-23  9:00 ` Nicolas Goaziou
  2012-02-23  9:04   ` Nick Dokos
@ 2012-02-23 12:43   ` Andrew Stine
  2012-02-23 14:44     ` Nick Dokos
  1 sibling, 1 reply; 10+ messages in thread
From: Andrew Stine @ 2012-02-23 12:43 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 751 bytes --]

I've tried "-q" and it works, but only because emacs reverts to default
version of org-mode. The version I am having trouble with is currently
installed through elpa.

As to example file, do you mean example org file? If so, I've had trouble
with every org file I've tried, even blank ones.

Regards,
- Andrew
On Feb 23, 2012 4:00 AM, "Nicolas Goaziou" <n.goaziou@gmail.com> wrote:

> Hello,
>
> Andrew Stine <illuminati1113@gmail.com> writes:
>
> > When org-indent-mode is active, the cursor repeatedly jumps to the
> > bottom of the buffer. This makes using the buffer impossible while
> > org-indent-mode is active.
>
> I cannot reproduce it. Could you send me an example file where the
> problem happens?
>
>
> Regards,
>
> --
> Nicolas Goaziou
>

[-- Attachment #2: Type: text/html, Size: 1141 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Bug: org-indent-mode cursor movement [7.8.03]
  2012-02-23 12:43   ` Andrew Stine
@ 2012-02-23 14:44     ` Nick Dokos
  2012-02-23 15:04       ` Andrew Stine
  0 siblings, 1 reply; 10+ messages in thread
From: Nick Dokos @ 2012-02-23 14:44 UTC (permalink / raw)
  To: Andrew Stine; +Cc: nicholas.dokos, emacs-orgmode

Andrew Stine <illuminati1113@gmail.com> wrote:

> I've tried "-q" and it works, but only because emacs reverts to default version of org-mode. The
> version I am having trouble with is currently installed through elpa.
> 

Then create a minimal .emacs file that will load the right version of org (but exclude
all your customizations) and start with

    emacs -q -l /path/to/minimal/.emacs


> As to example file, do you mean example org file? If so, I've had trouble with every org file I've
> tried, even blank ones.
> 

Unless other people are having trouble with this, I'd suspect a customization
of yours.

Nick

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Bug: org-indent-mode cursor movement [7.8.03]
  2012-02-23 14:44     ` Nick Dokos
@ 2012-02-23 15:04       ` Andrew Stine
  2012-02-23 17:36         ` Andrew Stine
  0 siblings, 1 reply; 10+ messages in thread
From: Andrew Stine @ 2012-02-23 15:04 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: emacs-orgmode

On Thu, Feb 23, 2012 at 9:44 AM, Nick Dokos <nicholas.dokos@hp.com> wrote:
> Andrew Stine <illuminati1113@gmail.com> wrote:
>
>> I've tried "-q" and it works, but only because emacs reverts to default version of org-mode. The
>> version I am having trouble with is currently installed through elpa.
>>
>
> Then create a minimal .emacs file that will load the right version of org (but exclude
> all your customizations) and start with
>
>    emacs -q -l /path/to/minimal/.emacs

I've already done so. For reference, the code in that file is:

    (when
        (load
         (expand-file-name "~/.emacs.d/elpa/package.el"))
        (package-initialize))

I've been able to duplicate this bug on two machines, three installs, of emacs:
An Archlinux machine with emacs 23.3
The same Archlinux machines with emacs 24.0
A Solaris 10 machine with emacs 23.3

Another note, I've discovered that the problem goes away if I reload
the file "org-indent.el", specifically if I re-eval the function
"org-indent-add-properties."

I think that this is a problem with the way that elpa is loading the
package, but I'm not certain what.

> Unless other people are having trouble with this, I'd suspect a customization
> of yours.

That would follow, but the elpa package is dated Feb 16th and I
suspect that most folks don't upgrade every week. I may just be the
first person to come across this.

- Andrew

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Bug: org-indent-mode cursor movement [7.8.03]
  2012-02-23 15:04       ` Andrew Stine
@ 2012-02-23 17:36         ` Andrew Stine
  2012-02-23 19:22           ` Achim Gratz
  0 siblings, 1 reply; 10+ messages in thread
From: Andrew Stine @ 2012-02-23 17:36 UTC (permalink / raw)
  To: emacs-orgmode

Hello all,

Byte-compiling org-mode a second time after installation seems to
permanently solve the problem for me. I suspect that this is not a bug
with org-mode, but with elpa. Thanks for your assistance.

- Andrew

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Bug: org-indent-mode cursor movement [7.8.03]
  2012-02-23 17:36         ` Andrew Stine
@ 2012-02-23 19:22           ` Achim Gratz
  0 siblings, 0 replies; 10+ messages in thread
From: Achim Gratz @ 2012-02-23 19:22 UTC (permalink / raw)
  To: emacs-orgmode

Andrew Stine <illuminati1113@gmail.com> writes:
> Byte-compiling org-mode a second time after installation seems to
> permanently solve the problem for me. I suspect that this is not a bug
> with org-mode, but with elpa. Thanks for your assistance.

You might want to file a bug report against Emacs, since gnu-elpa is now
part of it.  The way package manager compiles sources is troublesome
when the same package (more to the point an earlier version of it) is
reachable via a different directory in load-path and it can go
completely haywire if part of that package is already loaded into memory
(like when you've had a (require 'org) in your customization).
Unfortunately for orgmode that is always the case since it is also part
of Emacs.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf Blofeld V1.15B11:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Bug: org-indent-mode cursor movement [7.8.03]
  2012-02-23  2:50 Bug: org-indent-mode cursor movement [7.8.03] Andrew Stine
  2012-02-23  9:00 ` Nicolas Goaziou
@ 2012-06-13 20:53 ` N. Jackson
  2012-06-19  1:25   ` N. Jackson
  1 sibling, 1 reply; 10+ messages in thread
From: N. Jackson @ 2012-06-13 20:53 UTC (permalink / raw)
  To: emacs-orgmode

Andrew Stine <illuminati1113 <at> gmail.com> writes:
> 
> When org-indent-mode is active, the cursor repeatedly jumps to the
> bottom of the buffer. This makes using the buffer impossible while
> org-indent-mode is active.
> 

I am experiencing the same behaviour (cursor jumping to the end of the buffer 
whenever I try to move it). This happens when I have 

#+STARTUP: indent

in an org-mode file.

Editing the file in Fundamental Mode and removing the "#+STARTUP: indent" line 
from the file (and switching back to Org Mode), fixes the problem.

I am using Org-mode version 7.8.11 with GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600).

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Bug: org-indent-mode cursor movement [7.8.03]
  2012-06-13 20:53 ` N. Jackson
@ 2012-06-19  1:25   ` N. Jackson
  0 siblings, 0 replies; 10+ messages in thread
From: N. Jackson @ 2012-06-19  1:25 UTC (permalink / raw)
  To: emacs-orgmode

Update: This is now resolved (for me).

The jumping cursor behaviour I was seeing was either a problem with my 
installation of Version 7.8.11 org-20120611 or a bug in that version. 

Reverting to the built-in version (Version 6.33x) (by turning off 
the Emacs package manager) fixed the problem, and so did updating to 
Version 7.8.11 org-20120618 (from ELPA using the package manager). 

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-06-19  1:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-23  2:50 Bug: org-indent-mode cursor movement [7.8.03] Andrew Stine
2012-02-23  9:00 ` Nicolas Goaziou
2012-02-23  9:04   ` Nick Dokos
2012-02-23 12:43   ` Andrew Stine
2012-02-23 14:44     ` Nick Dokos
2012-02-23 15:04       ` Andrew Stine
2012-02-23 17:36         ` Andrew Stine
2012-02-23 19:22           ` Achim Gratz
2012-06-13 20:53 ` N. Jackson
2012-06-19  1:25   ` N. Jackson

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).