[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cycle Org Shift Select
From: |
Noam Postavsky |
Subject: |
Re: Cycle Org Shift Select |
Date: |
Mon, 9 Nov 2020 15:37:02 -0500 |
On Mon, 9 Nov 2020 at 15:31, Michael Heerdegen <michael_heerdegen@web.de> wrote:
> But isn't meant to be used in the code?
It's meant like this:
(defun Org-Shftsel-Cycle ()
;; Switches between options to org-support-shift-select
(interactive)
(setq org-support-shift-select
(cadr (memq org-support-shift-select '#1=(nil t always . #1#)))))
If you are uncomfortable with the circular syntax, then using '(nil t
always nil) instead, as in my first post, is effectively the same
(i.e., you don't really need a circular list here anyway). I don't
understand your comments about local variables or closures though.
https://lists.gnu.org/archive/html/help-gnu-emacs/2020-11/msg00298.html
- Cycle Org Shift Select, Christopher Dimech, 2020/11/06
- Re: Cycle Org Shift Select, Christopher Dimech, 2020/11/09
- Re: Cycle Org Shift Select, Noam Postavsky, 2020/11/09
- Re: Cycle Org Shift Select, Christopher Dimech, 2020/11/09
- Re: Cycle Org Shift Select, Noam Postavsky, 2020/11/09
- Re: Cycle Org Shift Select, Michael Heerdegen, 2020/11/09
- Re: Cycle Org Shift Select, Noam Postavsky, 2020/11/09
- Re: Cycle Org Shift Select, Michael Heerdegen, 2020/11/09
- Re: Cycle Org Shift Select, Christopher Dimech, 2020/11/09