[ESS] disabling C-c h bound to ess-handy-commands

Vitalie Spinu spinuvit at gmail.com
Fri Oct 5 20:50:54 CEST 2012


  >> Ali Tofigh <alix.tofigh at gmail.com>
  >> on Fri, 5 Oct 2012 13:45:08 -0400 wrote:

  > I just started using ess 12.09 and noticed that C-c h is now bound to
  > ess-handy-commands. As far as my (limited) knowledge of emacs
  > keybindings goes, C-c followed by a letter is reserved for emacs users
  > to define, i.e., they should not be defined by packages.

That is an old saying which very few packages respect ;)

  > I use C-c h globally for the hs-toggle-hiding command. Could someone
  > tell me how I can set C-c h in ess mode to something other than
  > ess-handy-commands? using global-set-key in my .emacs doesn't work,
  > presumably because ess mode overrides that setting when I'm working on
  > R source files.

(define-key ess-mode-map "\C-ch" nil)

    Vitalie



More information about the ESS-help mailing list