all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* `align-regexp' fails in Lisp code
@ 2013-07-10  0:11 Raffaele Ricciardi
  2013-07-10  2:58 ` Leo Liu
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Raffaele Ricciardi @ 2013-07-10  0:11 UTC (permalink / raw)
  To: help-gnu-emacs

Hello everyone,

I'm trying to run `align-regexp' from Lisp code, but it fails with
the error "align-region: Marker does not point anywhere".

Here is the specification of `align-regexp':

---

     (align-regexp BEG END REGEXP &optional GROUP SPACING REPEAT)

Align the current region using an ad-hoc rule read from the
minibuffer.  BEG and END mark the limits of the region.

---

Here is my Lisp code:

     (align-regexp (point-min) (point-max) " hides ")

Marking the whole buffer and calling `align-regexp' interactively does
work, though.

Tried with "emacs -Q".  I'm using GNU Emacs 24.3.1.

Thank you for your attention.






^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-07-12 23:16 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2013-07-10  3:14 ` Le Wang
2013-07-12 13:18 ` Jambunathan K

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.