- 07 Sep, 2015 3 commits
-
-
Artur Malabarba authored
(package--autoloads-file-name) (package--activate-autoloads-and-load-path): New function. (package-activate-1): Delegate autoloading and load-path configuration to `package--activate-autoloads-and-load-path'. (package--compile): Before compilation, call `package--activate-autoloads-and-load-path' instead of `package-activate-1'.
-
Artur Malabarba authored
When `package-initialize' is called as part of loading the init file, the user probably doesn't want it to be called again afterwards. In this situation, `package-initialize' now sets `package-enable-at-startup' to nil to prevent that. The user can have the old behaviour by setting this variable to t after the call to `package-initialize'. (Bug#21423) * doc/emacs/package.texi (Package Installation): Document it * doc/lispref/package.texi (Packaging Basics): Document it * etc/NEWS: Document it
-
Thomas Fitzsimmons authored
* lisp/net/ntlm.el: Bump version to 2.00. New maintainer. Add comm keyword.
-
- 06 Sep, 2015 6 commits
-
-
Dmitry Gutov authored
* lisp/progmodes/etags.el (etags-tags-completion-table): Allow even one non-regular character before the implicit tag name. Reported at http://emacs.stackexchange.com/questions/15269/.
-
Thomas Fitzsimmons authored
* net/ntlm.el (ntlm): New customization group. (ntlm-compatibility-level): New defcustom. (ntlm-compute-timestamp): New function. (ntlm-generate-nonce): Likewise. (ntlm-build-auth-response): Add support for NTLMv2 authentication.
-
Artur Malabarba authored
All of the recently introduced faces, like `package-name-face', have been renamed to no end in `-face' to comply with the convention described in (info "(elisp) Defining Faces"). (package-name, package-description) (package-status-built-in, package-status-external) (package-status-available, package-status-new) (package-status-held, package-status-disabled) (package-status-installed, package-status-dependency) (package-status-unsigned, package-status-incompat) (package-status-avail-obso): New faces. (package-menu--print-info-simple): Use them.
-
Adam Sjøgren authored
* lisp/gnus/mail-source.el (mail-source-fetch-imap): Allow :mailbox to be a list.
-
Eric Abrahamsen authored
* lisp/gnus/nnimap.el (nnimap-request-group): Handle nil "info" arg. This arg isn't always passed in, check it's not nil before making it into a list. The active arg will also be nil if the group is new, check for that.
-
Michael Albinus authored
* lisp/filenotify.el (file-notify-handle-event): (file-notify--pending-event): Adapt docstring. (file-notify--descriptor, file-notify-callback): Reimplement in order to support renaming over directory boundaries. (file-notify-add-watch): Adapt `file-notify--descriptor' call. * doc/lispref/os.texi (File Notifications): Remove limitation of file renaming to the same directory.
-
- 05 Sep, 2015 10 commits
-
-
Paul Eggert authored
-
NicolasPetton authored
Update map-some to return the returned by the predicate, similar to seq-some. * lisp/emacs-lisp/map.el (map-some): Update the function to return the return value of the predicate. * test/automated/map-tests.el (test-map-some): Update the test to check for non-nil values only.
-
NicolasPetton authored
Remove the "-p" suffix from both function names. * lisp/emacs-lisp/map.el (map-contains-key, map-some): Rename the functions. * test/automated/map-tests.el (test-map-contains-key, test-map-some): Update both test functions.
-
NicolasPetton authored
Update seq-some to return non-nil if the predicate returns non-nil for any element of the seq, in which case the returned value is the one returned by the predicate. * lisp/emacs-lisp/seq.el (seq-some): Update the function and its docstring. * test/automated/seq-tests.el (test-seq-some): Add a regression test. * doc/lispref/sequences.texi (Sequence Functions): Update the documentation for seq-some.
-
NicolasPetton authored
* lisp/emacs-lisp/seq.el (seq-some, seq-contains): Rename the functions without the "-p" prefix. * test/automated/seq-tests.el (test-seq-some, test-seq-contains): Update the tests accordingly. * doc/lispref/sequences.texi (Sequence Functions): Update the documentation for seq.el.
-
Paul Eggert authored
* lisp/help.el (help--docstring-quote): Don’t assume text-quoting-style is ‘curve’ when generating usage strings for functions whose names contain curved quotes.
-
Paul Eggert authored
This fixes a bug introduced by the previous patch. * lisp/help-fns.el (help-fns--signature): Last arg of help-fns--signature is now a buffer, or nil if a raw signature is wanted. All callers changed. (describe-function-1): Use this to do the right thing with signatures.
-
Johan Bockgård authored
* lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>: * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>: Use PAT rather than UPAT.
-
Paul Eggert authored
* lisp/help-fns.el (describe-function-1): Compute signature in the original buffer, not in standard-output, so that substitute-command-keys uses the proper keybindings. This fixes Bug#21412, introduced in commit 2015-06-11T10:23:46-0700!eggert@cs.ucla.edu.
-
Eli Zaretskii authored
* lisp/thingatpt.el (thing-at-point): Only call 'length' on sequences. (Bug#21391)
-
- 04 Sep, 2015 1 commit
-
-
Glenn Morris authored
-
- 03 Sep, 2015 6 commits
-
-
Paul Eggert authored
Mostly these fixes prevent the transliteration of apostrophes that should stay apostrophes. Also, prefer curved quotes in Bahá’í proper names, as that’s the preferred Bahá’í style and these names are chock-full of non-ASCII characters anyway. * lisp/emacs-lisp/eieio-core.el (eieio-defclass-autoload) (eieio-defclass-internal): * lisp/emacs-lisp/eieio.el (defclass): * lisp/hi-lock.el (hi-lock-mode): Don’t transliterate Lisp apostrophes when generating a doc string or diagnostic. * lisp/international/mule-diag.el (list-coding-systems-1): * lisp/international/ogonek.el (ogonek-jak, ogonek-how): * lisp/mail/sendmail.el (sendmail-query-user-about-smtp): * lisp/vc/ediff-mult.el (ediff-redraw-registry-buffer): * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map): Substitute quotes before putting them in the help buffer.
-
Stefan Monnier authored
* lisp/emacs-lisp/bytecomp.el (byte-compile): Handle `closure' arg. * lisp/emacs-lisp/disass.el: Use lexical-binding. (disassemble): Recognize `closure's as well. (disassemble-internal): Use indirect-function and help-function-arglist, and accept `closure's. (disassemble-internal): Use interactive-form. (disassemble-1): Use functionp.
-
Stefan Monnier authored
* lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p): Don't compose inside verbatim blocks!
-
Mark Oteiza authored
(bug#19441)
-
Mark Oteiza authored
-
Dmitry Gutov authored
* lisp/vc/vc-git.el (vc-git-mode-line-string): Explicitly re-apply the face (bug#21404).
-
- 02 Sep, 2015 6 commits
-
-
Paul Eggert authored
* doc/emacs/building.texi (Lisp Interaction): * doc/lispref/os.texi (Startup Summary): * etc/NEWS: Document this. * lisp/startup.el (initial-scratch-message): Look up find-file’s key rather than hardcoding it. (command-line-1): Substitute the doc string. This also substitutes the quotes, which will help test display quoting at startup.
-
Paul Eggert authored
* lisp/descr-text.el (describe-char): Terminals can have glyphs in buffers too, so don’t treat them differently from graphic displays. Without this fix, describe-char would throw an error on a terminal if given a glyph with a non-default face.
-
Paul Eggert authored
This attempts to fix a problem reported by Alan Mackenzie in: http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00112.html * doc/lispref/display.texi (Active Display Table): Mention how text-quoting-style affects it. * doc/lispref/help.texi (Keys in Documentation): Say how to set text-quoting-style in ~/.emacs. * etc/NEWS: Document the change. * lisp/startup.el (startup--setup-quote-display): Follow user preference if text-quoting-style is set. (command-line): Setup quote display again if user expresses a preference in .emacs.
-
David Caldwell authored
(vc-refresh-state): Rename from vc-find-file-hook and make interactive. (vc-find-file-hook): Redefine as obsolete alias. Copyright-paperwork-exempt: yes
-
Paul Eggert authored
Escape apostrophes and grave accents in docstrings if they are are supposed to stand for themselves and are not quotes. Remove apostrophes from docstring examples like ‘'(calendar-nth-named-day -1 0 10 year)’ that confuse source code with data. Do some other minor docstring fixups as well, e.g., insert a missing close quote.
-
Stefan Monnier authored
* lisp/simple.el (prefix-command-echo-keystrokes-functions) (prefix-command-preserve-state-hook): New hooks. (internal-echo-keystrokes-prefix): New function. (prefix-command--needs-update, prefix-command--last-echo): New vars. (prefix-command-update, prefix-command-preserve): New functions. (reset-this-command-lengths): New compatibility definition. (universal-argument--mode): Call prefix-command-update. (universal-argument, universal-argument-more, negative-argument) (digit-argument): Call prefix-command-preserve-state. * src/keyboard.c: Call internal-echo-keystrokes-prefix to build the "prefix argument" to echo. (this_command_key_count_reset, before_command_key_count) (before_command_echo_length): Delete variables. (echo_add_key): Always add a space. (echo_char): Remove. (echo_dash): Don't give up when this_command_key_count is 0, since that is now the case after a prefix command. (echo_update): New function, extracted from echo_now. (echo_now): Use it. (add_command_key, read_char, record_menu_key): Remove old disabled code. (command_loop_1): Don't refrain from pushing an undo boundary when prefix-arg is set. Remove other prefix-arg special case, now handled directly in the prefix commands instead. But call echo_now if there's a prefix state to echo. (read_char, record_menu_key): Use echo_update instead of echo_char. (read_key_sequence): Use echo_now rather than echo_dash/echo_char. (Freset_this_command_lengths): Delete function. (syms_of_keyboard): Define Qinternal_echo_keystrokes_prefix. (syms_of_keyboard): Don't defsubr Sreset_this_command_lengths. * lisp/simple.el: Use those new hooks for C-u. (universal-argument--description): New function. (prefix-command-echo-keystrokes-functions): Use it. (universal-argument--preserve): New function. (prefix-command-preserve-state-hook): Use it. (command-execute): Call prefix-command-update if needed. * lisp/kmacro.el (kmacro-step-edit-prefix-commands) (kmacro-step-edit-prefix-index): Delete variables. (kmacro-step-edit-query, kmacro-step-edit-insert): Remove ad-hoc support for prefix arg commands. (kmacro-step-edit-macro): Don't bind kmacro-step-edit-prefix-index. * lisp/emulation/cua-base.el (cua--prefix-override-replay) (cua--shift-control-prefix): Use prefix-command-preserve-state. Remove now unused arg `arg'. (cua--prefix-override-handler, cua--prefix-repeat-handler) (cua--shift-control-c-prefix, cua--shift-control-x-prefix): Update accordingly. (cua--prefix-override-timeout): Don't call reset-this-command-lengths any more. (cua--keep-active, cua-exchange-point-and-mark): Don't set mark-active if the mark is not set.
-
- 01 Sep, 2015 8 commits
-
-
Paul Eggert authored
* lisp/startup.el (command-line): Skip call to startup--setup-quote-display if noninteractive. Without this change, python-shell-prompt-validate-regexps-1 fails in test/automated/python-tests.el when run in an en_US.utf8 locale on Fedora.
-
Katsumi Yamaoka authored
* lisp/gnus/gnus-util.el (gnus-format-message): * lisp/net/tls.el (tls-format-message): Use defalias at the top level so as to make eval-and-compile unnecessary. Thanks to Stefan Monnier.
-
Paul Eggert authored
Problem reported by Eli Zaretskii. * lisp/startup.el (startup--setup-quote-display): New function, refactored from a part of ‘command-line’. (command-line): Use it. * lisp/term/w32console.el (terminal-init-w32console): Use it, so that this function stays consistent with ‘command-line’.
-
Paul Eggert authored
* lisp/startup.el (command-line): When displaying ASCII replacements for curved quotes, use a shadow glyph instead of a regular one, to avoid ambiguity.
-
Michael Albinus authored
-
Michael Albinus authored
* lisp/net/tramp.el (tramp-clear-passwd): Clear also the passwords of the hops. * lisp/net/tramp-sh.el (tramp-methods) <sudo>: Move "-p" "Password:" at the beginning of the command. Otherwise, it could be interpreted as password prompt if the remote host echoes the command. (tramp-remote-coding-commands): Add "openssl enc -base64".
-
Dmitry Gutov authored
* lisp/vc/vc-git.el (vc-git-working-revision): Return the commit hash (bug#21383). (vc-git--symbolic-ref): New function, extracted from above. (vc-git-mode-line-string): Use it.
-
Glenn Morris authored
-