]> code.delx.au - gnu-emacs/log
gnu-emacs
8 years agoapropos-print doc fix
Lars Ingebrigtsen [Sat, 30 Apr 2016 19:13:48 +0000 (21:13 +0200)]
apropos-print doc fix

* lisp/apropos.el (apropos-print): Document the undocumented
parameters (bug#20520).

8 years agocompletion-table-with-predicate doc string fix
Lars Ingebrigtsen [Sat, 30 Apr 2016 18:31:39 +0000 (20:31 +0200)]
completion-table-with-predicate doc string fix

* lisp/minibuffer.el (completion-table-with-predicate): t ->
non-nil in the doc string (bug#20460).

8 years agoFill the completion-table-with-predicate doc string
Lars Ingebrigtsen [Sat, 30 Apr 2016 18:30:15 +0000 (20:30 +0200)]
Fill the completion-table-with-predicate doc string

* lisp/minibuffer.el (completion-table-with-predicate): Fill
the doc string (bug#20460).

8 years agoreplace-match-maybe-edit doc clarification
Lars Ingebrigtsen [Sat, 30 Apr 2016 18:21:11 +0000 (20:21 +0200)]
replace-match-maybe-edit doc clarification

* lisp/replace.el (replace-match-maybe-edit): Say what
MATCH-DATA is (bug#20304).

8 years agoadd-timeout doc fix
Lars Ingebrigtsen [Sat, 30 Apr 2016 18:16:25 +0000 (20:16 +0200)]
add-timeout doc fix

* lisp/emacs-lisp/timer.el (add-timeout): Mention the return
value (bug#20181).

8 years agoExtremely minor doc fix in Choosing Window
Lars Ingebrigtsen [Sat, 30 Apr 2016 18:13:24 +0000 (20:13 +0200)]
Extremely minor doc fix in Choosing Window

* doc/lispref/windows.texi (Choosing Window): There's only one
action alist, I think (bug#20158).

8 years ago* .dir-locals: Amend for correct fontification of *.[ch] containing "IF_LINT"
Alan Mackenzie [Sat, 30 Apr 2016 17:28:24 +0000 (17:28 +0000)]
* .dir-locals:  Amend for correct fontification of *.[ch] containing "IF_LINT"

8 years agoTransform mentions of `eval-after-load' to `with-eval-after-load'
Lars Ingebrigtsen [Sat, 30 Apr 2016 17:20:12 +0000 (19:20 +0200)]
Transform mentions of `eval-after-load' to `with-eval-after-load'

* doc/lispref/loading.texi (Hooks for Loading): Update text to
not mention `eval-after-load' (bug#20038).

8 years agocursor-type doc fix
Lars Ingebrigtsen [Sat, 30 Apr 2016 16:48:05 +0000 (18:48 +0200)]
cursor-type doc fix

* src/buffer.c (syms_of_buffer): Mention that cursor-type's
WIDHT/HEIGHT can't exceed the frame char size (bug#19215).

8 years agoAdd a link from Tool Bar to Images
Lars Ingebrigtsen [Sat, 30 Apr 2016 16:46:58 +0000 (18:46 +0200)]
Add a link from Tool Bar to Images

* doc/lispref/keymaps.texi (Tool Bar): Add a link to the
Images node (bug#19722).

8 years agoCC Mode: Recognize a noise macro with parens after a declarator's identifier
Alan Mackenzie [Sat, 30 Apr 2016 16:37:41 +0000 (16:37 +0000)]
CC Mode: Recognize a noise macro with parens after a declarator's identifier

* lisp/progmodes/cc-engine (c-forward-decl-or-cast-1): In the while loop
following comment "Skip over type decl suffix operators." insert code also
to check for noise macros with parentheses.

8 years ago(default-mode-line-format): More explicit obsolete info
Lars Ingebrigtsen [Sat, 30 Apr 2016 16:31:05 +0000 (18:31 +0200)]
(default-mode-line-format): More explicit obsolete info

* lisp/subr.el (default-mode-line-format): Be more explicit in
how default values are now handled (bug#19424).

8 years agoFcompare_buffer_substrings doc string clarification
Lars Ingebrigtsen [Sat, 30 Apr 2016 16:20:29 +0000 (18:20 +0200)]
Fcompare_buffer_substrings doc string clarification

* src/editfns.c (Fcompare_buffer_substrings): Extremely minor
doc string clarification (bug#19255).

8 years agoinsert-file-contents-literally doc fix
Lars Ingebrigtsen [Sat, 30 Apr 2016 16:07:15 +0000 (18:07 +0200)]
insert-file-contents-literally doc fix

* lisp/files.el (insert-file-contents-literally): Say that the
parameters are explained in the other function (bug#18317).

8 years agoFix custom types for cursor-in-non-selected-windows
Lars Ingebrigtsen [Sat, 30 Apr 2016 15:57:57 +0000 (17:57 +0200)]
Fix custom types for cursor-in-non-selected-windows

* lisp/cus-start.el (standard): Use the same custom types for
cursor-in-non-selected-windows as for cursor-type (bug#19214).

8 years agoDoc clarification to mwheel-scroll
Lars Ingebrigtsen [Sat, 30 Apr 2016 15:50:09 +0000 (17:50 +0200)]
Doc clarification to mwheel-scroll

* lisp/mwheel.el (mwheel-scroll): Mention that the restriction
does not apply to Windows (bug#19209).

8 years agoClarify the doc of eval-expression-print-format
Lars Ingebrigtsen [Sat, 30 Apr 2016 15:39:05 +0000 (17:39 +0200)]
Clarify the doc of eval-expression-print-format

* lisp/simple.el (eval-expression-print-format): Doc
clarification (bug#19114).

8 years ago(extended-command-suggest-shorter): Add a version string
Lars Ingebrigtsen [Sat, 30 Apr 2016 15:30:59 +0000 (17:30 +0200)]
(extended-command-suggest-shorter): Add a version string

* lisp/simple.el (extended-command-suggest-shorter): Add a
version string.

8 years agoDocument extended-command-suggest-shorter
Lars Ingebrigtsen [Sat, 30 Apr 2016 15:29:46 +0000 (17:29 +0200)]
Document extended-command-suggest-shorter

* doc/emacs/m-x.texi (M-x): Mention
extended-command-suggest-shorter (bug#19152).

8 years agoAdd a variable to control "shorter command" suggestions
Ivan Shmakov [Sat, 30 Apr 2016 15:24:57 +0000 (17:24 +0200)]
Add a variable to control "shorter command" suggestions

* lisp/simple.el (extended-command-suggest-shorter): New variable (bug#19152).
(execute-extended-command): Use it.

8 years agoExplictly explain that package-initialize loads the packages
Lars Ingebrigtsen [Sat, 30 Apr 2016 14:48:50 +0000 (16:48 +0200)]
Explictly explain that package-initialize loads the packages

* lisp/emacs-lisp/package.el (package-initialize): Be explicit
in saying that `package-initialize' obviates adjusting the
path or requiring the packages, as this is a question that
apparently comes up now and then (bug#18829).

8 years agoHave the doc strings of `load-path' and `require' mention each other
Lars Ingebrigtsen [Sat, 30 Apr 2016 14:44:06 +0000 (16:44 +0200)]
Have the doc strings of `load-path' and `require' mention each other

* src/fns.c (Frequire): Mention `load-path' and fill the doc
string (bug#18829).

* src/lread.c (syms_of_lread): Mention that `require' uses
`load-path'.

8 years agoDoc fix for insert-pair-alist
Lars Ingebrigtsen [Sat, 30 Apr 2016 14:28:52 +0000 (16:28 +0200)]
Doc fix for insert-pair-alist

* lisp/emacs-lisp/lisp.el (insert-pair-alist): Say what
COMMAND-CHAR is (bug#18809).

8 years agoMove doc of backup-directory-alist to the Backup node
Lars Ingebrigtsen [Sat, 30 Apr 2016 14:21:54 +0000 (16:21 +0200)]
Move doc of backup-directory-alist to the Backup node

* doc/emacs/files.texi (Backup): Move the documentation of
`backup-directory-alist' here from the "Single or Numbered
Backups" node, because it doesn't seem to have much to do with
numbering (bug#18692).

8 years agoTiny doc clarification for create-fontset-from-fontset-spec
Lars Ingebrigtsen [Sat, 30 Apr 2016 14:15:46 +0000 (16:15 +0200)]
Tiny doc clarification for create-fontset-from-fontset-spec

* lisp/international/fontset.el (create-fontset-from-fontset-spec):
Clarify what the optional part is (bug#18686).

8 years agoFill the doc string of font-lock-keywords
Lars Ingebrigtsen [Sat, 30 Apr 2016 14:08:07 +0000 (16:08 +0200)]
Fill the doc string of font-lock-keywords

* lisp/font-lock.el (font-lock-keywords): Fill the lines and
reorganise some explanations (bug#21427).

8 years agoDoc fix for font-lock-remove-keywords
Lars Ingebrigtsen [Sat, 30 Apr 2016 13:55:44 +0000 (15:55 +0200)]
Doc fix for font-lock-remove-keywords

* lisp/font-lock.el (font-lock-remove-keywords): Add a link to
`font-lock-add-keywords' to describe KEYWORDS (bug#18634).

8 years agoClarify whitespace-style doc string
Lars Ingebrigtsen [Sat, 30 Apr 2016 13:27:09 +0000 (15:27 +0200)]
Clarify whitespace-style doc string

* lisp/whitespace.el (whitespace-style): Doc clarification
(bug#18296).

8 years agoNo need to test for jka-compr
Lars Ingebrigtsen [Sat, 30 Apr 2016 00:37:26 +0000 (02:37 +0200)]
No need to test for jka-compr

* lisp/vc/ediff-util.el (ediff-file-compressed-p): jka-compr
is always available; no need to test (bug#18204).

8 years agoDoc fixed for next-error-buffer-p
Lars Ingebrigtsen [Sat, 30 Apr 2016 00:03:24 +0000 (02:03 +0200)]
Doc fixed for next-error-buffer-p

* lisp/simple.el (next-error-buffer-p): Clarify doc string
(bug#18202).

8 years agoTiny doc fix
Lars Ingebrigtsen [Fri, 29 Apr 2016 23:26:17 +0000 (01:26 +0200)]
Tiny doc fix

* src/fileio.c (Ffile_accessible_directory_p): Tiny doc fix
(and fill) (bug#18201).

8 years agoDoc fix
Lars Ingebrigtsen [Fri, 29 Apr 2016 22:54:13 +0000 (00:54 +0200)]
Doc fix

* src/keymap.c (Fdefine_prefix_command): Clarify doc string
slightly (bug#18092).

8 years agodelsel doc touch ups
Lars Ingebrigtsen [Fri, 29 Apr 2016 22:37:31 +0000 (00:37 +0200)]
delsel doc touch ups

* lisp/delsel.el (delete-selection-helper): Use non-nil
instead of t and clarify function return values (bug#18089).

8 years agoDoc fixes for menu-bar.el
Lars Ingebrigtsen [Fri, 29 Apr 2016 22:11:15 +0000 (00:11 +0200)]
Doc fixes for menu-bar.el

* lisp/menu-bar.el (clipboard-kill-ring-save): Describe the
REGION parameter (bug#18028).
(clipboard-kill-region): Ditto.

8 years agoDoc fix
Lars Ingebrigtsen [Fri, 29 Apr 2016 22:08:07 +0000 (00:08 +0200)]
Doc fix

* lisp/rect.el (delete-whitespace-rectangle): Doc fix (bug#18026).

8 years agoMinor doc clarification
Lars Ingebrigtsen [Fri, 29 Apr 2016 22:02:46 +0000 (00:02 +0200)]
Minor doc clarification

* lisp/subr.el (y-or-n-p): Document the return value from "n"
(bug#18024).

8 years agoFill font-lock-mode doc string
Lars Ingebrigtsen [Fri, 29 Apr 2016 21:53:12 +0000 (23:53 +0200)]
Fill font-lock-mode doc string

* lisp/font-core.el (font-lock-mode): Fill the text to make it
narrower (bug#18008).

8 years agoWrap the auto-generated doc string
Lars Ingebrigtsen [Fri, 29 Apr 2016 21:25:07 +0000 (23:25 +0200)]
Wrap the auto-generated doc string

* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Wrap a
string to make it less likely that we get overlong lines
(bug#17999).

8 years agoClarify hi-lock-find-patterns
Lars Ingebrigtsen [Fri, 29 Apr 2016 20:53:42 +0000 (22:53 +0200)]
Clarify hi-lock-find-patterns

* lisp/hi-lock.el (hi-lock-find-patterns): Doc clarification
(bug#17989).

8 years agoWarning fix in jit-lock-mode
Lars Ingebrigtsen [Fri, 29 Apr 2016 20:44:13 +0000 (22:44 +0200)]
Warning fix in jit-lock-mode

* lisp/jit-lock.el (jit-lock-mode): Don't issue a warning when
turning the mode on in an indirect buffer, if this somehow has
happened (bug#17738).

8 years agoAdd a doc string to `winner-mode'
Lars Ingebrigtsen [Fri, 29 Apr 2016 20:28:02 +0000 (22:28 +0200)]
Add a doc string to `winner-mode'

* lisp/winner.el (winner-mode): Add a doc string based on the
comments in the file (bug#17716).

8 years agoDoc fix for align-newline-and-indent
Lars Ingebrigtsen [Fri, 29 Apr 2016 20:14:05 +0000 (22:14 +0200)]
Doc fix for align-newline-and-indent

* lisp/align.el (align-newline-and-indent): Mention that
alignment is done by `align' (bug#17707).

8 years agoCancel the eldoc timer when switching off eldoc mode
Lars Ingebrigtsen [Fri, 29 Apr 2016 20:06:37 +0000 (22:06 +0200)]
Cancel the eldoc timer when switching off eldoc mode

* lisp/emacs-lisp/eldoc.el (eldoc-mode): Cancel the eldoc
timer when switching off eldoc mode.  It will be restarted
again if needed (bug#17582).

8 years agoDoc fix for `kbd'
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).

8 years ago; Comment tweak.
Glenn Morris [Fri, 29 Apr 2016 17:31:45 +0000 (13:31 -0400)]
; Comment tweak.

8 years agoAdd a sanity check to apropos-documentation-internal
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).

8 years agoDoc tweak
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).

8 years agoClarify `read-face-name' doc and tweak the code
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).

8 years agoRemove ": ?" from the read-face-name prompt
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).

8 years agoLink from (emacs)Exiting to (lisp)Killing Emacs
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).

8 years agofind-lisp doc touchups
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.

8 years agoDon't have the manual claim that it lists all CL incompatibilities
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).

8 years agoFix call of `kmacro-display'
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).

8 years agoChange all occurrences of "Mouse-[0-9]" to "mouse-[0-9]"
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).

8 years agoRename "Directory Search" menu to "Servers"
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.

8 years agoRemove uses of the unused to-end parameter from simple.el
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.

8 years agoDoc fix: _ chars are automatically removed.
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.

8 years agoDoc string change to enable-recursive-minibuffers
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).

8 years agoFix definition of nobreak-space
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.

8 years agoClarify the `interactive' doc string slightly
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).

8 years agoMake icomplete respect `completion-ignored-extensions'
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).

8 years agoMake ibuffer not break on newline-embedded buffer names
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).

8 years agoAdd a new face for non-breaking hyphen characters
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.

8 years agoMake a menu less ambiguous
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).

8 years agoMake kill-emacs-query-functions into defcustom
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.

8 years agoHave describe-variable output multi-line values better
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).

8 years agoClean up custom-buffer-create code slightly
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

8 years agoClarify some doc strings
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.

8 years agoFix number-at-point in lisp buffers
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).

8 years agoDon't consider colons to be paragraphs starting chars in strings
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).

8 years agoMake `undo' of `C-x r t' put point where it should be
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).

8 years agoAdd some concept index entries for custom types
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).

8 years agoMention `lisp-indent-function' in the lispref manual
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).

8 years agoClarify doc string of internal compilation function
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).

8 years agoAvoid having `C-x h' mark the prompt part of the minibuffer
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).

8 years agoAllow a prefix argument to find-library to pop to a different window
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).

8 years agoMove the diff command to "Operate" in ibuffer
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).

8 years agoMake the minor modes in help buffers into buttons
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).

