* perl-mode backward-sexp strangeness
@ 2007-11-21 22:48 Mosur Mohan
2007-11-22 9:06 ` martin rudalics
0 siblings, 1 reply; 2+ messages in thread
From: Mosur Mohan @ 2007-11-21 22:48 UTC (permalink / raw)
To: bug-gnu-emacs; +Cc: mosur.mohan
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 bug-gnu-emacs@gnu.org 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 --x-includes=/usr/X11R6/include:/usr/intel/pkgs/xpm/3.4k/include:/usr/intel/pkgs/jpeg/6b/include:/usr/intel/pkgs/libpng/1.0.6/include:/usr/intel/pkgs/tiff/3.5.5/include:/usr/intel/pkgs/zlib/1.1.3/include:/usr/intel/pkgs/libungif/4.1.0b1/include:/usr/intel/pkgs/ncurses/5.1/include --x-libraries=/usr/X11R6/lib:/usr/intel/pkgs/xpm/3.4k/lib:/usr/intel/pkgs/jpeg/6b/lib:/usr/intel/pkgs/libpng/1.0.6/lib:/usr/intel/pkgs/tiff/3.5.5/lib:/usr/intel/pkgs/zlib/1.1.3/lib:/usr/intel/pkgs/libungif/4.1.0b1/lib:/usr/intel/pkgs/ncurses/5.1/lib --without-toolkit-scroll-bars'
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
<return>
Recent messages:
Auto-saving...done
Auto-saving...done
Loading newcomment...done
Auto-saving...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
Sending...done
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: perl-mode backward-sexp strangeness
2007-11-21 22:48 perl-mode backward-sexp strangeness Mosur Mohan
@ 2007-11-22 9:06 ` martin rudalics
0 siblings, 0 replies; 2+ messages in thread
From: martin rudalics @ 2007-11-22 9:06 UTC (permalink / raw)
To: Mosur Mohan; +Cc: mosur.mohan, bug-gnu-emacs
> In GNU Emacs 21.1.1 (i686-pc-linux-gnu, X toolkit)
...
> 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?
Thanks for reporting. It's a bug in Emacs 21 that has been fixed
in the meantime. Could you try to upgrade to a more recent version?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-11-22 9:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-21 22:48 perl-mode backward-sexp strangeness Mosur Mohan
2007-11-22 9:06 ` martin rudalics
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).