help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: not good proposal: "C-z <letter>" reserved for users


From: Emanuel Berg
Subject: Re: not good proposal: "C-z <letter>" reserved for users
Date: Mon, 15 Feb 2021 19:31:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Jean Louis wrote:

> That is what you know on Swedish keyboard. Not everybody is
> aware that Z key is often interchanged with Y. There are
> QWERTY and QWERTZ keyboards.

Yet another shocking insight - brought to you by: Super-Jean

And I'm not using a Swedish keyboard, you %&$#@!

I use a Logitech G Pro Tenkeyless with the US layout, which is
more fitted for programmers.

I use the compose key for Swedish chars:

  https://dataswamp.org/~incal/conf/vt/remap.inc

Some cool keyboard effects BTW:

  https://dataswamp.org/~incal/conf/.zsh/led-kb
  https://dataswamp.org/~incal/kb/kb-full-group.conf
  https://dataswamp.org/~incal/kb/kb-bright-small.conf

And this goodie:

(defun scramble-string (str)
  "Randomize the characters of a string."
  (interactive "sscramble me: ")
  (let ((rand-str (seq-sort (lambda (_ __) (zerop (random 2))) str )))
    (if (called-interactively-p 'any)
        (message rand-str)
      rand-str) ))

(defun comic-book-insult ()
  (interactive)
  (insert (concat (scramble-string "@#$%&") "!")) )

https://dataswamp.org/~incal/emacs-init/sort-incal.el

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal




reply via email to

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