unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: "Simen Heggestøyl" <simenheg@gmail.com>
Cc: Michael Mauger <mmaug@yahoo.com>, emacs-devel@gnu.org
Subject: Re: [ELPA] New package: cycle-quotes.el
Date: Sat, 11 Jun 2016 17:32:31 -0400	[thread overview]
Message-ID: <jwv37ojxvsy.fsf-monnier+emacsdiffs@gnu.org> (raw)
In-Reply-To: <87y46babc3.fsf@gmail.com> ("Simen Heggestøyl"'s message of "Sat, 11 Jun 2016 19:23:40 +0200")

> Michael, Stefan, will something like this provide enough flexibility for
> you?

I don't really have the time to try and think about what's needed to
cover the different possible needs.  But I don't see an urgent need to
come up with a perfect solution either.

So you might like to simply take it incrementally, adding support for
new cases as you bump into them.  Also, you have to weight the cost of
implementation/flexibility against the likelihood of it being used.
E.g. I'm not sure it'd be worth the trouble trying to add support for
switching between '...' quoting and heredoc-quoting in sh-mode.

Similarly, in sh-mode I could imagine situations where switching
correctly from "..." to '...' would require extra processing to make
sure any $... embedded in the string is still expanded.  But should we
really cater to such cases?


        Stefan



      reply	other threads:[~2016-06-11 21:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-04 11:00 [ELPA] New package: cycle-quotes.el Simen Heggestøyl
2016-06-04 11:51 ` Kaushal Modi
2016-06-04 16:24   ` Simen Heggestøyl
2016-06-04 17:00 ` Stefan Monnier
2016-06-05 10:51   ` Simen Heggestøyl
2016-06-06  4:05     ` Michael Mauger
2016-06-07 17:41       ` Simen Heggestøyl
2016-06-11 17:23       ` Simen Heggestøyl
2016-06-11 21:32         ` Stefan Monnier [this message]

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=jwv37ojxvsy.fsf-monnier+emacsdiffs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=mmaug@yahoo.com \
    --cc=simenheg@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).