From: "Martin Jost" <Martin.Jost@siemens.com>
Subject: cperl mode hangs when used with narrowing under certain conditions
Date: Wed, 20 Nov 2002 12:54:59 +0100 [thread overview]
Message-ID: <arft6j$keq$1@news.mch.sbs.de> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1643 bytes --]
Hello,
I just discovered a problem that makes my emacs (21.2 on HPUX 10.20) hang.
[First of all:
Congratulations (I _really_ mean this !)
This is the first problem in emacs for many year which breaks it]
System:
emacs 21.2 on HPUX 10.20
Compiled with HP tools and Motif
Perl/Micro-docs/Cperl-version gives: The version of master-file for this
CPerl is 4.32
Reproduce:
Start emacs with '-q' and probably --no-site-file (see below)
Load this into a buffer:
-------------------- snip, snip -----------------------
{
# 'next LINE;'
# 'next PAT;
}
-------------------- snip, snip -----------------------
Switch cperl-mode on
Narrow the buffer down to the region starting with the first comment-line
and ending with the last.
(It now should look like this:
# 'next LINE;'
# 'next PAT;
)
Position the cursor on the beginning of the first comment-line
Press <TAB>
=> emacs freezes; it has to be killed
This happens for me with both cperl 4.32 and 4.23 (coming with emacs)
I have to use the site-start-file to get the newer one:
This just contains:
(setq load-path
(append (list "/pd/site-lisp/"
"/pd/site-lisp/pcl-cvs")
load-path))
(msb-mode)
TIA - and thanks for a great tool for a great language !
Martin
PS:
I thought, that cperl got confused because of the keywords in the comment.
But this
-------------------- snip, snip -----------------------
{
# fdgshj dsghsdj öjmäcxm
# dsfj gdsjdgs ljdsfhl
}
-------------------- snip, snip -----------------------
gives the same behaviour ! (Only tested with 4.32)
next reply other threads:[~2002-11-20 11:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-20 11:54 Martin Jost [this message]
2002-11-21 17:11 ` cperl mode hangs when used with narrowing under certain conditions Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='arft6j$keq$1@news.mch.sbs.de' \
--to=martin.jost@siemens.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).