Variable: text-conversion-style

text-conversion-style is a buffer-local variable defined in buffer.c.

Documentation

How the on screen keyboard's input method should insert in this buffer.

If nil, the input method will be disabled and an ordinary keyboard will be displayed in its place.

If the value is the symbol action, the input method will insert text directly, but will send return key events instead of inserting new line characters.

If the value is the symbol password, an input method capable of ASCII input will be enabled, and will not save the entered text where it will be retrieved for text suggestions or other features not suitable for handling sensitive information, in addition to reporting return as when action.

Any other value means that the input method will insert text directly.

If you need to make non-buffer local changes to this variable, use overriding-text-conversion-style, which see.

This variable does not take immediate effect when set; rather, it takes effect upon the next redisplay after the selected window or its buffer changes.

View in manual

Source Code

// Defined in /usr/src/emacs/src/buffer.c
  DEFVAR_PER_BUFFER ("text-conversion-style", &BVAR (current_buffer,
						     text_conversion_style),
		     Qnil,
    doc: /* How the on screen keyboard's input method should insert in this buffer.

If nil, the input method will be disabled and an ordinary keyboard
will be displayed in its place.

If the value is the symbol `action', the input method will insert text
directly, but will send `return' key events instead of inserting new
line characters.

If the value is the symbol `password', an input method capable of ASCII
input will be enabled, and will not save the entered text where it will
be retrieved for text suggestions or other features not suitable for
handling sensitive information, in addition to reporting `return' as
when `action'.

Any other value means that the input method will insert text directly.

If you need to make non-buffer local changes to this variable, use
`overriding-text-conversion-style', which see.

This variable does not take immediate effect when set; rather, it
takes effect upon the next redisplay after the selected window or
its buffer changes.  */);