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: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: bug#29639: closed (Re: [bug#29639] [PATCH] gnu: Add
 emacs-string-inflection.)
Date: Mon, 11 Dec 2017 16:05:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#29639: [PATCH] gnu: Add emacs-string-inflection.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 29639 <at> debbugs.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: 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!

[Message part 3 (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 4 (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.