Commit graph

77 commits

Author SHA1 Message Date
Nick Roberts
d91362c9e0 Update copyright for 2006. 2006-02-10 09:00:31 +00:00
Juri Linkov
8ec3bce045 Add :link (custom-group-link font-lock-faces) to defgroup. 2005-11-17 07:40:11 +00:00
Juanma Barranquero
b5b0cb3475 (cperl-electric-lbrace, cperl-electric-keyword, cperl-electric-pod,
cperl-electric-backspace, cperl-forward-re, cperl-fix-line-spacing,
cperl-fill-paragraph): "?\ " -> "?\s".
(vc-rcs-header, vc-sccs-header): Add defvars.
2005-08-30 10:46:43 +00:00
Nick Roberts
034babe1e1 Update copyright for release of 22.1 for progmodes directory. 2005-08-01 08:43:45 +00:00
Lute Kamstra
3a35cf56e7 Update FSF's address. 2005-07-04 17:55:18 +00:00
Juanma Barranquero
8038e2cf99 (cperl-do-auto-fill): Change space constants followed by a sexp to "?\s ". 2005-06-29 13:53:36 +00:00
Stefan Monnier
00424a9ec1 (cperl-find-pods-heres): Don't gratuitously
reset the syntax-table to cperl-mode-syntax-table.
(cperl-mode): Make _ into word-syntax during font-locking so "print" in
"foo_print_bar" is not matched as a reserved keyword.
2005-06-29 07:59:36 +00:00
Juanma Barranquero
810fb442e5 (cperl-set-style-back): Fix spelling in docstrings. 2005-06-16 16:19:24 +00:00
Miles Bader
e6572f79e3 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-420
Fix cperl-mode font-lock problem

2005-06-15  Miles Bader  <miles@gnu.org>

   * lisp/progmodes/cperl-mode.el (cperl-init-faces): Use literal cperl
   faces instead of (non-existent) variables.
2005-06-15 02:27:55 +00:00
Miles Bader
e4c067b5d5 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-418
Remove "-face" suffix from cperl-mode faces

2005-06-14  Miles Bader  <miles@gnu.org>

   * lisp/progmodes/cperl-mode.el (cperl-nonoverridable, cperl-array)
   (cperl-hash): Remove "-face" suffix from face names.
   (cperl-nonoverridable-face, cperl-array-face, cperl-hash-face):
   New backward-compatibility alias for renamed faces.
   (cperl-find-pods-heres, cperl-init-faces, cperl-ps-print-init)
   (cperl-ps-print-face-properties): Use renamed cperl-mode faces.
