summaryrefslogtreecommitdiff
path: root/llama.el
AgeCommit message (Collapse)Author
2026-03-01Release version 1.0.4HEADv1.0.4mainJonas Bernoulli
2026-02-17Begrudgingly stop using wrongly deprecated when-letJonas Bernoulli
2026-01-01Release version 1.0.3v1.0.3Jonas Bernoulli
2026-01-01Improve indentation of condJonas Bernoulli
Emacs 31.1 adds variable `lisp-indent-local-overrides'.
2026-01-01Bump copyright yearsJonas Bernoulli
2025-11-01Release version 1.0.2v1.0.2Jonas Bernoulli
2025-09-01Release version 1.0.1v1.0.1Jonas Bernoulli
2025-08-08global-llama-fontify-mode: Remove obsolete aliasJonas Bernoulli
2025-08-07Use _ in all non-binding entries in the varlist of COND-let formsJonas Bernoulli
This was not done until now because doing so results in a warning because the macro expansion did not actually leave any variables unused. This was fixed in Emacs 30.1 and I've added a backport to Transient, which fixes the issue for that package and packages that depend on it. It doesn't remove the warning when compiling this package, but I have decided I *always* want to use `_' when appropriate, and that I can live with users seeing warnings, if they do not bother to update to the latest Emacs release in a timely manner. Alternatively they can add the backport early in their init file. Without consistently using `_' one would always have to count parens to be sure whether a member of the varlist does or does not bind a variable. It is very easy to make mistake when writing or reading such forms, if `_' is not consistently used in the non-binding cases.
2025-07-01Release version 1.0.0v1.0.0Jonas Bernoulli
2025-06-01Release version 0.6.3v0.6.3Jonas Bernoulli
2025-03-14Release version 0.6.2v0.6.2Jonas Bernoulli
2025-03-12Extend cooperation with morlock-modeJonas Bernoulli
When that mode is disabled, then actually stop morlocking.
2025-03-12Add llama group to faces groupJonas Bernoulli
2025-03-12Mention llama-fontify-mode in documentationJonas Bernoulli
2025-03-12Activate fontification advices only when fontification mode is enabledJonas Bernoulli
Suggested-by: Daniel Mendler <mail@daniel-mendler.de>
2025-03-12No longer provide a non-global modeJonas Bernoulli
Before this, font-locking was not properly refreshed when toggling the global mode.
2025-03-12Move definitions of advices related to fontificationJonas Bernoulli
2025-03-09elisp-mode-syntax-propertize: Fix placement of meta commentJonas Bernoulli
2025-03-07all-completions advice: Check for equality with global obarray and empty str ↵Daniel Mendler
as optimization
2025-03-06Use advice on all-completionsDaniel Mendler
Right now the completing-read advice does not cover other places where the empty symbol appears, e.g., `completion-at-point'. Therefore address the problem on a slightly lower level, by using an advice on `all-completions', directly where the completion candidates are generated. This advice is simpler since it removes the empty string from the candidates instead of mutating the obarray.
2025-03-01Release version 0.6.1v0.6.1Jonas Bernoulli
2025-02-18Advise against setting read-symbol-shorthands in .dir-locals.elJonas Bernoulli
2025-02-01Release version 0.6.0v0.6.0Jonas Bernoulli
2025-02-01Add llama--{left,right}-apply-partially a.k.a. partial / rpartialJonas Bernoulli
2025-02-01Add .dir-locals.elJonas Bernoulli
2025-01-20Release version 0.5.0v0.5.0Jonas Bernoulli
2025-01-17Highlight many symbols if they appear after "(##"Jonas Bernoulli
Advice `lisp--el-match-keyword' to do so, but only if `llama-fontify-mode' is enable. If so, highlight symbols after "(##", "(## " and "(", which would otherwise only be highlighted after "(".
2025-01-17Hide incompatible code from older compilersJonas Bernoulli
2025-01-17Require compatJonas Bernoulli
2025-01-01Release version 0.4.1v0.4.1Jonas Bernoulli
2024-11-04Release version 0.4.0v0.4.0Jonas Bernoulli
2024-11-04Improve documentationJonas Bernoulli
2024-10-29llama--fontify: Fix stopping at nested llama expressionJonas Bernoulli
Fixes [1: ad20e98]. 1: 2024-10-03 ad20e98b6b98ccd6dbdd02217a839b61a01fcdde llama--{collect,fontify}: Stop at nested llama expression
2024-10-03llama--collect: Support % and & directly following ,unquoteJonas Bernoulli
2024-10-03llama--collect: Support spliceJonas Bernoulli
2024-10-03llama--collect: Optimize unquotingJonas Bernoulli
This avoids one call to `llama--collect' per ,unquote.
2024-10-03llama--fontify: Handle nilJonas Bernoulli
2024-10-03Address ##'s identity crisisJonas Bernoulli
When the file was evaluated, the previous code worked, but when the compiled file is loaded instead, then (eq '## X) where X's value is a "runtime '##", returns nil.
2024-10-03llama--{collect,fontify}: Stop at nested llama expressionJonas Bernoulli
2024-10-03llama-font-lock-keywords-29: Use font-lock-keyword-face for llamaJonas Bernoulli
Make that the default, but do so via a new `llama-llama-macro' face to make it customizable. Rename `llama-macro' to `llama-\#\#-macro' for consistency.
2024-10-03llama--match-and-fontify: SimplifyJonas Bernoulli
2024-10-02Quote paren in docstringJonas Bernoulli
This is necessary at the beginning of a line, as otherwise `outline-minor-mode' gets confused.
2024-10-02Complete correction of outdated examplesJonas Bernoulli
Finish [1: cea812d]. 1: 2024-05-20 cea812d16129749deb524771e615a4a831604a83 Correct outdated examples
2024-10-02Be explicit about % and %N being mandatoryJonas Bernoulli
2024-10-02Fix quoting in primary docstringJonas Bernoulli
2024-09-20Improve font-lock for Emacs >= 29.1Jonas Bernoulli
Only highlight arguments within macro body. Do not highlight quoted arguments. While `##' or `llama' is highlighted instantly, arguments are only highlighted once closing parenthesis is in place. While this new variant takes care to rehighlight multiline constructs, it does not ensure correct identification of multiline constructs. Doing the latter seems too expensive.
2024-09-20llama--maybe-face: Handle llama as wellJonas Bernoulli
2024-09-20llama-font-lock-keywords: Also fontify llamaJonas Bernoulli
Use the same face as for `lambda' not the same as for `##'. The reason that `##' uses another face is that it might appear right next to another symbol using `font-lock-keyword-face' with no space in between. By using another face, we prevent them from looking like one symbol. The same cannot happen for `llama'.
2024-09-20Add alias that can be completed to in describe-functionMartin Edström