[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

perl-mode backward-sexp strangeness

From: Mosur Mohan
Subject: perl-mode backward-sexp strangeness
Date: Wed, 21 Nov 2007 14:48:34 -0800

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.1.1 (i686-pc-linux-gnu, X toolkit)
 of 2001-11-13 on filc6001
configured using `configure  --prefix=/usr/intel/pkgs/emacs/21.1 
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  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: en_US.UTF-8
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

In a perl-mode buffer, I have a line that says:
  $instloc = 0;

Put the cursor on the 'n' of $instloc (i.e., the 2nd char of the variable),
and do \C-M-b, i.e., (backward-sexp): it moves to the 'i', not the '$'
Put the cursor on any other character of $instloc and do \C-M-b and it
moves to the '$'.

Why this difference?

Recent input:
C-n C-n f o r e a c h SPC $ f i l e SPC M-( @ f l i 
s t C-e SPC M-{ C-n C-e { C-j $ i n s t l o c SPC = 
SPC 0 ; M-m C-f C-f C-M-b C-f C-f C-f C-M-b M-x M-p 

Recent messages:
Loading newcomment...done
Undo! [6 times]
C-M-b runs the command backward-sexp
C-c C-c runs the command mail-send-and-exit
report-emacs-bug-hook: M-x report-emacs-bug was cancelled, please read *Bug 
Help* buffer
Mark set

reply via email to

[Prev in Thread] Current Thread [Next in Thread]