Re: Unintended consequences of removing org-speed-commands-user

2021-11-30 Thread Shankar Rao
Thank you for the tip. I didn't realize that `member' could be used in this way to insert an element at a particular point in a list. But this doesn't address the main issue in my post, that the user has two different approaches for adding commands to `org-speed-commands' depending on whether it is

Re: Unintended consequences of removing org-speed-commands-user

2021-11-28 Thread dal-blazej
Hi, If you want to insert a new element in the list after a particular element, you could do : #+begin_src emacs-lisp (let ((bk (cdr (member '("Agenda Views etc") org-speed-commands (setf (cdr (member '("Agenda Views etc") org-speed-commands)) (cons '("@" . my-foobarized-speed-co

Unintended consequences of removing org-speed-commands-user

2021-11-24 Thread Shankar Rao
Hello all, I discovered that upgrading to 9.5 broke my configuration because the variable `org-speed-commands-user' was removed. I read the thread (https://list.orgmode.org/87v9hzzhrn@gmail.com/) where this change was proposed and I completely agree that exposing the whole set of `org-speeds-c