From: Jambunathan K <kjambunathan@gmail.com>
To: 15854@debbugs.gnu.org
Subject: bug#15854: 24.3.50; cperl-mode: Support for outlining (much like that in perl-mode)
Date: Sun, 10 Nov 2013 14:44:38 +0530 [thread overview]
Message-ID: <874n7kaa9t.fsf@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1104 bytes --]
This is either a bug or a feature request.
Summary: cperl-mode: Support for outlining (much like that in perl-mode)
1. Add this to your .emacs
(add-hook 'perl-mode-hook 'outline-minor-mode)
(add-hook 'cperl-mode-hook 'outline-minor-mode)
(add-hook 'outline-minor-mode-hook
(lambda ()
(define-key outline-minor-mode-map [(control tab)] 'org-cycle)
;; (define-key outline-minor-mode-map [(shift tab)] 'org-global-cycle)
(define-key outline-minor-mode-map [backtab] 'org-global-cycle)
))
2. C-x C-f org.pl
3. M-x perl-mode
4. Do this <S-iso-lefttab>, <S-iso-lefttab>
See the attached screenshot for what I get.
5. M-x cperl-mode
6. Repeat step 4.
Nothing interesting happens. Only thing I see is this message.
--8<---------------cut here---------------start------------->8---
hide-sublevels: Must keep at least one level of headers [3 times]
--8<---------------cut here---------------end--------------->8---
Expected behaviour
==================
I should be able to "cycle" through the visibility.
[-- Attachment #2: perl-mode-outlining-and-org-cycle.png --]
[-- Type: image/png, Size: 44583 bytes --]
[-- Attachment #3: Type: text/plain, Size: 361 bytes --]
----------------------------------------------------------------
In GNU Emacs 24.3.50.4 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
of 2013-11-09 on debian-6.05
Bzr revision: 115051 jan.h.d@swipnet.se-20131109111953-cysfi19meuidy96q
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
System Description: Debian GNU/Linux 6.0.5 (squeeze)
next reply other threads:[~2013-11-10 9:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-10 9:14 Jambunathan K [this message]
2013-11-12 2:20 ` bug#15854: 24.3.50; cperl-mode: Support for outlining (much like that in perl-mode) Nathan Trapuzzano
2013-11-12 4:31 ` Jambunathan K
2013-11-12 11:29 ` Nathan Trapuzzano
2013-11-12 13:59 ` Stefan Monnier
2013-11-15 5:14 ` Jambunathan K
2013-11-15 11:30 ` Nathan Trapuzzano
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874n7kaa9t.fsf@gmail.com \
--to=kjambunathan@gmail.com \
--cc=15854@debbugs.gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.