all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#72798: 29.4; Documentation issues with Supercite re. filladapt
@ 2024-08-24 21:29 Marc Fargas
  2024-08-31  9:39 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Marc Fargas @ 2024-08-24 21:29 UTC (permalink / raw)
  To: 72798

[-- Attachment #1: Type: text/plain, Size: 33561 bytes --]

Hi there,

I just saw the info page of "Supercite" and got curious. Though there
are parts of the documentation that seem to be outdated and lead to
errors.

In particular, on the /Filling Cited Text/ and /What Supercite Does/
sections:

There are mentions to some "gin-mode" which I'm not sure it exists
anymore. The only thing I found is some FTP archive [1] with a file
"gin-mode.el" dated May 1989. I am attaching it here for reference.

Then there are mentions to filladapt which is on ELPA, but enabling it
breaks supercite,

    (use-package supercite
      :ensure nil ; emacs builtin
      :hook ((mail-citation . sc-cite-original)))

    (use-package filladapt			; better auto fill
      :ensure t
      :demand t
      :config
      (setq-default filladapt-mode t))

Now attempting to reply an email will output an error in *Messages* and
citing will stop at the first paragraph:

    message-newline-and-reformat: This command only works in the body of the message

The manual tells you about "(sc-setup-filladapt)" but this function
seems to be broken:

    Debugger entered--Lisp error: (void-variable filladapt-prefix-table)
      sc-setup-filladapt()
      eval-expression((sc-setup-filladapt) nil nil 127)
      funcall-interactively(eval-expression (sc-setup-filladapt) nil nil 127)
      command-execute(eval-expression)

[1]: https://ftp.nice.ch/NiCE/emacs-19-for-NeXTstep/_site-lisp/site-lisp/gin-mode.el

Best,

Marc


What follows comes from report-emacs-bug:


In GNU Emacs 29.4 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.43,
cairo version 1.18.0)
Repository revision: emacs-29.4
Repository branch: master
System Description: Fedora Linux 40.20240823.0 (Silverblue)

Configured using:
 'configure
 --prefix=/nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4
 --disable-build-details --with-modules --with-pgtk
 --with-compress-install --with-toolkit-scroll-bars
 --with-native-compilation --without-imagemagick --with-mailutils
 --without-small-ja-dic --with-tree-sitter --without-xinput2
 --with-xwidgets --with-dbus --with-selinux'

Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON
LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER
PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS
TREE_SITTER WEBP XIM XWIDGETS GTK3 ZLIB

Important settings:
  value of $EMACSLOADPATH: 
  value of $EMACSNATIVELOADPATH: 
  value of $LC_MONETARY: es_ES.UTF-8
  value of $LC_NUMERIC: es_ES.UTF-8
  value of $LC_TIME: es_ES.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: notmuch-hello

Minor modes in effect:
  envrc-global-mode: t
  envrc-mode: t
  server-mode: t
  pdf-occur-global-minor-mode: t
  show-smartparens-global-mode: t
  show-smartparens-mode: t
  corfu-popupinfo-mode: t
  auto-dark-mode: t
  mood-line-mode: t
  vertico-mode: t
  marginalia-mode: t
  winner-mode: t
  windmove-mode: t
  shell-dirtrack-mode: t
  midnight-mode: t
  savehist-mode: t
  global-auto-revert-mode: t
  recentf-mode: t
  save-place-mode: t
  delete-selection-mode: t
  repeat-mode: t
  elpaca-use-package-mode: t
  override-global-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
