GNU bug report logs - #16180
M-x align eats text

Previous Next

Package: emacs;

Reported by: Paul Pogonyshev <pogonyshev <at> gmail.com>

Date: Tue, 17 Dec 2013 22:16:01 UTC

Severity: normal

Tags: moreinfo, unreproducible

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Pogonyshev <pogonyshev <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 16180 <at> debbugs.gnu.org
Subject: bug#16180: M-x align eats text
Date: Thu, 19 Dec 2013 21:07:54 +0300
[Message part 1 (text/plain, inline)]
Hm, I could have sworn I tested it with 'emacs -q', but apparently I made a
mistake. In the end, however, it boiled down to corrupted part of '.emacs'
where customization variables are (this is an alignment rule):

     (open-comment
      (regexp lambda
              (end reverse)
              (funcall
               (if reverse
                   (quote re-search-backward)
                 (quote re-search-forward))
               (concat "[^
\\\\]"
                       (regexp-quote comment-start)
                       "\\(.+\\)$")
               end t))
      (modes . align-open-comment-modes))

The string after 'concat' looks very incorrect and when I replaced it with
the proper one from current source code, comment eating is gone. Of course,
I cannot guarantee I didn't modify it, but _maybe_ at some point Emacs
screwed it up itself. Can you try customizing 'align-rules-list' in a
harmless way and check that what is written in Elisp is actually correct?

Paul


On 18 December 2013 04:27, Glenn Morris <rgm <at> gnu.org> wrote:

>
> I can't reproduce this.
>
[Message part 2 (text/html, inline)]

This bug report was last modified 9 years and 242 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.