From unknown Tue Aug 19 07:28:22 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#14857 <14857@debbugs.gnu.org> To: bug#14857 <14857@debbugs.gnu.org> Subject: Status: 24.3.50; `align-regexp': doc unclear for non-interactive usage Reply-To: bug#14857 <14857@debbugs.gnu.org> Date: Tue, 19 Aug 2025 14:28:22 +0000 retitle 14857 24.3.50; `align-regexp': doc unclear for non-interactive usage reassign 14857 emacs submitter 14857 michael_heerdegen@web.de severity 14857 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 12 18:36:25 2013 Received: (at submit) by debbugs.gnu.org; 12 Jul 2013 22:36:25 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-100.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM, USER_IN_WHITELIST autolearn=disabled version=3.3.2 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 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 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 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 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 From: Michael Heerdegen To: bug-gnu-emacs@gnu.org Subject: 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> MIME-Version: 1.0 Content-Type: text/plain 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: michael_heerdegen@web.de List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 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'' From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 25 22:46:50 2013 Received: (at 14857-done) by debbugs.gnu.org; 26 Jul 2013 02:46:50 +0000 Received: from localhost ([127.0.0.1]:50140 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V2Y3N-0006aW-Po for submit@debbugs.gnu.org; Thu, 25 Jul 2013 22:46:50 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:49211 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V2Y3L-0006a7-Dv for 14857-done@debbugs.gnu.org; Thu, 25 Jul 2013 22:46:47 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1V2Y3K-0002IU-8L; Thu, 25 Jul 2013 22:46:46 -0400 From: Glenn Morris To: 14857-done@debbugs.gnu.org Subject: Re: bug#14857: 24.3.50; `align-regexp': doc unclear for non-interactive usage References: <87sizjtp4v.fsf@web.de> X-Spook: Verisign computer terrorism Qaddafi munitions defense X-Ran: eDy^=5d"]YwK|h9YAPtoQh.xC(XE-G1D}m$(bk[[8;6FmgmQ~a|WZQ)5p20JF{>"lAML<= X-Hue: green X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 25 Jul 2013 22:46:46 -0400 In-Reply-To: <87sizjtp4v.fsf@web.de> (Michael Heerdegen's message of "Sat, 13 Jul 2013 00:00:32 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 14857-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Version: 24.4 Michael Heerdegen wrote: > 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. I never know who "we" is, but personally I went for the first option. From unknown Tue Aug 19 07:28:22 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 23 Aug 2013 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator