bpt/emacs.git
10 years ago* dispextern.h, image.c (x_bitmap_height, x_bitmap_width): Now static.
Paul Eggert [Mon, 28 Oct 2013 21:19:38 +0000 (14:19 -0700)]
* dispextern.h, image.c (x_bitmap_height, x_bitmap_width): Now static.

* xfaces.c (load_pixmap): Omit last two args, which are always NULL
in practice now.  All callers changed.

10 years ago* net/tramp-sh.el (tramp-sh-handle-copy-directory):
Michael Albinus [Mon, 28 Oct 2013 19:30:40 +0000 (20:30 +0100)]
* net/tramp-sh.el (tramp-sh-handle-copy-directory):
* net/tramp-smb.el (tramp-smb-handle-copy-directory):
Handle COPY-CONTENTS.  (Bug#15737)

10 years ago* dispextern.h (struct face): Use bitfields for 'underline_type'
Dmitry Antipov [Mon, 28 Oct 2013 10:58:01 +0000 (14:58 +0400)]
* dispextern.h (struct face): Use bitfields for 'underline_type'
and 'box' members.  Remove set-but-unused members 'pixmap_w' and
'pixmap_h'.  If not HAVE_WINDOW_SYSTEM, also remove dummy
'stipple' member.  Move 'lface' member up to help...
* xfaces.c (make_realized_face): ...this function to find and
clear just the members that need clearing.
(load_face_colors, realize_x_face):
* xdisp.c (extend_face_to_end_of_line): Adjust user.

10 years agoAuto-commit of generated files.
Glenn Morris [Mon, 28 Oct 2013 10:17:40 +0000 (06:17 -0400)]
Auto-commit of generated files.

10 years agoDocument insecure elisp password caching is not usable with GnuPG 2.0.
Daiki Ueno [Mon, 28 Oct 2013 08:04:48 +0000 (17:04 +0900)]
Document insecure elisp password caching is not usable with GnuPG 2.0.

10 years ago* lisp/image.el (image-load-path): Doc fix.
Xue Fuqiao [Sun, 27 Oct 2013 23:04:16 +0000 (07:04 +0800)]
* lisp/image.el (image-load-path): Doc fix.

10 years ago* lisp/image.el (defimage): Doc fix.
Xue Fuqiao [Sun, 27 Oct 2013 22:53:48 +0000 (06:53 +0800)]
* lisp/image.el (defimage): Doc fix.

10 years agoIndent statements in macros following "##" correctly.
Alan Mackenzie [Sun, 27 Oct 2013 21:24:17 +0000 (21:24 +0000)]
Indent statements in macros following "##" correctly.
* progmodes/cc-engine.el (c-crosses-statement-barrier-p): Modify
the "#" arm of a cond form to handle "#" and "##" operators.

10 years ago* configure.ac: It seems installing in non-ASCII is not, in fact, ok.
Glenn Morris [Sun, 27 Oct 2013 18:57:20 +0000 (11:57 -0700)]
* configure.ac: It seems installing in non-ASCII is not, in fact, ok.

10 years agoMark tiny change from author without assignment
Glenn Morris [Sun, 27 Oct 2013 18:46:47 +0000 (11:46 -0700)]
Mark tiny change from author without assignment

10 years agoComment
Xue Fuqiao [Sun, 27 Oct 2013 14:12:16 +0000 (22:12 +0800)]
Comment

10 years agoAdd an index for image maps.
Xue Fuqiao [Sun, 27 Oct 2013 13:07:24 +0000 (21:07 +0800)]
Add an index for image maps.

10 years agoAuto-commit of loaddefs files.
Glenn Morris [Sun, 27 Oct 2013 10:22:53 +0000 (06:22 -0400)]
Auto-commit of loaddefs files.

10 years ago* xftfont.c (struct xftfont_info): Remove set-but-unused
Dmitry Antipov [Sun, 27 Oct 2013 05:30:34 +0000 (09:30 +0400)]
* xftfont.c (struct xftfont_info): Remove set-but-unused
'screen' member.
(xftfont_open): Adjust user.
(xftfont_get_colors): Remove useless prototype.

10 years agoAdd an index for edge-detection algorithms.
Xue Fuqiao [Sun, 27 Oct 2013 04:40:16 +0000 (12:40 +0800)]
Add an index for edge-detection algorithms.

* doc/lispref/display.texi (Image Descriptors): Add an index for edge-detection algorithms.

10 years ago* lisp/linum.el (linum-update-window): Fix boundary test.
Nathan Trapuzzano [Sun, 27 Oct 2013 04:18:28 +0000 (00:18 -0400)]
* lisp/linum.el (linum-update-window): Fix boundary test.

Fixes: debbugs:13446

10 years ago* lisp/progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
Dmitry Gutov [Sun, 27 Oct 2013 03:25:03 +0000 (07:25 +0400)]
* lisp/progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
after `=' is probably a new expression.

10 years agoAdd menu for M-x man
Rüdiger Sonderfeld [Sun, 27 Oct 2013 02:02:02 +0000 (19:02 -0700)]
Add menu for M-x man

* lisp/man.el (man-imenu-title): New option.
(Man-mode-map): Add menu.
(Man-mode): Add imenu to menu.

Fixes: debbugs:15722

10 years agoFix part of bug #15260 with from directory with a non-ASCII name.
Eli Zaretskii [Sat, 26 Oct 2013 13:43:58 +0000 (16:43 +0300)]
Fix part of bug #15260 with from directory with a non-ASCII name.

 src/emacs.c (Fdump_emacs): Encode FILENAME and SYMFILE arguments
 before passing them to 'unexec'.

10 years agoDoc fix for set-fringe-bitmap-face.
Xue Fuqiao [Sat, 26 Oct 2013 03:13:18 +0000 (11:13 +0800)]
Doc fix for set-fringe-bitmap-face.

* src/fringe.c (set_fringe_bitmap_face): Add usage note from lispref.

10 years agoAdd an index for customizing fringe bitmaps.
Xue Fuqiao [Sat, 26 Oct 2013 02:25:54 +0000 (10:25 +0800)]
Add an index for customizing fringe bitmaps.

10 years ago* doc/lispref/display.texi (Fringe Indicators): Add indexes for fringe indicators.
Xue Fuqiao [Sat, 26 Oct 2013 02:20:04 +0000 (10:20 +0800)]
* doc/lispref/display.texi (Fringe Indicators): Add indexes for fringe indicators.

10 years agoComment
Xue Fuqiao [Sat, 26 Oct 2013 02:02:51 +0000 (10:02 +0800)]
Comment

10 years ago* test/indent/ruby.rb: New failing example.
Dmitry Gutov [Sat, 26 Oct 2013 01:22:50 +0000 (05:22 +0400)]
* test/indent/ruby.rb: New failing example.

10 years ago* lisp/progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
Dmitry Gutov [Sat, 26 Oct 2013 01:16:37 +0000 (05:16 +0400)]
* lisp/progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
specific in what the first arg can be: a non-keyword word,
string/regexp/percent literal opener, opening paren, or unary
operator followed directly by word.

* test/automated/ruby-mode-tests.el (ruby-toggle-block-to-brace): Fix
the test, in respect to adding the space after the curly.

10 years ago* lisp/progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
Stefan Monnier [Fri, 25 Oct 2013 15:23:45 +0000 (11:23 -0400)]
* lisp/progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
(prolog-align-comments-flag, prolog-indent-mline-comments-flag)
(prolog-object-end-to-0-flag, prolog-electric-newline-flag)
(prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
Remove vars, they do not apply any more.
(prolog-mode-abbrev-table): Remove redundant declaration.
(prolog-upper-case-string, prolog-lower-case-string): Remove.
(prolog-use-smie): Remove.
(prolog-smie-rules): Add indentation rule for the if-then-else layout
supported by prolog-electric-if-then-else-flag.
(prolog-mode-variables, prolog-menu): Use setq-local.
(prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
Remove binding to `Backspace' since this key doesn't exist anyway.
Remove bindings for electric self-inserting keys.
(prog-mode): Assume it's defined.
(prolog-post-self-insert): New function.
(prolog-mode): Use it.
(prolog-indent-line, prolog-indent-level)
(prolog-find-indent-of-matching-paren)
(prolog-indentation-level-of-line, prolog-goto-comment-column)
(prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
(prolog-goto-next-paren, prolog-in-string-or-comment)
(prolog-tokenize, prolog-inside-mline-comment)
(prolog-find-start-of-mline-comment): Remove functions.
(prolog-find-unmatched-paren, prolog-clause-end)
(prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
(prolog-electric--if-then-else): Rename from
prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
(prolog-tokenize-searchkey): Remove const.
(prolog-clause-info): Use forward-sexp.
(prolog-forward-list, prolog-backward-list, prolog-electric-delete)
(prolog-electric-if-then-else): Remove commands.
(prolog-electric--colon): Rename from prolog-electric-colon; adapt it
for use in post-self-insert-hook.
(prolog-electric--dash): Rename from prolog-electric-dash; adapt it
for use in post-self-insert-hook.
(prolog-electric--dot): Rename from prolog-electric-dot; adapt it
for use in post-self-insert-hook.
(prolog-electric--underscore): Rename from prolog-electric--underscore;
adapt it for use in post-self-insert-hook.

10 years agoImprove indexing.
Xue Fuqiao [Fri, 25 Oct 2013 13:56:59 +0000 (21:56 +0800)]
Improve indexing.

10 years agoContinuation of previous change.
Xue Fuqiao [Fri, 25 Oct 2013 13:34:21 +0000 (21:34 +0800)]
Continuation of previous change.

10 years ago* doc/lispref/display.texi (Low-Level Font): Improve indexing.
Xue Fuqiao [Fri, 25 Oct 2013 13:12:58 +0000 (21:12 +0800)]
* doc/lispref/display.texi (Low-Level Font): Improve indexing.

10 years ago* doc/lispref/nonascii.texi (Character Properties): Add an index for
Xue Fuqiao [Fri, 25 Oct 2013 12:23:07 +0000 (20:23 +0800)]
* doc/lispref/nonascii.texi (Character Properties): Add an index for
  script symbols.

10 years ago* emacs-lisp/ert.el (ert-run-tests-interactively):
Michael Albinus [Fri, 25 Oct 2013 12:07:34 +0000 (14:07 +0200)]
* emacs-lisp/ert.el (ert-run-tests-interactively):
Use `completing-read'.  (Bug#9756)

10 years ago* doc/lispref/display.texi (Fontsets): Minor wording fix.
Xue Fuqiao [Fri, 25 Oct 2013 11:44:35 +0000 (19:44 +0800)]
* doc/lispref/display.texi (Fontsets): Minor wording fix.

10 years agoAuto-commit of generated files.
Glenn Morris [Fri, 25 Oct 2013 10:17:37 +0000 (06:17 -0400)]
Auto-commit of generated files.

10 years agoAnother fix for the MS-Windows build broken 4 revisions ago.
Eli Zaretskii [Fri, 25 Oct 2013 09:52:37 +0000 (12:52 +0300)]
Another fix for the MS-Windows build broken 4 revisions ago.

 src/w32uniscribe.c (uniscribe_close): Adjust the argument list to
 the changed signature of the font driver's 'close' method.

10 years agoFix bug #15712 with vertical motion when the goal column needs to hscroll.
Eli Zaretskii [Fri, 25 Oct 2013 09:45:51 +0000 (12:45 +0300)]
Fix bug #15712 with vertical motion when the goal column needs to hscroll.

 lisp/simple.el (line-move): Call line-move-1 instead of
 line-move-visual when the current window hscroll is zero, but
 temporary-goal-column indicates we will need to hscroll as result
 of the movement.

10 years agoFix the MS-Windows build broken 2013-10-25T04:35:56Z!dgutov@yandex.ru.
Eli Zaretskii [Fri, 25 Oct 2013 09:42:41 +0000 (12:42 +0300)]
Fix the MS-Windows build broken 2013-10-25T04:35:56Z!dgutov@yandex.ru.

 src/w32font.h (w32font_close): Adjust the prototype to the change in
 function definition.
 src/w32font.c (w32font_close): Reintroduce deleted declaration of i.
 src/w32uniscribe.c (uniscribe_close): Adapt the call to
 w32font_close to its new prototype.

10 years agoPerform font-specific cleanup when font object is swept by GC. See
Dmitry Antipov [Fri, 25 Oct 2013 07:28:16 +0000 (11:28 +0400)]
Perform font-specific cleanup when font object is swept by GC.  See
http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00740.html.
* alloc.c (cleanup_vector): New function.
(sweep_vector): Call it for each reclaimed vector object.
* font.h (struct font): Adjust comment.

10 years agoOmit unused frame argument of font API's close function.
Dmitry Antipov [Fri, 25 Oct 2013 06:55:36 +0000 (10:55 +0400)]
Omit unused frame argument of font API's close function.
* font.h (struct font): Drop frame argument.  Adjust comment.
* font.c (font_clear_cache, font_close_object): Adjust users.
* ftfont.c (ftfont_close):
* ftxfont.c (ftxfont_close):
* macfont.m (macfont_close):
* nsfont.m (nsfont_close):
* w32font.c (w32font_close):
* xfont.c (xfont_close):
* xftfont.c (xftfont_close): Adjust driver-specific close
functions, tweak comments and make functions safe if called
more than once for the same font object.

10 years ago* lisp/progmodes/ruby-mode.el (ruby-mode-menu): Use proper
Dmitry Gutov [Fri, 25 Oct 2013 04:35:56 +0000 (08:35 +0400)]
* lisp/progmodes/ruby-mode.el (ruby-mode-menu): Use proper
capitalization.  Use :visible instead of :active.  Fix
`ruby-indent-exp' reference.  Add menu items for the generic
commands that are used with SMIE.
(ruby-do-end-to-brace): Insert space after `{'.

10 years ago* lisp/progmodes/ruby-mode.el (ruby-mode-menu): Add a menu
John Anthony [Fri, 25 Oct 2013 02:38:39 +0000 (19:38 -0700)]
* lisp/progmodes/ruby-mode.el (ruby-mode-menu): Add a menu

Fixes: debbugs:15600

10 years ago* lisp/progmodes/inf-lisp.el (inferior-lisp-menu): Add menu.
John Anthony [Fri, 25 Oct 2013 02:35:55 +0000 (19:35 -0700)]
* lisp/progmodes/inf-lisp.el (inferior-lisp-menu): Add menu.

Fixes: debbugs:15599

10 years ago* lisp/vc/vc.el (vc-print-log): Don't use a working revision unless
Glenn Morris [Fri, 25 Oct 2013 02:33:42 +0000 (19:33 -0700)]
* lisp/vc/vc.el (vc-print-log): Don't use a working revision unless
one was explicitly specified.

Fixes: debbugs:15322

10 years ago* configure.ac: It seems _installing_ in non-ASCII is ok, not building.
Glenn Morris [Fri, 25 Oct 2013 02:22:13 +0000 (19:22 -0700)]
* configure.ac: It seems _installing_ in non-ASCII is ok, not building.

10 years ago* lisp/subr.el (add-to-list): Preserve return value in compiler-macro.
Stefan Monnier [Fri, 25 Oct 2013 01:10:27 +0000 (21:10 -0400)]
* lisp/subr.el (add-to-list): Preserve return value in compiler-macro.

Fixes: debbugs:15692

10 years agoSmall fix to last change
Leo Liu [Fri, 25 Oct 2013 00:52:26 +0000 (08:52 +0800)]
Small fix to last change

10 years ago* progmodes/octave.el (octave-lookfor): Handle empty lookfor
Rüdiger Sonderfeld [Fri, 25 Oct 2013 00:49:33 +0000 (08:49 +0800)]
* progmodes/octave.el (octave-lookfor): Handle empty lookfor
result.  Ask user to retry using '-all' flag.

Fixes: debbugs:15701

10 years agoAvoid non-portable "` ... \"...\" ... `" nesting
Glenn Morris [Thu, 24 Oct 2013 23:04:33 +0000 (19:04 -0400)]
Avoid non-portable "` ... \"...\" ... `" nesting

* configure.ac:
* Makefile.in (install-arch-indep, install-etcdoc, install-info):
* lib-src/Makefile.in ($(DESTDIR)${archlibdir}):
* nt/Makefile.in ($(DESTDIR)${archlibdir}):
Avoid non-portable "`\" nesting.

10 years ago* lisp/emacs-lisp/smie.el: New smie-config system.
Stefan Monnier [Thu, 24 Oct 2013 21:16:20 +0000 (17:16 -0400)]
* lisp/emacs-lisp/smie.el: New smie-config system.
(smie-config): New defcustom.
(smie-edebug, smie-config-show-indent, smie-config-set-indent)
(smie-config-guess, smie-config-save): New commands.
(smie-config--mode-local, smie-config--buffer-local)
(smie-config--trace, smie-config--modefuns): New vars.
(smie-config--advice, smie-config--mode-hook)
(smie-config--setter, smie-config-local, smie-config--get-trace)
(smie-config--guess-value, smie-config--guess): New functions.
(smie-indent-forward-token, smie-indent-backward-token): Don't copy
text properties.  Treat "string fence" syntax like string syntax.

* lisp/progmodes/sh-script.el (sh-use-smie): Change default.
(sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
(sh-var-value): Simplify by CSE.
(sh-show-indent, sh-set-indent, sh-learn-line-indent)
(sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
is used.
(sh-guess-basic-offset): Use cl-incf.
(sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).

10 years ago* lisp/emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste.
Helmut Eller [Thu, 24 Oct 2013 17:49:12 +0000 (13:49 -0400)]
* lisp/emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste.

Fixes: debbugs:15699

10 years ago* lisp/Makefile.in (abs_top_srcdir): Remove.
Glenn Morris [Thu, 24 Oct 2013 17:18:46 +0000 (13:18 -0400)]
* lisp/Makefile.in (abs_top_srcdir): Remove.
(update-subdirs): Use relative path to update-subdirs.

10 years agoFix last changes to support whitespace in directory names.
Eli Zaretskii [Thu, 24 Oct 2013 16:28:05 +0000 (19:28 +0300)]
Fix last changes to support whitespace in directory names.

 lisp/Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el): Call
 unmsys--file-name before expand-file-name, not after it.

10 years agoImprove indexing.
Xue Fuqiao [Thu, 24 Oct 2013 14:00:59 +0000 (22:00 +0800)]
Improve indexing.

10 years ago* doc/lispref/display.texi (Low-Level Font): Add an index for font registry.
Xue Fuqiao [Thu, 24 Oct 2013 13:53:20 +0000 (21:53 +0800)]
* doc/lispref/display.texi (Low-Level Font): Add an index for font registry.

10 years ago* doc/lispref/display.texi (Font Selection): Add indexes for font selection.
Xue Fuqiao [Thu, 24 Oct 2013 13:16:51 +0000 (21:16 +0800)]
* doc/lispref/display.texi (Font Selection): Add indexes for font selection.

10 years ago* doc/lispref/display.texi (Face Remapping): Add indexes for face remapping.
Xue Fuqiao [Thu, 24 Oct 2013 12:17:57 +0000 (20:17 +0800)]
* doc/lispref/display.texi (Face Remapping): Add indexes for face remapping.

10 years agoAuto-commit of generated files.
Glenn Morris [Thu, 24 Oct 2013 10:17:42 +0000 (06:17 -0400)]
Auto-commit of generated files.

10 years agoMention the `skip-unless' macro of ert.el.
Michael Albinus [Thu, 24 Oct 2013 07:42:18 +0000 (09:42 +0200)]
Mention the `skip-unless' macro of ert.el.

10 years ago* ert.texi (Running Tests Interactively): Adapt examle output.
Michael Albinus [Thu, 24 Oct 2013 07:40:05 +0000 (09:40 +0200)]
* ert.texi (Running Tests Interactively): Adapt examle output.
(Tests and Their Environment): Mention skip-unless.

10 years ago* automated/ert-tests.el (ert-test-skip-unless): New test case.
Michael Albinus [Thu, 24 Oct 2013 07:38:45 +0000 (09:38 +0200)]
* automated/ert-tests.el (ert-test-skip-unless): New test case.
(ert-test-deftest): Adapt test for changed macro expansion.
(ert-test-run-tests-interactively):
* automated/ert-x-tests.el (ert-test-run-tests-interactively-2):
Add a skipping test.

* automated/file-notify-tests.el (top): Do not require tramp-sh.el.
(file-notify--test-local-enabled): Make it a function.  Check also
for `file-remote-p' of `temporary-file-directory'.
(file-notify--test-remote-enabled-checked): New defvar.
(file-notify--test-remote-enabled): Rewrite.  Do not use Tramp
internal functions.  Cache result.
(file-notify--deftest-remote, file-notify-test00-availability)
(file-notify-test01-add-watch, file-notify-test02-events)
(file-notify-test03-autorevert): Add checks with `skip_unless'.
(file-notify-test-all): Do not check `file-notify--test-local-enabled'.

10 years ago* emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
Michael Albinus [Thu, 24 Oct 2013 07:34:41 +0000 (09:34 +0200)]
* emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
(ert-test-skipped): New error.
(ert-skip, ert-stats-skipped): New defuns.
(ert--skip-unless): New macro.
(ert-test-skipped): New struct.
(ert--run-test-debugger, ert-test-result-type-p)
(ert-test-result-expected-p, ert--stats, ert-stats-completed)
(ert--stats-set-test-and-result, ert-char-for-test-result)
(ert-string-for-test-result, ert-run-tests-batch)
(ert--results-update-ewoc-hf, ert-run-tests-interactively): Handle
skipped tests.

10 years agoChangeLog fixes
Glenn Morris [Thu, 24 Oct 2013 07:04:01 +0000 (00:04 -0700)]
ChangeLog fixes

10 years agoFix whitespace in previous Makefile.in changes
Glenn Morris [Thu, 24 Oct 2013 04:05:54 +0000 (21:05 -0700)]
Fix whitespace in previous Makefile.in changes

10 years ago* leim/Makefile.in (.el.elc, changed.tit, changed.misc, leim-list.el)
Glenn Morris [Thu, 24 Oct 2013 02:29:29 +0000 (19:29 -0700)]
* leim/Makefile.in (.el.elc, changed.tit, changed.misc, leim-list.el)
($(srcdir)/ja-dic/ja-dic.el, check-declare):
Remove unnecessary path in -l argument (RUN_EMACS sets EMACSLOADPATH).
We just need to be careful because "quail" is also a directory...

10 years ago* lisp/Makefile.in (check-declare): Remove unnecessary path in -l argument
Glenn Morris [Thu, 24 Oct 2013 02:21:23 +0000 (19:21 -0700)]
* lisp/Makefile.in (check-declare): Remove unnecessary path in -l argument

10 years agoAttempt at a fix for mingw CPPFLAGS
Glenn Morris [Thu, 24 Oct 2013 02:15:16 +0000 (19:15 -0700)]
Attempt at a fix for mingw CPPFLAGS

* configure.ac (CPPFLAGS) [mingw32]: Use abs_top_srcdir.

* Makefile.in (abs_top_srcdir):
* lib-src/Makefile.in (abs_top_srcdir):
* lwlib/Makefile.in (abs_top_srcdir):
* nt/Makefile.in (abs_top_srcdir):
* oldXMenu/Makefile.in (abs_top_srcdir):
* src/Makefile.in (abs_top_srcdir):
New, set by configure.

10 years ago* lisp/Makefile.in (abs_top_srcdir): New, set by configure.
Glenn Morris [Thu, 24 Oct 2013 01:52:44 +0000 (18:52 -0700)]
* lisp/Makefile.in (abs_top_srcdir): New, set by configure.
(update-subdirs): Correct build-aux location.

10 years ago* lisp/vc/vc.el (vc-print-root-log): Always set `default-directory'
Dmitry Gutov [Thu, 24 Oct 2013 01:27:29 +0000 (05:27 +0400)]
* lisp/vc/vc.el (vc-print-root-log): Always set `default-directory'
value, whether we could auto-deduce `backend', or not.

10 years ago* lisp/progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
Dmitry Gutov [Thu, 24 Oct 2013 00:47:28 +0000 (04:47 +0400)]
* lisp/progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
with parameters" example.  Simplify the "is it block or is it
hash" check, but also make it more thorough.

* test/indent/ruby.rb: Fix syntax error in the latest example.

10 years ago* configure.ac (src/.gdbinit): Use ac_abs_top_srcdir.
Glenn Morris [Wed, 23 Oct 2013 23:27:19 +0000 (19:27 -0400)]
* configure.ac (src/.gdbinit): Use ac_abs_top_srcdir.

10 years ago* Makefile.in (epaths-force-w32): Use abs_srcdir
Glenn Morris [Wed, 23 Oct 2013 22:33:08 +0000 (18:33 -0400)]
* Makefile.in (epaths-force-w32): Use abs_srcdir

10 years agoconfigure.ac: Tweak previous change
Glenn Morris [Wed, 23 Oct 2013 22:02:42 +0000 (18:02 -0400)]
configure.ac: Tweak previous change

10 years ago* configure.ac: Explicit error for non-ASCII directories
Glenn Morris [Wed, 23 Oct 2013 20:46:46 +0000 (16:46 -0400)]
* configure.ac: Explicit error for non-ASCII directories

Fixes: debbugs:15260

10 years ago* lisp/battery.el (battery-pmset): Handle OS X Mavericks (tiny change)
Masashi Fujimoto [Wed, 23 Oct 2013 19:44:28 +0000 (15:44 -0400)]
* lisp/battery.el (battery-pmset): Handle OS X Mavericks (tiny change)

Fixes: debbugs:15694

10 years ago* lisp/progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
Stefan Monnier [Wed, 23 Oct 2013 17:55:53 +0000 (13:55 -0400)]
* lisp/progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
{ if it is hanging.

10 years agoRemove remaining @refills from doc/*/*.texi files
Glenn Morris [Wed, 23 Oct 2013 17:20:09 +0000 (13:20 -0400)]
Remove remaining @refills from doc/*/*.texi files

10 years ago* lisp/progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
Stefan Monnier [Wed, 23 Oct 2013 17:18:11 +0000 (13:18 -0400)]
* lisp/progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
:before ";".

10 years agocompile: Support GNU Make-4.0 directory quoting (tiny change)
Jed Brown [Wed, 23 Oct 2013 16:25:56 +0000 (09:25 -0700)]
compile: Support GNU Make-4.0 directory quoting (tiny change)

* lisp/progmodes/compile.el (compilation-directory-matcher)
(compilation-page-delimiter): Support GNU Make-4.0 directory quoting.

Fixes: debbugs:15678

10 years agoFix ChangeLog entry.
Dmitry Antipov [Wed, 23 Oct 2013 16:11:30 +0000 (20:11 +0400)]
Fix ChangeLog entry.

10 years agoTweak last font-related changes to fix bug#15686.
Dmitry Antipov [Wed, 23 Oct 2013 16:07:30 +0000 (20:07 +0400)]
Tweak last font-related changes to fix bug#15686.
* alloc.c (mark_object) [HAVE_WINDOW_SYSTEM]: If marked frame
is a live window system frame, mark it's default font too.

10 years agoComment
Xue Fuqiao [Wed, 23 Oct 2013 13:29:39 +0000 (21:29 +0800)]
Comment

10 years ago* ido.el (ido-tidy): Handle read-only text.
Leo Liu [Wed, 23 Oct 2013 12:15:31 +0000 (20:15 +0800)]
* ido.el (ido-tidy): Handle read-only text.

10 years agoAuto-commit of generated files.
Glenn Morris [Wed, 23 Oct 2013 10:17:41 +0000 (06:17 -0400)]
Auto-commit of generated files.

10 years agoMore Makefile quoting
Glenn Morris [Wed, 23 Oct 2013 07:28:30 +0000 (00:28 -0700)]
More Makefile quoting

* Makefile.in (install-arch-dep, install-nt, uninstall, uninstall-nt):
Quote entities that might contain whitespace.

10 years agoProgress towards allowing installation in directories with whitespace
Glenn Morris [Wed, 23 Oct 2013 07:20:57 +0000 (00:20 -0700)]
Progress towards allowing installation in directories with whitespace

* Makefile.in (COPYDESTS, write_subdir, install-arch-dep)
(install-arch-indep, install-etcdoc, install-info, install-man)
(install-etc, uninstall): Quote entities that might contain whitespace.

* build-aux/update-subdirs: Handle whitespace in argument.
Check cd return value.

* doc/emacs/Makefile.in (install-dvi, install-html, install-pdf)
(install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
(uninstall-pdf): Quote entities that might contain whitespace.

* doc/lispintro/Makefile.in (install-dvi, install-html, install-pdf)
(install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
(uninstall-pdf): Quote entities that might contain whitespace.

* doc/lispref/Makefile.in (install-dvi, install-html, install-pdf)
(install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
(uninstall-pdf): Quote entities that might contain whitespace.

* doc/misc/Makefile.in (install-dvi, install-html, install-pdf)
(install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
(uninstall-pdf): Quote entities that might contain whitespace.

* lib-src/Makefile.in ($(DESTDIR)${archlibdir}, need-blessmail, install)
(uninstall): Quote entities that might contain whitespace.

* nt/Makefile.in ($(DESTDIR)${archlibdir}, install, uninstall):
Quote entities that might contain whitespace.

10 years agoMake building in directories with whitespace possible
Glenn Morris [Wed, 23 Oct 2013 06:22:54 +0000 (23:22 -0700)]
Make building in directories with whitespace possible
Make has trouble with targets containing whitespace,
http://savannah.gnu.org/bugs/?712, so the general approach is
to use relative paths where possible.  It's generally only Emacs
itself that needs absolute paths, eg in src/epaths.h.

* configure.ac (srcdir): Don't make it absolute - abs_srcdir exists.

* Makefile.in (abs_srcdir): New, set by configure.
(buildlisppath): Use abs_srcdir.
(install-arch-indep, install-etcdoc, install-info, install-man)
(install-etc): Quote entities that might contain whitespace.

* admin/unidata/Makefile.in (emacs, ${DSTDIR}/charprop.el):
Quote entities that might contain whitespace.

* leim/Makefile.in (abs_srcdir): New, set by configure.
(buildlisppath): Use abs_srcdir.
(RUN_EMACS, .el.elc, changed.tit, changed.misc, leim-list.el)
($(srcdir)/ja-dic/ja-dic.el, setwins, distclean, check-declare):
Quote entities that might contain whitespace.

* lib-src/Makefile.in ($(DESTDIR)${archlibdir}):
Quote entities that might contain whitespace.

* lisp/Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
(emacs, compile, compile-always):
Quote entities that might contain whitespace.
(custom-deps, finder-data, autoloads): Use abs_lisp.
($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.

* nextstep/Makefile.in (${ns_check_file} ${ns_appdir}):
Quote entities that might contain whitespace.

* nt/Makefile.in ($(DESTDIR)${archlibdir}):
Quote entities that might contain whitespace.

* src/Makefile.in (RUN_TEMACS): Make relative (again).
($(leimdir)/leim-list.el, .el.elc, $(lispsource)/loaddefs.el)
(bootstrap-emacs$(EXEEXT)):
Quote entities that might contain whitespace.

* test/automated/Makefile.in (abs_top_srcdir, top_builddir):
New, set by configure.
(top_srcdir): Remove.
(abs_test, abs_lispsrc): New.
(lisp): No longer absolute.
(emacs, lisp-compile, compile, compile-always):
Quote entities that might contain whitespace.

Fixes: debbugs:15675

10 years agoPort to Solaris 10 and its bundled GCC.
Paul Eggert [Wed, 23 Oct 2013 04:37:17 +0000 (21:37 -0700)]
Port to Solaris 10 and its bundled GCC.

Problem reported by Timothy C. Burt.
* floatfns.c (isfinite, isnan): Redefine unconditionally.

10 years agoMerge from gnulib.
Paul Eggert [Wed, 23 Oct 2013 04:01:46 +0000 (21:01 -0700)]
Merge from gnulib.

This incorporates:
2013-10-14 acl: allow cross-compilation to Gentoo
2013-10-18 extern-inline: make safe for -Wundef usage
2013-09-30 fpending: use pure+const function attrs
* lib/fpending.h, m4/acl.m4, m4/extern-inline.m4: Update from gnulib.

10 years agolisp/gnus/mm-decode.el (mm-dissect-buffer): Revert last change
Katsumi Yamaoka [Wed, 23 Oct 2013 03:35:49 +0000 (03:35 +0000)]
lisp/gnus/mm-decode.el (mm-dissect-buffer): Revert last change
lisp/gnus/nndoc.el (nndoc-dissect-mime-parts-sub): Ditto

The problem that motivated those changes was attributed to a broken
mail sender, and has been fixed.

10 years ago* lisp/progmodes/ruby-mode.el (ruby-smie--at-dot-call): Use
Dmitry Gutov [Wed, 23 Oct 2013 02:59:45 +0000 (06:59 +0400)]
* lisp/progmodes/ruby-mode.el (ruby-smie--at-dot-call): Use
`following-char'.

10 years ago* test/indent/ruby.rb: Move two examples to "working" section, add one
Dmitry Gutov [Tue, 22 Oct 2013 20:47:29 +0000 (00:47 +0400)]
* test/indent/ruby.rb: Move two examples to "working" section, add one
more.

10 years ago* lisp/emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
Stefan Monnier [Tue, 22 Oct 2013 15:45:56 +0000 (11:45 -0400)]
* lisp/emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
* lisp/progmodes/ruby-mode.el (ruby-smie-rules):
Remove corresponding workaround.  Fix indentation rule of ";" so it
also applies when ";" is the parent.

10 years agolisp/gnus/nndoc.el (nndoc-dissect-mime-parts-sub): Fix last change
Katsumi Yamaoka [Tue, 22 Oct 2013 13:55:27 +0000 (13:55 +0000)]
lisp/gnus/nndoc.el (nndoc-dissect-mime-parts-sub): Fix last change

10 years agolisp/gnus/mm-decode.el (mm-dissect-buffer): Guess content-type if the first token...
Katsumi Yamaoka [Tue, 22 Oct 2013 10:22:59 +0000 (10:22 +0000)]
lisp/gnus/mm-decode.el (mm-dissect-buffer): Guess content-type if the first token is missing in the Content-Type header
lisp/gnus/nndoc.el (nndoc-dissect-mime-parts-sub): Ditto

10 years agoMention the optional ‘display’ argument in doc strings.
Xue Fuqiao [Tue, 22 Oct 2013 08:07:51 +0000 (16:07 +0800)]
Mention the optional ‘display’ argument in doc strings.

* frame.el (display-screens, display-pixel-height)
(display-pixel-width, display-mm-width, display-backing-store)
(display-save-under, display-planes, display-color-cells)
(display-visual-class, display-monitor-attributes-list): Mention
the optional ‘display’ argument in doc strings.

10 years ago* lisp/progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
Michael Gauland [Tue, 22 Oct 2013 00:47:32 +0000 (20:47 -0400)]
* lisp/progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
viewers such as evince when ebnf-production-name-p is nil.

Fixes: debbugs:15625

10 years ago* lisp/progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
Dmitry Gutov [Mon, 21 Oct 2013 22:25:59 +0000 (02:25 +0400)]
* lisp/progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
TODO.  Add "." after " @ ".
(ruby-smie--at-dot-call): New function.  Checks if point at method
call with explicit target.
(ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
to the method name tokens when it precedes them.
(ruby-smie--backward-id, ruby-smie--forward-id): Remove.
(ruby-smie-rules): Add rule for indentation before and after "."
token.

10 years agoRemove unnecessary @refill.
Xue Fuqiao [Mon, 21 Oct 2013 22:10:55 +0000 (06:10 +0800)]
Remove unnecessary @refill.

10 years ago* lisp/textmodes/remember.el (remember-diary-extract-entries):
Stefan Monnier [Mon, 21 Oct 2013 14:15:13 +0000 (10:15 -0400)]
* lisp/textmodes/remember.el (remember-diary-extract-entries):
Avoid add-to-list.

10 years agoDo not allow font caches to grow too large.
Dmitry Antipov [Mon, 21 Oct 2013 14:11:25 +0000 (18:11 +0400)]
Do not allow font caches to grow too large.
* alloc.c (compact_font_cache_entry, compact_font_caches):
New functions or stub if not HAVE_WINDOW_SYSTEM.
(compact_undo_list): Factor out from Fgarbage_collect.
Add comment.
(mark_face_cache): Mark face font.  Move down to avoid
extra prototypes.
(mark_terminals): Do not mark font cache here.
(Fgarbage_collect): Call compaction functions described
above.  Adjust comment.

10 years ago* lisp/progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
Stefan Monnier [Mon, 21 Oct 2013 13:34:13 +0000 (09:34 -0400)]
* lisp/progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
an instruction.