[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fwd: Greater than, less than bug in emacs-lisp source block
From: |
Charles Millar |
Subject: |
Fwd: Greater than, less than bug in emacs-lisp source block |
Date: |
Fri, 3 Sep 2021 07:14:56 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
Thank you, Arthur.
-------- Forwarded Message --------
Subject: Re: Greater than, less than bug in emacs-lisp source block
Date: Fri, 03 Sep 2021 00:36:23 +0200
From: Arthur Miller <arthur.miller@live.com>
To: John Kitchin <jkitchin@andrew.cmu.edu>
CC: Charles Millar <millarc@verizon.net>, emacs-orgmode@gnu.org
<emacs-orgmode@gnu.org>
John Kitchin <jkitchin@andrew.cmu.edu> writes:
I think this issue is described in
https://emacs.stackexchange.com/questions/50216/org-mode-code-block-parentheses-mismatch.
There are also some
solutions there.
I wasn't able to get that to work in my Emacs. I did something simpler
though,
that seems to work for me:
#+begin_src emacs-lisp
(defmacro gt (n1 n2)
`(> ,n1 ,n2))
(defmacro gte (n1 n2)
`(>= ,n1 ,n2))
(defmacro lt (n1 n2)
`(< ,n1 ,n2))
(defmacro lte (n1 n2)
`(<= ,n1 ,n2))
;; example usage
(dolist (s templist)
(while (lt (length s) l)
(setq s (concat s " ")))
(push (concat "[ " s " ]") kwdlist))
#+end_src
- Greater than, less than bug in emacs-lisp source block, Charles Millar, 2021/09/02
- Re: Greater than, less than bug in emacs-lisp source block, John Kitchin, 2021/09/02
- Re: Greater than, less than bug in emacs-lisp source block, Arthur Miller, 2021/09/02
- Fwd: Greater than, less than bug in emacs-lisp source block,
Charles Millar <=
- re: Bug Re: Greater than, less than bug in emacs-lisp source block, Charles Millar, 2021/09/03
- Re: Bug Re: Greater than, less than bug in emacs-lisp source block, John Kitchin, 2021/09/03
- Re: Bug Re: Greater than, less than bug in emacs-lisp source block, Tim Cross, 2021/09/03
- Re: Bug Re: Greater than, less than bug in emacs-lisp source block, John Kitchin, 2021/09/03
- Re: Bug Re: Greater than, less than bug in emacs-lisp source block, Tim Cross, 2021/09/04
- Re: Bug Re: Greater than, less than bug in emacs-lisp source block, Arthur Miller, 2021/09/05
- Re: Bug Re: Greater than, less than bug in emacs-lisp source block, Tim Cross, 2021/09/05
- Re: Bug Re: Greater than, less than bug in emacs-lisp source block, Arthur Miller, 2021/09/05
- Re: Bug Re: Greater than, less than bug in emacs-lisp source block, Greg Minshall, 2021/09/06
- Re: Bug Re: Greater than, less than bug in emacs-lisp source block, Eric S Fraga, 2021/09/07