emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change default behavior of some commands that act on region?


From: Juri Linkov
Subject: Re: Change default behavior of some commands that act on region?
Date: Sat, 22 May 2021 23:48:32 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

> There are some commands, such as `downcase-region',
> that act on the region regardless of whether it's
> active.  Because `transient-mark-mode' has been on by
> default for quite a while now, and because there are
> few such commands, users can wonder what's going on.

I use such customization, problem solved:

#+begin_src emacs-lisp
(define-key esc-map "u" 'upcase-dwim)
(define-key esc-map "l" 'downcase-dwim)
(define-key esc-map "c" 'capitalize-dwim)
#+end_src



reply via email to

[Prev in Thread] Current Thread [Next in Thread]