unicode-fonts
unicode-fonts copied to clipboard
Remapping unicode fonts on each startup
There is some problem with the cache saving. I have persistent-soft installed and unicode-fonts, too.
my init.el has:
(require 'unicode-fonts) (unicode-fonts-setup)
But every time I launch emacs the font mapping starts again. I do not understand why.
I can confirm that this is also happening to me after a recent set of package upgrades.
This is a new problem for me as in the past, I only needed to wait for the mapping after I upgraded the package. I had never needed to explicitly require persistent-soft.
Update: I can confirm that the files ucs-utils and unicode-fonts are being created in ~/.emacs.d/var/pcache
Can conform also. I have already tried to uninstall and reinstall all plugins, did not help.
Is this some interaction with something else that changed recently (I assume pcache)? Because it does not look like there have been any changes to unicode-fonts or persistent soft.
Yep! Actually I solved the problem downgrading pcache. You can try to execute the example code to pcache and it doesn't work
On 31/08/16 15:41, Dylan Schwilk wrote:
Is this some interaction with something else that changed recently (I assume pcache)? Because it does not look like there have been any changes to unicode-fonts or persistent soft.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rolandwalker/unicode-fonts/issues/21#issuecomment-243767470, or mute the thread https://github.com/notifications/unsubscribe-auth/AGtvzngyIuFoMNWCBil1wBcpNnuS8tmOks5qlYSkgaJpZM4JuA2U.
To which version did you downgrade pcache? And, could you somehow provide us with a tarball of your "~/.emacs.d/elpa/pcache-
I'm having lots of trouble to find a way to properly "downgrade" the pcache pkg from MELPA
I have pcache-0.3.1 from marmalade. The 20160724.1929 from melpa doesn't work.
To downgrade I just removed the pcache directory from the elpa directory and then installed the version using emacs' package manager from marmalade.
I am attaching the tar of my "~/.emacs.d/elpa/pcache-"
My emacs version is 24.5.1
Let me know.
On 01/09/16 11:31, João Pizani wrote:
To which version did you downgrade pcache? And, could you somehow provide us with a tarball of your "~/.emacs.d/elpa/pcache-" directory?
I'm having lots of trouble to find a way to properly "downgrade" the pcache pkg from MELPA
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rolandwalker/unicode-fonts/issues/21#issuecomment-244026688, or mute the thread https://github.com/notifications/unsubscribe-auth/AGtvznWm71OIviRK6wFq6sxN2moTp4q8ks5qlptYgaJpZM4JuA2U.
It worked, thank you very much!
@guraltsev :
Thanks. Yes, pcache 3.1 and all is well.
Yep! Actually I solved the problem downgrading pcache. You can try to execute the example code to pcache and it doesn't work
Can you expand on what you mean by "example code"? If we know what exactly is failing maybe we can move this issue over to https://github.com/sigma/pcache
It seems that with Emacs 25.1 and 20160724.1929 from melpa everything works ok again!
I had pcache-20160724.1929
from melpa installed but was still seeing the same behavior (regenerating ~/.emacs.d/var/pcache/{ucs-utils,unicode-fonts}
at every startup). Downgrading to pcache-0.3.1
fixed it for me.
I believe that this is fixed in pcache
0.4.2.
This has been happening to me non-stop. I'm on GNU Emacs 26.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.19) of 2017-08-25.
for anyone who comes here in the future, what i did was:
- let unicode-fonts run once, quit emacs
- copy
set-fontset-font
sexps it saved in the pcache file at~/.emacs.d/var/pcache/unicode-fonts
- add them to a separate file (
~/.emacs.d/chee/unicode-fonts-setup.el
) - stop loading
unicode-fonts
in my.emacs.d/init.el
- load my own
unicode-fonts-setup.el
file instead
also, for me this problem appeared to be caused by switching between different emacs binaries.