emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: previous-line throws "beginning of buffer" with visual-line-mode on [9.2 (9.2-elpa @ /home/avercruysse/.emacs.d/elpa/org-20181230/)]
@ 2019-04-25  4:00 Alec Vercruysse
  2019-04-30 16:56 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Alec Vercruysse @ 2019-04-25  4:00 UTC (permalink / raw)
  To: emacs-orgmode

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

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 "\\<Alec Vercruysse\\>"
 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
 )

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

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

* Re: Bug: previous-line throws "beginning of buffer" with visual-line-mode on [9.2 (9.2-elpa @ /home/avercruysse/.emacs.d/elpa/org-20181230/)]
  2019-04-25  4:00 Bug: previous-line throws "beginning of buffer" with visual-line-mode on [9.2 (9.2-elpa @ /home/avercruysse/.emacs.d/elpa/org-20181230/)] Alec Vercruysse
@ 2019-04-30 16:56 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2019-04-30 16:56 UTC (permalink / raw)
  To: Alec Vercruysse; +Cc: emacs-orgmode

Hello,

Alec Vercruysse <vercruysse.alec@gmail.com> writes:

> 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 cannot reproduce it. In the following document, starting anywhere in
the paragraph, and holding UP, moves point to the first line.

--8<---------------cut here---------------start------------->8---
* Heading

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enimad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
--8<---------------cut here---------------end--------------->8---


Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2019-04-30 16:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-25  4:00 Bug: previous-line throws "beginning of buffer" with visual-line-mode on [9.2 (9.2-elpa @ /home/avercruysse/.emacs.d/elpa/org-20181230/)] Alec Vercruysse
2019-04-30 16:56 ` Nicolas Goaziou

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