rolandwalker / unicode-fonts

Configure Unicode fonts for Emacs
227 stars 28 forks source link

Remapping unicode fonts on each startup #21

Open guraltsev opened 8 years ago

guraltsev commented 8 years ago

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.

dschwilk commented 8 years ago

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

joaopizani commented 8 years ago

Can conform also. I have already tried to uninstall and reinstall all plugins, did not help.

dschwilk commented 8 years ago

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.

guraltsev commented 8 years ago

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.

joaopizani commented 8 years ago

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

guraltsev commented 8 years ago

pcache-0.3.1.tar.gz

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.

joaopizani commented 8 years ago

It worked, thank you very much!

dschwilk commented 8 years ago

@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

guraltsev commented 7 years ago

It seems that with Emacs 25.1 and 20160724.1929 from melpa everything works ok again!

byorgey commented 7 years ago

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.

mavit commented 7 years ago

I believe that this is fixed in pcache 0.4.2.

blaenk commented 7 years ago

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.

chee commented 4 years ago

for anyone who comes here in the future, what i did was:

also, for me this problem appeared to be caused by switching between different emacs binaries.