Questions tagged [insert-char]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer

Placing a hook after each character insertion

I'd like to define a minor mode in which, when I write something, point is not moved and the characters are instead inserted after point. I thought that would be easy: just add a hook after insert-...
Alexander Praehauser's user avatar
0 votes
1 answer

How to insert a space char when inputting a node name to `org-roam-node-find`?

When I use command org-roam-node-find and I want to create a node named Programming Languages, I can't enter the space character. Emacs seems to require the node title to be a single string without ...
Lindsay's user avatar
  • 37
-2 votes
1 answer

function returning space

I would like to have a function that gives me spaces according to a number i multiplied by a factor f. So I end up with returning 6 spaces with (spaces 3 2). This is to be able to indent some ...
Dilna's user avatar
  • 1
1 vote
1 answer

insert-char completion says no matches, but inserts character anyway?

I'm using C-x 8 RET to insert a Unicode character. I enter the hex value -- for example, 201c -- and the minibuffer says "no matches". But if I just hit enter, the expected left double quote ...
Dan Drake's user avatar
  • 615
2 votes
2 answers

Programmatically invoking insert-char for compatibility with unicode insertion in Linux

I'm trying to enter unicode chars in emacs in the same manner I can anywhere else in linux, with the C-S-u string shortcut. Unfortunately, the function I've written does not work. (defun insert-char-c ...
precompute's user avatar
1 vote
1 answer

Adding unicode special characters

I wanted to add a latin capital O with circumflex [ô] to a file in emacs, but for some reason all my attempts lead to the character being replaced by a question mark ?. I tried : M-x insert-char ...
probo243's user avatar
8 votes
1 answer

Insert character by its Unicode name

From the documentation of insert-char, I cannot see why (insert-char "GREEK SMALL LETTER EPSILON") doesn't work. Is there a non-interactive way to insert a character given its Unicode name?
Toothrot's user avatar
  • 3,264
8 votes
3 answers

Fast unicode symbol insertion?

Currently, I'm inserting unicode characters (mainly math symbols) using TeX input method. This is cumbersome, since, for each character, I have to do following: Switch to TeX input method pressing C-...
Empty_Mind's user avatar
  • 1,361
7 votes
2 answers

Idiomatic way of extending keymap for inserting unicode symbols?

I often find myself needing to insert Unicode characters that have no default binding in iso-transl-ctl-x-8-map, i.e., characters that can't be inserted using C-x 8 followed by one or more letters/...
itsjeyd's user avatar
  • 14.7k