unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#23249: 25.1.50; unexpected behavior marking paragraphs in latex-mode
@ 2016-04-09  1:03 Mark Oteiza
  2020-12-02 12:30 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Oteiza @ 2016-04-09  1:03 UTC (permalink / raw)
  To: 23249


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'





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

* bug#23249: 25.1.50; unexpected behavior marking paragraphs in latex-mode
  2016-04-09  1:03 bug#23249: 25.1.50; unexpected behavior marking paragraphs in latex-mode Mark Oteiza
@ 2020-12-02 12:30 ` Lars Ingebrigtsen
  2021-02-07 13:51   ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2020-12-02 12:30 UTC (permalink / raw)
  To: Mark Oteiza; +Cc: 23249

[-- Attachment #1: Type: text/plain, Size: 510 bytes --]

Mark Oteiza <mvoteiza@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:


[-- Attachment #2: Type: image/png, Size: 19880 bytes --]

[-- Attachment #3: Type: text/plain, Size: 183 bytes --]


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

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

* bug#23249: 25.1.50; unexpected behavior marking paragraphs in latex-mode
  2020-12-02 12:30 ` Lars Ingebrigtsen
@ 2021-02-07 13:51   ` Lars Ingebrigtsen
  0 siblings, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2021-02-07 13:51 UTC (permalink / raw)
  To: Mark Oteiza; +Cc: 23249

Lars Ingebrigtsen <larsi@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





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

end of thread, other threads:[~2021-02-07 13:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-09  1:03 bug#23249: 25.1.50; unexpected behavior marking paragraphs in latex-mode Mark Oteiza
2020-12-02 12:30 ` Lars Ingebrigtsen
2021-02-07 13:51   ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).