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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: tracker <at> debbugs.gnu.org
Subject: bug#29639: closed ([PATCH] gnu: Add emacs-string-inflection.)
Date: Mon, 11 Dec 2017 16:05:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 11 Dec 2017 17:04:29 +0100
with message-id <87tvwxxnci.fsf <at> gnu.org>
and subject line Re: [bug#29639] [PATCH] gnu: Add emacs-string-inflection.
has caused the debbugs.gnu.org bug report #29639,
regarding [PATCH] gnu: Add emacs-string-inflection.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
29639: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=29639
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: guix-patches <guix-patches <at> gnu.org>
Subject: [PATCH] gnu: Add emacs-string-inflection.
Date: Sun, 10 Dec 2017 00:45:20 -0500
[Message part 3 (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)]
[Message part 6 (message/rfc822, inline)]
From: ludo <at> gnu.org (Ludovic Courtès)
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 29639-done <at> debbugs.gnu.org
Subject: Re: [bug#29639] [PATCH] gnu: Add emacs-string-inflection.
Date: Mon, 11 Dec 2017 17:04:29 +0100
Maxim Cournoyer <maxim.cournoyer <at> gmail.com> skribis:

> From 5791a4edbdaa9eb422729d54ad78d1fd646dd05a Mon Sep 17 00:00:00 2001
> From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
> Date: Sun, 10 Dec 2017 00:05:31 -0500
> Subject: [PATCH] gnu: Add emacs-string-inflection.
>
> * gnu/packages/emacs.scm (emacs-string-inflection): New variable.

Applied, thanks!


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.