Giter Site home page Giter Site logo

Customize group name ? about org-super-agenda HOT 7 OPEN

deb75 avatar deb75 commented on June 21, 2024
Customize group name ?

from org-super-agenda.

Comments (7)

alphapapa avatar alphapapa commented on June 21, 2024

Hello,

If you use M-x customize-group RET org-super-agenda RET you can find the face that can be customized.

from org-super-agenda.

deb75 avatar deb75 commented on June 21, 2024

Thanks, got it.

However, I guess it would set the face for all group names, is there a way to set the header face on a per group basis ? like :face does for the group body.

from org-super-agenda.

alphapapa avatar alphapapa commented on June 21, 2024

As you can see in the documentation, the group :name is a string, so you may propertize it as you wish.

from org-super-agenda.

deb75 avatar deb75 commented on June 21, 2024

Hi,

I tried to replace :name "mygroup" with :name (propertize "mygroup" 'face '(:height 1.2)) but I got the error :

org-super-agenda--group-items: Wrong type argument: buffer-or-string-p, `(propertize "mygroup" 'face '(:height 1.2))

I guess the issue is that the function call (propertize) is not replaced by its result. Excuse my poor elisp knowledge but, how can I do this ?

Regards

from org-super-agenda.

alphapapa avatar alphapapa commented on June 21, 2024

You will need to make sure the propertize form is evaluated and its value placed into the list. Please see (info "(elisp)Backquote"). If you need more help with Elisp, please ask in an appropriate forum or chat room.

from org-super-agenda.

deb75 avatar deb75 commented on June 21, 2024

Yes, it is now evaluated, the string appears but it is not propertized, it seems the properties are overwritten by the org-super-agenda-header face.

from org-super-agenda.

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.