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

Bug#853072: ITP: cycle-quotes -- Emacs command to cycle between quotation marks

Package: wnpp
Severity: wishlist
Owner: Sean Whitton <spwhitton@spwhitton.name>

* Package name    : cycle-quotes
  Version         : 0.1
  Upstream Author : Simen Heggestøyl <simen@e5r.no>
* URL             : https://elpa.gnu.org/packages/cycle-quotes.html
* License         : GPL-3+
  Programming Lang: Emacs Lisp
  Description     : Emacs command to cycle between quotation marks

This package provides the `cycle-quotes' command to cycle between
different string quote styles.

For example, in JavaScript, there are three string quote characters:
", ` and '.  In a JavaScript buffer, with point located someplace
within the string, `cycle-quotes' will cycle between the following
quote styles each time it's called:

--> "Hi, it's me!" --> `Hi, it's me!` --> 'Hi, it\'s me!'

As seen in the above example, `cycle-quotes' tries to escape and
unescape quote characters intelligently.

I intend to maintain this as part of the pkg-emacsen team.

Sean Whitton

Attachment: signature.asc
Description: PGP signature

Reply to: