Lars Ingebrigtsen [Fri, 29 Apr 2016 18:27:22 +0000 (20:27 +0200)]
Doc fix for `kbd'
* lisp/subr.el (kbd): Describe more fully the format of the
parameter (bug#17039).
Glenn Morris [Fri, 29 Apr 2016 17:31:45 +0000 (13:31 -0400)]
; Comment tweak.
Lars Ingebrigtsen [Fri, 29 Apr 2016 16:22:58 +0000 (18:22 +0200)]
Add a sanity check to apropos-documentation-internal
* lisp/apropos.el (apropos-documentation-internal): Add a
sanity check to be less fragile in the presence of invalid
data (bug#16725).
Lars Ingebrigtsen [Fri, 29 Apr 2016 15:54:55 +0000 (17:54 +0200)]
Doc tweak
* lisp/simple.el (use-empty-active-region): Doc tweak.
There's only one region (bug#16513).
Lars Ingebrigtsen [Fri, 29 Apr 2016 15:38:26 +0000 (17:38 +0200)]
Clarify `read-face-name' doc and tweak the code
* lisp/faces.el (read-face-name): Clarify the documentation
and allow a mix of faces and faces names in all cases
(bug#16483).
Lars Ingebrigtsen [Fri, 29 Apr 2016 14:41:13 +0000 (16:41 +0200)]
Remove ": ?" from the read-face-name prompt
* lisp/faces.el (read-face-name): Remove ": ?" from the prompt
to be more backwards compatible (bug#15909).
Lars Ingebrigtsen [Fri, 29 Apr 2016 13:52:18 +0000 (15:52 +0200)]
Link from (emacs)Exiting to (lisp)Killing Emacs
* doc/emacs/entering.texi (Exiting): Link to the lispref
manual for further customisations (bug#15445).
Lars Ingebrigtsen [Fri, 29 Apr 2016 13:37:08 +0000 (15:37 +0200)]
find-lisp doc touchups
* lisp/find-lisp.el (find-lisp-format): Copy over the doc
string (bug#15047).
(find-lisp-find-files): Clarify doc.
Lars Ingebrigtsen [Fri, 29 Apr 2016 13:26:25 +0000 (15:26 +0200)]
Don't have the manual claim that it lists all CL incompatibilities
* doc/misc/cl.texi (Common Lisp Compatibility): The list of
incompatibilities isn't exhaustive, so don't say that it is
(bug#15171).
Lars Ingebrigtsen [Fri, 29 Apr 2016 13:23:38 +0000 (15:23 +0200)]
Fix call of `kmacro-display'
* lisp/kmacro.el (kmacro-view-ring-2nd): Fix call of
`kmacro-display' (bug#15020).
Lars Ingebrigtsen [Fri, 29 Apr 2016 12:36:23 +0000 (14:36 +0200)]
Change all occurrences of "Mouse-[0-9]" to "mouse-[0-9]"
* doc/emacs/*.texi: Change all occurrences of "Mouse-[0-9]" to
"mouse-[0-9]". These are case sensitive, and the keys are lower case
(bug#14554).
Lars Ingebrigtsen [Fri, 29 Apr 2016 01:15:59 +0000 (03:15 +0200)]
Rename "Directory Search" menu to "Servers"
* lisp/menu-bar.el (menu-bar-tools-menu): Rename "Directory
Search" to "Directory Servers". Suggested by Eli
Zaretskii. (bug#14919).
* lisp/net/eudc.el: Rename ditto throughout.
Lars Ingebrigtsen [Fri, 29 Apr 2016 00:40:13 +0000 (02:40 +0200)]
Remove uses of the unused to-end parameter from simple.el
* lisp/simple.el (line-move-partial): Remove usages of the
unused to-end parameter, and make it optional (bug#14844).
(line-move): Remove use of the unused to-end parameter.
Lars Ingebrigtsen [Thu, 28 Apr 2016 23:41:34 +0000 (01:41 +0200)]
Doc fix: _ chars are automatically removed.
* lisp/cus-edit.el (custom-buffer-create): _ chars are
automatically removed when displaying help, so fix the last
doc change.
(custom-buffer-create-other-window): Ditto.
Lars Ingebrigtsen [Thu, 28 Apr 2016 23:19:49 +0000 (01:19 +0200)]
Doc string change to enable-recursive-minibuffers
* src/minibuf.c (syms_of_minibuf): Mention
minibuffer-depth-indicator-mode in the doc string to
enable-recursive-minibuffers (bug#14147).
Lars Ingebrigtsen [Thu, 28 Apr 2016 22:20:55 +0000 (00:20 +0200)]
Fix definition of nobreak-space
* lisp/faces.el (nobreak-space): The definition to
nobreak-space was inadvertantly changed by the previous checkin.
Lars Ingebrigtsen [Thu, 28 Apr 2016 22:17:50 +0000 (00:17 +0200)]
Clarify the `interactive' doc string slightly
* src/callint.c (Finteractive): Clarify the doc string slightly
(bug#14577).
Drew Adams [Thu, 28 Apr 2016 17:31:43 +0000 (19:31 +0200)]
Make icomplete respect `completion-ignored-extensions'
* lisp/icomplete.el (icomplete-completions): Heed
`completion-ignored-extensions' (bug#12939).
Lars Ingebrigtsen [Thu, 28 Apr 2016 16:51:51 +0000 (18:51 +0200)]
Make ibuffer not break on newline-embedded buffer names
* lisp/ibuffer.el (name): When buffer names contain newlines,
quote those newlines before displaying (bug#12378).
Lars Ingebrigtsen [Thu, 28 Apr 2016 16:09:10 +0000 (18:09 +0200)]
Add a new face for non-breaking hyphen characters
* doc/emacs/display.texi (Standard Faces): Mention nobreak-hyphen.
(Text Display): Ditto.
* lisp/faces.el (nobreak-hyphen): New face (bug#12048).
* src/xdisp.c (get_next_display_element): Use it instead of
the escape-glyph face.
* src/xdisp.c (syms_of_xdisp): New symbil Qnobreak_hyphen.
Lars Ingebrigtsen [Thu, 28 Apr 2016 13:53:15 +0000 (15:53 +0200)]
Make a menu less ambiguous
* doc/emacs/custom.texi (Key Bindings): The Modifier Keys node
is about using modifier keys, not binding them (bug#10942).
Lars Ingebrigtsen [Thu, 28 Apr 2016 13:34:51 +0000 (15:34 +0200)]
Make kill-emacs-query-functions into defcustom
* lisp/files.el (save-buffers-kill-terminal): Mention
`save-buffers-kill-emacs' (bug#10794).
(kill-emacs-query-functions): Made into a defcustom.
Lars Ingebrigtsen [Thu, 28 Apr 2016 13:24:09 +0000 (15:24 +0200)]
Have describe-variable output multi-line values better
* lisp/help-fns.el (describe-variable): When printing
multi-line expressions, display them prettier (bug#10723).
Lars Ingebrigtsen [Thu, 28 Apr 2016 12:50:24 +0000 (14:50 +0200)]
Clean up custom-buffer-create code slightly
* lisp/cus-edit.el (custom-buffer-create-other-window): Don't
pass the unused description value on (for clarity) (bug#10540).
(custom-buffer-create): Ditto
Lars Ingebrigtsen [Thu, 28 Apr 2016 11:00:11 +0000 (13:00 +0200)]
Clarify some doc strings
* lisp/emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
Clarify doc string (bug#8693).
(syntax-propertize): Clarify doc string.
Nicolas Richard [Thu, 28 Apr 2016 10:38:38 +0000 (12:38 +0200)]
Fix number-at-point in lisp buffers
* lisp/thingatpt.el (number-at-point): Don't say that things
like ?a are numbers in lisp mode buffers (bug#8634).
Lars Ingebrigtsen [Thu, 28 Apr 2016 10:05:15 +0000 (12:05 +0200)]
Don't consider colons to be paragraphs starting chars in strings
* lisp/emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Don't
consider colons to start paragraphs in (doc) strings
(bug#7751).
Lars Ingebrigtsen [Wed, 27 Apr 2016 23:15:16 +0000 (01:15 +0200)]
Make `undo' of `C-x r t' put point where it should be
* lisp/rect.el (string-rectangle): Make `undo' of a this
command put point back where it was (bug#7522).
Lars Ingebrigtsen [Wed, 27 Apr 2016 22:53:04 +0000 (00:53 +0200)]
Add some concept index entries for custom types
* doc/lispref/customize.texi (Composite Types): Add concept
index entries for restricted-sexp, radio and choice (bug#7385).
Lars Ingebrigtsen [Wed, 27 Apr 2016 18:48:30 +0000 (20:48 +0200)]
Mention `lisp-indent-function' in the lispref manual
* doc/lispref/macros.texi (Indenting Macros): Mention
`lisp-indent-function' (bug#3393).
Lars Ingebrigtsen [Wed, 27 Apr 2016 18:40:59 +0000 (20:40 +0200)]
Clarify doc string of internal compilation function
* lisp/progmodes/compile.el (compilation-get-file-structure):
Clarify doc string (bug#3137).
Lars Ingebrigtsen [Wed, 27 Apr 2016 17:52:46 +0000 (19:52 +0200)]
Avoid having `C-x h' mark the prompt part of the minibuffer
* lisp/simple.el (mark-whole-buffer): Don't mark the prompt
part of the minibuffer (bug#2589).
Lars Ingebrigtsen [Wed, 27 Apr 2016 17:25:21 +0000 (19:25 +0200)]
Allow a prefix argument to find-library to pop to a different window
* lisp/emacs-lisp/find-func.el (find-library): Allow a prefix
argument to pop to a different window (bug#2270).
Lars Ingebrigtsen [Wed, 27 Apr 2016 17:12:47 +0000 (19:12 +0200)]
Move the diff command to "Operate" in ibuffer
* lisp/ibuffer.el (ibuffer-mode-operate-map): Move the diff
command to the "Operate" menu, and remove the customisation
entry to make the "View" menu more logical (bug#1150).
Lars Ingebrigtsen [Wed, 27 Apr 2016 16:43:02 +0000 (18:43 +0200)]
Make the minor modes in help buffers into buttons
* lisp/help.el (describe-mode): Make the minor modes into
buttons to enable easier documentation traversal (bug#1149).
Jorgen Schaefer [Wed, 27 Apr 2016 08:44:40 +0000 (10:44 +0200)]
Add a number of Python 3 exceptions
* lisp/progmoes/python.el (python-font-lock-keywords): Clean up the exception
list, adding a number of new Python 3 exceptions and moving some exceptions
to the Python 2 and 3 list as Python 2.7 includes them.
Anders Lindgren [Tue, 26 Apr 2016 18:58:52 +0000 (20:58 +0200)]
Fix bug#22891: wrong terminal width when a fringe width is zero.
When either fringe width is zero, Emacs reserved one column for a
continuation glyph. Terminal windows does not take this into
account when the frame is resized.
* lisp/window.el (window-adjust-process-window-size): Use
`window-max-chars-per-line' instead of `window-body-width'.
* lisp/term.el (term-window-width): Remove function. (It does the
same as `window-max-chars-per-line' but without recent bug fixes.)
(term-mode): Use `window-max-chars-per-line' instead of
`term-window-width'.
Simen Heggestøyl [Tue, 26 Apr 2016 18:37:56 +0000 (20:37 +0200)]
Add completion of `calc()' in CSS mode
* lisp/textmodes/css-mode.el (css-value-class-alist): Add `calc()' as
a completion candidate for several value classes.
(css--value-class-lookup): Return only unique results.
* test/lisp/textmodes/css-mode-tests.el
(css-test-property-values-no-duplicates)
(css-test-value-class-lookup): Update to reflect the above changes.
Paul Eggert [Tue, 26 Apr 2016 16:12:14 +0000 (09:12 -0700)]
Fix socketd fd startup bug that I introduced
Problem reported by Matthew Leach in:
http://lists.gnu.org/archive/html/emacs-devel/2016-04/msg00778.html
* src/emacs.c (main): Indicate more clearly the coupling between
the --daemon option and init_process_emacs.
* src/lisp.h: Adjust to API changes.
* src/process.c (set_external_socket_descriptor):
Remove, replacing by ...
(init_process_emacs): ... passing the socket FD here instead.
All uses changed.
Tao Fang [Mon, 25 Apr 2016 23:24:44 +0000 (01:24 +0200)]
Fix: (void-variable url-http-response-status)
* lisp/url/url-http.el
(url-https-proxy-after-change-function): Display the error
message before doing the callback to avoid a void variable
situation (bug#23290).
Lars Magne Ingebrigtsen [Mon, 25 Apr 2016 22:59:50 +0000 (00:59 +0200)]
smtpmail would say it's done before it is
* lisp/mail/smtpmail.el (smtpmail-via-smtp): Move the sending
of the data end marker from here... (bug#23020).
(smtpmail-send-data): ... to here, so that we don't get a
"Sending done" before we've sent the final "." (which can make
the SMPT server reject the email.
Lars Magne Ingebrigtsen [Mon, 25 Apr 2016 22:47:51 +0000 (00:47 +0200)]
`url-retrieve-synchronously' now takes an optional timeout parameter
* doc/misc/url.texi (Retrieving URLs): Document optional parameters.
* lisp/url/url.el (url-retrieve-synchronously): Allow passing
in a timeout parameter (bug#22940).
Lars Magne Ingebrigtsen [Mon, 25 Apr 2016 22:30:36 +0000 (00:30 +0200)]
Include "Retype" as a comint password prompt
* lisp/comint.el (comint-password-prompt-regexp): Include
"Retype" to catch "Retype password for [account]:" from the
"pass" utility (bug#22942).
Alan Mackenzie [Mon, 25 Apr 2016 17:57:24 +0000 (17:57 +0000)]
Fix spurious fontification of "for (; a * b;)" in CC Mode.
* lisp/progmodes/cc-fonts.el (c-font-lock-declarations): Check for being
inside the parens of a for statement and after a semicolon near the beginning
of the lambda form.
Paul Eggert [Mon, 25 Apr 2016 17:41:29 +0000 (10:41 -0700)]
New function ‘char-from-name’
This also fixes the mishandling of "\N{CJK COMPATIBILITY
IDEOGRAPH-F900}", "\N{VARIATION SELECTOR-1}", etc.
Problem reported by Eli Zaretskii in:
http://lists.gnu.org/archive/html/emacs-devel/2016-04/msg00614.html
* doc/lispref/nonascii.texi (Character Codes), etc/NEWS: Document this.
* lisp/international/mule-cmds.el (char-from-name): New function.
(read-char-by-name): Use it. Document that "BED" is treated as
a name, not as a hexadecimal number. Reject out-of-range integers,
floating-point numbers, and strings with trailing junk.
* src/lread.c (character_name_to_code): Call char-from-name
instead of inspecting ucs-names directly, so that we handle
computed names like "VARIATION SELECTOR-1". Do not use an auto
string, since char-from-name might GC.
* test/src/lread-tests.el: Add tests for new behavior, and
fix some old tests that were wrong.
Tino Calancha [Mon, 25 Apr 2016 17:27:06 +0000 (19:27 +0200)]
; Run find-function-after-hook after finding a symbol
* lisp/emacs-lisp/find-func.el (find-library):
* lisp/help-mode.el (help-function-def, help-variable-def):
Run `find-function-after-hook' inside the help-function of the
buttons (bug#22583).
Alan Mackenzie [Mon, 25 Apr 2016 17:08:26 +0000 (17:08 +0000)]
c-forward-<>-arglist no longer directly applies face properties in Java Mode.
This allows the calling of c-restore-<>-properties from c-common-init without
the test suite giving spurious errors.
* lisp/progmodes/cc-engine.el (c-forward-<>-arglist): Remove the form that
sets face properties.
(c-forward-<>-arglist-recur): Reformulate the bit that handles types inside
template brackets using c-inside-<>-type-key. Don't bind
c-record-type-identifiers or c-record-found-types around the recursive call,
allowing positions of found types to flow back to the caller.
* lisp/progmodes/cc-langs.el (c-inside-<>-type-kwds, c-inside-<>-type-key):
new lang consts/var.
* lisp/progmodes/cc-mode.el (c-common-init): Don't remove
c-restore-<>-properties from the list of functions called at mode
initialization.
Jun Hao [Mon, 25 Apr 2016 16:02:08 +0000 (18:02 +0200)]
Pass in port only if provided by caller in the OS X keychain
* lisp/auth-source.el (auth-source-macos-keychain-search): Pass in
port only if provided (bug#23374).
Alan Mackenzie [Mon, 25 Apr 2016 15:19:58 +0000 (15:19 +0000)]
Add fontification for a C declaration which looks like a function call.
For example, "t1 *fn (t2 *b);".
* lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add new variable
at-decl-start, setting it to whether the putative decl starts immediately
after ; or { or }. Accept such a construct as a decl when at-decl-start is
non-nil.
* lisp/progmodes/cc-langs.el (c-pre-start-tokens): New language variable.
Eli Zaretskii [Mon, 25 Apr 2016 08:50:37 +0000 (11:50 +0300)]
Don't mirror slashes in convert-standard-filename on MS-Windows
* lisp/w32-fns.el (w32-convert-standard-filename): Don't mirror
slashes into backslashes. This avoids producing ugly file names,
and is deemed no longer necessary, and should certainly be
unrelated to which shell is in use.
Michael Albinus [Mon, 25 Apr 2016 06:45:54 +0000 (08:45 +0200)]
; * admin/MAINTAINERS: Remove entry
Dmitry Gutov [Sun, 24 Apr 2016 20:32:48 +0000 (23:32 +0300)]
Revert the disputed VC change and update the tests
* lisp/vc/vc-hooks.el (vc-working-revision):
Remove the previous change.
(vc-state): Same. And update the old, incorrect comment about
unregistered files
(http://lists.gnu.org/archive/html/emacs-devel/2016-04/msg00526.html).
* test/lisp/vc/vc-tests.el (vc-test--state): Remove the check
calling `vc-state' on default-directory (VC state is undefined
for directories). Check that `vc-state' returns nil where it
returned `unregistered' before. Remove all checks comparing
invocations with the backend passed in explictly and without.
(vc-test--working-revision): Remove all checks comparing
invocations with the backend passed in explictly and without.
Update comments, and add a new one.
Paul Eggert [Sun, 24 Apr 2016 20:17:25 +0000 (13:17 -0700)]
* etc/NEWS: Grammar and punctuation improvements.
Paul Eggert [Sun, 24 Apr 2016 19:49:22 +0000 (12:49 -0700)]
Merge from origin/emacs-25
9daf1cf * etc/NEWS: Improve wording of vc-git-log-output-coding-syste...
0cd2e92 Don't kill ~/ if it's the top level directory
4f40f5f describe-char: fix insert char documentation
87ee542 (vc-git-mode-line-string): Don't use `replace-regexp-in-string'
Paul Eggert [Sun, 24 Apr 2016 19:49:21 +0000 (12:49 -0700)]
; Merge from origin/emacs-25
The following commit was skipped:
5c587fd Bump version to 25.0.93
Paul Eggert [Sun, 24 Apr 2016 19:49:21 +0000 (12:49 -0700)]
Merge from origin/emacs-25
960f90d * etc/AUTHORS: Update the AUTHORS file
b21e9d4 * admin/update_autogen: Use #!/usr/bin/env bash
Paul Eggert [Sun, 24 Apr 2016 19:49:21 +0000 (12:49 -0700)]
; Merge from origin/emacs-25
The following commit was skipped:
cf14218 ; Auto-commit of loaddefs files.
Paul Eggert [Sun, 24 Apr 2016 19:48:34 +0000 (12:48 -0700)]
Merge from origin/emacs-25
78f9af7 ; ChangeLog fixes
162e549 * admin/authors.el (authors-ignored-files): Additions.
2b31a0c In x_set_window_size restore do_pending_window_change calls
401857e Fix Alt-modified keys on some European MS-Windows keyboards
a77cf24 Document 'help-go-forward'
1ba947f Revert "Allow to customize names of executables used by grep.el"
570e0fa Revert "Don't use 'find-program'"
645f4ef Revert "Use 'grep-find-program' in check-declare.el"
aa03257 Clarify documentation of 'dired-mark-files-containing-regexp'
ce0d8c7 Make tmm-menubar work in correct order again
b8d5a8f Remove the Meta-CVS VC backend
Paul Eggert [Sun, 24 Apr 2016 19:42:02 +0000 (12:42 -0700)]
* etc/NEWS: Improve wording of vc-git-log-output-coding-system etc.
Simen Heggestøyl [Sun, 24 Apr 2016 17:57:42 +0000 (19:57 +0200)]
Don't let `css--property-values' return duplicates
* lisp/textmodes/css-mode.el (css--property-values): Don't return
duplicate values.
* test/lisp/textmodes/css-mode-tests.el (css-test-property-values):
Take the above into account.
(css-test-property-values-no-duplicates): Test that duplicates aren't
returned by `css--property-values'.
Lars Magne Ingebrigtsen [Sun, 24 Apr 2016 15:21:18 +0000 (17:21 +0200)]
Call `make-composed-keymap' correctly
* lisp/image-mode.el (image-mode-map): Call
`make-composed-keymap' correctly.
Lars Magne Ingebrigtsen [Sun, 24 Apr 2016 15:11:23 +0000 (17:11 +0200)]
Use `make-composed-keymap' instead of copying the keymap
* lisp/image-mode.el (image-mode-map): Use
`make-composed-keymap' instead of copying the keymap.
Tino Calancha [Sun, 24 Apr 2016 15:05:33 +0000 (17:05 +0200)]
Don't kill ~/ if it's the top level directory
* lisp/dired-aux.el (dired-kill-subdir): Don't kill ~/ if it's
the top level directory (bug#23017).
Lars Magne Ingebrigtsen [Sun, 24 Apr 2016 14:22:31 +0000 (16:22 +0200)]
Make `q' etc work in image mode again
* lisp/image-mode.el (image-mode-map): Restore
special-mode-map as the parent keymap of image-mode-map (bug#23167).
Lars Magne Ingebrigtsen [Sun, 24 Apr 2016 13:44:15 +0000 (15:44 +0200)]
Fix typo in last url.texi checkin
Lars Magne Ingebrigtsen [Sun, 24 Apr 2016 13:39:44 +0000 (15:39 +0200)]
Make STARTTLS error messages better
* lisp/net/network-stream.el (network-stream-open-starttls):
Output a better error message when TLS negotiation fails while
doing STARTTLS (bug#23027).
Lars Magne Ingebrigtsen [Sun, 24 Apr 2016 13:18:22 +0000 (15:18 +0200)]
Encode the shr tests files with trailing white space
Simen Heggestøyl [Sun, 24 Apr 2016 09:03:22 +0000 (11:03 +0200)]
Cache results of `css--property-values'
* lisp/textmodes/css-mode.el (css--property-values): Cache computed
values.
* test/lisp/textmodes/css-mode-tests.el (css-test-property-value-cache):
New regression test for the above.
Michael Albinus [Sun, 24 Apr 2016 12:59:05 +0000 (14:59 +0200)]
Some improvements in vc
* lisp/vc/vc-hooks.el (vc-state, vc-working-revision):
Check, whether FILE is registered.
* lisp/vc/vc-rcs.el (vc-rcs-checkout-model): Return `locking'
for nonexistent files.
* test/lisp/vc/vc-tests.el (w32-application-type): Declare.
(vc-test--revision-granularity-function)
(vc-test--unregister-function): Use `vc-call-backend'.
(vc-test--run-maybe-unsupported-function): New defmacro.
(vc-test--register, vc-test--state, vc-test--working-revision)
(vc-test--checkout-model): Use it. Fix also expected results.
(vc-test-src02-state, vc-test-rcs04-checkout-model): They pass now.
Lars Magne Ingebrigtsen [Sun, 24 Apr 2016 12:55:15 +0000 (14:55 +0200)]
Document the nil/default values of url-user-agent
* doc/misc/url.texi (Customization): Document the nil/default
values of url-user-agent.
Clément Pit--Claudel [Sun, 24 Apr 2016 12:51:33 +0000 (14:51 +0200)]
Compute User-Agent dynamically in url-http
* url-http.el (url-http-user-agent-string): Compute User-Agent
string dynamically.
(url-http--user-agent-default-string): New function.
* url-vars.el (url-privacy-level): Allow `emacs' in list of
information not to send.
(url-user-agent): Add nil and `default' options; do not
pre-compute value.
Jun Hao [Sun, 24 Apr 2016 12:43:06 +0000 (14:43 +0200)]
Handle auth-source items with special characters on OS X
* lisp/auth-source.el
(auth-source-macos-keychain-search-items): Handle keychain
output correctly when has special chararcters (bug#22824).
Magnus Henoch [Sun, 24 Apr 2016 12:33:05 +0000 (14:33 +0200)]
Implement process-attributes for Darwin
* src/sysdep.c (timeval_to_timespec, make_lisp_timeval)
(system_process_attributes): Implement process-attributes
for Darwin (bug#16579).
Lars Magne Ingebrigtsen [Sun, 24 Apr 2016 12:13:22 +0000 (14:13 +0200)]
Use Unicode literals instead of hex values
* lisp/net/shr.el (shr-tag-bdo): Use Unicode literals instead
of hex values for greater readability.
(shr-tag-bdi): Ditto.
Michael Albinus [Sun, 24 Apr 2016 11:55:56 +0000 (13:55 +0200)]
; NEWS: Move entries where they belong to
Steve Purcell [Sun, 24 Apr 2016 11:44:37 +0000 (13:44 +0200)]
Allow _ characters in SQL prompts
* lisp/progmodes/sql.el (sql-product-alist): Allow _
characters in SQL prompts (bug#22596).
Fixes issue 22596, whereby "_" is now not considered a word constituent
character in sql-interactive-mode, so prompts like "foo_dev# " are not
correctly detected. Rather than piggy-back on the symbol table, we
explicitly match against alphanumeric chars or "_".
Glenn Morris [Sun, 24 Apr 2016 00:59:06 +0000 (17:59 -0700)]
When autoload-timestamps is nil, use a dummy timestamp rather than "t".
* lisp/emacs-lisp/autoload.el (autoload--non-timestamp): New constant.
(autoload-generate-file-autoloads, autoload-find-destination)
(update-directory-autoloads): Use autoload--non-timestamp.
Tino Calancha [Sat, 23 Apr 2016 19:41:28 +0000 (12:41 -0700)]
describe-char: fix insert char documentation
* lisp/descr-text.el (describe-char):
Only 'ucs-names' entries can be inserted by unicode name (Bug#23325).
Copyright-paperwork-exempt: yes
Dmitry Gutov [Sat, 23 Apr 2016 19:16:27 +0000 (22:16 +0300)]
(vc-git-mode-line-string): Don't use `replace-regexp-in-string'
* lisp/vc/vc-git.el (vc-git-mode-line-string): Use `substring'
instead of `replace-regexp-in-string', because REV can be nil
(e.g. when FILE is a directory, bug#23344), and we actually know
we only need the first 4 characters.
Glenn Morris [Sat, 23 Apr 2016 17:46:08 +0000 (10:46 -0700)]
* test/lisp/xt-mouse-tests.el: Move from test/automated/.
Jö Fahlke [Sat, 23 Apr 2016 01:10:46 +0000 (03:10 +0200)]
Regexps for matching CMake output
* lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Add
regexps for matching CMake output.
* test/lisp/progmodes/compile-tests.el (compile-tests--test-regexps-data): Add
CMake test cases.
* etc/compilation.txt (CMake): Add CMake examples.
Copyright-paperwork-exempt: yes
Nicolas Petton [Fri, 22 Apr 2016 17:00:05 +0000 (19:00 +0200)]
Bump version to 25.0.93
* README:
* configure.ac:
* msdos/sed2v2.inp: Bump Emacs version to 25.0.93.
Nicolas Petton [Fri, 22 Apr 2016 16:59:44 +0000 (18:59 +0200)]
* etc/AUTHORS: Update the AUTHORS file
Nicolas Petton [Fri, 22 Apr 2016 16:58:57 +0000 (18:58 +0200)]
* admin/update_autogen: Use #!/usr/bin/env bash
Nicolas Petton [Fri, 22 Apr 2016 16:57:36 +0000 (18:57 +0200)]
; Auto-commit of loaddefs files.
Nicolas Petton [Fri, 22 Apr 2016 16:54:52 +0000 (18:54 +0200)]
; ChangeLog fixes
* ChangeLog.2:
* lisp/ChangeLog.17: Fix ChangeLog entries
Nicolas Petton [Fri, 22 Apr 2016 16:50:26 +0000 (18:50 +0200)]
* admin/authors.el (authors-ignored-files): Additions.
Artur Malabarba [Fri, 22 Apr 2016 14:16:32 +0000 (11:16 -0300)]
* lisp/net/tramp-sh.el (tramp-ssh-controlmaster-options):
Fix docstring quotes.
Martin Rudalics [Fri, 22 Apr 2016 09:56:03 +0000 (11:56 +0200)]
In x_set_window_size restore do_pending_window_change calls
* src/xterm.c (x_set_window_size):
* src/w32term.c (x_set_window_size): Restore
do_pending_window_change calls after their stupid removal on
2015-08-31.
Paul Eggert [Fri, 22 Apr 2016 02:26:34 +0000 (19:26 -0700)]
Improve character name escapes
* doc/lispref/nonascii.texi (Character Properties):
Avoid duplication of Unicode names. Reformat examples to fit in
narrow pages.
* doc/lispref/objects.texi (General Escape Syntax):
Simplify and better-organize explanation of \N{...} escapes.
* src/character.h (CHAR_SURROGATE_PAIR_P): Remove; unused.
(char_surrogate_p): New inline function.
* src/lread.c: Do not include string.h; no longer needed.
(invalid_character_name, check_scalar_value): Remove; the ideas
behind these functions are now bundled into character_name_to_code.
(character_name_to_code): Remove undocumented support for "CJK
IDEOGRAPH-XXXX" names, as "U+XXXX" suffices. Reject monstrosities
like "\N{U+-0}" and null bytes in \N escapes. Reject floating
point in \N escapes instead of returning garbage. Use
AUTO_STRING_WITH_LEN to lessen pressure on the garbage collector.
* test/src/lread-tests.el (lread-char-number, lread-char-name)
(lread-string-char-number, lread-string-char-name):
Test runtime behavior, not compile-time, as the test framework
is not set up to test compile-time.
(lread-char-surrogate-1, lread-char-surrogate-2)
(lread-char-surrogate-3, lread-char-surrogate-4)
(lread-string-char-number-2, lread-string-char-number-3):
New tests.
(lread-string-char-number-1): Rename from lread-string-char-number.
Philipp Stephani [Thu, 21 Apr 2016 21:51:30 +0000 (14:51 -0700)]
Use 'ucs-names' for character name escapes
* lread.c (invalid_character_name, check_scalar_value)
(parse_code_after_prefix, character_name_to_code): New helper
functions that use 'ucs-names' and parsing for CJK ideographs.
(read_escape): Use helper functions.
(syms_of_lread): New symbol 'ucs-names'.
* test/src/lread-tests.el: New tests; fix a couple of bugs in
existing tests.
Philipp Stephani [Thu, 21 Apr 2016 21:47:46 +0000 (14:47 -0700)]
Minor cleanups for character name escapes
* src/lread.c (init_character_names): Add missing 'void'.
Remove top-level 'const'.
(read_escape): Simplify loop a bit. Remove top-level 'const'.
Philipp Stephani [Thu, 21 Apr 2016 21:47:05 +0000 (14:47 -0700)]
Add documentation for character name escapes
Philipp Stephani [Thu, 21 Apr 2016 21:45:22 +0000 (14:45 -0700)]
Implement named character escapes, similar to Perl
* lread.c (init_character_names): New function.
(read_escape): Read Perl-style named character escape sequences.
(syms_of_lread): Initialize new variable 'character_names'.
* test/src/lread-tests.el (lread-char-empty-name): Add test file
for src/lread.c.
Paul Eggert [Thu, 21 Apr 2016 21:44:31 +0000 (14:44 -0700)]
; Spelling fixes
Fabrice Popineau [Thu, 21 Apr 2016 16:23:00 +0000 (19:23 +0300)]
Avoid run-time dependency on libwinpthread DLL on MS-Windows
* nt/mingw-cfg.site (ac_cv_search_clock_gettime)
(ac_cv_func_clock_gettime, ac_cv_func_clock_settime): Force to not
present, so that MinGW64 builds don't depend on libwinpthread.
(Bug#22959)
Matthew Leach [Thu, 21 Apr 2016 16:16:41 +0000 (19:16 +0300)]
Add LIBSYSTEMD to the list of supported features
* configure.ac: Add LIBSYSTEMD to EMACS_CONFIG_FEATURES and print a
message at the end of configure stating whether Emacs will be build
with libsystemd support.
Ilya Zakharevich [Thu, 21 Apr 2016 16:08:16 +0000 (19:08 +0300)]
Fix Alt-modified keys on some European MS-Windows keyboards
* src/w32fns.c (deliver_wm_chars): If the reported character is
ASCII, AND Meta modifier is a candidate, behave as if Meta is
present, i.e. fall back to the legacy code. (Bug#23251)
Vasilij Schneidermann [Thu, 21 Apr 2016 15:59:37 +0000 (18:59 +0300)]
Support absolute column movement in 'ansi-term'
* lisp/term.el (term-handle-ansi-escape): Handle the "\E[G" sequence
for absolute column movement. (Bug#23303)
Jorgen Schaefer [Thu, 21 Apr 2016 08:00:39 +0000 (10:00 +0200)]
Add Python 3.5 keyword "await"
* lisp/progmodes/python.el (python-font-lock-keywords): Add await as
keyword.