GNU bug report logs - #29639
[PATCH] gnu: Add emacs-string-inflection.

Previous Next

Package: guix-patches;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Sun, 10 Dec 2017 05:46:02 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 29639 <at> debbugs.gnu.org
Subject: [bug#29639] [PATCH] gnu: Add emacs-string-inflection.
Date: Sun, 10 Dec 2017 00:45:20 -0500
[Message part 1 (text/plain, inline)]
Hello,

This Emacs package can be used to easily adapt symbol names to different
naming schemes/conventions.

Example of activation for your .emacs:

;;; Cycle between snake case, camel case, etc.
(require 'string-inflection)
(global-set-key (kbd "C-c i") 'string-inflection-cycle)
(global-set-key (kbd "C-c C") 'string-inflection-camelcase)        ;; Force to CamelCase
(global-set-key (kbd "C-c L") 'string-inflection-lower-camelcase)  ;; Force to lowerCamelCase
(global-set-key (kbd "C-c u") 'string-inflection-underscore)
(global-set-key (kbd "C-c J") 'string-inflection-java-style-cycle) ;; Cycle through Java styles

Thanks!

Maxim

[0001-gnu-Add-emacs-string-inflection.patch (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 7 years and 164 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.