[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/csharp-mode 2275dda 218/459: Properly document workarou
From: |
ELPA Syncer |
Subject: |
[elpa] externals/csharp-mode 2275dda 218/459: Properly document workaround for syntax-properties |
Date: |
Sun, 22 Aug 2021 13:59:30 -0400 (EDT) |
branch: externals/csharp-mode
commit 2275ddab415bcd790f603ccfb6f613142c6144f1
Author: Jostein Kjønigsen <jostein@kjonigsen.net>
Commit: Jostein Kjønigsen <jostein@kjonigsen.net>
Properly document workaround for syntax-properties
---
csharp-mode.el | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/csharp-mode.el b/csharp-mode.el
index 1093892..1a165c8 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -3001,6 +3001,18 @@ Key bindings:
;; required since Emacs git master
;;
https://github.com/emacs-mirror/emacs/commit/edcdf64960a2ab4e8d9ce4419874e43b6d3ccee4
+ ;;
+ ;; Basically syntax-propertize-function is a construct which belongs
+ ;; to font-lock. But correct indentation depends on
+ ;; syntax-properties of the text, and that should ideally be
+ ;; independent of font-lock being activated or not.
+ ;;
+ ;; For csharp-mode, this means that with font-lock disabled, we wont
+ ;; have our syntax-properties set correctly, and indentation will
+ ;; suffer.
+ ;;
+ ;; To patch our way around this, we issue a syntax-propertize call
+ ;; manually, font-lock enabled or not.
(csharp-mode-syntax-propertize-function (point-min) (point-max)))
(provide 'csharp-mode)
- [elpa] externals/csharp-mode c097a34 093/459: add async as a function modifier, (continued)
- [elpa] externals/csharp-mode c097a34 093/459: add async as a function modifier, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode dd6c930 102/459: Merge pull request #43 from wasamasa/fix-major-mode-definition, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 55fe188 101/459: Use `define-derived-mode`, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 3c6a4ea 096/459: Add info about customization to readme., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode f80eace 098/459: Revert "Fix runtime warnings about obsolete Emacs-functions.", ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 43e7120 095/459: Merge remote-tracking branch 'less-colors', ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode e22eb34 210/459: imenu: support nested generic return-types., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 1d2ef53 212/459: Fix imenu-indexing of members with underscore in name., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 33fb05c 213/459: imenu: Fix indexing of fields with _ in name., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 14bc3c6 215/459: Fix broken syntax-propertize., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 2275dda 218/459: Properly document workaround for syntax-properties,
ELPA Syncer <=
- [elpa] externals/csharp-mode 0183fc4 221/459: Prepare changelog for future bugs :), ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 0cd0b2c 226/459: Fix fontification of using-statements., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 0d35431 228/459: Fix fontification of namespaces to match using-statement rules., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 3c989a8 230/459: using: Don't mess up alnums in indentifier-fontification., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 5787aef 233/459: Update changelog., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 14e0327 235/459: Bump version and updated-date., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 5ca1702 236/459: Make csharp-mode-map inherit from prog-mode-map, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 0f65654 245/459: Add regression test, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 628a4e2 248/459: Added testcases for region fontification., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 79e0a60 256/459: New simpler build based on Cask, ELPA Syncer, 2021/08/22