From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#14857: 24.3.50; `align-regexp': doc unclear for non-interactive usage Date: Sat, 13 Jul 2013 00:00:32 +0200 Message-ID: <87sizjtp4v.fsf@web.de> Reply-To: michael_heerdegen@web.de NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1373668636 26217 80.91.229.3 (12 Jul 2013 22:37:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Jul 2013 22:37:16 +0000 (UTC) To: 14857@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 13 00:37:16 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Uxlxg-0000MJ-MA for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Jul 2013 00:37:12 +0200 Original-Received: from localhost ([::1]:36590 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uxlxg-0002sR-8I for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Jul 2013 18:37:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57764) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uxlxb-0002rM-7Z for bug-gnu-emacs@gnu.org; Fri, 12 Jul 2013 18:37:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UxlxW-0001Ro-SP for bug-gnu-emacs@gnu.org; Fri, 12 Jul 2013 18:37:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxlxW-0001RQ-Q4 for bug-gnu-emacs@gnu.org; Fri, 12 Jul 2013 18:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UxlxW-0001nX-BI for bug-gnu-emacs@gnu.org; Fri, 12 Jul 2013 18:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Jul 2013 22:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14857 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13736685856836 (code B ref -1); Fri, 12 Jul 2013 22:37:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Jul 2013 22:36:25 +0000 Original-Received: from localhost ([127.0.0.1]:51369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uxlwv-0001mA-2Z for submit@debbugs.gnu.org; Fri, 12 Jul 2013 18:36:25 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55812) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uxlws-0001lv-EP for submit@debbugs.gnu.org; Fri, 12 Jul 2013 18:36:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uxlwm-0000KF-2J for submit@debbugs.gnu.org; Fri, 12 Jul 2013 18:36:17 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:35911) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uxlwl-0000KA-W5 for submit@debbugs.gnu.org; Fri, 12 Jul 2013 18:36:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57506) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uxlwj-0002qt-NS for bug-gnu-emacs@gnu.org; Fri, 12 Jul 2013 18:36:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uxlwi-0000HC-2i for bug-gnu-emacs@gnu.org; Fri, 12 Jul 2013 18:36:13 -0400 Original-Received: from mout.web.de ([212.227.15.4]:65391) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxlOR-0007cH-6p for bug-gnu-emacs@gnu.org; Fri, 12 Jul 2013 18:00:47 -0400 Original-Received: from drachen.dragon ([90.187.105.124]) by smtp.web.de (mrweb004) with ESMTPSA (Nemesis) id 0LfEfA-1UMRVr2uSW-00onN3 for ; Sat, 13 Jul 2013 00:00:45 +0200 X-Provags-ID: V03:K0:xmFUBD+mmB/DqLjvOkbY+nIKjDk++NpCIwGUMGt3Z4UjEM0kESo toO3PRag33BrIaSPVNyX6O1rSxXqWiK6hDAR9VYOVS6xFVRKNRBwc8zqV2Yx0qJUsOMaGjb OHXxv62RLrbunUhJPVlPI/GM2hvvUsSdGbGoA7I8mpz6275LzyuF6DIvDvyb+peuxyQ7Cqr FXPVDaXnbqNxrKdDlHZuw== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:76301 Archived-At: Hello, after reading the doc of `align-regexp', I try to follow the example and copy the example text Fred (123) 456-7890 Alice (123) 456-7890 Mary-Anne (123) 456-7890 Joe (123) 456-7890 into a newly created buffer and do M-: (align-regexp (point-min) (point-max) "\(") I get an error: align-region: Marker does not point anywhere Obviously, the interactive spec modifies the entered regexp. It's absolutely unclear how `regexp' must look like when `align-regexp' is called from Lisp. We should either explain it, or say that this command is only for interactive use. Regards, Michael. In GNU Emacs 24.3.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.8.2) of 2013-07-08 on dex, modified by Debian (emacs-snapshot package, version 2:20130708-1) Windowing system distributor `The X.Org Foundation', version 11.0.11204000 System Description: Debian GNU/Linux testing (jessie) Configured using: `configure --build x86_64-linux-gnu --host x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/24.3.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3.50/site-lisp:/usr/share/emacs/site-lisp --without-compress-info --with-crt-dir=/usr/lib/x86_64-linux-gnu/ --with-x=yes --with-x-toolkit=gtk3 --with-imagemagick=yes CFLAGS='-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' CPPFLAGS='-D_FORTIFY_SOURCE=2' LDFLAGS='-g -Wl,--as-needed -znocombreloc''