GNU bug report logs - #23249
25.1.50; unexpected behavior marking paragraphs in latex-mode

Previous Next

Package: emacs;

Reported by: Mark Oteiza <mvoteiza <at> udel.edu>

Date: Sat, 9 Apr 2016 01:04:02 UTC

Severity: normal

Found in version 25.1.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 23249 in the body.
You can then email your comments to 23249 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#23249; Package emacs. (Sat, 09 Apr 2016 01:04:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mark Oteiza <mvoteiza <at> udel.edu>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 09 Apr 2016 01:04:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mark Oteiza <mvoteiza <at> udel.edu>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.1.50; unexpected behavior marking paragraphs in latex-mode
Date: Fri, 08 Apr 2016 21:03:20 -0400
From -Q:

1. open a new buffer foo.tex
2. insert a commented line followed by an uncommented one; e.g.

% dog

cat

3. Put point at beginning of buffer
4. M-h

I would expect the line with "dog" to be marked, but instead, the lines
following are marked.  I see there is some history with the settings of
paragraph-start and paragraph-separate (Bug#5821 and friends), but the
current settings make movement around and uncommenting of commented blocks a
pain.

I can see part of paragraph-{start,separate} in latex-mode are to help
navigating around tex environments and things like that, but it's not
clear to me what further features are packed into the regexen.

In GNU Emacs 25.1.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bars)
 of 2016-03-20 built on logos
Repository revision: 5283593ced29a2c98e4af3607a68ee7a6d10fcac
Configured using:
 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
 --localstatedir=/var --without-gconf --with-modules
 --with-x-toolkit=lucid 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe
 -fstack-protector-strong --param=ssp-buffer-size=4 -g
 -fvar-tracking-assignments -g -fvar-tracking-assignments'
 CPPFLAGS=-D_FORTIFY_SOURCE=2
 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro'




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23249; Package emacs. (Wed, 02 Dec 2020 12:32:01 GMT) Full text and rfc822 format available.

Message #8 received at 23249 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Mark Oteiza <mvoteiza <at> udel.edu>
Cc: 23249 <at> debbugs.gnu.org
Subject: Re: bug#23249: 25.1.50; unexpected behavior marking paragraphs in
 latex-mode
Date: Wed, 02 Dec 2020 13:30:50 +0100
[Message part 1 (text/plain, inline)]
Mark Oteiza <mvoteiza <at> udel.edu> writes:

>>From -Q:
>
> 1. open a new buffer foo.tex
> 2. insert a commented line followed by an uncommented one; e.g.
>
> % dog
>
> cat
>
> 3. Put point at beginning of buffer
> 4. M-h
>
> I would expect the line with "dog" to be marked, but instead, the lines
> following are marked.

(This bug report unfortunately got no response at the time.)

I can reproduce this bug in Emacs 26.1, but not in Emacs 28, so it seems
like this has been fixed...  or, rather, it's changed:

[Message part 2 (image/png, inline)]
[Message part 3 (text/plain, inline)]
It's marking both lines.  Which...  is...  perhaps reasonable?

Any opinions?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23249; Package emacs. (Sun, 07 Feb 2021 13:52:02 GMT) Full text and rfc822 format available.

Message #11 received at 23249 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Mark Oteiza <mvoteiza <at> udel.edu>
Cc: 23249 <at> debbugs.gnu.org
Subject: Re: bug#23249: 25.1.50; unexpected behavior marking paragraphs in
 latex-mode
Date: Sun, 07 Feb 2021 14:51:28 +0100
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> I can reproduce this bug in Emacs 26.1, but not in Emacs 28, so it seems
> like this has been fixed...  or, rather, it's changed:
>
>
>
> It's marking both lines.  Which...  is...  perhaps reasonable?
>
> Any opinions?

There were none, so I'm closing this bug report.  If this should be
changed, please respond to this email and we'll reopen the bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 23249 <at> debbugs.gnu.org and Mark Oteiza <mvoteiza <at> udel.edu> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 07 Feb 2021 13:52:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 08 Mar 2021 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 101 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.