[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNU ELPA] Altcaps version 1.1.0

From: ELPA update
Subject: [GNU ELPA] Altcaps version 1.1.0
Date: Mon, 28 Nov 2022 05:02:46 -0500

Version 1.1.0 of package Altcaps has just been released in GNU ELPA.
You can now find it in M-x list-packages RET.

Altcaps describes itself as:

  Apply alternating letter casing to convey sarcasm or mockery

More at

## Summary:

                         CONVEY SARCASM OR MOCKERY

                            Protesilaos Stavrou

  This manual, written by Protesilaos Stavrou, describes the customization
  options for `altcaps' (or `altcaps.el'), and provides every other piece
  of information pertinent to it.

  The documentation furnished herein corresponds to stable version 1.1.0,
  released on 2022-11-28.  Any reference to a newer feature which does not
  yet form part of the latest tagged commit, is explicitly marked as such.

  Current development target is 1.2.0-dev.

## Recent NEWS:

                         CHANGE LOG OF ALTCAPS

This document contains the release notes for each tagged commit on the
project's main git repository: <>.

The newest release is at the top.  For further details, please consult
the manual: <>.

1.1.0 on 2022-11-28

New user option

  Introduced the user option `altcaps-force-character-casing'.  It
  forces the given letter casing for specified characters.  Its value is
  an alist of `(CHARACTER . CASE)' pairs.  `CHARACTER' is a single
  character (satisfies the `characterp' condition), while `CASE' is the
  `upcase' or `downcase' symbol (code sample further below).

  The idea is to always render certain characters in lower or upper
  case, in consideration of their legibility in context.  For example,
  the default altcaps algorithm produces this:

  │ iLlIcIt IlLiBeRaL sIlLiNeSs

  Whereas if the value of this variable declares `i' to always be
  lowercase and `L' uppercase, then we get this:

  │ iLLiCiT iLLiBeRaL siLLiNeSs

  The code to do this:

  │ (setq altcaps-force-character-casing
  │       '((?i . downcase)
  │     (?l . upcase)))

  Thanks to Cédric Barreteau for the idea of forcing a given letter case
  on specified characters.  I think that giving users the option keeps
  our code simple, while providing a useful point of customisation.

  Cédric is the author of the nvim-altcaps, which is a plugin for NeoVim
  based on my `altcaps' idea:

Improvements to documentation

  ⁃ Wrote a `' which contains basic information about the
    project, including links to the official Git repos, its mirrors on
    GitHub/GitLab, as well as the project's mailing list.  This file is
    useful for Git forges that have trouble parsing an Org file (the
    manual is `', which the GNU ELPA machinery converts into a
    proper Info manual).
  ⁃ Added missing index entries to the manual for our commands and the
    new user option.
  ⁃ Wrote this very `', which is helpful for those who
    inspect the Git repository.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]