summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
...
| * | desktop.el (desktop-buffer-info): Write docstring.Artur Malabarba2015-03-052-0/+20
| | |
| * | package.el (package-refresh-contents): Update doc.Artur Malabarba2015-03-052-3/+8
| | |
| * | Teach js-mode about ES6 template stringsDmitry Gutov2015-03-052-0/+5
| | | | | | | | | | | | * lisp/progmodes/js.el (js-mode-syntax-table): Add an entry for `.
| * | Replace *-function vars with generic functions in cl-generic.Stefan Monnier2015-03-045-307/+504
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-generic.el (cl--generic-generalizer): New struct. (cl-generic-tagcode-function, cl-generic-tag-types-function): Remove. (cl--generic-t-generalizer): New const. (cl--generic-make-method): Rename from `cl--generic-method-make'. (cl--generic-make): Change calling convention. (cl--generic): Add `options' field. (cl-generic-function-options): New function. (cl-defgeneric): Rewrite handling of options. Add support for :method options and allow the use of a default body. (cl-generic-define): Save options in the corresponding new field. (cl-defmethod): Fix ordering of qualifiers. (cl-generic-define-method): Use cl-generic-generalizers. (cl--generic-get-dispatcher): Change calling convention, and change calling convention of the returned function as well so as to take the list of methods separately from the generic function object, so that it can receive the original generic function object. (cl--generic-make-next-function): New function, extracted from cl--generic-make-function. (cl--generic-make-function): Use it. (cl-generic-method-combination-function): Remove. (cl--generic-cyclic-definition): New error. (cl-generic-call-method): Take a generic function object rather than its name. (cl-method-qualifiers): New alias. (cl--generic-build-combined-method): Use cl-generic-combine-methods, don't segregate by qualifiers here any more. (cl--generic-standard-method-combination): Segregate by qualifiers here instead. Add support for the `:extra' qualifier. (cl--generic-cache-miss): Move earlier, adjust to new calling convention. (cl-generic-generalizers, cl-generic-combine-methods): New generic functions. (cl-no-next-method, cl-no-applicable-method, cl-no-primary-method): Use the new "default method in defgeneric" functionality, change calling convention to receive a generic function object. (cl--generic-head-used): New var. (cl--generic-head-generalizer, cl--generic-eql-generalizer) (cl--generic-struct-generalizer, cl--generic-typeof-generalizer): New consts. * lisp/emacs-lisp/eieio-core.el (eieio--generic-generalizer) (eieio--generic-subclass-generalizer): New consts. (cl-generic-generalizers): New methods. * lisp/emacs-lisp/eieio-compat.el (eieio--generic-static-symbol-generalizer) (eieio--generic-static-object-generalizer): New consts. (cl-generic-generalizers) <(head eieio--static)>: New method. * lisp/emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Unfold closures like lambdas.
| * | # Changelog fixesGlenn Morris2015-03-041-44/+35
| | |
| * | * autorevert.el (auto-revert-notify-add-watch): fix handler installationFilipp Gunbin2015-03-042-29/+36
| | | | | | | | | | | | Fixes: bug#20000
| * | eww: Fix some docstrings/error message.Rüdiger Sonderfeld2015-03-042-6/+13
| | | | | | | | | | | | | | | | | | * net/eww.el (eww-search-prefix, eww-open-file, eww-search-words) (eww-same-page-p,eww-set-character-encoding): Fix docstring. (eww): Do not end error messages with a period.
| * | Support port numbers in tramp-adbZhongwei Yao2015-03-042-17/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * net/tramp-adb.el (tramp-adb-connect-if-not-connected): New user option. (tramp-adb-ls-toolbox-regexp): Fix regexp in order to support file names starting with a space. (tramp-methods): Add `tramp-default-port' for "adb". (tramp-adb-parse-device-names): Add traces. Return device names with port, if present. (tramp-adb-handle-directory-files-and-attributes): Quote all remote file names. (tramp-adb-get-device): New defun. (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection): Use it. (tramp-adb-maybe-open-connection): Set `tramp-current-*' variables. Remove checks for listed devices.
| * | Sync with Tramp upstream.Michael Albinus2015-03-045-96/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * net/tramp-cache.el (tramp-dump-connection-properties): Use `with-temp-file'. * net/tramp-sh.el (tramp-perl-file-attributes) (tramp-perl-directory-files-and-attributes): Escape apostrophs in file names. (tramp-do-file-attributes-with-stat): Quote file name. (tramp-sh-handle-directory-files-and-attributes): Fall back to `tramp-handle-directory-files-and-attributes' in case of problems. (tramp-do-directory-files-and-attributes-with-stat) (tramp-sh-handle-file-name-all-completions) (tramp-sh-handle-delete-directory) (tramp-sh-handle-expand-file-name, tramp-sh-handle-process-file): Normalize use of "cd". (tramp-do-directory-files-and-attributes-with-stat): Use the `quoting-style' arg of `ls' if possible. Make it also working for file names with apostrophs. (tramp-sh-handle-file-name-all-completions): Use arguments of `ls' in proper order. (tramp-do-copy-or-rename-file-via-buffer) (tramp-sh-handle-file-local-copy): Use `with-temp-file'. (tramp-get-remote-locale): Accept also \r in output. (tramp-get-ls-command-with-quoting-style): New defun. (tramp-get-inline-coding): Set `default-directory' to a local directory. Sporadically, `call-process-region' does not handle a remote default directory properly. * net/tramp.el (tramp): Add :link property. (tramp-login-prompt-regexp): Allow also "user", as required by Fritz!Box telnet. (tramp-autoload-file-name-handler): Use "/". (tramp-handle-unhandled-file-name-directory): Return nil when required by the spec. * net/trampver.el: Update release number.
| * | Spelling fixesPaul Eggert2015-03-032-3/+3
| | |
| * | Merge from origin/emacs-24Paul Eggert2015-03-033-32/+59
| |\| | | | | | | | | | | | | | | | | | | | | | c4ade11 textmodes/ispell.el: Look for aspell .dat files also under dict-dir e28ec9a ispell.el: Extend to aspell current hunspell handling of aliases Conflicts: lisp/ChangeLog
| | * textmodes/ispell.el: Look for aspell .dat files also under dict-dir, as ↵Agustin Martin Domingo2015-03-032-17/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | aspell does. Originally reported as http://bugs.debian.org/765349. Noticed when aspell has different data-dir and dict-dir. * textmodes/ispell.el (ispell-aspell-find-dictionary): Make sure .dat files for aspell dicts are also searched for in location described by `ispell-aspell-dict-dir', matching aspell's dict-dir variable.
| | * ispell.el: Extend to aspell current hunspell handling of aliases names for ↵Agustin Martin Domingo2015-03-032-9/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | standard dicts. Extend `ispell-hunspell-dictionary-equivs-alist' use to aspell, once renamed to a more general `ispell-dicts-name2locale-equivs-alist' name. Originally reported as http://bugs.debian.org/745613 * textmodes/ispell.el (ispell-dicts-name2locale-equivs-alist) (ispell-hunspell-fill-dictionary-entry) (ispell-find-hunspell-dictionaries) (ispell-set-spellchecker-params): New generic name for `ispell-hunspell-dictionary-equivs-alist'. (ispell-aspell-add-aliases): Also use `ispell-dicts-name2locale-equivs-alist' to get aspell aliases for standard dict names.
| | * # Auto-commit of loaddefs files.Glenn Morris2015-03-011-1156/+1143
| | |
| * | Merge from origin/emacs-24Paul Eggert2015-03-038-60/+73
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f160106 Avoid assertion violations in Rmail due to newline cache 1b0ebbd browse-url-firefox: update for firefox 36's removal of -remote 1817892 Avoid erratic behavior of menu-bar tooltips on w32 (Bug#19925) 0260932 Bump python.el version b0adfc7 Spelling fixes 35f047c * src/fileio.c (Fmake_temp_name): Doc tweaks. 6f2971a * lisp/comint.el (comint-line-beginning-position): Revert searching 65d8ac7 Mention in admin/notes/repo how to mark commits not to be merged. 86fe750 # Remove NEWS temporary markup 4fa778b erc.el: Add old version header for package.el compatibilty 9366f05 Tramp: Disable paging with PAGER=cat Conflicts: admin/notes/repo etc/NEWS lisp/ChangeLog lisp/erc/ChangeLog src/ChangeLog
| | * browse-url-firefox: update for firefox 36's removal of -remoteGlenn Morris2015-02-242-53/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ref: https://bugzilla.mozilla.org/show_bug.cgi?id=1080319 * lisp/net/browse-url.el (browse-url-firefox-startup-arguments): Make obsolete. (browse-url-firefox): Doc fix. Remove -remote. (browse-url-firefox-sentinel): Remove function. * etc/NEWS: Mention this. Fixes: debbugs:19921
| | * Avoid erratic behavior of menu-bar tooltips on w32 (Bug#19925)Eli Zaretskii2015-02-232-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | src/w32fns.c (Fw32__menu_bar_in_use): New internal function. lisp/frame.el (blink-cursor-timer-function): Don't increment blink-cursor-blinks-done counter when a menu is active on a w32 frame.
| | * Bump python.el versionFabián Ezequiel Gallina2015-02-211-1/+1
| | |
| | * Spelling fixesPaul Eggert2015-02-211-1/+1
| | |
| | * * lisp/comint.el (comint-line-beginning-position): Revert searching forJuri Linkov2015-02-192-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | the prompt when comint-use-prompt-regexp is non-nil because it doesn't distinguish input from output. Check the field property `output' for the case when comint-use-prompt-regexp is nil. Fixes: debbugs:19710
| | * erc.el: Add old version header for package.el compatibiltykwhite2015-02-172-1/+6
| | |
| | * Tramp: Disable paging with PAGER=catJérémy Compostella2015-02-152-1/+6
| | | | | | | | | | | | | | | | | | | | | Fixes: debbugs:19870 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging with PAGER=cat.
| * | Merge from origin/emacs-24Paul Eggert2015-03-036-27/+106
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0077b36 # NEWS copyedits 3ca2ff3 * lisp/erc/erc.el (erc-rename-buffers): Doc fix. Add :version. b85523f * lisp/textmodes/flyspell.el (flyspell-duplicate-distance): decb48d Augment text-mode syntax table for a few special characters 8b3ba7a Improve docs of transient-mark-mode (Bug#19841) 72fd047 NEWS: Add section to include ERC changes a7254bb Improve string search in `flyspell-word-search-*`. (Bug#16800) Conflicts: etc/ChangeLog etc/NEWS lisp/ChangeLog lisp/erc/ChangeLog src/ChangeLog
| | * * lisp/erc/erc.el (erc-rename-buffers): Doc fix. Add :version.Glenn Morris2015-02-132-2/+8
| | |
| | * * lisp/textmodes/flyspell.el (flyspell-duplicate-distance): Bump :version.Glenn Morris2015-02-132-3/+6
| | |
| | * Augment text-mode syntax table for a few special charactersEli Zaretskii2015-02-132-0/+21
| | | | | | | | | | | | | | | | | | lips/textmodes/text-mode.el (text-mode-syntax-table): Make some punctuation character behave as word-constituent, for more compatibility with Unicode.
| | * Improve docs of transient-mark-mode (Bug#19841)Eli Zaretskii2015-02-132-4/+9
| | | | | | | | | | | | | | | | | | src/buffer.c (syms_of_buffer): Doc fix. lisp/simple.el (transient-mark-mode): Doc fix.
| | * Improve string search in `flyspell-word-search-*`. (Bug#16800)Agustin Martin Domingo2015-02-122-20/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | * flyspell.el (flyspell-duplicate-distance): Limit default search distance for duplicated words to 40000. (flyspell-word-search-backward, flyspell-word-search-forward): Search as full word with defined casechars, not as substring. Fixes: debbugs:16800
| * | Merge from origin/emacs-24Paul Eggert2015-03-033-5/+54
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4b0b27d Fix invocation of commands whose file name includes extension 87fc99f Better support for the case of typing RET on the prompt in comint. a7b1c2f Don't lose frame's background color when setting foreground 20c817d Fix handling of frame color parameters in TTY sessions eca7da1 Complete the remaining documentation updates for 24.5 Conflicts: doc/lispref/ChangeLog etc/NEWS lisp/ChangeLog nt/ChangeLog src/ChangeLog
| | * Better support for the case of typing RET on the prompt in comint.Juri Linkov2015-02-102-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/comint.el (comint-get-old-input-default): Go to the field end when comint-use-prompt-regexp is nil. (comint-line-beginning-position): Check if point is already on the prompt before searching for the prompt when comint-use-prompt-regexp is non-nil. Fixes: debbugs:19710
| | * Don't lose frame's background color when setting foreground (Bug#19802)Eli Zaretskii2015-02-082-4/+16
| | | | | | | | | | | | | | | lisp/frame.el ((set-background-color, set-foreground-color): Pass the other color, if defined, to face-set-after-frame-default.
| | * Fix handling of frame color parameters in TTY sessions (Bug#19802)Eli Zaretskii2015-02-082-3/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/xfaces.c (map_tty_color): Use assoc_no_quit instead of assq_no_quit to fetch color definition by its string name. lisp/frame.el (frame-notice-user-settings): Refresh the value of frame parameters after calling tty-handle-reverse-video. Call face-set-after-frame-default with the actual parameters, to avoid resetting colors back to unspecified. (set-background-color, set-foreground-color): Pass the selected color to face-set-after-frame-default.
| | * Backport the :end-of-capability fixWolfgang Jenkner2015-02-062-2/+9
| | | | | | | | | | | | | | | * lisp/net/network-stream.el (network-stream-open-tls): Respect the :end-of-capability setting (backport)
| * | Merge from origin/emacs-24Paul Eggert2015-03-034-13/+48
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c0ba590 Fix vertical-motion and posn-at-point when word-wrap is a323b93 Better multi-line input support in comint.el 008a04a todo-mode.el: Restore point on setting item done (Bug#19727) 9615c0d doc/misc/erc.texi: fix typo c648717 Update ERC docs and update MAINTANERS to include myself d825f66 Fix filling circle/ellipse in Artist Mode (Bug#19763) Conflicts: admin/ChangeLog doc/misc/ChangeLog doc/misc/erc.texi lisp/ChangeLog src/ChangeLog
| | * Better multi-line input support in comint.elJuri Linkov2015-02-052-10/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert the change of comint-line-beginning-position callers, and modify comint-line-beginning-position instead. * lisp/comint.el (comint-history-isearch-search) (comint-history-isearch-message, comint-history-isearch-wrap): Use comint-line-beginning-position instead of field-beginning. (comint-send-input): Use either end-of-line or field-end depending on comint-use-prompt-regexp. (comint-line-beginning-position): Search backward for comint-prompt-regexp if comint-use-prompt-regexp is non-nil. Use field-beginning instead of line-beginning-position if comint-use-prompt-regexp is nil. Fixes: debbugs:19710
| | * todo-mode.el: Restore point on setting item done (Bug#19727)Robert Pluim2015-02-042-2/+11
| | | | | | | | | | | | | | | calendar/todo-mode.el (todo-item-done): When done items are hidden, restore point to its location prior to invoking this command.
| | * Fix filling circle/ellipse in Artist Mode (Bug#19763)Eli Zaretskii2015-02-042-1/+7
| | | | | | | | | | | | | | | lisp/textmodes/artist.el (artist-ellipse-compute-fill-info): Use mapcar, not mapc, to create the other half of fill-info.
| | * Bump version to 24.4.90Nicolas Petton2015-02-041-1130/+1139
| | |
| * | Merge from origin/emacs-24Paul Eggert2015-03-032-8/+38
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ec26c23 authors.el: Add missing ignored and renamed files e589765 A more thorough fix for bug#19307 4e8d586 Fix last commit d6fee01 Tramp: Don't use a tempfile for ControlPath. 27e11c0 Fix display of overlay strings with faces after ellipsis (Bug#19307) e9a7e10 Fix redrawing of mode lines when exposed (Bug#19721) 50f3811 net/tramp.el (tramp-ssh-controlmaster-options): Use "%C" Conflicts: lisp/ChangeLog src/ChangeLog src/xdisp.c
| | * authors.el: Add missing ignored and renamed filesNicolas Petton2015-02-042-0/+7
| | | | | | | | | | | | | | | * emacs-lisp/authors.el (authors-ignored-files) (authors-renamed-files-alist): Additions.
| | * Fix last commitMichael Albinus2015-02-031-2/+2
| | |
| | * Tramp: Don't use a tempfile for ControlPath.Michael Albinus2015-02-032-2/+8
| | | | | | | | | | | | | | | | | | | | | Fixes: debbugs:19702 * net/tramp.el (tramp-ssh-controlmaster-options): Don't use a tempfile for ControlPath.
| | * net/tramp.el (tramp-ssh-controlmaster-options): Use "%C"Michael Albinus2015-02-022-8/+21
| | | | | | | | | | | | | | | | | | | | | Fixes: debbugs:19702 * net/tramp.el (tramp-ssh-controlmaster-options): Use "%C" for ControlPath if possible.
| | * authors.el: backport some additionsGlenn Morris2015-02-012-1/+9
| | | | | | | | | | | | | | | * lisp/emacs-lisp/authors.el (authors-obsolete-files-regexps) (authors-valid-file-names, authors-renamed-files-alist): Additions.
| * | Merge from origin/emacs-24Paul Eggert2015-03-032-0/+16
| |\| | | | | | | | | | | | | | | | | | | | | | | | | d3852a9 * admin/admin.el (manual-meta-string): Use bug-gnu-emacs. d69e9f1 CC Mode: Stop Font Lock forcing fontification from BOL. Conflicts: admin/ChangeLog lisp/ChangeLog
| | * CC Mode: Stop Font Lock forcing fontification from BOL. Fixes debbugs#19669.Alan Mackenzie2015-02-012-0/+16
| | | | | | | | | | | | | | | cc-mode.el (c-font-lock-init): Setq font-lock-extend-region-functions to nil.
| | * # Auto-commit of loaddefs files.Glenn Morris2015-02-011-1154/+1154
| | |
| * | Use `macroexp-parse-body'Daniel Colascione2015-03-032-7/+20
| | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/generator.el: (iter-defun): Use `macroexp-parse-body'. * test/automated/generator-tests.el (cps-testcase): Use (cps-test-declarations-preserved): New test.
| * | * lisp/progmodes/gud.el: Use lexical-binding.Stefan Monnier2015-03-033-6/+23
| | | | | | | | | | | | | | | | | | Fixes: debbugs:19966 * lisp/emacs-lisp/gv.el (gv-ref): Warn about likely problematic cases.
| * | Address generator feedbackDaniel Colascione2015-03-032-38/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/control.texi (Generators): Correct missing word. Clarify which forms are legal in which parts of `unwind-protect'. Fix orphaned close parenthesis. * lisp/emacs-lisp/generator.el: Make globals conform to elisp style throughout. Use more efficient font-lock patterns. (cps-inhibit-atomic-optimization): Rename from `cps-disable-atomic-optimization'. (cps--gensym): New macro; replaces `cl-gensym' throughout. (cps-generate-evaluator): Move the `iter-yield' local macro definition here (iter-defun, iter-lambda): from here. * test/automated/generator-tests.el (cps-test-iter-close-finalizer): Rename `gc-precise-p' to `gc-precise'. * test/automated/generator-tests.el (cps-testcase): Use `cps-inhibit-atomic-optimization' instead of `cps-disable-atomic-optimization'.