Hi Bastien,
On Sat, 01 May 2021 at 17:28, Bastien wrote:
Hi Gustavo,
Gustavo Barros writes:
The Org line commands -- `org-beginning-of-line', `org-end-of-line',
and
`org-kill-line' -- all take due care for the presence of
`visual-line-mode' to do the right thing if it is turned on.
Howe
Hi Gustavo,
Gustavo Barros writes:
> The Org line commands -- `org-beginning-of-line', `org-end-of-line', and
> `org-kill-line' -- all take due care for the presence of
> `visual-line-mode' to do the right thing if it is turned on. However,
> when `visual-line-mode' is indeed on, the binding
On Tue, 22 Dec 2020 at 17:24, Gustavo Barros
wrote:
Damn! Sorry for the noise. It *doesn't* work, and disables Org's own
remappings, of course. Just as I sent I realized I had something else
enabled which was doing the actual job (my previous take on this
thread).
Back on the deadlock
On Tue, 22 Dec 2020 at 17:18, Gustavo Barros
wrote:
Anyway, what I came up is a slight variation from Marco's approach,
which may
be just general enough to be employed by Org.
#+begin_src emacs-lisp
(add-hook 'visual-line-mode-hook #'my/visual-line-mode-hook-for-org)
(defun my/visual-lin
Hi Bastien,
Hi Marco,
On Fri, 04 Sep 2020 at 14:37, Bastien wrote:
Hi Gustavo,
Gustavo Barros writes:
I do think my other workaround is worth pondering to be included, so
that this would work out-of-the-box. Do you see any particular
drawbacks of setting these bindings directly (that is,
Hi Bastien,
On Fri, 04 Sep 2020 at 14:37, Bastien wrote:
You mean by adding something like
(org-defkey org-mode-map (kbd "C-a") #'org-beginning-of-line)
in org-keys.el? I'm pretty sure such "hard" remapping breaks an Emacs
convention--I'll ask emacs-devel, because that would indeed fix the
Hi Gustavo,
Gustavo Barros writes:
> I do think my other workaround is worth pondering to be included, so
> that this would work out-of-the-box. Do you see any particular
> drawbacks of setting these bindings directly (that is, not by remapping)
> in `org-mode-map'?
You mean by adding somethin
Hi Bastien,
On Fri, 04 Sep 2020 at 17:20, Bastien wrote:
> Hi Marco,
>
> Marco Wahl writes:
>
>> (add-hook 'visual-line-mode-hook
>> (lambda () (when (derived-mode-p 'org-mode)
>>(local-set-key (kbd "C-a") #'org-beginning-of-line)
>>(loc
Hi Marco,
Marco Wahl writes:
> (add-hook 'visual-line-mode-hook
> (lambda () (when (derived-mode-p 'org-mode)
>(local-set-key (kbd "C-a") #'org-beginning-of-line)
>(local-set-key (kbd "C-e") #'org-end-of-line)
>(lo
Hi Marco,
thank you for your answer.
On Tue, 28 Jul 2020 at 17:34, Marco Wahl wrote:
>> I'm not sure this is a "bug", strictly speaking, or if it is correct
>> unfortunate behavior. Anyway, is there something that could be done
>> from Org's side?
>
> Also not sure if this is a bug. But you ca
Hi Gustavo,
> The Org line commands -- `org-beginning-of-line', `org-end-of-line', and
> `org-kill-line' -- all take due care for the presence of
> `visual-line-mode' to do the right thing if it is turned on. However,
> when `visual-line-mode' is indeed on, the bindings on
> `visual-line-mode-map
Hi All,
The Org line commands -- `org-beginning-of-line', `org-end-of-line', and
`org-kill-line' -- all take due care for the presence of
`visual-line-mode' to do the right thing if it is turned on. However,
when `visual-line-mode' is indeed on, the bindings on
`visual-line-mode-map' shadow
12 matches
Mail list logo