[Top][All Lists]

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

Re: `align-regexp' fails in Lisp code

From: Raffaele Ricciardi
Subject: Re: `align-regexp' fails in Lisp code
Date: Fri, 12 Jul 2013 15:04:24 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130215 Thunderbird/17.0.3

On 12/07/13 02:26, Michael Heerdegen wrote:
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.

reply via email to

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