Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change default value of org-super-agenda-header-properties (Fix #236) #237

Merged
merged 3 commits into from
Sep 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ As explained in the usage instructions and shown in the example, items are colle

*Fixes*
+ Widen buffers when collecting parent headers. ([[https://github.com/alphapapa/org-super-agenda/issues/231][#231]]. Thanks to [[https://github.com/haji-ali][Abdul-Lateef Haji-Ali]] for reporting.)
+ Showing names of empty sections. ([[https://github.com/alphapapa/org-super-agenda/issues/236][#236]]. Thanks to [[https://github.com/PaddyPatPat][Patrick Duncan]] and [[https://github.com/cslux][Christian Schwarzgruber]].)

** 1.2

Expand Down
6 changes: 3 additions & 3 deletions org-super-agenda.el
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,7 @@ See `format-time-string'."
:type 'string)

(defcustom org-super-agenda-header-properties
'(face org-super-agenda-header
org-agenda-structural-header t)
'(org-agenda-structural-header t)
"Text properties added to group headers."
:type 'plist)

Expand Down Expand Up @@ -308,8 +307,9 @@ of `org-super-agenda-header-map', which see."
"\n"))
(string org-super-agenda-header-separator))))
(set-text-properties 0 (length header) properties header)
(add-face-text-property 0 (length header) 'org-super-agenda-header t header)
(org-add-props header org-super-agenda-header-properties
'face 'org-super-agenda-header
'org-super-agenda-header t
'keymap org-super-agenda-header-map
;; NOTE: According to the manual, only `keymap' should be necessary, but in my
;; testing, it only takes effect in Agenda buffers when `local-map' is set, so
Expand Down
26 changes: 15 additions & 11 deletions org-super-agenda.info
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,10 @@ File: README.info, Node: 13-pre, Next: 12, Up: Changelog
(https://github.com/alphapapa/org-super-agenda/issues/231). Thanks
to Abdul-Lateef Haji-Ali (https://github.com/haji-ali) for
reporting.)
• Showing names of empty sections. (#236
(https://github.com/alphapapa/org-super-agenda/issues/236). Thanks
to Patrick Duncan (https://github.com/PaddyPatPat) and Christian
Schwarzgruber (https://github.com/cslux).)


File: README.info, Node: 12, Next: 111, Prev: 13-pre, Up: Changelog
Expand Down Expand Up @@ -808,17 +812,17 @@ Node: Why are some items not displayed even though I used group selectors for th
Node: Why did a group disappear when I moved it to the end of the list?20881
Node: Changelog21462
Node: 13-pre21689
Node: 1223007
Node: 11125681
Node: 1125856
Node: 10327440
Node: 10227651
Node: 10127785
Node: 10028123
Node: Development28228
Node: Bugs28630
Node: Tests29324
Node: Credits29661
Node: 1223245
Node: 11125919
Node: 1126094
Node: 10327678
Node: 10227889
Node: 10128023
Node: 10028361
Node: Development28466
Node: Bugs28868
Node: Tests29562
Node: Credits29899

End Tag Table

Expand Down
Loading