I'm trying to change the cursor type in Emacs. Here are the steps I'm following,
C-h v cursor-type
- check the value of cursor type. It is set to t.
- start emacs with
emacs -nw -Q
and type(setq cursor-type 'bar)
. - move the cursor to the end of the line and press
C-x C-e
- check the value of cursor type. It is set to
bar
.
What result I'm expecting?
The cursor type to change to bar
.
What result I'm seeing? The cursor type remains default style.
I have tested the same steps with GUI version of Emacs. Launched via emacs -Q
from terminal. I'm able to change the cursor type.
I have Mate desktop environment and running this in mate-terminal
. The TERM
is set to xterm
and i have also tried with setting TERM
to xterm-256color
.
I'm using debian and my emacs version and configuration are as follows,
```
In GNU Emacs 25.0.94.1 (i686-pc-linux-gnu, GTK+ Version 2.24.25) of 2016-08-30 built on hari-laptop System Description: Debian GNU/Linux 8.5 (jessie)
Configured using: 'configure --with-xpm=no --with-jpeg=no --with-gif=no --with-tiff=no'
Configured features: PNG SOUND GSETTINGS NOTIFY FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK2 X11
Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix
Major mode: Lisp Interaction
Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t
Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... [2 times]
Load-path shadows: None found.
Features: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils term/xterm xterm time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)
Memory information: ((conses 8 91186 5077) (symbols 24 19688 0) (miscs 20 34 138) (strings 16 14444 3826) (string-bytes 1 410993) (vectors 8 10488) (vector-slots 4 397081 4396) (floats 8 167 500) (intervals 28 192 14) (buffers 520 12) (heap 1024 30704 569))
```