GNU bug report logs - #24094
25.1.50; revert-buffer error in CC mode

Previous Next

Packages: emacs, cc-mode;

Reported by: Richard Copley <rcopley <at> gmail.com>

Date: Thu, 28 Jul 2016 13:51:01 UTC

Severity: normal

Merged with 24074

Found in version 25.1.50

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Óscar Fuentes <ofv <at> wanadoo.es>
Subject: bug#24074: closed (Re: bug#24094: 25.1.50; revert-buffer error in
 CC mode)
Date: Tue, 09 Aug 2016 16:23:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#24094: 25.1.50; c-before-after-change-digit-quote: Invalid search bound (wrong side of point)

which was filed against the emacs,cc-mode package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 24074 <at> debbugs.gnu.org.

-- 
24094: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24094
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Alan Mackenzie <acm <at> muc.de>
To: 24094-done <at> debbugs.gnu.org
Cc: Richard Copley <rcopley <at> gmail.com>,
 Óscar Fuentes <ofv <at> wanadoo.es>
Subject: Re: bug#24094: 25.1.50; revert-buffer error in CC mode
Date: Tue, 9 Aug 2016 16:21:49 +0000
Bug fixed in savannah master branch.

-- 
Alan Mackenzie (Nuremberg, Germany).

[Message part 3 (message/rfc822, inline)]
From: Óscar Fuentes <ofv <at> wanadoo.es>
To: bug-gnu-emacs <at> gnu.org, "Alan Mackenzie" <acm <at> muc.de>
Subject: 25.1.50;
 c-before-after-change-digit-quote: Invalid search bound (wrong side
 of point)
Date: Tue, 26 Jul 2016 17:50:28 +0200
From time to time, after performing a git operation that changes files'
contents (switch branch, apply a stash, etc) and automatically reverting
the associated buffers, the error mentioned on the subject line happens.
In that case the affected buffer's contents is truncated and is marked
as modified.

This only happens with C++ buffers and I suspect that it depends on the
cursor position at the time of the revert. Sadly, I have no recipe for
replicating it.

The problem was first observed a few weeks ago, which coincides with the
introduction of the mentioned function. An Emacs version built on 6th of
June works fine.

In GNU Emacs 25.1.50.3 (x86_64-pc-linux-gnu, X toolkit)
 of 2016-07-24 built on qcore
Windowing system distributor 'The X.Org Foundation', version 11.0.11803000
System Description:	Ubuntu 16.04.1 LTS

Configured using:
 'configure --without-toolkit-scroll-bars --with-x-toolkit=lucid'

Configured features:
XAW3D XPM JPEG TIFF GIF PNG SOUND GSETTINGS NOTIFY GNUTLS LIBXML2
FREETYPE XFT ZLIB LUCID X11

Important settings:
  value of $LANG: C
  locale-coding-system: nil

Major mode: Emacs-Lisp

Minor modes in effect:
  TeX-PDF-mode: t
  show-paren-mode: t
  diff-auto-refine-mode: t
  global-git-commit-mode: t
  shell-dirtrack-mode: t
  column-overflow-mode: t
  ido-grid-mode: t
  flx-ido-mode: t
  ido-hacks-mode: t
  ido-everywhere: t
  buffer-flip-mode: t
  evil-leader-mode: t
  evil-paredit-mode: t
  paredit-mode: t
  evil-mode: t
  evil-local-mode: t
  global-anzu-mode: t
  anzu-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t



This bug report was last modified 8 years and 341 days ago.

Previous Next


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