8 years agoAdd a number of Python 3 exceptions
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.

8 years agoFix bug#22891: wrong terminal width when a fringe width is zero.
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'.

8 years agoAdd completion of `calc()' in CSS mode
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.

8 years agoFix socketd fd startup bug that I introduced
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.

8 years agoFix: (void-variable url-http-response-status)
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).

8 years agosmtpmail would say it's done before it is
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.

8 years ago`url-retrieve-synchronously' now takes an optional timeout parameter
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).

8 years agoInclude "Retype" as a comint password prompt
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).

8 years agoFix spurious fontification of "for (; a * b;)" in CC Mode.
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.

8 years agoNew function ‘char-from-name’
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.

8 years ago; Run find-function-after-hook after finding a symbol
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).

8 years agoc-forward-<>-arglist no longer directly applies face properties in Java Mode.
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.

8 years agoPass in port only if provided by caller in the OS X keychain
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).

8 years agoAdd fontification for a C declaration which looks like a function call.
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.

8 years agoDon't mirror slashes in convert-standard-filename on MS-Windows
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.

8 years ago; * admin/MAINTAINERS: Remove entry
Michael Albinus [Mon, 25 Apr 2016 06:45:54 +0000 (08:45 +0200)]
; * admin/MAINTAINERS: Remove entry

8 years agoRevert the disputed VC change and update the tests
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.

8 years ago* etc/NEWS: Grammar and punctuation improvements.
Paul Eggert [Sun, 24 Apr 2016 20:17:25 +0000 (13:17 -0700)]
* etc/NEWS: Grammar and punctuation improvements.

8 years agoMerge from origin/emacs-25
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'

8 years ago; Merge from origin/emacs-25
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

8 years agoMerge from origin/emacs-25
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

8 years ago; Merge from origin/emacs-25
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.