summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/lisp-mode.el
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Introduce a new comment style "c" flag.Stefan Monnier2010-08-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/syntax.c (SYNTAX_FLAGS_COMMENT_STYLEB) (SYNTAX_FLAGS_COMMENT_STYLEC): New macros. (SYNTAX_FLAGS_COMMENT_STYLE): Use them, add an argument. (syntax_prefix_flag_p): New function. (Fstring_to_syntax): Understand new "c" flag. (Finternal_describe_syntax_value): Recognize new flag; use the SYNTAX_FLAGS_* macros. (scan_sexps_forward, Fparse_partial_sexp): Change representation of comment style to accomodate the new styles. (back_comment, forw_comment, Fforward_comment, scan_lists) (scan_sexps_forward): Update code to obey the new comment style flag. * src/syntax.h: Move SYNTAX_FLAGS_FOO() macros to syntax.c. * src/casefiddle.c (casify_region): Use the new syntax_prefix_flag_p. * lisp/progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c" comment style. * lisp/progmodes/scheme.el (scheme-mode-syntax-table): * lisp/emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious "b" flag in "14b" syntax. Fixes: debbugs:6834
* | | New branch for lexbind, losing all history.Stefan Monnier2010-06-131-1/+9
|/ / | | | | | | | | This initial patch is based on 2002-06-27T22:39:10Z!storm@cua.dk of the original lexbind branch.
* | * simple.el (prog-mode): New (abstract) major mode.Stefan Monnier2010-05-141-4/+2
| | | | | | | | | | * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it. * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
* | * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.Stefan Monnier2010-04-301-10/+3
|/ | | | Set find-tag-default-function as a variable rather than a property.
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* (emacs-lisp-mode-map): Standardize the capitalization of some menu entries.Glenn Morris2009-12-111-6/+6
|
* * minibuffer.el (completion-at-point-functions): New var.Stefan Monnier2009-12-071-13/+8
| | | | | | | | | | | | | | | | | | | (completion-at-point): New command. * indent.el (indent-for-tab-command): Handle the new `complete' behavior. * progmodes/python.el (python-mode-map): Use completion-at-point. (python-completion-at-point): Rename from python-partial-symbol and adjust for use in completion-at-point-functions. (python-mode): Setup completion-at-point for Python completion. * emacs-lisp/lisp.el (lisp-completion-at-point): New function extracted from lisp-complete-symbol. (lisp-complete-symbol): Use it. * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode, setup completion-at-point for Elisp completion. (emacs-lisp-mode-map, lisp-interaction-mode-map): Use completion-at-point. * ielm.el (ielm-map): Use completion-at-point. (inferior-emacs-lisp-mode): Setup completion-at-point for Elisp completion. * progmodes/sym-comp.el: Move to... * obsolete/sym-comp.el: Move from progmodes.
* * net/eudc.el (eudc-tools-menu):Dan Nicolaescu2009-11-111-6/+7
| | | | | | | * international/mule-cmds.el (set-coding-system-map) (mule-menu-keymap): * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): * vc-hooks.el (vc-menu-map): Use menu-bar-separator.
* * textmodes/tex-mode.el (tex-alt-dvi-print-command)Dan Nicolaescu2009-11-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (tex-dvi-print-command, tex-bibtex-command, tex-start-commands) (tex-start-options, slitex-run-command, latex-run-command) (tex-run-command, tex-directory): * textmodes/ispell.el (ispell-html-skip-alists) (ispell-tex-skip-alists, ispell-tex-skip-alists): * textmodes/fill.el (adaptive-fill-first-line-regexp): (adaptive-fill-regexp): * textmodes/dns-mode.el (auto-mode-alist): * progmodes/python.el (interpreter-mode-alist): * progmodes/etags.el (tags-compression-info-list): * progmodes/etags.el (tags-file-name): * net/browse-url.el (browse-url-galeon-program) (browse-url-firefox-program): * mail/sendmail.el (mail-signature-file) (mail-citation-prefix-regexp): * international/mule-conf.el (eight-bit): * international/latexenc.el (latex-inputenc-coding-alist): * international/fontset.el (x-pixel-size-width-font-regexp): * emacs-lisp/warnings.el (warning-type-format): * emacs-lisp/trace.el (trace-buffer): * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map) (emacs-lisp-mode-map): * calendar/holidays.el (holiday-solar-holidays) (holiday-bahai-holidays, holiday-islamic-holidays) (holiday-christian-holidays, holiday-hebrew-holidays) (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2) (hebrew-holidays-1, holiday-oriental-holidays) (holiday-general-holidays): * x-dnd.el (x-dnd-known-types): * tool-bar.el (tool-bar): * startup.el (site-run-file): * shell.el (shell-dumb-shell-regexp): * rfn-eshadow.el (file-name-shadow-tty-properties) (file-name-shadow-properties): * paths.el (remote-shell-program, news-directory): * mouse.el ([C-down-mouse-3]): * menu-bar.el (menu-bar-tools-menu): * jka-cmpr-hook.el (jka-compr-load-suffixes) (jka-compr-mode-alist-additions, jka-compr-compression-info-list) (jka-compr-compression-info-list): * isearch.el (search-whitespace-regexp): * image-file.el (image-file-name-extensions): * find-dired.el (find-ls-option): * files.el (directory-listing-before-filename-regexp) (directory-free-space-args, insert-directory-program) (list-directory-brief-switches, magic-fallback-mode-alist) (magic-fallback-mode-alist, auto-mode-interpreter-regexp) (automount-dir-prefix): * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head) (x-font-regexp-slant, x-font-regexp-weight, face-x-resources) (face-font-registry-alternatives, face-font-registry-alternatives) (face-font-family-alternatives): * facemenu.el (facemenu-add-new-face, facemenu-background-menu) (facemenu-foreground-menu, facemenu-face-menu): * epa-hook.el (epa-file-name-regexp): * dnd.el (dnd-protocol-alist): * textmodes/rst.el (auto-mode-alist): * button.el (default-button): Purecopy strings.
* * textmodes/tex-mode.el (tex-dvi-view-command)Dan Nicolaescu2009-10-261-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (tex-show-queue-command, tex-open-quote): * progmodes/ruby-mode.el (auto-mode-alist) (interpreter-mode-alist): Purecopy strings. * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names. * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc string for the hook, keymap and abbrev table. * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name. * x-dnd.el (x-dnd-xdnd-to-action): * startup.el (fancy-startup-text, fancy-about-text): Change to defconst from defvar. * ps-print.el (ps-page-dimensions-database): Purecopy initial value. * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist): Purecopy initialization strings. * mail/sendmail.el (mail-header-separator) (mail-personal-alias-file): * mail/rmail.el (rmail-default-dont-reply-to-names) (rmail-ignored-headers, rmail-retry-ignored-headers) (rmail-highlighted-headers, rmail-secondary-file-directory) (rmail-secondary-file-regexp): * files.el (null-device, file-name-invalid-regexp) (locate-dominating-stop-dir-regexp) (inhibit-first-line-modes-regexps): Purecopy initialization strings. (interpreter-mode-alist): Use mapcar instead of mapc. * buff-menu.el (Buffer-menu-mode-map): Purecopy name. * bindings.el (mode-line-major-mode-keymap): Purecopy name. (completion-ignored-extensions): (debug-ignored-errors): Purecopy strings.
* * keymap.c (Fmake_sparse_keymap): Purecopy the name.Dan Nicolaescu2009-10-241-74/+74
| | | | | | | | | | | | | | | | | | | * eval.c (Fautoload): Purecopy the filename. Simplify. * category.c (Fdefine_category): Purecopy docstring. * international/mule-cmds.el (set-language-info-alist): Purecopy lang-env. (leim-list-header, leim-list-entry-regexp): Change defvars to defconst. (charset): Purecopy the name. (define-char-code-property): Purecopy string arguments. * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable): Purecopy string arguments. * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): * ediff-hook.el (menu-bar-ediff-menu): * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips. * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
* * minibuffer.el (read-file-name): Check for repeat before puttingChong Yidong2009-10-181-0/+5
| | | | | | | | | | a default argument in file-name-history (Bug#4657). * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table read syntax (Bug#4737). * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
* * menu-bar.el: Remove menu-bar-ediff-misc-menu from the ToolsChong Yidong2009-09-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | menu. * ediff-hook.el: Move menu-bar-ediff-misc-menu into menu-bar-ediff-menu. * emacs-lisp/lisp-mode.el: Add doc-string-elt property to define-overloadable-function. * progmodes/autoconf.el: Provide autoconf as well, so that this file can be `require'd. * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs. * emacs-lisp/autoload.el (generated-autoload-feature) (generated-autoload-load-name): New vars. (autoload-rubric, autoload-generate-file-autoloads): Use them. (make-autoload): Recognize define-overloadable-function and defclass forms (for EIEIO). * Makefile.in (update-subdirs): Exclude cedet directory.
* (lisp-mode-syntax-table): Give it a doc-string.Glenn Morris2009-09-171-1/+2
|
* (emacs-lisp-mode-syntax-table): Give it a doc-string.Glenn Morris2009-09-171-1/+2
|
* (emacs-lisp-mode-map): Add menu entries to elint file and directory.Glenn Morris2009-09-121-4/+7
| | | | Remove initialization entry.
* (lisp-indent-region): Remove unused function.Stefan Monnier2009-08-161-10/+0
|
* (emacs-lisp-mode-map): Add menu entriesDan Nicolaescu2009-07-231-0/+11
| | | | for Lint.
* (lisp-indent-offset): Fix safe-local-variable property.Glenn Morris2009-06-221-3/+5
| | | | (lisp-indent-function): Make it a defcustom.
* (lisp-indent-function): Add doc string.Glenn Morris2009-06-211-1/+6
|
* (lisp-mode-variables): Fix doc-string.Martin Rudalics2009-06-071-3/+3
|
* * emacs-lisp/lisp-mode.el: Give `deftype' a doc-string-eltChong Yidong2009-04-161-0/+1
| | | | property (Bug#2984).
* (eval-last-sexp): Mention truncation in doc.Glenn Morris2009-02-251-2/+4
|
* (lisp-mode-variables): Doc fix.Stephen Eglen2009-01-151-1/+2
|
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode, lisp-interaction-mode):Juanma Barranquero2009-01-041-0/+3
| | | | Add a blank line in the docstring before the keymap listing.
* (emacs-lisp-mode-map): Fix a/an typo.Glenn Morris2008-11-191-3/+3
| | | | Use the imperative for all help strings.
* (lisp-mode-variables): Add new argumentDan Nicolaescu2008-11-071-6/+8
| | | | | to initialize font-lock keyword case sensitivity. (lisp-mode): Use it.
* (save-selected-window): Remove indent-function forMartin Rudalics2008-11-041-1/+0
| | | | save-selected-window-norecord.
* * emacs-lisp/lisp-mode.el (lisp-mode): Remove bogus change fromChong Yidong2008-11-031-2/+0
| | | | 2000-12-08 (bug#1297) :-O
* (save-selected-window-norecord): PutMartin Rudalics2008-11-021-0/+1
| | | | indent-function for save-selected-window-norecord.
* *** empty log message ***Martin Rudalics2008-09-231-1436/+1436
|
* (calculate-lisp-indent): Fix indentation problem with keyword symbolsMartin Rudalics2008-09-231-1433/+1436
| | | | when a list starts with ,@ or spaces. (Bug#1012)
* (lisp-indent-offset): Fix custom type. (Bug#1011)Glenn Morris2008-09-201-1/+1
|
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-6/+4
|
* (lisp-mode-map): Add menu.Dan Nicolaescu2008-04-301-1/+12
|
* * emacs-lisp/lisp-mode.el (lisp-mode-auto-fill): Make it an alias.Stefan Monnier2008-04-191-17/+3
| | | | * progmodes/scheme.el (scheme-mode-variables): Don't use it.
* (lisp-comment-indent): Add WHEN to obsolescence declaration.Juanma Barranquero2008-04-181-4/+5
|
* *** empty log message ***Dan Nicolaescu2008-04-071-1/+1
|
* (emacs-lisp-mode-map): Add menu entriesDan Nicolaescu2008-04-021-1/+19
| | | | for tracing and re-builder.
* (emacs-lisp-mode-map): Fix predicate.Dan Nicolaescu2008-03-271-1/+1
|
* (emacs-lisp-mode-map): Add ... whereDan Nicolaescu2008-03-221-5/+5
| | | | appropriate.
* (emacs-lisp-mode-map): Add menu entry for disassemble.Dan Nicolaescu2008-03-211-0/+3
|
* (emacs-lisp-mode-map): Add menu entries for eldoc and ielm.Dan Nicolaescu2008-03-171-3/+10
|
* Fix typos.Dan Nicolaescu2008-03-161-2/+2
|
* (emacs-lisp-mode-map): Add menu entriesDan Nicolaescu2008-03-141-1/+30
| | | | for checkdoc and profiling.
* (lisp-interaction-mode-map): Fix typo.Dan Nicolaescu2008-03-111-1/+1
|
* * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Bugfix: replacedBastien Guerry2008-03-061-3/+3
| | | | | :enable (mark-active) with :enable mark-active. Thanks to Lennart Borgman.
* * bindings.el (mode-line-remote): Add mouse-face. Improve tooltip.Dan Nicolaescu2008-03-051-35/+64
| | | | | | | | | | | | | | | | | | | | | | (standard-mode-line-position): Add mouse-face. * progmodes/compile.el (compilation-menu-map): (compilation-mode-map): * progmodes/grep.el (grep-mode-map): Add :help. * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Define and initialize in one step. Add :help. Use :enable to activate menu items. Show the key binding for edebug-defun. (lisp-interaction-mode-map): Add a menu. * term.el (term-mode-map): Define and initialize in one step. * ediff-init.el (ediff-color-display-p): Simplify. (Xor): Remove unused function. (ediff-with-syntax-table): Simplify for emacs. * ediff-hook.el (menu-bar-ediff-menu): Don't depend on the menu-bar being loaded, it always is.
* Merge from emacs--rel--22Miles Bader2008-01-081-1/+1
|\ | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987