[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/raku-mode 81805cfa8e 154/253: remove vars (to main file) p
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/raku-mode 81805cfa8e 154/253: remove vars (to main file) per comments from syohex, clean up some |
Date: |
Sat, 29 Jan 2022 08:28:52 -0500 (EST) |
branch: elpa/raku-mode
commit 81805cfa8e1ddc4eafa1381264b6f41d695cbba9
Author: Tom Browder <tom.browder@gmail.com>
Commit: Tom Browder <tom.browder@gmail.com>
remove vars (to main file) per comments from syohex, clean up some
---
perl6-imenu.el | 26 ++++++--------------------
1 file changed, 6 insertions(+), 20 deletions(-)
diff --git a/perl6-imenu.el b/perl6-imenu.el
index f6211c7b32..55a9477afe 100644
--- a/perl6-imenu.el
+++ b/perl6-imenu.el
@@ -1,33 +1,19 @@
;;; perl6-imenu.el --- Imenu support Perl 6 -*- lexical-binding: t; -*-
-;;; Commentary:
-
-
;; Imenu functions and variables are defined here.
(defvar perl6-imenu-generic-expression
- '(
- ;; the names are in reverse desired order since they are evaluated here
last first
- ("Variables"
"^\\s-*\\(?:my\\|our\\)\\s-+\\(\\(?:\\$\\|@\\|%\\)\\(?:[_[:alnum:]]+\\)\\)" 1)
- ("Subs/Methods"
"^\\s-*\\(?:my\\s-+\\|our\\s-+\\)?\\(?:multi\\s-+sub\\|multi\\s-+method\\|sub\\|method\\|multi\\)\\s-+\\(.+)\\)"
1)
- )
- "Define interesting points in the Perl 6 buffer for `imenu'.
+ '(
+ ;; the names are in reverse desired order since they are evaluated
here last first
+ ("Variables"
"^\\s-*\\(?:my\\|our\\)\\s-+\\(\\(?:\\$\\|@\\|%\\)\\(?:[_[:alnum:]]+\\)\\)" 1)
+ ("Subs/Methods"
"^\\s-*\\(?:my\\s-+\\|our\\s-+\\)?\\(?:multi\\s-+sub\\|multi\\s-+method\\|sub\\|method\\|multi\\)\\s-+\\(.+)\\)"
1)
+ )
+ "Define interesting points in the Perl 6 buffer for `imenu'.
This is used to set `imenu-generic-expression' when Perl 6 mode is
entered. Subsequent changes to `perl6-imenu-generic-expression' will
not affect existing Perl 6 buffers because imenu-generic-expression is
a local variable.")
-;; Add imenu support for perl6-mode. Note that imenu-generic-expression
-;; is buffer-local, so we don't need a local-variable for it.
-(setq imenu-generic-expression perl6-imenu-generic-expression
- imenu-case-fold-search nil)
-
-;; Imenu support
-(add-hook 'perl6-mode-hook 'imenu-add-menubar-index)
-(add-hook 'perl6-mode-hook
- (lambda ()
- (setq imenu-generic-expression perl6-imenu-generic-expression)))
-
;;===========================
(provide 'perl6-imenu)
- [nongnu] elpa/raku-mode eaf48dd813 049/253: Add Travis integration, (continued)
- [nongnu] elpa/raku-mode eaf48dd813 049/253: Add Travis integration, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode cf9d523c88 059/253: Use sharp quote (#') to quote function names, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode e3bcb55be3 077/253: Highlight adverbs (:foo), ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 95f6ca837c 078/253: Highlight sigil in match group ($<foo>), ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode c1b2f9e112 109/253: Less aggressive syntaxification of sigils/twigils, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 6553c30843 093/253: Highlight ::?CLASS and such correctly, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 861a7b469b 110/253: Highlight string delimiters like operators, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 5f66f10dbe 143/253: Correctly highlight $foo.?method, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 9f07c8b52a 139/253: Highlight 'unit' keyword, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 5456e2b044 145/253: Fix highlighting of <-a -b -c>, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 81805cfa8e 154/253: remove vars (to main file) per comments from syohex, clean up some,
ELPA Syncer <=
- [nongnu] elpa/raku-mode 4b01244490 157/253: make this work for nqp also, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode edccdba86f 191/253: Don't hang emacs if cannot find the Raku executable, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 88de065795 186/253: add test file for HEREDOC indentation, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 7d006af233 187/253: Simple perl6/raku repl, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 9cbd9b26f9 168/253: Merge branch 'patch-1' of https://github.com/Altai-man/perl6-mode, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 4ad9987e25 185/253: add TODO note for HEREDOC indentation, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 8f6804ad17 207/253: Merge pull request #26 from matiaslina/raku-rename, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 0dd62e4d1f 217/253: Add missing 's' to parent customization group name., ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 13ebcd87ce 220/253: trivial change Perl 6 to Raku, plus temp change of URL meanwhile, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 98db56c6ec 212/253: Add some clarifying comments., ELPA Syncer, 2022/01/29