GNU bug report logs - #17369
24.4.50; several lines form a block of lines after inserting paren

Previous Next

Package: emacs;

Reported by: Jarek Czekalski <jarekczek <at> poczta.onet.pl>

Date: Tue, 29 Apr 2014 08:55:01 UTC

Severity: normal

Found in version 24.4.50

Done: Eli Zaretskii <eliz <at> gnu.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 17369 in the body.
You can then email your comments to 17369 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#17369; Package emacs. (Tue, 29 Apr 2014 08:55:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jarek Czekalski <jarekczek <at> poczta.onet.pl>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 29 Apr 2014 08:55:02 GMT) Full text and rfc822 format available.

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

From: Jarek Czekalski <jarekczek <at> poczta.onet.pl>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.4.50; several lines form a block of lines after inserting paren
Date: Tue, 29 Apr 2014 10:54:26 +0200
To reproduce start emacs -Q and:
1. Type the following contents
a
{
b
}
2. Confirm that while standing on "b" and pressing END you just land 
after the "b".
3. After "a" insert "{" and delete it
4. Try to END from "b", and notice you land at the end of the file.

Expected behaviour: In step 4 we should land after "b".

May be connected with "newline chache" thread [1].

[1] http://lists.gnu.org/archive/html/emacs-devel/2014-04/msg00295.html



In GNU Emacs 24.4.50.4 (i686-pc-mingw32)
 of 2014-04-22 on BONSOFTW7
Repository revision: 116990 
eggert <at> cs.ucla.edu-20140417145922-jifbl8lcxuxlgmjw
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=d:/program_files/emacs-master'

Configured features:
PNG NOTIFY ACL GNUTLS LIBXML2 ZLIB

Important settings:
  value of $LANG: pl
  locale-coding-system: cp1250

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x r e p o r <tab> <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message dired format-spec
rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045
ietf-drums mm-util help-fns mail-prsvr mail-utils time-date tooltip
electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32
ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset
image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode
register page menu-bar rfn-eshadow timer select scroll-bar mouse
jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
w32notify w32 multi-tty emacs)

Memory information:
((conses 8 78176 7303)
 (symbols 24 17722 0)
 (miscs 20 76 190)
 (strings 16 12035 4723)
 (string-bytes 1 309207)
 (vectors 8 9310)
 (vector-slots 4 372511 5400)
 (floats 8 55 253)
 (intervals 28 257 36)
 (buffers 508 12))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17369; Package emacs. (Tue, 29 Apr 2014 14:28:02 GMT) Full text and rfc822 format available.

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

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Jarek Czekalski <jarekczek <at> poczta.onet.pl>
Cc: 17369 <at> debbugs.gnu.org
Subject: Re: bug#17369: 24.4.50;
 several lines form a block of lines after inserting paren
Date: Tue, 29 Apr 2014 10:20:50 -0400
> To reproduce start emacs -Q and:
> 1. Type the following contents
> a
> {
> b
> }
> 2. Confirm that while standing on "b" and pressing END you just land after
> the "b".
> 3. After "a" insert "{" and delete it
> 4. Try to END from "b", and notice you land at the end of the file.

I can't reproduce it.
I did

  emacs -Q
  a RET { RET b RET } RET
  up up end                     [ I get to right after "b", as expected.  ]
  up up { backspace
  down down left end

and I again end up right after "b".


        Stefan




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Tue, 29 Apr 2014 14:30:03 GMT) Full text and rfc822 format available.

Notification sent to Jarek Czekalski <jarekczek <at> poczta.onet.pl>:
bug acknowledged by developer. (Tue, 29 Apr 2014 14:30:05 GMT) Full text and rfc822 format available.

Message #13 received at 17369-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jarek Czekalski <jarekczek <at> poczta.onet.pl>
Cc: 17369-done <at> debbugs.gnu.org
Subject: Re: bug#17369: 24.4.50;
 several lines form a block of lines after inserting paren
Date: Tue, 29 Apr 2014 17:29:09 +0300
> Date: Tue, 29 Apr 2014 10:54:26 +0200
> From: Jarek Czekalski <jarekczek <at> poczta.onet.pl>
> 
> 
> To reproduce start emacs -Q and:
> 1. Type the following contents
> a
> {
> b
> }
> 2. Confirm that while standing on "b" and pressing END you just land 
> after the "b".
> 3. After "a" insert "{" and delete it
> 4. Try to END from "b", and notice you land at the end of the file.
> 
> Expected behaviour: In step 4 we should land after "b".

You are using an outdated version of the trunk:

> In GNU Emacs 24.4.50.4 (i686-pc-mingw32)
>   of 2014-04-22 on BONSOFTW7
> Repository revision: 116990 
> eggert <at> cs.ucla.edu-20140417145922-jifbl8lcxuxlgmjw

I'm quite sure this problem was fixed (I think in the very next trunk
revision, 116991).  At least I cannot reproduce it with today's trunk.

I'm closing the bug; feel free to reopen and add details if you
succeed to reproduce with the latest trunk.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 28 May 2014 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 24 days ago.

Previous Next


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