2005-06-15 00:14:58 +00:00
Mark A. Hershberger
defa8e19a1 Remove stray paren in defun-prompt-regexp for cperl-mode 2005-06-12 23:04:41 +00:00
Juanma Barranquero
6292d528a7 (cperl-info-on-command-no-prompt, cperl-mode): Fix spellings in docstrings. 2005-06-10 14:14:37 +00:00
André Spiegel
e1a5828f2e (cperl-vc-header-alist): Obsoleted.
(cperl-vc-rcs-header, cperl-vc-sccs-header): New user options.
(cperl-mode): Use them.
2005-05-24 20:03:58 +00:00
Juanma Barranquero
027a4b6b3f Replace string-to-int' by string-to-number'. 2005-05-16 11:34:49 +00:00
Daniel Pfeiffer
9ed9fd3572 Avoid $! for font-lock-negation-char-face. 2005-05-05 19:20:03 +00:00
Daniel Pfeiffer
eb6121fce5 (cperl-init-faces): Use font-lock-negation-char-face. 2005-05-05 19:04:39 +00:00
Stefan Monnier
11b41e6f20 (cperl-mode): Don't precompile the font-lock-fontify-syntactic-keywords. 2005-04-27 19:46:13 +00:00
Werner LEMBERG
2e8b9c7d51 * progmodes/cperl-mode.el, progmodes/idlw-shell.el,
progmodes/idlwave.el, progmodes/vhdl-mode.el: Replace `legal' with
`valid'.
2005-03-25 10:06:23 +00:00
Richard M. Stallman
7d441781a7 (cperl-mode): Use mode-require-final-newline. 2004-12-31 14:53:01 +00:00
Richard M. Stallman
f8fd4f555e (cperl-find-bad-style): Use with-no-warnings.
(cperl-font-lock-unfontify-region-function): No need to save and
restore info, since font-lock.el does it for us.
2004-12-27 15:39:42 +00:00
Richard M. Stallman
335dd1f105 (cperl-indent-region, cperl-imenu--create-perl-index, cperl-xsub-scan):
Don't print progress messages.
2004-11-25 03:04:16 +00:00
Richard M. Stallman
c326ddd190 (cperl-indent-region): Don't mind imenu-scanning-message. 2004-11-20 20:18:34 +00:00
Daniel Pfeiffer
a3c328ee89 run-mode-hooks instead of run-hooks 2004-11-12 23:47:30 +00:00
Richard M. Stallman
fc49c9c623 (cperl-info-on-command): Use goto-char instead of beginning-of-buffer. 2004-11-07 03:57:24 +00:00
Richard M. Stallman
21df56d56b (cperl-switch-to-doc-buffer): Don't use interactive-p. 2004-11-01 07:42:19 +00:00
Mark A. Hershberger
ae04ab88fd *** empty log message *** 2004-07-09 15:03:07 +00:00
Richard M. Stallman
0ce7de922c (cperl-putback-char): Delete Emacs 18 definition. 2004-04-21 19:19:44 +00:00
Juanma Barranquero
825d074503 (cperl-indent-alist, cperl-where-am-i): Comment out (it's unused and
unfinished code).
2004-03-25 22:45:20 +00:00
Stefan Monnier
cff301beed (cperl-fill-paragraph): Call fill-paragraph
with point inside rather than after the paragraph.
2004-02-04 22:55:17 +00:00
Stefan Monnier
82eb0daee6 (cperl-mode-map, cperl-do-auto-fill, cperl-menu): Use fill-paragraph,
not cperl-fill-paragraph.
(cperl-mode): Set fill-paragraph-function.
(cperl-fill-paragraph): Make it non-interactive.
2004-02-02 15:22:39 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
15ca56993e (cperl-lineup): Don't quote nil and t in docstrings. 2003-05-06 17:43:22 +00:00
Richard M. Stallman
c73fce9a2c (cperl-nonoverridable-face): Doc fix. 2003-05-03 13:53:41 +00:00
Kim F. Storm
d6156ce844 (cperl-electric-backspace): Add delete-selection property. 2003-03-22 00:40:00 +00:00
Stefan Monnier
f739b53bda Merge changes from CPerl-5.0.
(toplevel): Require man.
(condition-case): Don't autoload tmm-prompt (it's in loaddefs.el).
(cperl-electric-backspace-untabify): New var.
(cperl-electric-backspace): Use it.
(cperl-vc-header-alist): Extract numeric version from the Id.
(cperl-build-manpage): New fun.
(cperl-menu): Use it.  Add toggle-autohelp.
(cperl-mode) <defun-prompt_regexp>: Understand prototypes.
(cperl-electric-brace): Use `cperl-after-block-p' for detection.
(cperl-electric-keyword): Make $if (etc: "$@%&*") non-electric.
'(' after keyword would insert a doubled paren.
(cperl-calculate-indent): Update syntaxification before checks.
Fix wrong indent of blocks starting with POD.
(cperl-find-pods-heres): If no end of HERE-doc found, mark to the end
of buffer.  This enables recognition of end of HERE-doc "as one types".
Require "\n" after trailing tag of HERE-doc.
\( made non-quoting outside of string/comment (gdj-contributed).
Likewise for \$.  Remove `here-doc-group' text property at start
(makes this property reliable).
Text property `first-format-line' ==> t.
Do not recognize $opt_s and $opt::s as s///.
(cperl-after-block-p): Optional arg pre-block to check for a pre-block
Recognize `continue' blocks too.
(cperl-after-expr-p): Update syntaxification before checks.  Work after
here-docs, formats, and PODs too (affects many electric constructs).
(cperl-fix-line-spacing): Allow "_" in $vars of foreach etc.
(cperl-perldoc): Use case-sensitive search.
2003-02-23 02:19:02 +00:00
Stefan Monnier
83261a2f13 Merge changes from CPerl-4.35.
(cperl-xemacs-p): Move.
(cperl-can-font-lock): New var to replace window-system.
(cperl-enable-font-lock): Use it.
(cperl-use-major-mode): New var.
(cperl-mode): Use it.
(cperl-calculate-indent): Remove code whose removal was missed
in some earlier merge.
(cperl-tags-hier-init): Use display-popup-menus-p.
2003-02-23 01:42:24 +00:00
Juanma Barranquero
0fe6068fef (cperl-electric-keyword, cperl-electric-pod, cperl-do-auto-fill): Fix character
constants.
2003-02-18 12:49:26 +00:00
Juanma Barranquero
07cb2aa33c (cperl-next-bad-style): Fix use of character constant. 2003-02-14 09:58:50 +00:00
Juanma Barranquero
a1506d2977 Trailing whitepace deleted. 2003-02-04 13:24:35 +00:00
Juanma Barranquero
0c602a0f28 (cperl-beautify-level, cperl-beautify-regexp): Fix use of
`prefix-numeric-value'.
(cperl-calculate-indent): Fix typo.
2003-01-29 12:18:13 +00:00
Juanma Barranquero
5cc679abf3 Don't make faces depend on window-system. 2003-01-18 15:32:16 +00:00
Richard M. Stallman
8937f01b8d (cperl-noscan-files-regexp): In addition to RCS, exclude CVS directories. 2002-09-09 19:38:22 +00:00
Juanma Barranquero
2022c546c0 (cperl-break-one-line-blocks-when-indent): Fix typo. 2002-07-02 14:50:00 +00:00
Richard M. Stallman
f94a632ae5 Many trivial doc fixes.
(cperl-non-problems): Definition deleted.
(cperl-menu): Don't refer to cperl-non-problems.
(cperl-word-at-point): Add doc string.
(cperl-beautify-regexp-piece): Fix error message.
(cperl-invert-if-unless): Fix error message.
2002-06-26 08:51:45 +00:00
Stefan Monnier
ce22dd539d (cperl-make-face, cperl-force-face):
Use defvar rather than defconst since it's meant to be settable.
(cperl-syntax-done-to): Don't hardcode 1 as (point-min).
(cperl-fix-line-spacing): Add missing \ in [ t].
2002-04-08 22:39:00 +00:00
Richard M. Stallman
95f433f40b (cperl-imenu--function-name-regexp-perl):
Move definition above cperl-outline-regexp.
2002-03-16 06:52:31 +00:00
Richard M. Stallman
8dd511f607 (cperl-outline-regexp): Move definition up. 2002-03-14 08:50:03 +00:00
Stefan Monnier
bedf0b73d1 (cperl-menu): Add "-emacs" to the version. 2002-03-04 01:09:58 +00:00
Pavel Janík
110c171f4d Fix typo. 2002-01-13 10:09:20 +00:00
Richard M. Stallman
58b64ac7d9 (various face definitions): Use :weight and :slant. 2001-12-31 20:43:36 +00:00