From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo J Buchignani III Subject: Bug: C-o yanks on newline in one org-mode buffer [8.2.10 (release_8.2.10 @ c:/Program Files/emacs-24.5/share/emacs/24.5/lisp/org/)] Date: Fri, 25 Mar 2016 13:31:38 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44543) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ajWWx-0005nj-Gw for emacs-orgmode@gnu.org; Fri, 25 Mar 2016 14:32:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ajWWw-0001tT-Do for emacs-orgmode@gnu.org; Fri, 25 Mar 2016 14:32:19 -0400 Received: from mail-io0-x231.google.com ([2607:f8b0:4001:c06::231]:34549) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ajWWw-0001tG-8b for emacs-orgmode@gnu.org; Fri, 25 Mar 2016 14:32:18 -0400 Received: by mail-io0-x231.google.com with SMTP id e3so7831553ioa.1 for ; Fri, 25 Mar 2016 11:32:17 -0700 (PDT) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I previously submitted this bug here: https://lists.gnu.org/archive/html/emacs-orgmode/2015-12/msg00515.html I was advised to update my versions. A while later, I updated to the latest standard Org Mode + Emacs combination, and redid my .emacs file mostly from scratch. Then I encountered the bug again. I assume it is a bug since it appears to have no documentation and serves no likely use. Bug arose while writing an 82-line text heading in a 3027-line 2.3M text .org file titled "di]ks81-ca.org". Text was mostly random thought snippets about psychology with basic outlining, to give an idea of the document structure and composition. Lots of top level headings; nesting not that deep. I had about 6 panes open. Normally, C-o opens a blank newline as expected. Bug behavior: With point at the beginning of a line, C-o yanks snippet With point elsewhere, C-o behaves normally. Snippet is a 7-word fragment of the text I was just writing. I suspect I C-k killed the fragment immediately before the bug appeared. Snippet is always the same, regardless of kill-ring. Bug appears only in the "di]ks81-ca.org" buffer; not in other .org files or other Emacs modes. Bug vanishes when I execute M-x org-mode in that buffer, reloading Org Mode. Thus I conclude it must be an Org Mode bug. I suspect it has something to do with working in >1M org files. Cheers, Leo Emacs : GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570 Package: Org-mode version 8.2.10 (release_8.2.10 @ c:/Program Files/emacs-24.5/share/emacs/24.5/lisp/org/) current state: ============== (setq org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) 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-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-hide-inline-tasks org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-babel-pre-tangle-hook '(save-buffer) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-id-link-to-org-use-id t org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-mode-hook '((lambda nil (visual-line-mode -1)) #[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) org-from-is-user-regexp nil org-metadown-hook '(org-babel-pop-to-session-maybe) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-after-todo-state-change-hook '(org-clock-out-if-current) org-confirm-shell-link-function 'yes-or-no-p )