unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15078: 24.2; Long, Short, Signed, or Unsigned in c++-mode hangs emacs
@ 2013-08-12 18:02 Matt Bisson
  2013-08-12 18:12 ` Glenn Morris
  0 siblings, 1 reply; 3+ messages in thread
From: Matt Bisson @ 2013-08-12 18:02 UTC (permalink / raw)
  To: 15078

This bug report will be sent to the Bug-GNU-Emacs mailing list
and the GNU bug tracker at debbugs.gnu.org.  Please check that
the From: line contains a valid email address.  After a delay of up
to one day, you should receive an acknowledgement at that address.

Please write in English if possible, as the Emacs maintainers
usually do not have translators for other languages.

Please describe exactly what actions triggered the bug, and
the precise symptoms of the bug.  If you can, give a recipe
starting from `emacs -Q':

1. (on Windows or Cygwin Emacs): run "emacs -Q something.cpp"
2. Type "Long" in the buffer.

This causes emacs to display "Lon" then enter into what seems like an
infinite loop.  You cannot interact with emacs, except for the notable
exception that C-g works(!).  If I had to guess, I would say the
"c-primitive-type-prefix-kwds" has something to do with it, but it may
be a red herring...

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
c:/emacs-24.2/etc/DEBUG.


In GNU Emacs 24.2.1 (i386-mingw-nt6.1.7601)
 of 2012-08-28 on MARVIN
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --with-gcc (4.6) --cflags
 -ID:/devel/emacs/libs/libXpm-3.5.8/include
 -ID:/devel/emacs/libs/libXpm-3.5.8/src
 -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
 -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
 -ID:/devel/emacs/libs/giflib-4.1.4-1/include
 -ID:/devel/emacs/libs/jpeg-6b-4/include
 -ID:/devel/emacs/libs/tiff-3.8.2-1/include
 -ID:/devel/emacs/libs/gnutls-3.0.9/include'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  value of $XMODIFIERS: nil
  locale-coding-system: cp1252
  default enable-multibyte-characters: t

Major mode: C++/l

Minor modes in effect:
  display-battery-mode: t
  show-paren-mode: t
  display-time-mode: t
  xgtags-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-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
  abbrev-mode: t

Recent input:
<down-mouse-1> <mouse-1> T y p e n a m e <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
C l a s s <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> S t r u c t <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <down-mouse-1> <mouse-1> C o n s t SPC 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> M-x 
r e p o r t - e m <tab> <return>

Recent messages:
Loading mwheel...done
Loading c:/Users/mbisson/elisp/dos.elc...done
Loading c:/Users/mbisson/elisp/gtags.elc...done
Loading c:/Users/mbisson/elisp/xgtags.elc...done
Loading font-lock...done
For information about GNU Emacs and the GNU system, type C-h C-a.
x.cpp has auto save data; consider M-x recover-this-file
delete-backward-char: Beginning of buffer [29 times]
Auto-saving...

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils cc-mode cc-fonts cc-guess cc-menus cc-cmds
cc-styles cc-align cc-engine cc-vars cc-defs regexp-opt battery paren
time xgtags gtags dos easymenu noutline outline easy-mmode advice
help-fns advice-preload time-date tooltip ediff-hook vc-hooks
lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars
tool-bar dnd fontset image fringe lisp-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 loaddefs button faces
cus-face files text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget hashtable-print-readable backquote
make-network-process multi-tty emacs)





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

* bug#15078: 24.2; Long, Short, Signed, or Unsigned in c++-mode hangs emacs
  2013-08-12 18:02 bug#15078: 24.2; Long, Short, Signed, or Unsigned in c++-mode hangs emacs Matt Bisson
@ 2013-08-12 18:12 ` Glenn Morris
  2013-08-16 10:49   ` Alan Mackenzie
  0 siblings, 1 reply; 3+ messages in thread
From: Glenn Morris @ 2013-08-12 18:12 UTC (permalink / raw)
  To: Matt Bisson; +Cc: 15078

Matt Bisson wrote:

> 1. (on Windows or Cygwin Emacs): run "emacs -Q something.cpp"
> 2. Type "Long" in the buffer.
>
> This causes emacs to display "Lon" then enter into what seems like an
> infinite loop.

Thanks for the report. I see this in Emacs 24.3, but not the current
trunk, so it seems to already be fixed.





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

* bug#15078: 24.2; Long, Short, Signed, or Unsigned in c++-mode hangs emacs
  2013-08-12 18:12 ` Glenn Morris
@ 2013-08-16 10:49   ` Alan Mackenzie
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Mackenzie @ 2013-08-16 10:49 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 15078, Matt Bisson

On Mon, Aug 12, 2013 at 02:12:53PM -0400, Glenn Morris wrote:
> Matt Bisson wrote:

> > 1. (on Windows or Cygwin Emacs): run "emacs -Q something.cpp"
> > 2. Type "Long" in the buffer.

> > This causes emacs to display "Lon" then enter into what seems like an
> > infinite loop.

> Thanks for the report. I see this in Emacs 24.3, but not the current
> trunk, so it seems to already be fixed.

More precisely, in revision #112760 on 2013-05-28.

-- 
Alan Mackenzie (Nuremberg, Germany).





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

end of thread, other threads:[~2013-08-16 10:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-12 18:02 bug#15078: 24.2; Long, Short, Signed, or Unsigned in c++-mode hangs emacs Matt Bisson
2013-08-12 18:12 ` Glenn Morris
2013-08-16 10:49   ` Alan Mackenzie

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