emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shorthands have landed on master


From: No Wayman
Subject: Re: Shorthands have landed on master
Date: Wed, 29 Sep 2021 19:58:06 -0400
User-agent: mu4e 1.7.0; emacs 28.0.50


Best you can do is '-loop' and '-destructuring-bind', for example.

I just tried using a single "-" as my shorthand.
However, it looks like it will conflict with the built-in "-".
Am I doing something wrong?

Testing with the following:

YODEL[1] REPORT [2021-09-29 20:02:54]

--8<---------------cut here---------------start------------->8---
(yodel
 :post*
 (yodel-file
   :with*
   (defun -test (x y) (- x y))
   (-test 2 3)
   ";; Local Variables:"
   ";; elisp-shorthands: ((\"-\" . \"testing-\"))"
   ";; End:"
   :then*
   (eval-buffer)))
--8<---------------cut here---------------end--------------->8---

STDERR:

(void-function testing-)

Environment:

- emacs version: GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.17.4, Xaw3d scroll bars)
of 2021-09-29
- system type: gnu/linux

[1] https://www.github.com/progfolio/yodel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]