/nix/store/lv0fc19f477mmxy7mp8c90xgd6wfp6ik-emacs-packages-deps/share/emacs/site-lisp/site-start hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/site-lisp/site-start
/var/home/marc/.config/emacs/elpaca/builds/transient/transient hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/transient
/var/home/marc/.config/emacs/elpaca/builds/modus-themes/theme-loaddefs hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/theme-loaddefs
/var/home/marc/.config/emacs/elpaca/builds/use-package-ensure-system-package/use-package-ensure-system-package hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/use-package/use-package-ensure-system-package
/var/home/marc/.config/emacs/elpaca/builds/org/ox hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ox
/var/home/marc/.config/emacs/elpaca/builds/org/ox-texinfo hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ox-texinfo
/var/home/marc/.config/emacs/elpaca/builds/org/ox-publish hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ox-publish
/var/home/marc/.config/emacs/elpaca/builds/org/ox-org hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ox-org
/var/home/marc/.config/emacs/elpaca/builds/org/ox-odt hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ox-odt
/var/home/marc/.config/emacs/elpaca/builds/org/ox-md hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ox-md
/var/home/marc/.config/emacs/elpaca/builds/org/ox-man hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ox-man
/var/home/marc/.config/emacs/elpaca/builds/org/ox-latex hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ox-latex
/var/home/marc/.config/emacs/elpaca/builds/org/ox-koma-letter hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ox-koma-letter
/var/home/marc/.config/emacs/elpaca/builds/org/ox-icalendar hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ox-icalendar
/var/home/marc/.config/emacs/elpaca/builds/org/ox-html hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ox-html
/var/home/marc/.config/emacs/elpaca/builds/org/ox-beamer hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ox-beamer
/var/home/marc/.config/emacs/elpaca/builds/org/ox-ascii hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ox-ascii
/var/home/marc/.config/emacs/elpaca/builds/org/org hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org
/var/home/marc/.config/emacs/elpaca/builds/org/org-version hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-version
/var/home/marc/.config/emacs/elpaca/builds/org/org-timer hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-timer
/var/home/marc/.config/emacs/elpaca/builds/org/org-tempo hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-tempo
/var/home/marc/.config/emacs/elpaca/builds/org/org-table hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-table
/var/home/marc/.config/emacs/elpaca/builds/org/org-src hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-src
/var/home/marc/.config/emacs/elpaca/builds/org/org-refile hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-refile
/var/home/marc/.config/emacs/elpaca/builds/org/org-protocol hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-protocol
/var/home/marc/.config/emacs/elpaca/builds/org/org-plot hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-plot
/var/home/marc/.config/emacs/elpaca/builds/org/org-persist hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-persist
/var/home/marc/.config/emacs/elpaca/builds/org/org-pcomplete hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-pcomplete
/var/home/marc/.config/emacs/elpaca/builds/org/org-num hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-num
/var/home/marc/.config/emacs/elpaca/builds/org/org-mouse hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-mouse
/var/home/marc/.config/emacs/elpaca/builds/org/org-mobile hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-mobile
/var/home/marc/.config/emacs/elpaca/builds/org/org-macs hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-macs
/var/home/marc/.config/emacs/elpaca/builds/org/org-macro hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-macro
/var/home/marc/.config/emacs/elpaca/builds/org/org-loaddefs hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-loaddefs
/var/home/marc/.config/emacs/elpaca/builds/org/org-list hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-list
/var/home/marc/.config/emacs/elpaca/builds/org/org-lint hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-lint
/var/home/marc/.config/emacs/elpaca/builds/org/org-keys hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-keys
/var/home/marc/.config/emacs/elpaca/builds/org/org-inlinetask hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-inlinetask
/var/home/marc/.config/emacs/elpaca/builds/org/org-indent hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-indent
/var/home/marc/.config/emacs/elpaca/builds/org/org-id hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-id
/var/home/marc/.config/emacs/elpaca/builds/org/org-habit hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-habit
/var/home/marc/.config/emacs/elpaca/builds/org/org-goto hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-goto
/var/home/marc/.config/emacs/elpaca/builds/org/org-footnote hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-footnote
/var/home/marc/.config/emacs/elpaca/builds/org/org-fold hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-fold
/var/home/marc/.config/emacs/elpaca/builds/org/org-fold-core hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-fold-core
/var/home/marc/.config/emacs/elpaca/builds/org/org-feed hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-feed
/var/home/marc/.config/emacs/elpaca/builds/org/org-faces hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-faces
/var/home/marc/.config/emacs/elpaca/builds/org/org-entities hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-entities
/var/home/marc/.config/emacs/elpaca/builds/org/org-element hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-element
/var/home/marc/.config/emacs/elpaca/builds/org/org-duration hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-duration
/var/home/marc/.config/emacs/elpaca/builds/org/org-datetree hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-datetree
/var/home/marc/.config/emacs/elpaca/builds/org/org-cycle hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-cycle
/var/home/marc/.config/emacs/elpaca/builds/org/org-ctags hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-ctags
/var/home/marc/.config/emacs/elpaca/builds/org/org-crypt hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-crypt
/var/home/marc/.config/emacs/elpaca/builds/org/org-compat hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-compat
/var/home/marc/.config/emacs/elpaca/builds/org/org-colview hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-colview
/var/home/marc/.config/emacs/elpaca/builds/org/org-clock hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-clock
/var/home/marc/.config/emacs/elpaca/builds/org/org-capture hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-capture
/var/home/marc/.config/emacs/elpaca/builds/org/org-attach hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-attach
/var/home/marc/.config/emacs/elpaca/builds/org/org-attach-git hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-attach-git
/var/home/marc/.config/emacs/elpaca/builds/org/org-archive hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-archive
/var/home/marc/.config/emacs/elpaca/builds/org/org-agenda hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/org-agenda
/var/home/marc/.config/emacs/elpaca/builds/org/ol hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ol
/var/home/marc/.config/emacs/elpaca/builds/org/ol-w3m hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ol-w3m
/var/home/marc/.config/emacs/elpaca/builds/org/ol-rmail hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ol-rmail
/var/home/marc/.config/emacs/elpaca/builds/org/ol-mhe hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ol-mhe
/var/home/marc/.config/emacs/elpaca/builds/org/ol-man hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ol-man
/var/home/marc/.config/emacs/elpaca/builds/org/ol-irc hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ol-irc
/var/home/marc/.config/emacs/elpaca/builds/org/ol-info hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ol-info
/var/home/marc/.config/emacs/elpaca/builds/org/ol-gnus hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ol-gnus
/var/home/marc/.config/emacs/elpaca/builds/org/ol-eww hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ol-eww
/var/home/marc/.config/emacs/elpaca/builds/org/ol-eshell hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ol-eshell
/var/home/marc/.config/emacs/elpaca/builds/org/ol-doi hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ol-doi
/var/home/marc/.config/emacs/elpaca/builds/org/ol-docview hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ol-docview
/var/home/marc/.config/emacs/elpaca/builds/org/ol-bibtex hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ol-bibtex
/var/home/marc/.config/emacs/elpaca/builds/org/ol-bbdb hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ol-bbdb
/var/home/marc/.config/emacs/elpaca/builds/org/oc hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/oc
/var/home/marc/.config/emacs/elpaca/builds/org/oc-natbib hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/oc-natbib
/var/home/marc/.config/emacs/elpaca/builds/org/oc-csl hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/oc-csl
/var/home/marc/.config/emacs/elpaca/builds/org/oc-bibtex hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/oc-bibtex
/var/home/marc/.config/emacs/elpaca/builds/org/oc-biblatex hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/oc-biblatex
/var/home/marc/.config/emacs/elpaca/builds/org/oc-basic hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/oc-basic
/var/home/marc/.config/emacs/elpaca/builds/org/ob hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob
/var/home/marc/.config/emacs/elpaca/builds/org/ob-tangle hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-tangle
/var/home/marc/.config/emacs/elpaca/builds/org/ob-table hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-table
/var/home/marc/.config/emacs/elpaca/builds/org/ob-sqlite hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-sqlite
/var/home/marc/.config/emacs/elpaca/builds/org/ob-sql hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-sql
/var/home/marc/.config/emacs/elpaca/builds/org/ob-shell hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-shell
/var/home/marc/.config/emacs/elpaca/builds/org/ob-sed hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-sed
/var/home/marc/.config/emacs/elpaca/builds/org/ob-screen hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-screen
/var/home/marc/.config/emacs/elpaca/builds/org/ob-scheme hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-scheme
/var/home/marc/.config/emacs/elpaca/builds/org/ob-sass hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-sass
/var/home/marc/.config/emacs/elpaca/builds/org/ob-ruby hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-ruby
/var/home/marc/.config/emacs/elpaca/builds/org/ob-ref hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-ref
/var/home/marc/.config/emacs/elpaca/builds/org/ob-python hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-python
/var/home/marc/.config/emacs/elpaca/builds/org/ob-processing hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-processing
/var/home/marc/.config/emacs/elpaca/builds/org/ob-plantuml hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-plantuml
/var/home/marc/.config/emacs/elpaca/builds/org/ob-perl hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-perl
/var/home/marc/.config/emacs/elpaca/builds/org/ob-org hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-org
/var/home/marc/.config/emacs/elpaca/builds/org/ob-octave hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-octave
/var/home/marc/.config/emacs/elpaca/builds/org/ob-ocaml hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-ocaml
/var/home/marc/.config/emacs/elpaca/builds/org/ob-maxima hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-maxima
/var/home/marc/.config/emacs/elpaca/builds/org/ob-matlab hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-matlab
/var/home/marc/.config/emacs/elpaca/builds/org/ob-makefile hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-makefile
/var/home/marc/.config/emacs/elpaca/builds/org/ob-lua hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-lua
/var/home/marc/.config/emacs/elpaca/builds/org/ob-lob hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-lob
/var/home/marc/.config/emacs/elpaca/builds/org/ob-lisp hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-lisp
/var/home/marc/.config/emacs/elpaca/builds/org/ob-lilypond hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-lilypond
/var/home/marc/.config/emacs/elpaca/builds/org/ob-latex hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-latex
/var/home/marc/.config/emacs/elpaca/builds/org/ob-julia hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-julia
/var/home/marc/.config/emacs/elpaca/builds/org/ob-js hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-js
/var/home/marc/.config/emacs/elpaca/builds/org/ob-java hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-java
/var/home/marc/.config/emacs/elpaca/builds/org/ob-haskell hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-haskell
/var/home/marc/.config/emacs/elpaca/builds/org/ob-groovy hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-groovy
/var/home/marc/.config/emacs/elpaca/builds/org/ob-gnuplot hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-gnuplot
/var/home/marc/.config/emacs/elpaca/builds/org/ob-fortran hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-fortran
/var/home/marc/.config/emacs/elpaca/builds/org/ob-forth hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-forth
/var/home/marc/.config/emacs/elpaca/builds/org/ob-exp hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-exp
/var/home/marc/.config/emacs/elpaca/builds/org/ob-eval hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-eval
/var/home/marc/.config/emacs/elpaca/builds/org/ob-eshell hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-eshell
/var/home/marc/.config/emacs/elpaca/builds/org/ob-emacs-lisp hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-emacs-lisp
/var/home/marc/.config/emacs/elpaca/builds/org/ob-dot hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-dot
/var/home/marc/.config/emacs/elpaca/builds/org/ob-ditaa hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-ditaa
/var/home/marc/.config/emacs/elpaca/builds/org/ob-css hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-css
/var/home/marc/.config/emacs/elpaca/builds/org/ob-core hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-core
/var/home/marc/.config/emacs/elpaca/builds/org/ob-comint hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-comint
/var/home/marc/.config/emacs/elpaca/builds/org/ob-clojure hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-clojure
/var/home/marc/.config/emacs/elpaca/builds/org/ob-calc hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-calc
/var/home/marc/.config/emacs/elpaca/builds/org/ob-awk hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-awk
/var/home/marc/.config/emacs/elpaca/builds/org/ob-R hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-R
/var/home/marc/.config/emacs/elpaca/builds/org/ob-C hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/org/ob-C
/nix/store/lv0fc19f477mmxy7mp8c90xgd6wfp6ik-emacs-packages-deps/share/emacs/site-lisp/elpa/let-alist-1.0.6/let-alist hides /nix/store/1hbx6jrs9z0v7prhlf5vxi5kmsa130g8-emacs-unstable-29.4/share/emacs/29.4/lisp/emacs-lisp/let-alist

