LINUX.ORG.RU

после обновления *warning* These default coding systems were tried to encode text in the buffer ‘ *temp file*’

 ,


0

1

После обновления следующих пакетов, появляется буфер *warning*, содержимое которого ниже

[PACKAGES UPDATED]:
request up to date.
yaml-mode up to date.
web-mode up to date.
smartparens up to date.
projectile up to date.
ivy up to date.
helm up to date.
google-translate up to date.
flycheck up to date.
avy up to date.

These default coding systems were tried to encode text
in the buffer ‘ *temp file*’:
  (utf-8-unix (550 . 4194256) (551 . 4194205) (552 . 4194256) (553
  . 4194229) (555 . 4194256) (556 . 4194226) (557 . 4194256) (558
  . 4194229) (559 . 4194257) (560 . 4194176) (561 . 4194256))
However, each of them encountered characters it couldn’t encode:
  utf-8-unix cannot encode these: \320 \235 \320 \265 \320 \262 \320 \265 \321 \200 ...

Click on a character (or switch to this window by ‘C-x o’
and select the characters by RET) to jump to the place it appears,
where ‘C-u C-x =’ will give information about it.

Select one of the safe coding systems listed below,
or cancel the writing with C-g and edit the buffer
   to remove or modify the problematic characters,
or specify any other coding system (and risk losing
   the problematic characters).

  raw-text no-conversion

После C-u C-x =

             position: 1 of 2956 (0%), column: 0
            character: f (displayed as f) (codepoint 102, #o146, #x66)
    preferred charset: ascii (ASCII (ISO646 IRV))
code point in charset: 0x66
               script: latin
               syntax: w 	which means: word
             category: .:Base, L:Left-to-right (strong), a:ASCII, l:Latin, r:Roman
             to input: type "C-x 8 RET 66" or "C-x 8 RET LATIN SMALL LETTER F"
          buffer code: #x66
            file code: #x66 (encoded by coding system utf-8-unix)
              display: terminal code #x66

Character code properties: customize what to show
  name: LATIN SMALL LETTER F
  general-category: Ll (Letter, Lowercase)
  decomposition: (102) ('f')

There is an overlay here:
 From 1 to 50
  semantic             ("django.core.validators" include nil nil #<overlay from 1 to 50 in models.py>)


There are text properties here:
  face                 font-lock-keyword-face
  fontified            t

[back]



Последнее исправление: Xwo (всего исправлений: 3)

Что, вообще никаких вариантов?

Xwo
() автор топика
Ответ на: комментарий от Xwo

Ну, значит, рассказывай подробнее, что и как делал, какая версия Емакса (не слишком свежий мастер, что ли?), конфиг показывай.

anonymous
()
6 августа 2019 г.
Ответ на: комментарий от anonymous

emacs --version

GNU Emacs 25.1.1
Copyright (C) 2016 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

auto-update-package-now

[PACKAGES UPDATED]:
let-alist up to date.
request up to date.
yasnippet up to date.
yaml-mode up to date.
which-key up to date.
web-mode up to date.
use-package up to date.
smartparens up to date.
projectile up to date.
ivy up to date.
helm-core up to date.
helm up to date.
helm-projectile up to date.
helm-make up to date.
haskell-mode up to date.
google-translate up to date.
go-mode up to date.
flycheck up to date.
avy up to date.

ошибка пропадает, если отключить ycmd

ycmd имеет такой конфиг

(use-package ycmd
  :config
  (defvar ycmd-path (concat (getenv "HOME") "/.emacs.d/packages/ycmd/ycmd"))
  (set-variable 'ycmd-server-command `("python", ycmd-path))
  (set-variable 'ycmd-global-config "~/.emacs.d/packages/ycmd/examples/.ycm_extra_conf.py")
  (set-variable 'ycmd-startup-timeout 15)
  (add-hook 'python-mode-hook 'ycmd-mode)
  (add-hook 'c-mode-hook 'ycmd-mode)
  (add-hook 'go-mode-hook 'ycmd-mode)
  (add-hook 'c++-mode-hook 'ycmd-mode)

(defun ycmd-setup-completion-at-point-function ()
  "Setup `completion-at-point-functions' for `ycmd-mode'."
  (add-hook 'completion-at-point-functions
            #'ycmd-complete-at-point nil :local))
(add-hook 'ycmd-mode #'ycmd-setup-completion-at-point-function)
:init (global-ycmd-mode))

Xwo
() автор топика
Последнее исправление: Xwo (всего исправлений: 3)

Хорошо, виновник найден(xclip). Как теперь файлы починить?

Xwo
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.