help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: `align-regexp' fails in Lisp code


From: Michael Heerdegen
Subject: Re: `align-regexp' fails in Lisp code
Date: Sat, 13 Jul 2013 01:16:14 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Raffaele Ricciardi <rfflrccrd@gmail.com> writes:

> > Interesting.  Do you also understand why
> >
> >    (align-regexp (point-min) (point-max) " hides ")
> >
> > is illegitimate?  After having read the doc, I don't understand why this
> > call must lead to an error.
>
> Indeed, the doc doesn't touch the issue.  If you call `align-regexp'
> with the regexp that you would have typed in the mini-buffer, then you
> won't be calling `align-regexp' with the regexp that it expects,
> because a regexp typed in the mini-buffer would have been converted
> into something else.

The doc is just incomplete, so I filed a bug report.  It's bug 14857
now.


Regards,

Michael.




reply via email to

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