unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: help-gnu-emacs@gnu.org
Subject: Re: `align-regexp' fails in Lisp code
Date: Sat, 13 Jul 2013 01:16:14 +0200	[thread overview]
Message-ID: <87k3kve5dt.fsf@web.de> (raw)
In-Reply-To: b4ad6pFra7sU1@mid.individual.net

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	other threads:[~2013-07-12 23:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-10  0:11 `align-regexp' fails in Lisp code Raffaele Ricciardi
2013-07-10  2:58 ` Leo Liu
2013-07-10  3:14   ` Michael Heerdegen
2013-07-11 11:55     ` andrea crotti
2013-07-11 12:02       ` Nicolas Richard
     [not found]   ` <mailman.723.1373426169.12400.help-gnu-emacs@gnu.org>
2013-07-11 23:29     ` Raffaele Ricciardi
2013-07-12  0:26       ` Michael Heerdegen
     [not found]       ` <mailman.883.1373588795.12400.help-gnu-emacs@gnu.org>
2013-07-12 13:04         ` Raffaele Ricciardi
2013-07-12 23:16           ` Michael Heerdegen [this message]
2013-07-10  3:14 ` Le Wang
2013-07-12 13:18 ` Jambunathan K

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=87k3kve5dt.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=help-gnu-emacs@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.
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).