ELPA Logo GNU-devel ELPA: cycle-quotes

cycle-quotes Atom Feed

Description
Cycle between quote styles
Latest
cycle-quotes-0.1.0.20221221.4.tar (.sig), 2026-Aug-16, 20.0 KiB
Maintainer
Simen Heggestøyl <simenheg@gmail.com>
Other versions:
release version
Website
https://elpa.gnu.org/nongnu/cycle-quotes.html
ELPA's Repository
CGit or Gitweb
Badge

To install this package from Emacs, use package-install or list-packages.

Full description

This package provides the `cycle-quotes' command to cycle between
different string quote styles.  For instance, in JavaScript,
there's 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.