unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: No Wayman <iarchivedmywholelife@gmail.com>
To: joaotavora@gmail.com
Cc: emacs-devel@gnu.org
Subject: Re: Shorthands have landed on master
Date: Wed, 29 Sep 2021 19:58:06 -0400	[thread overview]
Message-ID: <87a6judiqh.fsf@gmail.com> (raw)
In-Reply-To: CALDnm51zzyiGvgJzJJjJKHBJu-XpsWD1ZEWZCh5j6hP1H+J3Lg@mail.gmail.com


> 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	other threads:[~2021-09-29 23:58 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-29 23:58 No Wayman [this message]
2021-09-30  2:43 ` Shorthands have landed on master Bodertz
2021-09-30  4:26   ` Michael Heerdegen
2021-09-30 22:08     ` Richard Stallman
2021-09-30 22:11       ` João Távora
2021-10-01  3:04         ` Stefan Monnier
2021-10-01  6:01           ` João Távora
2021-10-01  6:34           ` Thierry Volpiatto
2021-10-02 23:18           ` Richard Stallman
2021-10-02 23:19             ` João Távora
2021-10-01 22:38         ` Richard Stallman
2021-10-01 22:45           ` João Távora
2021-10-02  6:15             ` Eli Zaretskii
2021-10-02  6:50               ` João Távora
     [not found] <20210927003203.15806.29864@vcs0.savannah.gnu.org>
     [not found] ` <20210927003205.EF26620A5E@vcs0.savannah.gnu.org>
2021-09-27 11:10   ` Better way to require with shorthands/renamed symbols Stefan Kangas
2021-09-27 11:58     ` Dmitry Gutov
2021-09-27 12:54       ` Shorthands have landed on master (Was: Better way to require with shorthands/renamed symbols) João Távora
2021-09-27 22:40         ` Shorthands have landed on master Philip Kaludercic
2021-09-27 22:58           ` João Távora
2021-09-28  7:15             ` Philip Kaludercic
2021-09-28  9:03               ` João Távora
2021-09-28  9:14                 ` Eli Zaretskii
2021-09-28  9:17                   ` João Távora
2021-09-28  9:22                 ` Philip Kaludercic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a6judiqh.fsf@gmail.com \
    --to=iarchivedmywholelife@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=joaotavora@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).