emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Recommended global keybindings in the guide vs the manual
@ 2020-01-17 23:12 Nick Dokos
  2020-01-18  2:05 ` Kyle Meyer
  0 siblings, 1 reply; 2+ messages in thread
From: Nick Dokos @ 2020-01-17 23:12 UTC (permalink / raw)
  To: emacs-orgmode

org-guide.org:Introduction/Activation says:

--8<---------------cut here---------------start------------->8---
Add the following lines to your Emacs init file.  The last four lines
define /global/ keys for some commands---please choose suitable keys
yourself.

#+begin_src emacs-lisp
;; The following lines are always needed.  Choose your own keys.
(global-set-key (kbd "C-l") 'org-store-link)
(global-set-key (kbd "C-a") 'org-agenda)
(global-set-key (kbd "C-c") 'org-capture)
(global-set-key (kbd "C-b") 'org-switchb)
#+end_src
--8<---------------cut here---------------end--------------->8---

I realize that it says to "choose suitable keys yourself", but
surely, these should be identical to what the full manual recommends?

--8<---------------cut here---------------start------------->8---
#+begin_src emacs-lisp
(global-set-key (kbd "C-c l") 'org-store-link)
(global-set-key (kbd "C-c a") 'org-agenda)
(global-set-key (kbd "C-c c") 'org-capture)
#+end_src
--8<---------------cut here---------------end--------------->8---

Right?
-- 
Nick

"There are only two hard problems in computer science: cache
invalidation, naming things, and off-by-one errors." -Martin Fowler

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

* Re: Recommended global keybindings in the guide vs the manual
  2020-01-17 23:12 Recommended global keybindings in the guide vs the manual Nick Dokos
@ 2020-01-18  2:05 ` Kyle Meyer
  0 siblings, 0 replies; 2+ messages in thread
From: Kyle Meyer @ 2020-01-18  2:05 UTC (permalink / raw)
  To: Nick Dokos, emacs-orgmode

Nick Dokos <ndokos@gmail.com> writes:

> org-guide.org:Introduction/Activation says:
>
> --8<---------------cut here---------------start------------->8---
> Add the following lines to your Emacs init file.  The last four lines
> define /global/ keys for some commands---please choose suitable keys
> yourself.
>
> #+begin_src emacs-lisp
> ;; The following lines are always needed.  Choose your own keys.
> (global-set-key (kbd "C-l") 'org-store-link)
> (global-set-key (kbd "C-a") 'org-agenda)
> (global-set-key (kbd "C-c") 'org-capture)
> (global-set-key (kbd "C-b") 'org-switchb)
> #+end_src
> --8<---------------cut here---------------end--------------->8---

I was surprised to see the ones above because they're overriding some
pretty central Emacs bindings.  It looks like the "-c " in the middle
was unintentionally dropped in the guide's .texi to .org conversion
(1a678f184).

> I realize that it says to "choose suitable keys yourself", but
> surely, these should be identical to what the full manual recommends?

I've pushed 36cd249e7, which brings the guide's recommneded bindings in
agreement with the manual's.

Thanks for reporting.

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

end of thread, other threads:[~2020-01-18  2:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-17 23:12 Recommended global keybindings in the guide vs the manual Nick Dokos
2020-01-18  2:05 ` Kyle Meyer

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