summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* Add `predicate' arg to `read-buffer' and use it for erc-iswitchbStefan Monnier2015-03-169-65/+81
| | | | | | | | | | | | | | | | | | | | | | Fixes: debbugs:20116 * src/minibuf.c (Fread_buffer): Add `predicate' argument. * src/callint.c (Fcall_interactively): Adjust calls accordingly. * lisp/erc/erc.el (erc-switch-to-buffer): Rename from erc-iswitchb and rewrite using read-buffer. (erc--buffer-p): New function, extracted from erc-buffer-filter. (erc-buffer-filter): Use it. (erc-with-all-buffers-of-server): Silence compile warning if the return value is unused. (erc-is-valid-nick-p, erc-common-server-suffixes, erc-get-arglist) (erc-command-name, erc-popup-input-buffer): Use \` and \' to match beg/end of string. * lisp/obsolete/iswitchb.el (iswitchb-read-buffer): Add `predicate' arg. * lisp/isearchb.el (isearchb-iswitchb): Adjust accordingly. * lisp/ido.el (ido-read-buffer): Add `predicate' argument. * lisp/misearch.el (unload-function-defs-list): Declare before use.
* Fixes: debbugs:19335Vibhav Pant2015-03-172-0/+66
| | | | | | | | | | | | * net/browse-url.el (browse-url-browser-function): Add "Conkeror". (browse-url-conkeror-program, browse-url-conkeror-arguments) (browse-url-conkeror-new-window-is-buffer): New defcustoms. (browse-url-default-browser): Check for `browse-url-conkeror' and call `browse-url-conkeror-program'. (browse-url-conkeror): New command. (bug#19863) * etc/NEWS: Mention added support for Conkeror.
* Add 'clear' functionality to eshell.Vibhav Pant2015-03-172-0/+11
| | | | | | * eshell/esh-mode.el (eshell/clear): New function. * etc/NEWS: Mention new built-in command.
* Make Edebug work with Follow Mode.Alan Mackenzie2015-03-162-34/+10
| | | | | | | | * emacs-lisp/edebug.el (edebug--display-1): Remove call to edebug-adjust-window. (edebug--recursive-edit): Don't bind pre/post-command-hooks to nil over the recursive edit. (edebug-adjust-window): Remove.
* (url-insert-file-contents): Set buffer-file-coding-systemStefan Monnier2015-03-152-5/+16
| | | | | | | | Fixes: debbugs:20010 * lisp/url/url-handlers.el (url-insert-file-contents): Call after-insert-file-set-coding like insert-file-contents, to set buffer-file-coding-system.
* In Tramp. check ssh Control* options only when neededMichael Albinus2015-03-156-46/+101
| | | | | | | | | | | | | | | | | | | | | | Fixes: debbugs:20015 * net/tramp-adb.el: * net/tramp-gvfs.el: * net/tramp-sh.el: * net/tramp-smb.el: Set tramp-autoload cookie for all defcustoms. * net/tramp-sh.el (tramp-use-ssh-controlmaster-options): New defcustom, moved from tramp.el. (tramp-ssh-controlmaster-options): New defvar, moved from tramp.el but with a nil initial value. (tramp-ssh-controlmaster-options): New defun. (tramp-do-copy-or-rename-file-out-of-band) (tramp-maybe-open-connection): Use it. * net/tramp.el (tramp-ssh-controlmaster-options) (tramp-use-ssh-controlmaster-options): Move them to tramp-sh.el. (tramp-default-method): Do not check for `tramp-ssh-controlmaster-options'.
* Font-lock elisp macros/special forms dynamicallyTassilo Horn2015-03-152-2/+42
| | | | | | | | * emacs-lisp/lisp-mode.el (lisp--el-macro-regexp): New defconst. (lisp--el-update-macro-regexp, lisp--el-update-after-load) (lisp--el-match-macro): New functions. (lisp-mode-variables): Update lisp--el-macro-regexp and add lisp--el-update-after-load to after-load-functions.
* Support indenting backquote substitutions in cl-indentDaniel Colascione2015-03-152-11/+60
| | | | | | | | | * lisp/emacs-lisp/cl-indent.el (lisp-indent-backquote-substitution-mode): New user option. (common-lisp-indent-function-1, common-lisp-loop-part-indentation) (common-lisp-indent-function): Support normally indenting backquote substitutions. (extended-loop-p): Rename to `lisp-extended-loop-p'.
* Merge branch 'master' of git.sv.gnu.org:/srv/git/emacsMichael R. Mauger2015-03-142-0/+7
|\
| * Type checking for `define-widget'Daniel Colascione2015-03-142-0/+7
| | | | | | | | | | | | * lisp/widget.el (define-widget): Check that documentation is a string or nil; prevent wailing and gnashing of teeth when users forget to pass a docstring and wonder why their properties don't work.
* | 2015-03-14 Michael R. Mauger <michael@mauger.com>Michael R. Mauger2015-03-142-16/+35
|/ | | | | | * progmodes/sql.el: Version 3.5 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): Match password prompts. (sql-interactive-remove-continuation-prompt): Fixed regression. (Bug#6686)
* Add --no-x-resources optionDaniel Colascione2015-03-142-2/+9
| | | | | | | * lisp/startup.el (command-line): Process "--no-x-resources". * src/emacs.c (standard_args): Add --no-x-resources. (usage_message): Document that -Q implies --no-x-resources.
* Fix ChangeLog typoPaul Eggert2015-03-131-1/+1
|
* info-look fixes for Texinfo 5Kevin Ryde2015-03-132-19/+38
| | | | | | | | | * info-look.el (c-mode, bison-mode, makefile-mode) (makefile-automake-mode, texinfo-mode, autoconf-mode, awk-mode) (latex-mode, emacs-lisp-mode, sh-mode, cfengine-mode): Match `foo' and 'foo' and ‘foo’ for @item and similar. (latex-mode): Match multi-arg \frac{num}{den} or \sqrt[root]{n} in suffix regexp.
* Support goal column in multi-line minibufferJuri Linkov2015-03-122-4/+39
| | | | | | | | * lisp/simple.el (next-line-or-history-element) (previous-line-or-history-element): Remember the goal column of possibly multi-line input, and restore it afterwards. Fixes: debbugs:19824
* Fixes: debbugs:19335Rasmus Pank Roulund2015-03-122-2/+13
| | | | * lisp/ido.el (ido-add-virtual-buffers-to-list): Include bookmark-alist files
* Fix support of scripts in w32font.c (Bug#19993)Eli Zaretskii2015-03-122-0/+6
| | | | | | | | | | | | | | src/w32font.c (font_supported_scripts): Add subranges for Latin Supplement, Latin Extended-A/B, Vai, Supplemental Punctuation, Tai Le, Buginese, Yijing Hexagrams, Ancient Greek Numbers, Tai Xuan Jing, Counting Rods, Sundanese, Lepcha, Ol Chiki, Saurashtra, Kayah Li, Rejang, Ancient Symbols, Phistos Disc, Carian, Lycian, Lydian, Dominoe Tiles, and Mahjong Tiles. Break the Mathematical Alphanumeric Symbols into several "scripts" like fontset.el does. (syms_of_w32font): DEFSYM all the new script symbols. lisp/international/fontset.el (script-representative-chars): Add a representative character for 'vai'.
* * international/quail.el (quail-input-method): Use with-silent-modificationsStefan Monnier2015-03-112-5/+5
|
* * lisp/gnus/registry.el (registry-db): Don't oset-default an instance slot.Stefan Monnier2015-03-113-23/+39
| | | | | | | | | | | * lisp/gnus/gnus-registry.el (gnus-registry-handle-action) (gnus-registry-post-process-groups): Don't add-to-list on a local var. (gnus-registry-keywords): Make it do something. (gnus-registry-import-eld): Remove unused var `new-entry'. (gnus-registry-action): Remove unused var `to-name'. (gnus-registry-make-db): Prefer `make-instance' to avoid compiler warnings. (gnus-registry-load, gnus-registry-fixup-registry): Avoid `oset'.
* * lisp/simple.el (goto-history-element): Don't burp on t history.Stefan Monnier2015-03-112-8/+14
|
* Prefer "initialize" to "initialise"Paul Eggert2015-03-103-14/+21
| | | | | | | | | | * lisp/progmodes/js.el (js-indent-first-init): Rename from js-indent-first-initialiser, to avoid worrying about American vs British spelling. All uses changed. * test/indent/js-indent-init-t.js: Rename from indent/js-indent-first-initialiser-t.js. * test/indent/js-indent-init-dynamic.js: Rename from test/indent/js-indent-first-initialiser-dynamic.js.
* # Further ChangeLog fixGlenn Morris2015-03-101-0/+1
|
* * lisp/progmodes/js.el (js-indent-first-initialiser): Fix doc, type, version.Glenn Morris2015-03-102-20/+14
| | | | | | | | First line of the doc string should be a complete sentence. * etc/NEWS: Mention new option. # Fix associated ChangeLog entries.
* * lisp/gnus/message.el (message-valid-fqdn-regexp): Bump :versionGlenn Morris2015-03-102-1/+6
|
* New indentation option for js-modeJackson Ray Hamilton2015-03-102-0/+89
| | | | | | | | | | | | | | * lisp/progmodes/js.el (js--proper-indentation): Add new custom option `js-indent-first-initialiser' and a function to utilize it, `js--maybe-goto-declaration-keyword-end'. * test/indent/js.js: Add local variables. * test/indent/js-indent-first-initialiser-t.js: New test for `js-indent-first-initialiser'. * test/indent/js-indent-first-initialiser-dynamic.js: New test for `js-indent-first-initialiser'.
* Spelling and minor grammar fixesPaul Eggert2015-03-104-8/+8
|
* Recognize more LDAP attributesThomas Fitzsimmons2015-03-092-2/+17
| | | | | | | Fixes: debbugs:8983 * net/ldap.el (ldap-attribute-syntaxes-alist): Add LDAP attributes from RFC2798 Section 9.1.1. (Bug#8983)
* Add seq-into as a public functionNicolas Petton2015-03-092-5/+12
| | | | | | | * lisp/emacs-lisp/seq.el: Make seq-into a public function (replacing seq--into) * test/automated/seq-tests.el: Add tests for seq-into * doc/lispref/sequences.texi: Add documentation for seq-into
* ruby-mode: Detect regexps after `!'Dmitry Gutov2015-03-092-1/+3
| | | | | | | Fixes: debbugs:19285 * lisp/progmodes/ruby-mode.el (ruby-syntax-before-regexp-re): Detect regexps after `!'.
* ruby-mode: Don't consider `=' a part of symbol when followed by `>'Dmitry Gutov2015-03-092-2/+15
| | | | | | | Fixes: debbugs:18644 * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't consider `=' a part of symbol when followed by `>'.
* Fix ChangeLog typosPaul Eggert2015-03-081-0/+1
|
* Merge from origin/emacs-24Paul Eggert2015-03-081-2/+2
|\ | | | | | | | | | | | | | | 113fcc3 * etc/AUTHORS: Update the AUTHORS file 51c0c8d * lisp/ChangeLog: Fix a changelog entry Conflicts: etc/AUTHORS
| * * lisp/ChangeLog: Fix a changelog entryNicolas Petton2015-03-081-2/+2
| |
| * Make tramp-ssh-controlmaster-options a defcustom. Do not merge with master.Michael Albinus2015-03-072-2/+10
| | | | | | | | | | | | | | Fixes: debbugs:20015 * net/tramp.el (tramp-ssh-controlmaster-options): Make it a defcustom.
* | Merge from origin/emacs-24Paul Eggert2015-03-082-5/+13
|\| | | | | | | | | | | | | | | | | 344c6ad Improve MS-Windows build instructions (Bug#19989) eb62887 lisp/dired.el (dired-delete-file): Doc fix. (Bug#20021) Conflicts: lisp/ChangeLog nt/ChangeLog
| * lisp/dired.el (dired-delete-file): Doc fix. (Bug#20021)Eli Zaretskii2015-03-072-5/+14
| |
| * # Changelog fixes (no need to merge to trunk)Glenn Morris2015-03-041-3/+3
| |
* | EUDC: Support BBDB >= 3Sergio Durigan Junior2015-03-082-2/+29
| | | | | | | | | | | | | | | | | | Fixes: bug#19678 Co-authored-by: Thomas Fitzsimmons <fitzsim@fitzsim.org> * net/eudcb-bbdb.el (eudc-bbdb-field): New function. (eudc-bbdb-filter-non-matching-record): Call eudc-bbdb-field. (eudc-bbdb-format-record-as-result): Likewise.
* | lisp/gnus/gnus-notifications.el (gnus-notifications-action): Replace ↵Adam Sjøgren2015-03-081-1/+1
| | | | | | | | x-focus-frame kludge by calling gnus-select-frame-set-input-focus
* | ruby-mode: Change faces used for self, true, false and nilDmitry Gutov2015-03-082-3/+10
| | | | | | | | | | | | | | | | Fixes: debbugs:17733 * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Use `font-lock-constant-face' for nil, true and false. Highlight `self' as a keyword.
* | ruby-mode: Expect regexp after { or | tooNobuyoshi Nakada2015-03-082-1/+7
| | | | | | | | | | | | | | Fixes: debbugs:20026 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re): Expect beginning of regexp also after open brace or vertical bar.
* | # Auto-commit of loaddefs files.Glenn Morris2015-03-081-1/+1
| |
* | lisp/gnus/gnus-notifications: Raise frame when clicking Read; Add mark as readRasmus Pank Roulund2015-03-082-7/+21
| |
* | lisp/gnus/message.el (message-insert-formatted-citation-line): Change %F to ↵Adam Sjøgren2015-03-082-2/+8
| | | | | | | | fall back to email address if no first name could be determined
* | Revert "Make tramp-ssh-controlmaster-options a defcustom. Do not merge with ↵Michael Albinus2015-03-072-10/+2
| | | | | | | | | | | | master." This reverts commit 5ab767b8dcea50b4d02c3910d19c223a5402f99d.
* | Make tramp-ssh-controlmaster-options a defcustom. Do not merge with master.Michael Albinus2015-03-072-2/+10
| | | | | | | | | | | | Fixes: debbugs:20015 * net/tramp.el (tramp-ssh-controlmaster-options): Make it a defcustom.
* | * lisp/gnus/*registry.el: Use slot names rather than initarg namesStefan Monnier2015-03-063-21/+30
| | | | | | | | | | | | | | | | | | * lisp/gnus/registry.el (registry-lookup-breaks-before-lexbind) (registry-search, registry-delete, registry-size, registry-insert) (registry-reindex, registry-collect-prune-candidates, registry-lookup): * lisp/gnus/gnus-registry.el (gnus-registry-fixup-registry) (gnus-registry-remove-extra-data): Use slot names rather than initarg names in `oref' and `oset'.
* | * lisp/battery.el: Make it work on my MSI WindStefan Monnier2015-03-062-54/+59
| | | | | | | | | | | | * lisp/battery.el (battery-echo-area-format): Simplify default. (battery-linux-sysfs): Standardize on energy&power. Accept ADP1 for AC adapter.
* | * lisp/emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't try toStefan Monnier2015-03-062-60/+67
| | | | | | | | | | unfold `closure's since byte-compile-unfold-lambda doesn't know how to do it.
* | browse-url-firefox: removed MS-Windows limitationsOscar Fuentes2015-03-062-12/+10
| | | | | | | | | | net/browse-url.el (browse-url-firefox): Removed outdated MS-Windows limitations.