all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Pogonyshev <pogonyshev@gmail.com>
To: Glenn Morris <rgm@gnu.org>
Cc: 16180@debbugs.gnu.org
Subject: bug#16180: M-x align eats text
Date: Thu, 19 Dec 2013 21:07:54 +0300	[thread overview]
Message-ID: <CAG7BpaootzaO8jDMKhVmCYz_BQ7MmwkOBszfBcXvXU=j=rGdPA@mail.gmail.com> (raw)
In-Reply-To: <ira9fz9ces.fsf@fencepost.gnu.org>

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

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@gnu.org> wrote:

>
> I can't reproduce this.
>

[-- Attachment #2: Type: text/html, Size: 1681 bytes --]

      reply	other threads:[~2013-12-19 18:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-17 22:15 bug#16180: M-x align eats text Paul Pogonyshev
2013-12-18  1:27 ` Glenn Morris
2013-12-19 18:07   ` Paul Pogonyshev [this message]

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

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

  git send-email \
    --in-reply-to='CAG7BpaootzaO8jDMKhVmCYz_BQ7MmwkOBszfBcXvXU=j=rGdPA@mail.gmail.com' \
    --to=pogonyshev@gmail.com \
    --cc=16180@debbugs.gnu.org \
    --cc=rgm@gnu.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 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.