all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Artur Malabarba <bruce.connor.am@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Robin Templeton <robin@terpri.org>, 19790@debbugs.gnu.org
Subject: bug#19790: [PATCH] destructive splicing in backquote
Date: Sun, 8 Feb 2015 17:38:56 -0200	[thread overview]
Message-ID: <CAAdUY-+9bAouE2TEnXxysmXh=51gKqdaE6if3vWYGHN80SjUTA@mail.gmail.com> (raw)
In-Reply-To: <jwvbnl41auu.fsf-monnier+emacsbugs@gnu.org>

Yes, I was surprised mostly for being caught of guard. :-)
After all this years I had never heard of ",." doing anything.

I agree that the current behavior is a bug, but either way we go is
fine for me (I managed to get around this limitation by simply adding
a space between the comma and the dot).

I'm fine with using this syntax for destructive splicing or with
disabling it altogether. But I think aliasing it to ",@" might be a
little deceptive for people who actually expect destructive splicing.

2015-02-08 17:23 GMT-02:00 Stefan Monnier <monnier@iro.umontreal.ca>:
>> Also, I could submit a patch to remove the special handling for ",." or
>> make it a syntax error, if either of those options would be preferable.
>> But the current behavior seems to be a bug.
>
> Hmm... indeed recently Artur bumped into this (he uses identifiers
> starting with "." and was surprised that ,<ident> didn't work in that
> case).
>
> Maybe removing this special syntax is the best option.  Tho at least the
> current situation leaves both choices still open ;-)
>
>
>         Stefan





  reply	other threads:[~2015-02-08 19:38 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-06  6:39 bug#19790: [PATCH] destructive splicing in backquote Robin Templeton
2015-02-06 15:29 ` Stefan Monnier
2015-02-07 18:51   ` Robin Templeton
2015-02-07 21:46     ` Robin Templeton
2015-02-08 19:23       ` Stefan Monnier
2015-02-08 19:38         ` Artur Malabarba [this message]
2015-02-09  3:10           ` Stefan Monnier
2015-02-09 13:03             ` Artur Malabarba
2016-02-23 11:08 ` Lars Ingebrigtsen
2019-06-25 17:59   ` Lars Ingebrigtsen
2019-06-25 22:52     ` Michael Heerdegen
2019-09-13 23:59 ` Stefan Kangas
2019-09-14  7:15   ` Eli Zaretskii
2019-09-14 12:31     ` Stefan Kangas
2019-09-14 13:30       ` Eli Zaretskii
2019-09-15 14:55         ` Stefan Kangas
2019-09-15  1:46     ` Stefan Monnier
2019-09-15 14:57       ` Stefan Kangas
2019-09-26 16:38         ` Stefan Kangas
2019-09-14 12:07   ` Lars Ingebrigtsen

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

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

  git send-email \
    --in-reply-to='CAAdUY-+9bAouE2TEnXxysmXh=51gKqdaE6if3vWYGHN80SjUTA@mail.gmail.com' \
    --to=bruce.connor.am@gmail.com \
    --cc=19790@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=robin@terpri.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.