Comments (13)
Cannot see it, did you submit it?
Yes, I thought so.
Don't know why it failed. Now it should work: #141
from nano-emacs.
Would have some suggestions (and possibly screenshots) to see the changes?
By the way, tou might also consider nano-theme (on ELPA) that provides the same color theme but is easier to customize.
from nano-emacs.
Sure.
Here is my current Emacs nano setup of my agenda (blurred):
The very same view in my previously used wombat theme.
As you can see, the wombat themed org-super-agenda is using the clearly distinguishable green color for items that are due/scheduled this very day. The overdue items (the majority) are using orange and red colors.
With the nano theme, all items do use the identical font color for today's items and overdue items. This is much harder to parse by the human eye in order to find out today's tasks in contrast to overdue tasks from previous days.
I haven't looked into nano-theme yet but I will consider it. Do you - by chance - know that there is a pre-defined different setting for today's tasks and overdue tasks in the other nano theme?
Thanks!
from nano-emacs.
Sorry for delay. Here is the part for org-agenda in nano-theme:
'(org-agenda-calendar-event ((t (:inherit nano-default))))
'(org-agenda-calendar-sexp ((t (:inherit nano-salient))))
'(org-agenda-clocking ((t (:inherit nano-faded))))
'(org-agenda-column-dateline ((t (:inherit nano-faded))))
'(org-agenda-current-time ((t (:inherit (nano-strong
nano-salient)))))
'(org-agenda-date ((t (:inherit nano-strong))))
'(org-agenda-date-today ((t (:inherit (nano-salient
nano-strong)))))
'(org-agenda-date-weekend ((t (:inherit nano-faded))))
'(org-agenda-diary ((t (:inherit nano-faded))))
'(org-agenda-dimmed-todo-face ((t (:inherit nano-faded))))
'(org-agenda-done ((t (:inherit nano-faded))))
'(org-agenda-filter-category ((t (:inherit nano-faded))))
'(org-agenda-filter-effort ((t (:inherit nano-faded))))
'(org-agenda-filter-regexp ((t (:inherit nano-faded))))
'(org-agenda-filter-tags ((t (:inherit nano-faded))))
'(org-agenda-property-face ((t (:inherit nano-faded))))
'(org-agenda-restriction-lock ((t (:inherit nano-faded))))
'(org-agenda-structure ((t (:inherit nano-strong))))
Which one corresponds to your case ?
from nano-emacs.
Good question. I don't know the details about this.
Main goal is to have a clearly different face for overdue items (scheduled/deadline yesterday or older) in contrast to items scheduled/deadline for today.
from nano-emacs.
Can you check the face for overdue items in your agenda (using describe-face
when the point is on an overdue item)
from nano-emacs.
Can you check the face for overdue items in your agenda (using
describe-face
when the point is on an overdue item)
Perfect. Thanks for the pointer.
describe-face
asks me for something and I use the default "hl-line".
Okay, here we go: scheduled today:
Family: unspecified
Foundry: unspecified
Width: unspecified
Height: unspecified
Weight: unspecified
Slant: unspecified
Foreground: unspecified
DistantForeground: unspecified
Background: #3B4252
Underline: unspecified
Overline: unspecified
Strike-through: unspecified
Box: unspecified
Inverse: unspecified
Stipple: unspecified
Font: unspecified
Fontset: unspecified
Extend: t
Inherit: highlight
For an item that is overdue it's the same.
I guess this is something you weren't hoping for. I guess that's related to some of my settings:
(add-hook 'org-agenda-mode-hook '(lambda () (hl-line-mode 1)))
... this might interfere with nano-emacs I guess. I don't know because this should only change the settings of the current agenda line AFAIK.
from nano-emacs.
You need first to disable hl-line mode and then describe-face should describe face under point.
from nano-emacs.
Of course. So, I disabled hl-line-mode and rebootet Emacs.
describe-face
now has the default org-scheduled-today
when invoked over an item which is scheduled for today:
Documentation:
Face for items scheduled for a certain day.
Defined in org-faces.el .
Family: unspecified
Foundry: unspecified
Width: unspecified
Height: unspecified
Weight: unspecified
Slant: unspecified
Foreground: unspecified
DistantForeground: unspecified
Background: unspecified
Underline: unspecified
Overline: unspecified
Strike-through: unspecified
Box: unspecified
Inverse: unspecified
Stipple: unspecified
Font: unspecified
Fontset: unspecified
Extend: unspecified
Inherit: nano-face-faded
The overdue item has org-scheduled-previously
and looks the same in its output.
from nano-emacs.
Ok, so it's a matter of adding these two faces. Can you make a PR?
from nano-emacs.
I'll try and set up a patch on my machine this weekend probably and generate a PR.
(I'm not using nano any more at the moment mostly because of this issue here.)
from nano-emacs.
Ok, so it's a matter of adding these two faces. Can you make a PR?
Here you go.
from nano-emacs.
Cannot see it, did you submit it?
from nano-emacs.
Related Issues (20)
- [Bug] Modeline and calendar and org-mode dates S-arrows navigation issue HOT 8
- [Bug] Error "Invalid face" bookmark-menu-heading - causes ivy minibuffer on some commands to throw error (+ other packages) HOT 4
- [Bug] Org-mode headings in source code blocks override indentation and formatting from src code block HOT 4
- [Feature Request] Ability to change code syntax highlighting theme inside nano HOT 1
- Changing the default to Nano Dark? HOT 8
- Hide nano-modeline HOT 2
- Nano Writer Mode HOT 1
- frame/windows layout change when opening minibuffer
- Different `display-buffer` behaviour HOT 1
- nano-mu4e updates for newer mu? HOT 1
- No bookmark-menu-heading in Emacs 29.0.91 HOT 4
- ELPA version of nano-modeline is missing deps (nano-faces?) HOT 10
- We eagerly await evil-mode support!
- nano-modeline breaks on html files HOT 3
- Writer mode : add a custom to define the default font family HOT 2
- Wrong number of arguments HOT 2
- cursor stays visible in first window when switching to the second window HOT 2
- Add custom variables for optional packages HOT 1
- Weird emacs freezing with nano-modeline.el HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nano-emacs.