Giter Site home page Giter Site logo

Comments (11)

Shinmera avatar Shinmera commented on May 11, 2024 2

The font thingy is due to the way Portacle sets its own font and the way emacs' customisations take precedence. If you use something like

(add-to-list 'default-frame-alist '(font . "-GOOG-Noto Mono-normal-normal-normal-*-14-*-*-*-m-0-iso10646-1"))

in your user.el it should work as expected. The font spec used is described here. The 14 is the base size, and GOOG-Noto Mono is the font family. Adapt that as you see fit.

from portacle.

Shinmera avatar Shinmera commented on May 11, 2024 2

Instead of manually applying the patch, removing the elcs, and byte-recompiling, you could've also just done M-x portacle-update

from portacle.

Shinmera avatar Shinmera commented on May 11, 2024

I don't understand how theme or font size are "Mac OS options". If you are talking about the Emacs commands to change its theme or frame font, then that's just how Emacs works. If you want to persist a change, put it into the config/user.el file as instructed by the help buffer.

from portacle.

ryn1x avatar ryn1x commented on May 11, 2024

I think it may be the way emacs is bundled into the portacle.app on macOS. I have no problems with standard emacs. If I change and save any settings from the tool bar or from the customize emacs "gui" they do not persist. I did have success changing my font and theme by modifying the bundled emacs-init.el though...

from portacle.

ptrckqnln avatar ptrckqnln commented on May 11, 2024

Unfortunately I'm having this issue with the latest version.

from portacle.

pawel-dubiel avatar pawel-dubiel commented on May 11, 2024

I have the same problem. Saving theme or font through the GUI on MacOS doesn't work. ( user.el is not modified )

Interesting is that when I use M-x customize-face
the new settings are saved to user.el but on the restart still can't see new settings.

from portacle.

joebentley avatar joebentley commented on May 11, 2024

I'm having the same issue, I have to manually run the custom-set-faces command from user.el for the change to take place

from portacle.

Shinmera avatar Shinmera commented on May 11, 2024

Actually now that I look at the code I think I see the problem. Portacle's default window customisations are applied after the user file is loaded. This was changed in some relatively recent patch, I think.

from portacle.

joebentley avatar joebentley commented on May 11, 2024

Yes I was thinking that, since the correct font size kind of briefly flashes up before it is reverted to the incorrect setting

from portacle.

pawel-dubiel avatar pawel-dubiel commented on May 11, 2024

I am new to emacs and I had a problem to make this work, but finally, it works for me.

  • applied Shinmera path portacle/emacsd@b21ec3a
  • (add-to-list 'default-frame-alist '(font . "Noto Mono-13:antialias=subpixel")) in user.el
  • removed portacle-user.elc and remove portacle.elc
  • then open portacle and recompile everything withC-u 0 M-x byte-recompile-directory

It could be that one of these steps wasn't required, but now it works for me.

from portacle.

pawel-dubiel avatar pawel-dubiel commented on May 11, 2024

@Shinmera Thanks, that's really good trick :) I'should have scanned for such commands first.

from portacle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.