1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-20 18:17:20 +00:00
Commit Graph

124152 Commits

Author SHA1 Message Date
Eli Zaretskii
e667bbb628 Document new features if Eshell
* doc/misc/eshell.texi (Input/Output): Document the new
'#<bufname>' syntax.
(Input/Output): Document 'eshell-destroy-buffer-when-process-dies'.
Disable "Key Index" generation, as there are no @kindex entries in
this manual.
2016-01-10 19:24:54 +02:00
Eli Zaretskii
9c4e4e0cc9 ; * etc/NEWS: Update EUDC entries. 2016-01-10 18:30:10 +02:00
Michael Albinus
1089dc98b7 Handle too long commands in Tramp
* lisp/net/tramp-sh.el (tramp-sh-handle-make-symbolic-link)
(tramp-do-file-attributes-with-ls): Send sequence of commands, in
order to not exceed shell command line limit.

* test/automated/tramp-tests.el (tramp--test-darwin-p): Remove.
(tramp--test-utf8): Include Arabic file name, again.
2016-01-10 13:07:21 +01:00
Paul Eggert
684eb58db9 * .gitattributes: *.cur and *.pif are binary files too. 2016-01-10 00:51:10 -08:00
Stefan Monnier
d2c7fda965 * src/alloc.c (mark_maybe_pointer): HAVE_MODULES may be undefined 2016-01-10 00:32:13 -05:00
Stefan Monnier
bd3f53dd2e * sh-script.el (sh-smie-sh-rules): Improve indentation inside $(...)
* lisp/progmodes/sh-script.el (sh-smie-sh-rules): Improve indentation
within $(...).
* test/indent/shell.sh: Add corresponding test.
2016-01-10 00:31:29 -05:00
Stefan Monnier
09b2b8a5ce * src/alloc.c (mark_maybe_pointer): Also check wide-int's emacs_value
(mark_memory): Simplify loop.  Don't assume a pointer-sized word can be
cast to Lisp_Object.
2016-01-09 21:15:12 -05:00
Dmitry Gutov
cca0f93359 ; Account for spaces before the filename 2016-01-10 04:38:34 +03:00
Dmitry Gutov
c71e1e86df Use short date for 'hg annotate', and output the author
* lisp/vc/vc-hg.el (vc-hg-annotate-command):
Change '-d' to '-dq'.  (Bug#21805)
(vc-hg-annotate-switches): Default to "-u" "--follow".
(vc-hg-annotate-re): Update to recognize the short date format
and the optional username.
(vc-hg-annotate-time)
(vc-hg-annotate-extract-revision-at-line): Update accordingly.

* test/automated/vc-hg.el: New file.
2016-01-10 04:13:01 +03:00
Paul Eggert
f50027be1a Spelling fix 2016-01-09 16:15:01 -08:00
Eli Zaretskii
c7dff677ca ; * etc/NEWS: Fix the Xref entries that got separated. 2016-01-09 22:05:41 +02:00
Eli Zaretskii
cc140bcec6 Document user-level functions in project.el
* lisp/progmodes/project.el (project-find-file)
(project-or-external-find-file): Add doc strings.
2016-01-09 21:45:33 +02:00
Eli Zaretskii
f8208b6919 Document the user-level features of the Xref package
* doc/emacs/maintaining.texi (Maintaining): Add a list of
described features.
(Xref): New section, made out of thoroughly rewritten "Tags"
section.
(Find Identifiers, Looking Up Identifiers, Xref Commands)
(Identifier Search, List Identifiers): New subsections,
incorporating the old tags commands and the new xref commands.
(Tags Tables, Tag Syntax, Create Tags Table, Etags Regexps):
Section and subsections demoted to a lower level.
* doc/emacs/search.texi (Search):
* doc/emacs/windows.texi (Pop Up Window):
* doc/emacs/frames.texi (Creating Frames):
* doc/emacs/programs.texi (Imenu, Symbol Completion):
* doc/emacs/building.texi (Grep Searching):
* doc/emacs/dired.texi (Operating on Files):
* doc/emacs/glossary.texi (Glossary): All references to tags changed.
2016-01-09 21:12:46 +02:00
Stefan Monnier
b131fb8558 * loading.texi: Add `define-type' entry for load-history
* doc/lispref/loading.texi (Where Defined): Remove incorrect
cl-defmethod description, and add missing define-type entry.
2016-01-09 12:50:10 -05:00
Eli Zaretskii
db3c2a8daa Improve doc strings and prompts in xref.el
* lisp/progmodes/xref.el (xref-backend-functions)
(xref-find-definitions): Doc fixes.
(xref-query-replace): Doc fix.  Improve prompts for arguments.
2016-01-09 19:06:52 +02:00
Alan Mackenzie
f6117ef754 Allow the use of `font-lock-extend-region-multiline' in CC Mode.
* lisp/progmodes/cc-mode.el (c-font-lock-init): Remove
`font-lock-extend-regions-wholelines' from
`font-lock-extend-region-functions' rather than setting the latter to
nil.
2016-01-09 15:18:29 +00:00
Michael Albinus
90fd798aac Fix coding system for Tramp on OS X.
* lisp/net/tramp-compat.el: Require ucs-normalize.

* lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
Set coding system to `utf-8-hfs' for Mac OS X.

* test/automated/tramp-tests.el (tramp-test29-vc-registered):
Flush directory properties when needed.
(tramp--test-utf8): Include Chinese file name, again.
2016-01-09 13:55:02 +01:00
Eli Zaretskii
e985a0e9ee ; * etc/NEWS: Mark the 'check-expensive' entry not to be documented. 2016-01-09 12:09:13 +02:00
Eli Zaretskii
9dfcbf0262 Update 'load-history' docs
* doc/lispref/loading.texi (Where Defined): Update the list of
forms in 'load-history' by adding the forms created for the
'cl-generic' generics.  (Bug#21422)
2016-01-09 10:55:35 +02:00
Paul Eggert
207e191f1b Fix (error ...) error
Problem reported by Glenn Morris in:
http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00561.html
* lisp/vc/add-log.el (change-log-goto-source): Fix typos
introduced in my Aug 28 change, where I got confused by the
two meanings of (error ...).
2016-01-08 15:10:07 -08:00
Alan Mackenzie
457738ffba Correctly analyze brace arguments in templated C++ function declarations.
* lisp/progmodes/cc-defs.el (c-go-list-forward, c-go-list-backward): add
POS and LIMIT parameters, like the other c-go-list-* functions have.

* lisp/progmodes/cc-engine.el (c-restore-<>-properties): Check backwards
for a ?\( rather than a ?<.  (c-looking-at-inexpr-block): Handle names
followed by template specifiers.
2016-01-08 22:42:47 +00:00
Glenn Morris
d57724a879 * lisp/cedet/mode-local.el (describe-function-orig-buffer): Declare. 2016-01-08 16:31:56 -05:00
Glenn Morris
2a9532d592 * lisp/ffap.el (ffap-latex-mode): Avoid free variable. 2016-01-08 16:28:09 -05:00
Mark Oteiza
1a6b0846b5 * lisp/play/dunnet.el (dun-fix-screen): Avoid end-of-buffer. 2016-01-08 12:19:09 -05:00
Alan Mackenzie
8be046f453 Respect fontification region calculated by major mode. Fixes bug #22316.
* lisp/font-lock.el (font-lock-extend-jit-lock-region-after-change): when a
fontification region has been calculated by a function on
font-lock-extend-after-change-region-function use this region rather than
changing the end position to somewhere else.
2016-01-08 14:41:58 +00:00
Eli Zaretskii
4b37cba3d5 Improve documentation of Delete Selection mode
* lisp/delsel.el (delete-selection-mode)
(delete-selection-helper): Update and expand the doc strings.
(Bug#22296)

* doc/emacs/mark.texi (Using Region): Document the behavior of
delete commands in Delete Selection mode.  (Bug#22296)

* doc/lispref/markers.texi (The Mark): Document how to add the
support for Delete Selection mode to Lisp programs. (Bug#22296)
2016-01-08 14:06:13 +02:00
Dmitry Gutov
a034dd384c Fix two project-find-file issues
* lisp/progmodes/project.el (project--value-in-dir):
Temporarily set enable-local-variables to :all.
(project-find-file, project-or-external-find-file):
All autoloads.
(project--find-file-in): Require xref.
2016-01-08 14:32:39 +03:00
Eli Zaretskii
30abf295e8 Clarify doc string of 'dired-current-directory'
* lisp/dired.el (dired-current-directory): Doc fix: clarify that
the return value might not end in a slash when called with the
optional argument non-nil.  (Bug#6273)
2016-01-08 12:40:14 +02:00
Eli Zaretskii
e990bb270e Use the face of preceding text for displaying the ellipsis
* src/xdisp.c (setup_for_ellipsis): Use the face of the preceding
text in it->saved_face_id for displaying the ellipsis, and ignore
the face, if any, of the invisible text.  (Bug#22320)
2016-01-08 12:12:53 +02:00
Michael Albinus
5810ac3a10 Suppress Chinese file name test for OSX in tramp-tests.el
* test/automated/tramp-tests.el (tramp--test-utf8):
Remove instrumentation.  Suppress Chinese file name test for OSX.
2016-01-08 10:09:37 +01:00
Glenn Morris
eeb710a1bb ; * lisp/startup.el: Sentences end with two spaces. 2016-01-07 20:37:17 -05:00
Glenn Morris
428b3de2bf * admin/admin.el (set-version): Also handle the NEWS file. 2016-01-07 20:16:31 -05:00
Dmitry Gutov
648de81b0b ; Add NEWS entry for project.el 2016-01-08 02:54:50 +03:00
Dmitry Gutov
671862f6b3 apropos-library: Skip obvious duplicates; don't error on generics
* lisp/apropos.el (apropos-library): Skip "was an autoload"
entries, to avoid obvious duplicates.  For each cl-defmethod
entry, take just its function symbol (bug#21422).
2016-01-08 02:26:55 +03:00
Dmitry Gutov
51668a535e ; Grammar fix 2016-01-08 00:19:32 +03:00
Dmitry Gutov
ed41d117a4 Add project-find-file and project-or-external-find-file
* lisp/minibuffer.el (completion-category-defaults):
Add `project-file' category.

* lisp/progmodes/project.el (project-find-file)
(project-or-external-find-file): New commands.
(project--find-file-in): New private function.

* lisp/progmodes/xref.el (xref-collect-matches): Use
`expand-file-name' on DIR, to expand the tildes.
(xref--find-ignores-arguments): Extract from
`xref--rgrep-command'.
2016-01-07 20:56:09 +03:00
Eli Zaretskii
056da45d2c ; Improve commentary in 'setup_for_ellipsis'
* src/xdisp.c (setup_for_ellipsis): Improve commentary for when we
reset the ellipsis face to the default face.
2016-01-07 18:45:42 +02:00
Phillip Lord
269d0088a8 ; Improve docstring for `inhibit-startup-echo-area-message'
Both the docstring and comments now indicate why this variable has
specialised treatment.
2016-01-07 11:39:03 +00:00
Glenn Morris
07442debd1 ; * etc/NEWS: Backport edit made on wrong branch. 2016-01-06 23:22:04 -08:00
Leo Liu
ce4a052415 Add defvar-local to lisp-imenu-generic-expression
* lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Add
  defvar-local.
2016-01-07 11:00:52 +08:00
Leo Liu
a0121bc711 Revert commit b1e3d14845
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
  Don't declare (indent 1).
2016-01-07 09:57:55 +08:00
Glenn Morris
76fe2d526e * lisp/emacs-lisp/autoload.el (autoload-find-destination): Doc fix. 2016-01-06 20:36:46 -05:00
Glenn Morris
1ae088fba7 * lisp/emacs-lisp/autoload.el (autoload-find-destination):
Avoid specifying the length of a time object (it has not been "2"
for some time).
2016-01-06 19:56:47 -05:00
Andreas Schwab
b6b47af82f Properly encode/decode base64Binary data in SOAP
* lisp/net/soap-client.el (soap-encode-xs-basic-type): Encode
	base64Binary value as utf-8.
	(soap-decode-xs-basic-type): Decode base64Binary value as utf-8.
2016-01-06 20:51:36 +01:00
Eli Zaretskii
c632466284 Obey coding-system-for-write when writing stdout/stderr in batch
* src/print.c (printchar_to_stream):
* src/xdisp.c (message_to_stderr): If coding-system-for-write has
a non-nil value, use it to encode output in preference to
locale-coding-system.  See the discussions in
http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00048.html
for the details.

* doc/lispref/os.texi (Terminal Output): Document how to send
non-ASCII text via 'send-string-to-terminal'.
(Batch Mode): Document how text written to standard streams is
encoded.  Fix inaccuracy regarding which output streams are used
by output functions in batch mode.
2016-01-06 20:25:45 +02:00
Xue Fuqiao
2f32cb547f * doc/misc/efaq.texi (Packages that do not come with Emacs):
Update the URI of MELPA and marmalade-repo.  Reported by CHENG Gao
<chenggao@royau.me> in
https://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00390.html.
2016-01-06 17:17:24 +08:00
Maksim Golubev
d2937aa050 * lisp/progmodes/opascal.el (opascal-mode-syntax-table):
Fix backslash.  (Bug#22224)

Copyright-paperwork-exempt: yes
2016-01-05 19:17:55 -05:00
Federico Beffa
5330c255b5 * lisp/progmodes/xscheme.el (xscheme-prompt-for-expression-exit):
Make it actually work.  (Bug#22265)

Copyright-paperwork-exempt: yes
2016-01-05 18:59:19 -05:00
Alan Mackenzie
73809908c6 Remove function wrongly on AWK Mode value of context fontification hook.
* lisp/progmodes/cc-langs.el (c-before-context-fontification-functions):
swap order of entries so that awk's entry isn't superseded by the default.

* lisp/progmodes/cc-mode.el (c-before-context-fl-expand-region): Correct
to handle nil value of c-before-context-fontification-functions.
2016-01-05 21:16:37 +00:00
Paul Eggert
d400753a0d * src/buffer.c: Stick with ASCII in doc string. 2016-01-05 09:18:47 -08:00