From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alec Vercruysse Subject: Bug: previous-line throws "beginning of buffer" with visual-line-mode on [9.2 (9.2-elpa @ /home/avercruysse/.emacs.d/elpa/org-20181230/)] Date: Wed, 24 Apr 2019 21:00:47 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000a10433058752ddf1" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:58444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJVcj-0001Gd-Bz for emacs-orgmode@gnu.org; Thu, 25 Apr 2019 00:04:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hJVZI-0003ir-6w for emacs-orgmode@gnu.org; Thu, 25 Apr 2019 00:01:06 -0400 Received: from mail-oi1-x22f.google.com ([2607:f8b0:4864:20::22f]:37307) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hJVZH-0003e6-Uu for emacs-orgmode@gnu.org; Thu, 25 Apr 2019 00:01:04 -0400 Received: by mail-oi1-x22f.google.com with SMTP id k6so2353463oic.4 for ; Wed, 24 Apr 2019 21:01:00 -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" To: emacs-orgmode@gnu.org --000000000000a10433058752ddf1 Content-Type: text/plain; charset="UTF-8" Hello, I've recently switched to org mode as my fundamental mode, and do almost all of my writing in it now. One issue that I've encountered, however, is that with a lot of text under a single subheading, when holding the up arrow key to move point up (running previous-line, found in global-map), emacs throws the "beginning of buffer" exception (and rings the bell) before moving point up. I still am able to move up a line, it's just that the cursor movement when holding down the key is no longer smooth, and I get a visual warning. I've found that this only occurs when visual-line-mode is set (I use global-visual-line-mode). When I turn it off, I get no errors. ------------------------------------------------------------------------ Emacs : GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.21) of 2017-09-22, modified by Debian Package: Org mode version 9.2 (9.2-elpa @ /home/avercruysse/.emacs.d/elpa/org-20181230/) current state: ============== (setq org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-confirm-shell-link-function 'yes-or-no-p org-tab-before-tab-emulation-hook '(org-tempo-complete-tag) org-support-shift-select t org-after-todo-state-change-hook '(org-clock-out-if-current) org-from-is-user-regexp "\\" 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-babel-pre-tangle-hook '(save-buffer) org-mode-hook '(org-indent-mode (lambda nil (setq company-minimum-prefix-length 2)) latex-style-math-setup org-tempo-setup er/add-org-mode-expansions #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-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) org-bibtex-headline-format-function #[257 "\300 \236A\207" [:title] 3 "\n\n(fn ENTRY)"] org-archive-hook '(org-attach-archive-delete-maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-todo-keywords '((sequence "TODO(t)" "DISCUSS(s)" "IN-PROGRESS(i)" "|" "DONE(d)" "CANCELED(c)")) org-latex-packages-alist '(("" "listings" nil)) org-babel-tangle-lang-exts '(("python" . "py") ("emacs-lisp" . "el") ("elisp" . "el")) org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-link-parameters '(("id" :follow org-id-open) ("eww" :follow eww :store org-eww-store-link) ("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 :export org-irc-export) ("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-babel-load-languages '((python . t) (ditaa . t) (shell . t)) org-hierarchical-todo-statistics nil org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-confirm-babel-evaluate nil ) --000000000000a10433058752ddf1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hello,=C2=A0

I've recently swit= ched to org mode as my fundamental mode, and do
almost all of my = writing in it now. One issue that I've encountered,
however, = is that with a lot of text under a single subheading, when
holdin= g the up arrow key to move point up (running previous-line, found
in global-map), emacs throws the "beginning of buffer" exception= (and
rings the bell) before moving point up. I still am able to = move up a
line, it's just that the cursor movement when holdi= ng down the key is no
longer smooth, and I get a visual warning.<= /div>

I've found that this only occurs when visual-l= ine-mode is set (I use global-visual-line-mode). When I turn it off, I get = no errors.
------------------------------------------------= ------------------------
Emacs=C2=A0 : GNU Emacs 25.2.2 (x86_64-p= c-linux-gnu, GTK+ Version 3.22.21)
=C2=A0of 2017-09-22, modified = by Debian
Package: Org mode version 9.2 (9.2-elpa @ /home/avercru= ysse/.emacs.d/elpa/org-20181230/)

current state:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(setq
=C2=A0org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-ba= bel-header-arg-expand)
=C2=A0org-speed-command-hook '(org-spe= ed-command-activate org-babel-speed-command-activate)
=C2=A0org-o= ccur-hook '(org-first-headline-recenter)
=C2=A0org-metaup-hoo= k '(org-babel-load-in-session-maybe)
=C2=A0org-confirm-shell-= link-function 'yes-or-no-p
=C2=A0org-tab-before-tab-emulation= -hook '(org-tempo-complete-tag)
=C2=A0org-support-shift-selec= t t
=C2=A0org-after-todo-state-change-hook '(org-clock-out-if= -current)
=C2=A0org-from-is-user-regexp "\\<Alec Vercruys= se\\>"
=C2=A0org-src-mode-hook '(org-src-babel-config= ure-edit-buffer org-src-mode-configure-edit-buffer)
=C2=A0org-age= nda-before-write-hook '(org-agenda-add-entry-text)
=C2=A0org-= babel-pre-tangle-hook '(save-buffer)
=C2=A0org-mode-hook '= ;(org-indent-mode (lambda nil (setq company-minimum-prefix-length 2)) latex= -style-math-setup org-tempo-setup
er/add-org-mode-expansions
#[0 "\300\301\302\303\304$\207" [add-hook change-m= ajor-mode-hook org-show-all append local] 5]
#[0 "\300\301\302\303\304$\207" [add-hook c= hange-major-mode-hook org-babel-show-result-all append local] 5]
= org-babel-result-hide-spec org-ba= bel-hide-all-hashes)
=C2=A0org-bibtex-headline-format-function #[= 257 "\300 \236A\207" [:title] 3 "\n\n(fn ENTRY)"]
=
=C2=A0org-archive-hook '(org-attach-archive-delete-maybe)
=C2=A0org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-sho= w-empty-lines org-optimize-window-after-visibility-change)
=C2=A0= org-todo-keywords '((sequence "TODO(t)" "DISCUSS(s)"= ; "IN-PROGRESS(i)" "|" "DONE(d)" "CANCEL= ED(c)"))
=C2=A0org-latex-packages-alist '(("" = "listings" nil))
=C2=A0org-babel-tangle-lang-exts '= (("python" . "py") ("emacs-lisp" . "el&q= uot;) ("elisp" . "el"))
=C2=A0org-confirm-eli= sp-link-function 'yes-or-no-p
=C2=A0org-metadown-hook '(o= rg-babel-pop-to-session-maybe)
=C2=A0org-link-parameters '((&= quot;id" :follow org-id-open) ("eww" :follow eww :store org-= eww-store-link)
=C2=A0 = =C2=A0 =C2=A0 =C2=A0("rmail" :follow org-rmail-open :store org-rm= ail-store-link)
=C2=A0 = =C2=A0 =C2=A0 =C2=A0("mhe" :follow org-mhe-open :store org-mhe-st= ore-link)
=C2=A0 =C2=A0 = =C2=A0 =C2=A0("irc" :follow org-irc-visit :store org-irc-store-li= nk :export org-irc-export)
=C2=A0 =C2=A0 =C2=A0 =C2=A0("info" :follow org-info-open :expo= rt org-info-export :store org-info-store-link)
=C2=A0 =C2=A0 =C2=A0 =C2=A0("gnus" :follow= org-gnus-open :store org-gnus-store-link)
=C2=A0 =C2=A0 =C2=A0 =C2=A0("docview" :follow = org-docview-open :export org-docview-export :store org-docview-store-link)<= /div>
=C2=A0 =C2=A0 =C2=A0 =C2= =A0("bibtex" :follow org-bibtex-open :store org-bibtex-store-link= )
=C2=A0 =C2=A0 =C2=A0 = =C2=A0("bbdb" :follow org-bbdb-open :export org-bbdb-export :comp= lete org-bbdb-complete-link :store
org-bbdb-store-link)
= =C2=A0 =C2=A0 =C2=A0 =C2=A0("w3m" :store org-w3m-store-l= ink) ("file+sys") ("file+emacs") ("doi" :foll= ow org--open-doi-link)
= =C2=A0 =C2=A0 =C2=A0 =C2=A0("elisp" :follow org--open-elisp-link)= ("file" :complete org-file-complete-link)
=C2=A0 =C2=A0 =C2=A0 =C2=A0("ftp" := follow (lambda (path) (browse-url (concat "ftp:" path)))) ("= help" :follow org--open-help-link)
=C2=A0 =C2=A0 =C2=A0 =C2=A0("http" :follow (lambd= a (path) (browse-url (concat "http:" path))))
=C2=A0 =C2=A0 =C2=A0 =C2=A0("https&quo= t; :follow (lambda (path) (browse-url (concat "https:" path))))
=C2=A0 =C2=A0 =C2=A0 =C2= =A0("mailto" :follow (lambda (path) (browse-url (concat "mai= lto:" path))))
=C2= =A0 =C2=A0 =C2=A0 =C2=A0("news" :follow (lambda (path) (browse-ur= l (concat "news:" path)))) ("shell" :follow org--open-s= hell-link))
=C2=A0org-babel-load-languages '((python . t) (di= taa . t) (shell . t))
=C2=A0org-hierarchical-todo-statistics nil<= /div>
=C2=A0org-clock-out-hook '(org-clock-remove-empty-clock-drawe= r)
=C2=A0org-confirm-babel-evaluate nil
=C2=A0)

--000000000000a10433058752ddf1--