1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-14 23:40:39 -08:00
Commit graph

116079 commits

Author SHA1 Message Date
Glenn Morris
881db7e0c4 * doc/emacs/cmdargs.texi (Action Arguments): Clarify `-L' a bit. 2013-11-02 16:36:32 -07:00
Glenn Morris
1ba6984e42 * doc/emacs/cmdargs.texi (Action Arguments): Clarify that `-L' prepends 2013-11-02 16:29:01 -07:00
Glenn Morris
67fb4e6a86 test/automated: Use relative filename for emacs executable
* Makefile.in (check): Depend on all.

* test/automated/Makefile.in (abs_top_builddir): Remove variable.
(EMACS): Use a relative file name.
(lisp-compile): Remove (assume it's up-to-date).
(compile-main): Do not run lisp-compile.
(check): Use --chdir.
2013-11-02 13:54:08 -07:00
Glenn Morris
67bb589ef9 test/automated/Makefile.in remove stuff unnecessarily copied from lisp
* test/automated/Makefile.in (abs_top_srcdir): Remove variable.
(emacs): Use abs_srcdir rather than abs_top_srcdir.
(doit, compile, compile-always): Remove stuff copied from lisp/.
(all, check, bootstrap-clean, distclean, maintainer-clean): Declare PHONY.

Remove comments copied from lisp/.
2013-11-02 13:32:22 -07:00
Glenn Morris
90d2a845cc * leim/Makefile.in (buildlisppath): Remove.
(RUN_EMACS): Use abs_srcdir directly.
2013-11-02 13:30:13 -07:00
Eli Zaretskii
bd9565cdfb Fix commentary in lisp/Makefile.in. 2013-11-02 22:12:59 +02:00
Glenn Morris
6f8225faee * test/automated/Makefile.in (abs_srcdir): New, set by configure. 2013-11-02 13:12:12 -07:00
Glenn Morris
18ba6a334d * lisp/Makefile.in (EMACS): Use a relative filename.
(custom-deps, finder-data, autoloads): Use --chdir.
2013-11-02 13:05:15 -07:00
Glenn Morris
1f43ed4177 * automated/Makefile.in (test): Remove variable.
(compile-main, compile-clean, compile-always, bootstrap-clean)
(check): Use srcdir rather than $test.  Check cd return value.
(compile-always): Depend on bootstrap-clean.
2013-11-02 12:56:54 -07:00
Glenn Morris
2ffcf5fef9 Minor simplifications for test/automated/Makefile
* test/automated/Makefile.in (top_builddir, abs_test, abs_lispsrc, lisp):
Remove variables.
(emacs): Use abs_top_srcdir, abs_srcdir rather than abs_lispsrc, abs_test.
(lisp-compile): Use ../../lisp rather than $lisp.
2013-11-02 12:50:41 -07:00
Glenn Morris
6a8b929e7f * lisp/Makefile.in (abs_lisp): Remove, replace by abs_srcdir 2013-11-02 12:43:11 -07:00
Glenn Morris
c617f3d0b1 Use relative filenames in TAGS files.
* src/Makefile.in (abs_srcdir): Remove it again.
(.PHONY): Remove frc.
(maintainer-clean): No more TAGS-LISP file.
(TAGS): Pass relative file names to etags.
(../lisp/TAGS): Rename from TAGS-LISP.  Work in ../lisp.

* lisp/Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
(lisptagsfiles4, TAGS): Use relative file names.
(TAGS-LISP): Remove.
(maintainer-clean): No more TAGS-LISP file.

* lwlib/Makefile.in (abs_srcdir): Remove it again.
(ctagsfiles, TAGS): Use relative filenames.

* .bzrignore: Remove TAGS-LISP.
2013-11-02 12:41:33 -07:00
Glenn Morris
739f57cd1f * src/Makefile.in (lispdir): Remove.
(TAGS-LISP): Replace lispdir with its expansion.
2013-11-02 12:23:45 -07:00
Glenn Morris
b0b9e59232 Small Makefile cleanup mainly related to tags file generation
* src/Makefile.in (abs_srcdir): New, set by configure.
(maintainer-clean): Remove pointless echo.  That should be in the
top-level Makefile, if anywhere.  Delete TAGS-LISP.
(extraclean): No s/ and m/ directories for some time.
(TAGS): Remove no-longer-defined S_FILE.
Pass absolute filenames to etags once more.
(TAGS-LISP, $(lwlibdir)/TAGS): Correctly pass ETAGS to sub-makes.
($(lwlibdir)/TAGS): Remove useless subshell, check cd return value.

* lisp/Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
(lisptagsfiles4): Use absolute filenames again.
(TAGS, TAGS-LISP): Not everything needs to run in one line.
Remove all *loaddefs files, not just the first.  Remove esh-groups.
(maintainer-clean): Delete TAGS, TAGS-LISP.

* lwlib/Makefile.in (abs_srcdir): New, set by configure.
(ETAGS, ctagsfiles): New variables.
(TAGS): Use ETAGS, ctagsfiles.  Use absolute filenames again.
2013-11-02 12:18:50 -07:00
Eli Zaretskii
80fcb9d230 Adapt 'utime' and enhance its error handling. 2013-11-02 19:07:00 +02:00
Eli Zaretskii
b1846422dd Done with init_environment and emacs_root_dir. 2013-11-02 17:15:37 +02:00
Bozhidar Batsov
5246583bdb * lisp/ChangeLog: Fix a typo. 2013-11-02 16:58:38 +02:00
Jan Djärv
39dd7bb286 * xfaces.c (realize_default_face): Set DISTANT_FOREGROUND to unspecified_fg. 2013-11-02 14:14:55 +01:00
Eli Zaretskii
1fd201bb1d Adapted dostounix_filename. w32-short/long-filename work with wide APIs. 2013-11-02 15:03:32 +02:00
Xue Fuqiao
920d06544a NEWS tweak 2013-11-02 19:37:14 +08:00
Bozhidar Batsov
d1c0ea6a18 * lisp/emacs-lisp/package.el (package-version-join): Recognize snapshot versions. 2013-11-02 12:55:22 +02:00
Bozhidar Batsov
684d71c6b4 * subr.el (version-regexp-alist): Add support for snapshot versions. 2013-11-02 11:48:11 +02:00
Jan Djärv
0c21fa44f0 * xfaces.c (check_lface_attrs, realize_default_face): Add
LFACE_DISTANT_FOREGROUND_INDEX.

Fixes: debbugs:15788
2013-11-02 08:58:54 +01:00
Dmitry Gutov
3d42b96899 * lisp/progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): New
function, replacement for `smie-rule-parent' for when we want to
skip over our direct parent if it's an assignment token..
(ruby-smie-rules): Use it.
2013-11-02 09:18:11 +04:00
Paul Eggert
a90e5a330c * emacs.c (original_pwd): Remove global var by making it local.
(init_cmdargs): New arg ORIGINAL_PWD; caller changed.
2013-11-01 19:11:37 -07:00
Dmitry Gutov
7ffd37219b * lisp/progmodes/ruby-mode.el Use `syntax-propertize-function'
unconditionally.  Remove now unnecessary forward declarations.
Remove XEmacs-specific setup.
(ruby-here-doc-end-re, ruby-here-doc-beg-match)
(ruby-font-lock-syntactic-keywords)
(ruby-comment-beg-syntax, ruby-in-here-doc-p)
(ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
(ruby-here-doc-end-syntax): Remove.
(ruby-mode): Don't check whether `syntax-propertize-rules' is
defined as function.
2013-11-02 05:10:10 +04:00
Bozhidar Batsov
a3996a2eba * lisp/progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'. 2013-11-02 04:17:54 +04:00
Bozhidar Batsov
6f9260e8f8 * lisp/progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
table and abbrev table, `define-derived-mode' does that for us
anyway.
2013-11-02 03:55:15 +04:00
Glenn Morris
6014de8418 * lisp/Makefile.in: Remove manual mh-e dependencies
(writing .elc files is atomic for some time,
so no parallel compilation issues)
2013-11-01 13:26:29 -04:00
Jan Djärv
3c334c1412 Add :distant-foreground to faces.
* doc/lispref/display.texi (Face Attributes): Document :distant-foreground.

* etc/NEWS: Mention :distant-foreground.

* lisp/faces.el (face-x-resources): Add :distant-foreground.
(region): Use :distant-foreground for gtk and ns.

* src/dispextern.h (lface_attribute_index): Add
LFACE_DISTANT_FOREGROUND_INDEX.

* src/xfaces.c: Declare color_distance.
(QCdistant_foreground): New variable.
(NEAR_SAME_COLOR_THRESHOLD): New define.
(load_color2): New function.
(load_color): Call load_color2.
(load_face_colors): Call load_color2 and if distant-color is specified
calculate distant and use distant-color if colors are near.
(LFACE_DISTANT_FOREGROUND): New define.
(merge_face_ref, Finternal_set_lisp_face_attribute)
(Finternal_get_lisp_face_attribute)
(x_supports_face_attributes_p): Handle distant-foreground similar to
foreground.
(syms_of_xfaces): DEFSYM QCdistant_foreground.
2013-11-01 16:47:10 +01:00
Tassilo Horn
9bc236c826 Allow multiple bibliographies when BibLaTeX is used rathen than
BibTeX.
* textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
(reftex-locate-bibliography-files): Us it.
2013-11-01 11:27:21 +01:00
Glenn Morris
82bd64d838 Auto-commit of loaddefs files. 2013-11-01 06:21:34 -04:00
Glenn Morris
30904de318 Auto-commit of generated files. 2013-11-01 06:17:43 -04:00
Eli Zaretskii
ef9b591f11 Fix whitespace in src/casefiddle.c. 2013-11-01 12:00:47 +02:00
Claudio Bley
a814bc1087 Fix ChangeLog entry of last commit. 2013-11-01 11:18:39 +02:00
Claudio Bley
0e7690deac Fix handling of comments in NetPBM image files.
src/image.c (pbm_next_char): New function.
 (pbm_scan_number): Use it.

 lisp/image.el (image-type-header-regexps): Fix the 'pbm' part to
 allow comments in pbm files.
2013-11-01 11:10:13 +02:00
Claudio Bley
019c8218f0 lisp/term/w32-win.el (dynamic-library-alist): Support libtiff v4.x on w32. 2013-11-01 11:04:16 +02:00
Claudio Bley
ac1bf374c2 Support libpng DLLs of versions beyond 1.4.x on MS-Windows.
lisp/term/w32-win.el (dynamic-library-alist): Support versions of
 libpng beyond 1.4.x.
2013-11-01 10:57:55 +02:00
Claudio Bley
d14c81eec7 Support newer versions of libjpeg on MS-Windows.
src/image.c (Qlibjpeg_version): New variable.
 (syms_of_image): DEFSYM and initialize it.

 lisp/term/w32-win.el (dynamic-library-alist): Support newer versions
 of libjpeg starting with v7: look only for the DLL from the
 version against which Emacs was built.
2013-11-01 10:52:22 +02:00
Bozhidar Batsov
983d0df5e1 * lisp/progmodes/ruby-mode.el (ruby-indent-tabs-mode)
(ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
Add property :safe.
(ruby-deep-arglist): Add property :type.
2013-11-01 07:35:35 +04:00
Glenn Morris
cb16270e14 * configure.ac: Use [!...] rather than [^...], for ksh. (Bug#15769) 2013-10-31 17:39:10 -04:00
Michael Albinus
1affc48a70 * automated/ert-tests.el (ert-test-stats-set-test-and-result):
Add a skipping test.
2013-10-31 14:31:22 +01:00
Jan Djärv
26ca887092 * emacs.c (main): Skip -psn args on OSX even if ! isatty (0). 2013-10-31 09:32:42 +01:00
Glenn Morris
47f58d8500 * lisp/Makefile.in (custom-deps, finder-data): No need to setq the target
variables, we are in the right directory and the defaults work fine.
2013-10-31 00:27:35 -07:00
Glenn Morris
8fd0741784 Fix setting of invocation-directory with --chdir and relative argv[0]
* src/emacs.c (original_pwd): New char.
(main): If using --chdir, store original_pwd.
(init_cmdargs): When setting Vinvocation_directory based on a
relative argv[0], use original_pwd if set.

Fixes: debbugs:15768
2013-10-31 00:18:42 -07:00
Barry O'Reilly
bed64093f7 * semantic/idle.el (semantic-idle-symbol-highlight)
(semantic-idle-symbol-highlight-face): Define face with defface
and obsolete the replaced one defined with defvar.  (Bug#15745)
* pulse.el (pulse-momentary-highlight-overlay)
(pulse-momentary-highlight-region): Fix typo in doc
2013-10-30 21:50:24 -04:00
Glenn Morris
0fb90d258e * lisp/Makefile.in (autoloads): Fix thinko in previous 2013-10-30 20:40:46 -04:00
Glenn Morris
ca7dd4cd17 * lisp/Makefile.in (autoloads): Do not use abs_lisp.
This should stop recent weirdness, eg:
http://lists.gnu.org/archive/html/emacs-diffs/2013-10/msg00381.html

* lisp/emacs-lisp/autoload.el: Comment.
2013-10-30 16:27:35 -04:00
Glenn Morris
4f85b47922 * lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads):
`newline' does not respect `standard-output', so use `princ'.

Otherwise you can get \n inserted in the wrong buffer, eg
http://lists.gnu.org/archive/html/emacs-diffs/2013-10/msg00379.html
2013-10-30 16:03:07 -04:00
Glenn Morris
947518dbb8 htmlfontify.el: remove duplicate Version: header 2013-10-30 15:35:14 -04:00