unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Basil L. Contovounesios" <contovob@tcd.ie>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 46364@debbugs.gnu.org
Subject: bug#46364: regression in lm-commentary
Date: Sun, 07 Feb 2021 20:35:05 +0000	[thread overview]
Message-ID: <878s7z1urq.fsf@tcd.ie> (raw)
In-Reply-To: <87lfbzzpsm.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 07 Feb 2021 19:38:33 +0100")

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

reopen 46364 !
tags 46364 - moreinfo
tags 46364 + confirmed
found 46364 28.0.50
quit

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Boruch Baum <boruch_baum@gmx.com> writes:
>
>> In emacs 26, lm-commentary functions fine.
>> In the emacs-snapshot that I'm using from ~2020-09, it does not
>> correctly indent sub headings.
>>
>> This was observed for the lisp file[1], as processed by MELPA[2], and
>> reproduced by me locally. I don't know what version MELPA is using.
>
> I'm not sure how Melpa is involved here?  Is the problem that
> (lm-commentary "/that/file") doesn't return the correct result on some
> particular file?  If so, can you include the file here in the bug
> tracker, as well as instructions for how to reproduce the bug?

I attach the file in question, diredc.el.  Here's the recipe:

0. emacs -Q
1. (require 'lisp-mnt) C-j
2. (lm-commentary "/path/to/diredc.el") C-j

In Emacs 27, the resulting string includes leading semicolons and
indentation.  In Emacs 28, it doesn't.  Version info follows my
signature.

Thanks,

-- 
Basil

In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars)
 of 2021-02-07 built on tia
Repository revision: 7c5938ad7d8884d03471e2395937e11611faadb9
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12010000
System Description: Debian GNU/Linux bullseye/sid

Configured using:
 'configure 'CC=ccache gcc' 'CFLAGS=-O2 -march=native' --config-cache
 --prefix=/home/blc/.local --enable-checking=structs
 --with-x-toolkit=lucid --with-file-notification=yes --with-x'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY
INOTIFY PDUMPER PNG RSVG SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11
XAW3D XDBE XIM XPM LUCID ZLIB

In GNU Emacs 27.1.91 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars)
 of 2021-02-06 built on tia
Repository revision: 8ad48a0bdd0806fe3bfbabf00c845381d9107cb0
Repository branch: emacs-27
Windowing system distributor 'The X.Org Foundation', version 11.0.12010000
System Description: Debian GNU/Linux bullseye/sid

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Mark set [2 times]

Configured using:
 'configure 'CC=ccache gcc' 'CFLAGS=-O0 -g3 -ggdb -gdwarf-4'
 --config-cache --prefix=/home/blc/.local --program-suffix=-27
 --enable-checking=yes,glyphs --enable-check-lisp-object-type
 --with-x-toolkit=lucid --with-file-notification=yes --with-x
 --with-cairo'

Configured features:
XAW3D XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB
NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT
LIBOTF ZLIB TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM MODULES THREADS
LIBSYSTEMD JSON PDUMPER LCMS2 GMP

Important settings:
  value of $LANG: en_IE.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix


[-- Attachment #2: diredc.el --]
[-- Type: application/emacs-lisp, Size: 101988 bytes --]

  parent reply	other threads:[~2021-02-07 20:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-07 14:01 bug#46364: regression in lm-commentary Boruch Baum
2021-02-07 18:38 ` Lars Ingebrigtsen
2021-02-07 18:55   ` Boruch Baum
2021-02-07 20:35   ` Basil L. Contovounesios [this message]
2021-02-08  0:19     ` Matt Armstrong
2021-02-08  6:39       ` Lars Ingebrigtsen
2021-02-08 18:59         ` Matt Armstrong
2021-02-08 20:51           ` Basil L. Contovounesios
2021-02-09  0:11             ` Matt Armstrong
2021-02-09  8:11           ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878s7z1urq.fsf@tcd.ie \
    --to=contovob@tcd.ie \
    --cc=46364@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).