* Bug: text jumps left and right while typing math when org-indent-mode and linum-mode are enabled. [8.2.5h (8.2.5h-98-g0820d0-elpa @ /Users/kosta/.emacs.d/elpa/org-20140407/)]
@ 2014-04-19 10:18 Konstantin Kliakhandler
2014-04-19 12:06 ` Bastien
0 siblings, 1 reply; 3+ messages in thread
From: Konstantin Kliakhandler @ 2014-04-19 10:18 UTC (permalink / raw)
To: emacs-orgmode
Hello,
I've discovered a bug that hinders typing when org-indent-mode and
linum-mode are both enabled. Basically, in certain situations the line
number disappears when a character is added and reappears when another
is added, making the line jump around.
Description:
Open a new org buffer, enable linum-mode and org-indent-mode, and type in the following (the equal signs are
just to delimit in this message):
====
* Test heading
\( x \)
====
Now, when your point is at the end of the second line, press space
twice.
Expected outcome: point moves two spaces to the right, the rest of the
buffer doesn't change.
Outcome: point moves two spaces to the right, while the whole line jumps
back and forth, because the line number of the second disappears and reappers.
NOTE: After some further investigation, it appears this is also related
to highlighting of matching parantheses - If I repeat the same procedure
in `emacs -q`, after entering the closing paranthesis, the opening one
is highlighted for ~1s. When the highlight disappears, the line number
disappears (so there is no need to enter a space to get this).
NOTE 2: This also happens with regular parens (rather than latex math
ones), but not if they are the first thing on the line.
As a sort-of workaround, I can disable linum-mode for org-mode buffers, since
in those I usually care less about the line numbering than in other
(e.g. programming) modes.
------------------------------------------------------------------------
Emacs : GNU Emacs 24.3.50.1 (x86_64-apple-darwin, NS apple-appkit-1038.36)
of 2014-02-28 on bob.porkrind.org
Package: Org-mode version 8.2.5h (8.2.5h-98-g0820d0-elpa @ /Users/kosta/.emacs.d/elpa/org-20140407/)
current state:
==============
(setq
org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe
org-babel-hide-result-toggle-maybe org-babel-header-arg-expand)
org-latex-default-packages-alist '(("AUTO" "inputenc" t) ("T1" "fontenc" t) ("" "fixltx2e" nil)
("" "graphicx" t) ("" "longtable" nil) ("" "float" nil)
("" "wrapfig" nil) ("" "rotating" nil) ("normalem" "ulem" t)
("" "amsmath" t) ("" "textcomp" t) ("" "marvosym" t)
("" "wasysym" t) ("" "amssymb" t)
("hidelinks" "hyperref" nil) "\\tolerance=1000")
org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook)
org-occur-hook '(org-first-headline-recenter)
org-metaup-hook '(org-babel-load-in-session-maybe)
org-html-format-drawer-function '(lambda (name contents) contents)
org-log-done t
org-format-latex-options '(:foreground default :background default :scale 1.5 :html-foreground
"Black" :html-background "Transparent" :html-scale 1.0 :matchers
("begin" "$1" "$" "$$" "\\(" "\\["))
org-latex-format-inlinetask-function 'ignore
org-confirm-shell-link-function 'yes-or-no-p
org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
org-pretty-entities t
org-agenda-custom-commands '(("w" todo "TODO")
("h" agenda "" ((org-agenda-show-all-dates nil)))
("W" agenda ""
((org-agenda-ndays 21) (org-agenda-show-all-dates nil)))
("A" agenda ""
((org-agenda-ndays 1) (org-agenda-overriding-header "Today")))
)
org-latex-format-headline-function 'org-latex-format-headline-default-function
org-default-notes-file "~/Dropbox/Documents/Org/notes.org"
org-after-todo-state-change-hook '(org-clock-out-if-current)
org-latex-format-drawer-function '(lambda (name contents) contents)
org-from-is-user-regexp "\\<Konstantin Kliakhandler\\>"
org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer)
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-pretty-entities-include-sub-superscripts nil
org-babel-pre-tangle-hook '(save-buffer)
org-export-copy-to-kill-ring nil
org-mode-hook '(#[nil "\300\301\302\303\304$\207"
[org-add-hook before-save-hook org-encrypt-entries nil t] 5]
#[nil
"\305.\306 >\203.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-04-19 23:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-19 10:18 Bug: text jumps left and right while typing math when org-indent-mode and linum-mode are enabled. [8.2.5h (8.2.5h-98-g0820d0-elpa @ /Users/kosta/.emacs.d/elpa/org-20140407/)] Konstantin Kliakhandler
2014-04-19 12:06 ` Bastien
2014-04-19 23:14 ` Konstantin Kliakhandler
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.