Features:
(shr-color speedbar ezimage dframe ses unsafep org-modern org-indent
image-file image-converter oc-basic ffap vc-git mood-line-segment-vc
remember network-stream url-http url-gw nsm url-cache url-auth
consult-imenu consult display-line-numbers qp timezone textsec
uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check
shadow sort emacsbug mail-extr mm-archive modus-vivendi-theme mule-util
tramp-cmds modus-operandi-theme ol-eww eww url-queue mm-url ol-rmail
ol-mhe ol-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015 gnus-sum
gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail
mail-source utf7 nnoo gnus-spec gnus-int gnus-range gnus-win gnus
nnheader range ol-docview doc-view ol-bibtex bibtex ol-bbdb ol-w3m
ol-doi org-link-doi orglink org-lint dockerfile-mode yaml-mode
smartparens-python python-mode tramp-sh which-func hideshow hippie-exp
cc-cmds cc-engine envrc inheritenv cus-start gnus-alias
dockerfile-mode-autoloads yaml-mode-autoloads nov-autoloads
esxml-autoloads kv-autoloads nix-mode-autoloads python-mode-autoloads
envrc-autoloads inheritenv-autoloads forge-autoloads closql-autoloads
emacsql-autoloads ghub-autoloads treepy-autoloads
markdown-mode-autoloads yaml-autoloads magit-autoloads
git-commit-autoloads with-editor-autoloads gnus-alias-autoloads server
pdf-occur tablist tablist-filter semantic/wisent/comp semantic/wisent
semantic/wisent/wisent semantic/util-modes semantic/util semantic
semantic/tag semantic/lex semantic/fw mode-local cedet pdf-isearch
let-alist pdf-misc pdf-tools-autoloads pdf-tools package url-handlers
pdf-view jka-compr pdf-cache pdf-info tq pdf-util pdf-macs mf-email
notmuch-delay notmuch-addr org-mime ox-org ol-notmuch notmuch
notmuch-tree notmuch-jump notmuch-hello notmuch-show notmuch-print
notmuch-crypto notmuch-mua notmuch-message notmuch-draft
notmuch-maildir-fcc notmuch-address notmuch-company notmuch-parser
notmuch-wash diff-mode coolj goto-addr icalendar notmuch-tag crm
notmuch-lib notmuch-compat hl-line message sendmail yank-media rfc822
mml mailabbrev mail-utils gmm-utils mailheader mm-view mml-smime mml-sec
epa epg rfc6068 epg-config gnus-util smime gnutls dig mm-decode
mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util
ietf-drums mail-prsvr htmlize ement ement-notifications ement-notify
notifications ement-room shr pixel-fill kinsoku url-file puny svg dom
browse-url ement-lib ement-api ement-structs plz ement-macros
taxy-magit-section magit-section cursor-sensor taxy dns org-re-reveal
iso-cvt org-super-agenda ht org-ql peg ts org-habit org-duration
org-archive org-archive-subtree-hierarchical smartparens-org mf-pim
ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn
nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar
org-agenda ox-html table ox-ascii ox-publish ox org-element org-persist
org-attach org-id org-element-ast inline org-capture org-refile org ob
ob-tangle ob-ref ob-lob ob-table org-macro org-src sh-script smie
treesit executable ob-comint org-pcomplete org-list org-footnote
org-faces org-entities noutline outline ob-emacs-lisp org-table org-keys
avl-tree ol oc ob-exp corg ob-core org-cycle org-fold org-fold-core
org-compat ob-eval org-version org-macs olivetti cap-words superword
subword smartparens-config smartparens-text smartparens loadhist
rainbow-delimiters corfu-popupinfo corfu transpose-frame auto-dark dbus
xml modus-themes mood-line vertico orderless comp comp-cstr marginalia
exec-path-from-shell eshell esh-cmd generator esh-ext esh-opt esh-proc
esh-io esh-arg esh-module esh-groups esh-util helpful cc-langs cc-vars
cc-defs trace edebug info-look f help-fns radix-tree elisp-refs s
casual-dired casual-dired-settings casual-dired-version
casual-dired-sort-by casual-dired-utils casual-dired-variables elint
checkdoc lisp-mnt image-dired image-dired-tags image-dired-external
image-dired-util image-mode exif wdired dired-x dired-subtree
dired-hacks-utils dired-aux dired dired-loaddefs dash casual-info
casual-info-settings casual-info-utils casual-info-variables
casual-info-version casual-lib casual-lib-version fontaine xmlgen rg vc
vc-dispatcher rg-info-hack advice rg-menu rg-ibuffer ibuf-macs rg-result
wgrep-rg wgrep rg-history rg-header ibuf-ext ibuffer ibuffer-loaddefs
grep notmuch-addr-autoloads org-mime-autoloads ol-notmuch-autoloads
notmuch-autoloads ement-autoloads persist-autoloads plz-autoloads
taxy-magit-section-autoloads magit-section-autoloads taxy-autoloads
svg-lib-autoloads orglink-autoloads consult-notes-autoloads
consult-denote-autoloads denote-autoloads org-re-reveal-autoloads
htmlize-autoloads corg-autoloads org-mru-clock-autoloads
org-ql-autoloads org-super-agenda-autoloads ht-autoloads ov-autoloads
peg-autoloads ts-autoloads org-download-autoloads async-autoloads
org-modern-autoloads org-loaddefs olivetti-autoloads
transpose-frame-autoloads auto-dark-autoloads modus-themes-autoloads
mood-line-autoloads embark-consult-autoloads embark-autoloads
consult-autoloads vertico-autoloads orderless-autoloads
marginalia-autoloads corfu-autoloads exec-path-from-shell-autoloads
helpful-autoloads f-autoloads elisp-refs-autoloads s-autoloads
rainbow-delimiters-autoloads smartparens-autoloads
casual-dired-autoloads dired-sidebar-autoloads dired-narrow-autoloads
dired-subtree-autoloads dired-hacks-utils-autoloads dash-autoloads
casual-calc-autoloads casual-info-autoloads casual-lib-autoloads
ace-window-autoloads avy-autoloads fontaine-autoloads xmlgen-autoloads
rg-autoloads wgrep-autoloads mf-reference diary-lib diary-loaddefs
cal-menu calendar cal-loaddefs mf-calendar gnome-statusbar winner
windmove vterm bookmark face-remap color term disp-table ehelp
vterm-module term/xterm xterm tramp tramp-loaddefs trampver
tramp-integration files-x tramp-compat rx shell pcomplete parse-time
iso8601 time-date help-at-pt info midnight savehist autorevert recentf
tree-widget saveplace delsel repeat time transient format-spec edmacro
kmacro transient-autoloads eglot external-completion array filenotify
jsonrpc ert ewoc debug backtrace find-func xref flymake-proc flymake
thingatpt warnings compile text-property-search comint ansi-osc
ansi-color ring project imenu no-littering compat compat-30 compat-macs
no-littering-autoloads compat-autoloads
use-package-ensure-system-package system-packages
use-package-ensure-system-package-autoloads system-packages-autoloads
cl-extra help-mode elpaca-use-package use-package use-package-ensure
use-package-delight use-package-diminish use-package-bind-key bind-key
use-package-core elpaca-use-package-autoloads elpaca-log elpaca-ui
derived url url-proxy url-privacy url-expand url-methods url-history
url-cookie generate-lisp-file url-domsuf url-util url-parse auth-source
eieio eieio-core password-cache json map byte-opt bytecomp byte-compile
url-vars mailcap elpaca easy-mmode pcase cl-seq cl-macs gv
elpaca-process subr-x elpaca-autoloads xdg cus-edit pp cus-load icons
wid-edit cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren
electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/pgtk-win pgtk-win term/common-win pgtk-dnd tool-bar dnd fontset
image regexp-opt fringe tabulated-list replace newcomment text-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads xwidget-internal dbusbind
inotify dynamic-setting system-font-setting font-render-setting cairo
gtk pgtk multi-tty make-network-process native-compile emacs)

