1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-02 08:22:22 +00:00
Commit Graph

118859 Commits

Author SHA1 Message Date
Ulf Jasper
af2952fb27 Partially disabled previous change.
* src/image.c (svg_load): Temporarily disabled filename thing for
not-a-file case as it can cause crashs.
2014-12-17 21:42:23 +01:00
Ulf Jasper
c17c864e7a Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs 2014-12-17 20:54:28 +01:00
Ted Zlatanov
9be1538571 Introduce tramp-histfile-override.
* net/tramp-sh.el (tramp-histfile-override): New variable.
(tramp-open-shell, tramp-maybe-open-connection): Use it.
2014-12-17 14:52:10 -05:00
Ulf Jasper
197a9e0c9e Fix problem with images referenced within svg files. (bug#19373)
Fixes: debbugs:19373

* src/image.c: Additional parameter 'filename' for
svg_load_image. Include "buffer.h".  Define library function
rsvg_handle_set_base_uri for WINDOWSNT.
(init_svg_functions): Initialize rsvg_handle_set_base_uri.
(fn_rsvg_handle_set_base_uri): Define fn_rsvg_handle_set_base_uri.
(svg_load): Pass a filename to svg_load_image: either name of
actual file or of current buffer's file.
(svg_load_image): New parameter 'filename', used for setting
base_uri, necessary for loading referenced images.
2014-12-17 20:50:12 +01:00
Jay Belanger
72ef8d7639 * calc.texi (About This Manual): Update instructions
for building the manual.
2014-12-17 08:16:11 -06:00
Dmitry Gutov
863cf6241d * lisp/vc/vc.el: Improve `dir-status-files' description 2014-12-17 06:34:11 +02:00
Paul Eggert
8032fc16db * .gitignore: Ignore /conftest*. 2014-12-16 18:43:27 -08:00
Dmitry Gutov
894a1f3348 Speed up package--list-loaded-files a bit
Fixes: debbugs:19390

* lisp/emacs-lisp/package.el (package--list-loaded-files): Don't call
file-truename on load-history elements.
2014-12-17 03:23:07 +02:00
Nicolas Petton
cf07732725 * lisp/emacs-lisp/seq.el: New file.
* doc/lispref/sequences.texi (Seq Library): Add documentation for seq.el.
* test/automated/seq-tests.el: New file.
2014-12-16 18:42:30 -05:00
Paul Eggert
005b86c0d0 * lread.c (init_obarray): Declare Qt as special.
This fixes a typo in the 2012-05-15 patch that
tried to declare Qt as special.
2014-12-16 14:50:01 -08:00
Stefan Monnier
0a3e2cfcbb * lisp/jit-lock.el (jit-lock-function): Don't defer if jit-lock-defer-time
is 0 and there is no input pending.
2014-12-16 09:25:57 -05:00
Glenn Morris
15426191a1 * test/automated/data/flymake/Makefile: Comment. 2014-12-15 19:30:50 -08:00
Glenn Morris
1fc1f89341 Disable gcc color in test/automated/data/flymake/Makefile
* test/automated/data/flymake/Makefile (check-syntax):
Prevent colorized gcc output from confusing flymake.
2014-12-15 21:08:40 -05:00
Glenn Morris
e2aec9bee3 Move flymake test data to more standard location
* test/automated/flymake-tests.el (flymake-tests-data-directory):
Change from flymake/warnpred to more standard data/flymake.

* .gitignore: Update for relocated flymake test data.
2014-12-15 20:41:03 -05:00
Juri Linkov
f2301ecc23 Fix query-replace-regexp when using lisp expressions for replacement
* lisp/replace.el (query-replace-read-from): Use
query-replace-compile-replacement only on the return value.

Fixes: debbugs:19383
2014-12-16 01:54:35 +02:00
Juri Linkov
10ec0468df Lazy-highlight the whole string at point
* lisp/isearch.el (isearch-lazy-highlight-search): Extend the bound of
the wrapped search by the length of the search string to be able
to lazy-highlight the whole search string at point.

Fixes: debbugs:19353
2014-12-16 01:45:12 +02:00
Artur Malabarba
255132f6f4 etc/NEWS: Mention `let-alist. 2014-12-15 20:54:44 -02:00
Stefan Monnier
07e47aad41 * src/: Various fixes to use bool type and constants.
* src/dispnew.c (update_single_window): Remove arg `force_p' since it's
always true.
* src/xfaces.c (clear_face_cache): Use bool for the argument type.
2014-12-15 15:41:11 -05:00
Stefan Monnier
fb420e7789 * lisp/subr.el (sit-for): Tweak docstring.
Fixes: debbugs:19381

* src/buffer.c (syms_of_buffer) <Vafter_change_functions>: fix docstring.
* build-aux/git-hooks/commit-msg (at_sign): Bump up line-length limit
to 78.
2014-12-15 15:09:04 -05:00
Dmitry Gutov
061db13989 Fix vc-git-dir-status-files WRT up-to-date vs edited
Fixes: debbugs:19386

* lisp/vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
stage to after `diff-index'.
2014-12-15 16:18:34 +02:00
Alan Mackenzie
816c1dfc5d Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs 2014-12-15 12:07:18 +00:00
Alan Mackenzie
436b88bf99 "Advice" is a mass noun. Amend text accordingly.
cl.texi (Obsolete Macros): Replace "an advice" with "advice".
2014-12-15 12:04:52 +00:00
Alan Mackenzie
c3a2c35f1d "Advice" is a mass noun. Amend text accordingly.
functions.texi: (Advising Functions, Core Advising Primitives)
(Advising Named Functions, Advice combinators)
(Porting old advice): Replace, e.g., "an advice" with "advice".
2014-12-15 11:54:42 +00:00
Paul Eggert
e2815bfe2a Correct same_at_end when restoring window points
* fileio.c (Finsert_file_contents): Compute same_at_end character
position using the old buffer size, not the new one, since
restore_window_points wants the old size.
Fixes: debbugs:19161
2014-12-15 00:01:42 -08:00
Lars Magne Ingebrigtsen
872617ad73 * net/shr.el (shr-fold-text): Don't bug out on zero-length text. 2014-12-15 06:05:05 +01:00
Alan Mackenzie
3713931778 New feature optionally to accelerate auto-repeated scrolling.
src/xdisp.c: Remove "static" from declaration of
Qfontification_functions.

src/window.c (window_scroll): bind fontification-functions to nil when
scrolling by whole screens and fast-but-imprecise-scrolling is non-nil.
(syms_of_window): New DEFVAR_BOOL fast-but-imprecise-scrolling.

src/lisp.h (bool): Declare Qfontification_functions extern.

lisp/cus-start.el (all): Add fast-but-imprecise-scrolling.

doc/emacs/display.texi (Scrolling): fast-but-imprecise-scrolling.
Describe new variable.

etc/NEWS: Add entry for fast-but-imprecise-scrolling.
2014-12-14 18:26:44 +00:00
Ted Zlatanov
33c5143fa6 Adjust lisp/ChangeLog for custom-prompt-customize-unsaved-options.
Reworded ChangeLog entry based on Stefan Monnier's suggestions.
2014-12-14 12:05:26 -05:00
Eli Zaretskii
e99ce63233 Load system's default trusted Certificate Authorities if available.
src/gnutls.c (gnutls_certificate_set_x509_system_trust)
 [GNUTLS >= 3.0.20]: Declare for WINDOWSNT.
 (init_gnutls_functions)(gnutls_certificate_set_x509_system_trust)
 [GNUTLS >= 3.0.20]: Load from shared library for WINDOWSNT.
 (fn_gnutls_certificate_set_x509_system_trust) [!WINDOWSNT]: Define
 new macro.
 (Fgnutls_boot) [GNUTLS >= 3.0.20]: Call
 gnutls_certificate_set_x509_system_trust.  Log an error message if
 it fails.
2014-12-14 18:47:51 +02:00
Artur Malabarba
9624075a2c let-alist.el: Version bump. 2014-12-14 13:17:00 +00:00
Artur Malabarba
5bbe84eccf let-alist.el: Add lexical binding. 2014-12-14 13:15:50 +00:00
Steve Purcell
eaf25ad549 Add an extra column for Version in list-packages table
* emacs-lisp/package.el (package-menu-mode): Use an extra column for
the "Version" column, to accomodate date-and-time-based versions.
2014-12-14 15:56:22 +02:00
Cameron Desautels
4c4f970c8d Provide custom-prompt-customize-unsaved-options.
* doc/emacs/custom.texi (Saving Customizations): Mention
`custom-prompt-customize-unsaved-options'.

* etc/NEWS: Mention `custom-prompt-customize-unsaved-options'.

* etc/TODO: Remove its entry.

* lisp/cus-edit.el (custom-prompt-customize-unsaved-options): Add a
mechanism for prompting user about unsaved customizations.
(Bug#19328)
2014-12-14 06:51:17 -05:00
Joao Tavora
bb57c94d5f Consider electric-pair-mode in tex-mode.
Fixes: debbugs:19356

* lisp/textmodes/tex-mode.el (tex-insert-quote): Consider and respect
`electric-pair-mode'.

* test/automated/electric-tests.el (autowrapping-7): New test for
tex-mode's autowrapping.
(electric-pair-test-for): Call the actual key-binding
interactively.
2014-12-14 11:22:46 +00:00
Dmitry Gutov
f7572b72fd Fix Semantic completion-at-point functions in non-Semantic buffers
Fixes: debbugs:19077

* lisp/cedet/semantic.el (semantic-analyze-completion-at-point-function)
(semantic-analyze-notc-completion-at-point-function)
(semantic-analyze-nolongprefix-completion-at-point-function): Do
nothing if the current buffer is not using Semantic.
2014-12-14 12:59:05 +02:00
Dmitry Gutov
9f28cb59dc * lisp/fringe.el (fringe-bitmap-p): Fix 2014-12-05 breakage. 2014-12-14 12:51:52 +02:00
Dmitry Gutov
01b97f9df2 Move VC diff ASYNC argument to the fifth position
* lisp/vc/vc-svn.el (vc-svn-diff):
* lisp/vc/vc-src.el (vc-src-diff):
* lisp/vc/vc-sccs.el (vc-sccs-diff):
* lisp/vc/vc-rcs.el (vc-rcs-diff):
* lisp/vc/vc-mtn.el (vc-mtn-diff):
* lisp/vc/vc-hg.el (vc-hg-diff):
* lisp/vc/vc-git.el (vc-git-diff):
* lisp/vc/vc-dav.el (vc-dav-diff):
* lisp/vc/vc-cvs.el (vc-cvs-diff):
* lisp/vc/vc-bzr.el (vc-bzr-diff):
* lisp/obsolete/vc-arch.el (vc-arch-diff): Move ASYNC argument to the end.

* lisp/vc/vc.el (vc-diff-internal): Pass `async' argument to the
backend `diff' command in the last position.
2014-12-14 12:49:08 +02:00
Paul Eggert
f8f73570a8 * notes/unicode: Correct coding system
of lisp/international/titdic-cnv.el.
2014-12-14 01:00:19 -08:00
Paul Eggert
472f7f6481 * SKK-DIC/SKK-JISYO.L: Update to version 1.1216. 2014-12-14 01:00:19 -08:00
Paul Eggert
3de474e4ac Spelling fixes
All uses changed.
* lib-src/etags.c (analyze_regex): Rename from analyse_regex.
* lisp/cedet/semantic/lex-spp.el:
(semantic-lex-spp-analyzer-do-replace):
Rename from semantic-lex-spp-anlyzer-do-replace.
* lisp/emacs-lisp/cconv.el (cconv--analyze-use):
Rename from cconv--analyse-use.
(cconv--analyze-function): Rename from cconv--analyse-function.
(cconv-analyze-form): Rename from cconv-analyse-form.
* src/regex.c (analyze_first): Rename from analyze_first.
2014-12-13 23:41:33 -08:00
Paul Eggert
2e7f6d53f3 * notes/unicode: Track leim/quail file renames. 2014-12-13 22:42:00 -08:00
Glenn Morris
49daed6051 Remove lib-src/grep-changelog
Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00145.html

* lib-src/grep-changelog: Remove file.

* lib-src/Makefile.in (INSTALLABLE_SCRIPTS): Remove.
(all, install, uninstall): Remove INSTALLABLE_SCRIPTS.

* doc/man/grep-changelog.1: Remove file.

* make-dist: No more lib-src/grep-changelog.

* INSTALL: No longer mention grep-changelog.

* admin/quick-install-emacs (PUBLIC_LIBSRC_SCRIPTS): Remove, and all uses.

* admin/authors.el (authors-valid-file-names): Add grep-changelog.

* etc/NEWS: Mention this.
2014-12-13 18:38:21 -08:00
Glenn Morris
4d806dc01d * INSTALL.REPO: Revert 2014-12-06 change.
You _can_ just run make after a clean checkout, thanks to the GNUmakefile.
2014-12-13 17:57:46 -08:00
Glenn Morris
a8af924ba9 Place ChangeLog entries in the correct files 2014-12-13 17:50:06 -08:00
Paul Eggert
1c11620f71 Convert Czech and Slovakian refcards to UTF-8
* admin/notes/unicode: Don't mention Czech and Slovakian refcards.
* etc/refcards/cs-dired-ref.tex, etc/refcards/cs-refcard.tex:
* etc/refcards/cs-survival.tex, etc/refcards/sk-dired-ref.tex:
* etc/refcards/sk-refcard.tex, etc/refcards/sk-survival.tex:
Convert from iso-latin-2 to utf-8.  Remove no-longer-necessary
coding comments and "\input utf8off" directives.
2014-12-13 15:58:44 -08:00
Glenn Morris
7b945728d3 * test/automated/flymake/warnpred/test.pl: Tweak earlier change. 2014-12-13 13:17:38 -08:00
Glenn Morris
59c218fae7 ChangeLog fix 2014-12-13 13:10:14 -08:00
Glenn Morris
db2a7681dd * test/automated/flymake/warnpred/test.pl: Tweak format
The previous format seems to have stopped giving a warning with perl 5.20.1,
for some reason.
2014-12-13 12:56:22 -08:00
Andreas Schwab
4ea175894a * net/shr.el (shr-next-link): Don't error out at eob. 2014-12-13 19:04:00 +01:00
Eli Zaretskii
d9005dd52d src/gnutls.c (gnutls_init): Fix deprecation warning from GCC. 2014-12-13 18:58:08 +02:00
Nicolas Richard
30f603836c isearch-open-necessary-overlays: Open overlay ending at point
* lisp/isearch.el (isearch-open-necessary-overlays): Open overlay
ending at point (bug#19333).
2014-12-13 17:13:01 +01:00