emacs org-bullets not supported

I’m using ubuntu 19.04 with KDE5
org-bullets doesn’t seem to work for me on both terminal mode as well as GUI mode. I tried it on a windows VM, it works fine there, but not in my linux machine.
My locale is using utf-8. enter image description here

  (use-package org-bullets     :hook (org-mode . org-bullets-mode)     :custom     (org-bullets-bullet-list '("â" "âº" "â¸"))) 

M-x RET describe-current-coding output

  U -- utf-8-dos (alias: mule-utf-8-dos cp65001-dos)  Default coding system (for new files):   U -- utf-8 (alias: mule-utf-8 cp65001)  Coding system for keyboard input:   U -- utf-8-unix (alias: mule-utf-8-unix cp65001-unix)  Coding system for terminal output:   U -- utf-8 (alias: mule-utf-8 cp65001)  Coding system for inter-client cut and paste:   nil Defaults for subprocess I/O:   decoding: U -- utf-8-unix (alias: mule-utf-8-unix cp65001-unix)    encoding: U -- utf-8-unix (alias: mule-utf-8-unix cp65001-unix)   Priority order for recognizing coding systems when reading files:   1. utf-8 (alias: mule-utf-8 cp65001)   2. iso-2022-7bit    3. iso-latin-1 (alias: iso-8859-1 latin-1)   4. iso-2022-7bit-lock (alias: iso-2022-int-1)   5. iso-2022-8bit-ss2    6. emacs-mule    7. raw-text    8. iso-2022-jp (alias: junet)   9. in-is13194-devanagari (alias: devanagari)   10. chinese-iso-8bit (alias: cn-gb-2312 euc-china euc-cn cn-gb gb2312)   11. utf-8-auto    12. utf-8-with-signature    13. utf-16    14. utf-16be-with-signature (alias: utf-16-be)   15. utf-16le-with-signature (alias: utf-16-le)   16. utf-16be    17. utf-16le    18. japanese-shift-jis (alias: shift_jis sjis)   19. chinese-big5 (alias: big5 cn-big5 cp950)   20. undecided     Other coding systems cannot be distinguished automatically   from these, and therefore cannot be recognized automatically   with the present coding system priorities.  Particular coding systems specified for certain file names:    OPERATION TARGET PATTERN      CODING SYSTEM(s)   --------- --------------      ----------------   File I/O      "\.tzst\'"            (no-conversion . no-conversion)                 "\.zst\'"             (no-conversion . no-conversion)                 "\.dz\'"              (no-conversion . no-conversion)                 "\.txz\'"             (no-conversion . no-conversion)                 "\.xz\'"              (no-conversion . no-conversion)                 "\.lzma\'"            (no-conversion . no-conversion)                 "\.lz\'"              (no-conversion . no-conversion)                 "\.g?z\'"             (no-conversion . no-conversion)                 "\.\(?:tgz\|svgz\|sifz\)\'"                                         (no-conversion . no-conversion)                 "\.tbz2?\'"           (no-conversion . no-conversion)                 "\.bz2\'"             (no-conversion . no-conversion)                 "\.Z\'"               (no-conversion . no-conversion)                 "\.elc\'"             utf-8-emacs                 "\.el\'"              prefer-utf-8                 "\.utf\(-8\)?\'"    utf-8                 "\.xml\'"             xml-find-file-coding-system                 "\(\`\|/\)loaddefs.el\'"                                         (raw-text . raw-text-unix)                 "\.tar\'"             (no-conversion . no-conversion)                 "\.po[tx]?\'\|\.po\."                                         po-find-file-coding-system                 "\.\(tex\|ltx\|dtx\|drv\)\'"                                         latexenc-find-file-coding-system                 ""                      (undecided)   Process I/O   nothing specified   Network I/O   nothing specified 

sudo apt purge emacs* removed ubuntu-desktop, shotwell etc

I wanted to do a fresh install of emacs so I tried to uninstall everything related to emacs using

sudo apt purge emacs*

Here is the output

$   sudo apt purge emacs* Reading package lists... Done Building dependency tree        Reading state information... Done Note, selecting 'emacsen' for glob 'emacs*' Note, selecting 'emacs-snapshot-nonx' for glob 'emacs*' Note, selecting 'emacs-calfw-howm' for glob 'emacs*' Note, selecting 'emacs24-lucid' for glob 'emacs*' Note, selecting 'emacspeak-espeak-server' for glob 'emacs*' Note, selecting 'emacs25-dbg' for glob 'emacs*' Note, selecting 'emacspeak' for glob 'emacs*' Note, selecting 'emacs-snapshot' for glob 'emacs*' Note, selecting 'emacs25-lucid' for glob 'emacs*' Note, selecting 'emacs-goodies-el' for glob 'emacs*' Note, selecting 'emacs22-common' for glob 'emacs*' Note, selecting 'emacs25-nox' for glob 'emacs*' Note, selecting 'emacs25-nox-dbg' for glob 'emacs*' Note, selecting 'emacs-jabber' for glob 'emacs*' Note, selecting 'emacs23-nox' for glob 'emacs*' Note, selecting 'emacs25-bin-common' for glob 'emacs*' Note, selecting 'emacs25-common' for glob 'emacs*' Note, selecting 'emacs-intl-fonts' for glob 'emacs*' Note, selecting 'emacs-mozc' for glob 'emacs*' Note, selecting 'emacspeak-bs-tcl' for glob 'emacs*' Note, selecting 'emacsen-common' for glob 'emacs*' Note, selecting 'emacs-nox' for glob 'emacs*' Note, selecting 'emacs25-common-non-dfsg' for glob 'emacs*' Note, selecting 'emacs' for glob 'emacs*' Note, selecting 'emacs25-el' for glob 'emacs*' Note, selecting 'emacs-window-layout' for glob 'emacs*' Note, selecting 'emacs-mozc-bin' for glob 'emacs*' Note, selecting 'emacs-chess' for glob 'emacs*' Note, selecting 'emacs23-lucid' for glob 'emacs*' Note, selecting 'emacs-snapshot-gtk' for glob 'emacs*' Note, selecting 'emacs25-lucid-dbg' for glob 'emacs*' Note, selecting 'emacs24-nox' for glob 'emacs*' Note, selecting 'emacs24-bin-common' for glob 'emacs*' Note, selecting 'emacs-goodies-extra-el' for glob 'emacs*' Note, selecting 'emacspeak-dt-tcl' for glob 'emacs*' Note, selecting 'emacs20' for glob 'emacs*' Note, selecting 'emacs21' for glob 'emacs*' Note, selecting 'emacs22' for glob 'emacs*' Note, selecting 'emacs23' for glob 'emacs*' Note, selecting 'emacs24' for glob 'emacs*' Note, selecting 'emacs25' for glob 'emacs*' Note, selecting 'emacs26' for glob 'emacs*' Note, selecting 'emacs-calfw' for glob 'emacs*' Note, selecting 'emacspeak-dt' for glob 'emacs*' Note, selecting 'emacspeak-ss' for glob 'emacs*' Package 'emacs24' is not installed, so not removed Package 'emacs-snapshot' is not installed, so not removed Note, selecting 'emacs-goodies-el' instead of 'emacs-goodies-extra-el' Package 'emacs26' is not installed, so not removed Package 'emacs23' is not installed, so not removed Package 'emacs20' is not installed, so not removed Package 'emacs21' is not installed, so not removed Package 'emacs22' is not installed, so not removed Package 'emacspeak-bs-tcl' is not installed, so not removed Package 'emacspeak-dt' is not installed, so not removed Package 'emacspeak-dt-tcl' is not installed, so not removed Package 'emacs-chess' is not installed, so not removed Package 'emacs24-bin-common' is not installed, so not removed Package 'emacs24-lucid' is not installed, so not removed Package 'emacs24-nox' is not installed, so not removed Package 'emacs22-common' is not installed, so not removed Package 'emacs23-nox' is not installed, so not removed Package 'emacs23-lucid' is not installed, so not removed Package 'emacs-snapshot-gtk' is not installed, so not removed Package 'emacs-snapshot-nonx' is not installed, so not removed Package 'emacs' is not installed, so not removed Package 'emacs-goodies-el' is not installed, so not removed Package 'emacs25' is not installed, so not removed Package 'emacs25-dbg' is not installed, so not removed Package 'emacs25-lucid-dbg' is not installed, so not removed Package 'emacs25-nox' is not installed, so not removed Package 'emacs25-nox-dbg' is not installed, so not removed Package 'emacs-calfw' is not installed, so not removed Package 'emacs-calfw-howm' is not installed, so not removed Package 'emacs-intl-fonts' is not installed, so not removed Package 'emacs-jabber' is not installed, so not removed Package 'emacs-nox' is not installed, so not removed Package 'emacs-window-layout' is not installed, so not removed Package 'emacspeak' is not installed, so not removed Package 'emacspeak-espeak-server' is not installed, so not removed Package 'emacspeak-ss' is not installed, so not removed Package 'emacs25-common-non-dfsg' is not installed, so not removed Package 'emacs-mozc' is not installed, so not removed Package 'emacs-mozc-bin' is not installed, so not removed The following packages were automatically installed and are no longer required:   activity-log-manager libgeonames-common libgeonames0 liblockfile-bin liblockfile1 libm17n-0 libnm-gtk0 libotf0   libtimezonemap-data libtimezonemap1 libunity-control-center1 m17n-db xaw3dg Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED:   apturl* aspell* aspell-en* chrome-gnome-shell* deja-dup* dictionaries-common* emacs25-bin-common* emacs25-common*   emacs25-el* emacs25-lucid* emacsen-common* enchant* gdm3* gedit* gir1.2-webkit2-4.0* gnome-calendar* gnome-control-center*   gnome-getting-started-docs* gnome-initial-setup* gnome-online-accounts* gnome-shell* gnome-software*   gnome-software-plugin-snap* gnome-user-docs* gnome-user-guide* gufw* hunspell-en-us* hyphen-en-us* indicator-bluetooth*   libedataserverui-1.2-2* libenchant1c2a* libgoa-backend-1.0-1* libgspell-1-1* libwebkit2gtk-4.0-37* libyelp0* mutter*   mythes-en-us* nautilus-share* rhythmbox-plugins* shotwell* ubuntu-desktop* ubuntu-docs* ubuntu-release-upgrader-gtk*   ubuntu-session* ubuntu-software* unity-control-center* update-manager* update-notifier* wbritish* yelp* zenity* 0 upgraded, 0 newly installed, 51 to remove and 0 not upgraded. After this operation, 241 MB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 336156 files and directories currently installed.) Removing nautilus-share (0.7.3-2ubuntu3) ... Removing apturl (0.5.2ubuntu14.2) ... Removing ubuntu-desktop (1.417.3) ... Removing gufw (18.04.0-0ubuntu1) ... Removing shotwell (0.28.4-0ubuntu1) ... Removing gnome-software-plugin-snap (3.28.1-0ubuntu4.18.04.12) ... Removing aspell-en (2017.08.24-0-0.1) ... update-default-aspell: Removing remove file "/var/lib/aspell/en.remove". Removing aspell (0.60.7~20110707-4) ... Removing chrome-gnome-shell (10-1) ... Removing deja-dup (37.1-2fakesync1ubuntu0.1) ... Removing wbritish (2017.08.24-1) ... Removing mythes-en-us (1:6.0.3-3) ... Removing emacs25-lucid (25.2+1-6) ... Remove dictionaries-common for emacs25 remove/dictionaries-common: Purging byte-compiled files for flavour emacs25 Remove emacsen-common for emacs25 emacsen-common: Handling removal of emacsen flavor emacs25 Removing emacs25-bin-common (25.2+1-6) ... Removing emacs25-el (25.2+1-6) ... Removing emacs25-common (25.2+1-6) ... Removing enchant (1.6.0-11.1) ... Removing gdm3 (3.28.3-0ubuntu18.04.4) ... Removing gedit (3.28.1-1ubuntu1.2) ... Removing gnome-calendar (3.28.2-0ubuntu0.18.04.1) ... Removing unity-control-center (15.04.0+18.04.20180216-0ubuntu1) ... Removing gnome-getting-started-docs (3.28.2-0ubuntu0.1) ... Removing gnome-initial-setup (3.28.0-2ubuntu6.16.04.6) ... Removing gnome-online-accounts (3.28.0-0ubuntu2.1) ... Removing ubuntu-session (3.28.1-0ubuntu3) ... Removing gnome-shell (3.28.4-0ubuntu18.04.1) ... Removing gnome-user-guide (3.28.2+git20180715-0ubuntu0.1) ... Removing gnome-user-docs (3.28.2+git20180715-0ubuntu0.1) ... Removing hyphen-en-us (2.8.8-5) ... Removing libedataserverui-1.2-2:amd64 (3.28.5-0ubuntu0.18.04.2) ... Removing ubuntu-docs (18.04.4) ... Removing yelp (3.26.0-1ubuntu2) ... Removing libyelp0:amd64 (3.26.0-1ubuntu2) ... Removing mutter (3.28.4-0ubuntu18.04.1) ... Removing rhythmbox-plugins (3.4.2-4ubuntu1) ... Removing ubuntu-software (3.28.1-0ubuntu4.18.04.12) ... Removing zenity (3.28.1-1) ... Removing gnome-software (3.28.1-0ubuntu4.18.04.12) ... Removing libgspell-1-1:amd64 (1.6.1-1) ... Removing indicator-bluetooth (0.0.6+17.10.20170605-0ubuntu3) ... Removing gnome-control-center (1:3.28.2-0ubuntu0.18.04.5) ... Removing libgoa-backend-1.0-1:amd64 (3.28.0-0ubuntu2.1) ... Removing update-notifier (3.192.1.7) ... Removing update-manager (1:18.04.11.10) ... Removing ubuntu-release-upgrader-gtk (1:18.04.34) ... Removing gir1.2-webkit2-4.0:amd64 (2.24.4-0ubuntu0.18.04.1) ... Removing libwebkit2gtk-4.0-37:amd64 (2.24.4-0ubuntu0.18.04.1) ... Removing libenchant1c2a:amd64 (1.6.0-11.1) ... Removing hunspell-en-us (1:2017.08.24) ... Removing dictionaries-common (1.27.2) ... Removing 'diversion of /usr/share/dict/words to /usr/share/dict/words.pre-dictionaries-common by dictionaries-common' Removing emacsen-common (2.0.8) ... Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ... Processing triggers for install-info (6.5.0.dfsg.1-2) ... Processing triggers for cracklib-runtime (2.9.2-5build1) ... Processing triggers for libglib2.0-0:amd64 (2.56.4-0ubuntu0.18.04.4) ... Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for libc-bin (2.27-3ubuntu1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Processing triggers for mime-support (3.60ubuntu1) ... (Reading database ... 328258 files and directories currently installed.) Purging configuration files for deja-dup (37.1-2fakesync1ubuntu0.1) ... Purging configuration files for wbritish (2017.08.24-1) ... Purging configuration files for unity-control-center (15.04.0+18.04.20180216-0ubuntu1) ... Purging configuration files for gufw (18.04.0-0ubuntu1) ... dpkg: warning: while removing gufw, directory '/etc/gufw' not empty so not removed Purging configuration files for dictionaries-common (1.27.2) ... Purging configuration files for emacsen-common (2.0.8) ... Purging configuration files for gdm3 (3.28.3-0ubuntu18.04.4) ... Removing user `gdm' ... Warning: group `gdm' has no more members. userdel: user gdm is currently used by process 1272 /usr/sbin/deluser: `/usr/sbin/userdel gdm' returned error code 8. Exiting. Could not remove gdm user. /usr/sbin/delgroup: `gdm' still has `gdm' as their primary group! Could not remove gdm group. Purging configuration files for update-notifier (3.192.1.7) ... Purging configuration files for gnome-software (3.28.1-0ubuntu4.18.04.12) ... Purging configuration files for aspell-en (2017.08.24-0-0.1) ... Purging configuration files for gnome-initial-setup (3.28.0-2ubuntu6.16.04.6) ... Removing user `gnome-initial-setup' ... Warning: group `nogroup' has no more members. Done. Purging configuration files for chrome-gnome-shell (10-1) ... Purging configuration files for indicator-bluetooth (0.0.6+17.10.20170605-0ubuntu3) ... Processing triggers for systemd (237-3ubuntu10.29) ... Processing triggers for dbus (1.12.2-1ubuntu1.1) ... Processing triggers for ureadahead (0.100.0-21) ... ureadahead will be reprofiled on next reboot 

I did not read the whole package list during confirmation, usually it doesn’t act this way. But looking at the uninstall log I found a lot of things other than emacs being removed. I tried opening the software center just to check and it didn’t work.

I tried installing emacs again afterwards using

sudo apt install emacs

But it didn’t install the rest of the applications that were removed? How can I undo this? Is there any way to get back all of my applications which were removed?

Error when installing emacs 25.1 on ubuntu 16.04 – I don’t know where to find the dev files I need

checking for long file names... yes checking for X... no checking for X... true configure: error: You seem to be running X, but no X development libraries were found.  You should install the relevant development files for X and for the toolkit you want, such as Gtk+, Lesstif or Motif.  Also make sure you have development files for image handling, i.e. tiff, gif, jpeg, png and xpm. If you are sure you want Emacs compiled without X window support, pass   --without-x to configure. 

Emacs client broken when used as editor by other tool

I’ve had an issue for a while, and I cannot figure out how to fix it. Here is what happens:

When I use a tool that reads out the $ EDITOR variable to let me edit something (e.g. kubectl edit something), it launches an emacsclient instance connecting with an existing daemon. The file opens up and is shown. When I press any button, though, I just see the escape codes printed at the top. Nothing seems to actually be sent to emacsclient or emacs, it just prints the input directly on screen.

For context, this is my setup:

I use mlterm with a tmux session. Both are set to xterm-256color terminal. This works just fine. My default shell is xonsh. I launch emacsclient normally by calling emacsclient -t which I have on an alias. $ EDITOR and $ VISUAL are both set to emacsclient -t -a=''.

I am honestly out of ideas. I can set $ EDITOR or $ VISUAL to vim and it works, but that’s hardly optimal. Did anyone ever see this behavior, even in a different context? That might already help me out here.

Ошибка при использовании input в emacs

Настроил emacs как IDE для Python. В итоге всё работает, всё отлично, кроме одного “НО”. При если я использую команду input в программе на Python и запускаю свой код, то выдаёт ошибку. Вот пример программы:

print (‘Hello, World!!!’)
name = input(‘Say me your name, please:’)
print(f’Hello, {name}!!!’)

Выдаёт вот такую ошибку:

Hello, World!!!                                                                                                                        Say me your name, please:Traceback (most recent call last):                                                                              File "<stdin>", line 2, in <module>                                                                                                  EOFError: EOF when reading a line 

Если пишу вместо второй строчки:

name = ‘Sergey’

то всё работает нормально.

Вот кусок .emacs, который касается работы с Python:

;; Для запуска в Python режиме будет использоваться комбинация C-c e
(defun eval-python-buffer ()
“Execute current buffer as Python code.”
(interactive)
(shell-command-on-region 1 (point-max) “/usr/local/bin/python3”))
(global-set-key (kbd “C-c e”) ‘eval-python-buffer)

В обычной консольке конечно же всё работает и для этого необходимо запускать программу отдельно от emacs. Но хочется как-то “по нормальному”. Как сделать, чтобы input полноценно работала? lisp знаю пока очень плохо, пока еще даже не изучал как следует, данный кусок кода скоммуниздил откуда-то с просторов Интернета. Заранее спасибо всем тем, кто откликнулся на этот вопрос!

How do I remote compile a Latex file using a local Emacs with an Auctex module installed and Latex compiler on a different machine?

How do I remote compile a Latex file using a local Emacs with an Auctex module installed and Latex compiler on a different machine?

My latex is too big for my workstation so I need to move the Latex Compiler to my server. I need the settings in Emacs/Auctex to do this task

Is there an emacs commend to go to end of code line (before line comment and whitespaces start)

say you have that:

stuff     indented stuff   # commented stuff 

We already got move-beginning-of-line and back-to-indentation for the left side. Now, for the right side…

I’d love to know if you are aware of a function that goes at the end of the code line (square position)

stuff     indented stuff□   # commented stuff 

should be able to understand the comment symbol depending on mode I guess.

Termux:Widget and Emacs: can’t start subprocesses

I have some tasks that I like to do using Emacs on several different operating systems. I have been using Termux so that I can access these tasks on my Android phone. To reduce setting-up typing in the file-editing part of this workflow, I’ve installed Termux:Widget and written a two-line widget script that does

filename=$  (a little shell logic) emacs $  filename 

So now my phone has a button on the home screen that I can push and it opens up the file that I want in the editor. That part all works fine.

Frequently, once I’ve started editing, it’s convenient to run a shell script. It’s nice to be able to run the shell script in an Emacs buffer so that I can use the regular buffer-switching commands to interact with it. If I open a fresh Termux session and type emacs at the prompt, then I can do M-x async-shell-command, use relative filenames and tab completion to find the name of the script that I want (e.g. ../my-script.sh), and execute it from within Emacs. That part works fine.

However, if I’ve started Emacs from Termux:Widget, Emacs is unable to spawn subprocesses. I get errors like

/data/data/com.termux/files/usr/bin/sh:  1: ../my-script.sh: not found /data/data/com.termux/files/usr/bin/sh:  1: /data/data/com.termux/files/home/whatever/my-script.sh: not found 

I believe the relative and absolute path names are correct because I am using tab-completion to check them before asking to execute.

This seems like the kind of problem that termux-exec was invented to fix. However, it isn’t working by magic, and I’m finding myself confused by the documentation.

Hunspell (ispell) in emacs buffer doesn’t work properly

In my init.el i have

(setenv "DICPATH" (concat "$  HOME" ".hunspell-dics")) (setq ispell-program-name "/usr/bin/hunspell") (setq ispell-really-aspell nil) (setq ispell-really-hunspell t) (setq ispell-local-dictionary-alist     '(("russian"     "[АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЬЫЪЭЮЯабвгдеёжзийклмнопрстуфхцчшщьыъэюя]"     "^[АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЬЫЪЭЮЯабвгдеёжзийклмнопрстуфхцчшщьыъэюя]"     "[-]" nil ("-d" "ru_RU") nil utf-8)     ("english"     "[A-Za-z]"     "[^A-Za-z]"     "[']" nil ("-d" "en_US") nil utf-8))     ) 

This config looks like normal, but ispell-buffer and flyspell-buffer works in a very strange way. For example, in a .tex file (latex mode) i have a preamble and a main text in a document environment. If i command ispell to check buffer or even check region ispell leaves the text in the document environment unchecked. All the other parts of the document ispell checks without a question. I double checked ispell language and it was set properly (russian). So the question is how to make ispell-buffer/flyspell-buffer check all the document from the first until the last string?

P.S. hunspell -d "ru_RU" from terminal checks the document properly.