Memory information:
((conses 16 1710473 617244)
 (symbols 48 69324 32)
 (strings 32 377180 56479)
 (string-bytes 1 10766113)
 (vectors 16 132930)
 (vector-slots 8 2916244 510496)
 (floats 8 815 1287)
 (intervals 56 13104 3720)
 (buffers 984 34))

[-- Attachment #2: gin-mode.el --]
[-- Type: text/plain, Size: 6933 bytes --]

;; gin-mode.el -- Set up minor mode with guess-indent stuff.
;; Copyright (C) Martin Neitzel, May 1989

;; This file is not yet part of GNU Emacs.

;; GNU Emacs is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY.  No author or distributor
;; accepts responsibility to anyone for the consequences of using it
;; or for whether it serves any particular purpose or works at all,
;; unless he says so in writing.  Refer to the GNU Emacs General Public
;; License for full details.

;; Everyone is granted permission to copy, modify and redistribute
;; GNU Emacs, but only under the conditions described in the
;; GNU Emacs General Public License.   A copy of this license is
;; supposed to have been given to you along with GNU Emacs so you
;; can know your rights and responsibilities.  It should be in a
;; file named COPYING.  Among other things, the copyright notice
;; and this notice must be preserved on all copies.


;; SUMMARY
;;
;; Gnu Emacs supports filling of paragraphs and wrapping of lines with a
;; settable string to be used for the left margin, the variable
;; ``fill-prefix''.  Setting this variable by hand is fine, but can
;; become mildly annoying if it has to be changed often in a document.
;; However, the appropriate value for fill-prefix can be derived from
;; the layout of the current line in almost all cases.
;;
;; This is a minor mode that ``guesses'' the indentation to be used
;; for (auto-) filling.  It has proven to be very handy in all text-mode
;; variants.  It uses a simple but effective heuristic to guess a
;; fill-prefix based on the current line and two (configurable) regular
;; expressions.  I almost never have to use "^X." explicitly anymore.
;; 
;; The two regexps control
;; 
;; 	* what line beginnings have to be taken as "fill-prefix" (my
;; 	  standard setup recognizes initial white space and typical
;; 	  mail-prefixes like ">" or "name> ").
;; 
;; 	* what line beginnings are really hanging indents.  The
;; 	  standard setup recognizes the stars used right here,
;; 	  enumerations, and some more...

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; From mcvax!unido!infbs!neitzel@uunet.uu.net Tue Jun  6 18:01:40 1989
;;; Date: 16 May 89 17:01:35 GMT
;;; From: mcvax!unido!infbs!neitzel@uunet.uu.net  (Martin Neitzel)
;;; Organization: TU Braunschweig,Informatik,West Germany
;;; Subject: gin-mode.el, witchcraft for fill-prefix
;;; Sender: info-gnu-emacs-request@prep.ai.mit.edu
;;; To: info-gnu-emacs@prep.ai.mit.edu
;;; 
;;; [a description of gin-mode follows the copyright stuff.]
;;; 
;;; Please note:
;;; This is my first self-made minor-mode.  It runs quite smoothly here
;;; for some weeks now, but some parts of the code at least *look* arkward
;;; to me.  Everything is based on the suggestions given in the old '88
;;; version of the elisp manual.  It was a big help.  If something with
;;; gin-mode.el is wrong, it might be wise to extend the manual, but any
;;; blame goes to me, of course.
;;; 
;;; 							Martin Neitzel
;;; 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
\f
;; The guessing stuff

(provide 'gin-mode)

(defvar gin-left-hang-indent-re
  "\\s *\\([-*]\\|([a-zA-Z0-9])\\|[a-zA-Z0-9]\\.?:]?\\)\\s +"
  "*Regexp that defines a hanging indent of a paragraph.
If it is seen by gin-guess-prefix, the next lines are indented with
white space beyond the hanging indent.  Setting this variable makes
it buffer-local.")

(defvar gin-retain-indent-re
  "[a-zA-Z]*>+[ \t]*\\|[ \t]+"
  "*Regexp that defines how a fill-prefix can look like.
If such a string is seen by gin-guess-prefix in the current line,
the next line will be indented with it, too.  Setting this variable
makes it buffer-local.")

(defun gin-guess-prefix ()
  "Try to figure out the prefix for the next line."
  (save-excursion
    (beginning-of-line)
    (cond ((looking-at gin-left-hang-indent-re)
	   (let ((beg (point))
		 indent-size
		 (indent-prefix ""))
	     (re-search-forward gin-left-hang-indent-re)
	     (setq indent-size (current-column))
	     ;; First gather tabs as needed ...
	     (if indent-tabs-mode
		 (while (>= indent-size tab-width)
		   (setq indent-prefix (concat indent-prefix "\t"))
		   (setq indent-size (- indent-size tab-width))))
	     ;; ... then append the rest as spaces:
	     (while (> indent-size 0)
	       (setq indent-prefix (concat indent-prefix " "))
	       (setq indent-size (1- indent-size)))
	     indent-prefix))

	  ((looking-at gin-retain-indent-re)
	   (buffer-substring (match-beginning 0) (match-end 0)))

	  (t ""))))

\f

;; Replacements for old functions dealing with the fill-prefix.
;; Their function values are stuffed into the original symbols.

(defun gin-fill-paragraph (arg)
  "fill-paragraph in Gin mode, tries to guess the appropriate fill-prefix.
With arg, also justify."
  (interactive "P")
  (if gin-mode
      (let ((fill-prefix (gin-guess-prefix)))
	(funcall 'gin-old-fill-paragraph arg))
    (funcall 'gin-old-fill-paragraph arg)))

(defun gin-do-auto-fill()
  (if gin-mode
      (let ((fill-prefix (gin-guess-prefix)))
	(funcall 'gin-old-do-auto-fill))
    (funcall 'gin-old-do-auto-fill)))

\f

;; When loaded for the first time, install our minor mode indicator

(defconst gin-old-fill-paragraph nil
  "Keeps the true fill-paragraph function during Gin mode.")

(defconst gin-old-do-auto-fill nil
  "Keeps the true do-auto-fill function during Gin mode.")

(defun gin-overlay-functions()
  "Undermine emacs with Gin stuff."
  (fset 'fill-paragraph (symbol-function 'gin-fill-paragraph))
  (fset 'do-auto-fill (symbol-function 'gin-do-auto-fill)))

(defun gin-restore-originals ()
  "Throw gin-mode functions out everywhere."
  (fset 'fill-paragraph (symbol-function 'gin-old-fill-paragraph))
  (fset 'do-auto-fill (symbol-function 'gin-old-do-auto-fill)))

(if (boundp 'gin-mode)
    nil
  (setq minor-mode-alist (cons '(gin-mode " Gin") 
			       minor-mode-alist))
  (make-variable-buffer-local 'gin-mode)
  (set-default 'gin-mode nil)
  (make-variable-buffer-local 'gin-left-hang-indent-re)
  (make-variable-buffer-local 'gin-retain-indent-re)
  (fset 'gin-old-fill-paragraph (symbol-function 'fill-paragraph))
  (fset 'gin-old-do-auto-fill (symbol-function 'do-auto-fill))
  (gin-overlay-functions))

\f  

(defun gin-mode (arg) 
  "Minor mode to guess indentations.
Toggle gin-mode, or turn it on iff optional ARG is positiv.

Gin mode adds the capability to \"guess\" a suitable indent for
filling based on the current line.  The line is matched against the
two regexps 'gin-left-hang-indent-re' and 'gin-retain-indent-re', see
their documentation.

When Gin mode is active, auto-filling and fill-paragraph will both use
a \"guessed\" value as fill-prefix."

  (interactive "P")
  (setq gin-mode
	(if (null arg) (not gin-mode)
	  (> (prefix-numeric-value arg) 0)))
  (set-buffer-modified-p (buffer-modified-p)))



^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#72798: 29.4; Documentation issues with Supercite re. filladapt
  2024-08-24 21:29 bug#72798: 29.4; Documentation issues with Supercite re. filladapt Marc Fargas
@ 2024-08-31  9:39 ` Eli Zaretskii
  2024-09-14  7:37   ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2024-08-31  9:39 UTC (permalink / raw)
  To: Marc Fargas, Kyle E. Jones; +Cc: 72798

> From: Marc Fargas <telenieko@telenieko.com>
> Date: Sat, 24 Aug 2024 23:29:33 +0200
> 
> In particular, on the /Filling Cited Text/ and /What Supercite Does/
> sections:
> 
> There are mentions to some "gin-mode" which I'm not sure it exists
> anymore. The only thing I found is some FTP archive [1] with a file
> "gin-mode.el" dated May 1989. I am attaching it here for reference.

I removed the reference to gin-mode.

> Then there are mentions to filladapt which is on ELPA, but enabling it
> breaks supercite,
> 
>     (use-package supercite
>       :ensure nil ; emacs builtin
>       :hook ((mail-citation . sc-cite-original)))
> 
>     (use-package filladapt			; better auto fill
>       :ensure t
>       :demand t
>       :config
>       (setq-default filladapt-mode t))
> 
> Now attempting to reply an email will output an error in *Messages* and
> citing will stop at the first paragraph:
> 
>     message-newline-and-reformat: This command only works in the body of the message
> 
> The manual tells you about "(sc-setup-filladapt)" but this function
> seems to be broken:
> 
>     Debugger entered--Lisp error: (void-variable filladapt-prefix-table)
>       sc-setup-filladapt()
>       eval-expression((sc-setup-filladapt) nil nil 127)
>       funcall-interactively(eval-expression (sc-setup-filladapt) nil nil 127)
>       command-execute(eval-expression)

Adding Kyle, in the hope that he will have some suggestions about this
aspect.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#72798: 29.4; Documentation issues with Supercite re. filladapt
  2024-08-31  9:39 ` Eli Zaretskii
@ 2024-09-14  7:37   ` Eli Zaretskii
  0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2024-09-14  7:37 UTC (permalink / raw)
  To: telenieko; +Cc: 72798

> Cc: 72798@debbugs.gnu.org
> Date: Sat, 31 Aug 2024 12:39:26 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> 
> > From: Marc Fargas <telenieko@telenieko.com>
> > Date: Sat, 24 Aug 2024 23:29:33 +0200
> > 
> > In particular, on the /Filling Cited Text/ and /What Supercite Does/
> > sections:
> > 
> > There are mentions to some "gin-mode" which I'm not sure it exists
> > anymore. The only thing I found is some FTP archive [1] with a file
> > "gin-mode.el" dated May 1989. I am attaching it here for reference.
> 
> I removed the reference to gin-mode.
> 
> > Then there are mentions to filladapt which is on ELPA, but enabling it
> > breaks supercite,
> > 
> >     (use-package supercite
> >       :ensure nil ; emacs builtin
> >       :hook ((mail-citation . sc-cite-original)))
> > 
> >     (use-package filladapt			; better auto fill
> >       :ensure t
> >       :demand t
> >       :config
> >       (setq-default filladapt-mode t))
> > 
> > Now attempting to reply an email will output an error in *Messages* and
> > citing will stop at the first paragraph:
> > 
> >     message-newline-and-reformat: This command only works in the body of the message
> > 
> > The manual tells you about "(sc-setup-filladapt)" but this function
> > seems to be broken:
> > 
> >     Debugger entered--Lisp error: (void-variable filladapt-prefix-table)
> >       sc-setup-filladapt()
> >       eval-expression((sc-setup-filladapt) nil nil 127)
> >       funcall-interactively(eval-expression (sc-setup-filladapt) nil nil 127)
> >       command-execute(eval-expression)
> 
> Adding Kyle, in the hope that he will have some suggestions about this
> aspect.

Kyle's email bounced, so unless someone would like to work on this
problem in Supercite, I guess it will remain unsolved.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-09-14  7:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-24 21:29 bug#72798: 29.4; Documentation issues with Supercite re. filladapt Marc Fargas
2024-08-31  9:39 ` Eli Zaretskii
2024-09-14  7:37   ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.