]> git.eshelyaron.com Git - emacs.git/log
emacs.git
11 years agoDon't let unusual after-change-functions overwrite " prin1" buffer in use.
Eli Zaretskii [Sat, 16 Nov 2013 10:23:09 +0000 (12:23 +0200)]
Don't let unusual after-change-functions overwrite " prin1" buffer in use.

 src/doc.c (Fsubstitute_command_keys): Inhibit modification hooks
 while we are using Vprin1_to_string_buffer.

Fixes: debbugs:15907
11 years agoFix bug #15907 with crashes due to after-change-functions.
Eli Zaretskii [Sat, 16 Nov 2013 09:27:19 +0000 (11:27 +0200)]
Fix bug #15907 with crashes due to after-change-functions.

 src/keymap.c (describe_map): Don't crash if PT is 1 both before and
 after inserting the description string.

11 years ago* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
Dmitry Gutov [Fri, 15 Nov 2013 18:09:10 +0000 (20:09 +0200)]
* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
nil/self/true/false with "end of symbol".

11 years ago* data.c: Work around bogus GCC diagnostic about shift count.
Paul Eggert [Fri, 15 Nov 2013 18:01:04 +0000 (10:01 -0800)]
* data.c: Work around bogus GCC diagnostic about shift count.

Reported by Eli Zaretskii in
<http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00489.html>.
(pre_value): New function.
(count_trailing_zero_bits): Use it.

11 years ago* automated/tramp-tests.el (tramp-test29-utf8): Cleanup the
Michael Albinus [Fri, 15 Nov 2013 13:49:17 +0000 (14:49 +0100)]
* automated/tramp-tests.el (tramp-test29-utf8): Cleanup the
connection before running the test.  Reenable last test case.

11 years ago* lisp/subr.el (version-regexp-alist): Fix a typo.
Bozhidar Batsov [Fri, 15 Nov 2013 10:02:13 +0000 (12:02 +0200)]
* lisp/subr.el (version-regexp-alist): Fix a typo.

11 years ago* automated/tramp-tests.el (tramp-test29-utf8): Comment last test
Michael Albinus [Fri, 15 Nov 2013 08:28:42 +0000 (09:28 +0100)]
* automated/tramp-tests.el (tramp-test29-utf8): Comment last test
  case, it fails in batch mode.  Needs further investigations.

11 years agoCorrect overly-optimistic assumptions about C macro support by "gcc -g3".
Eli Zaretskii [Fri, 15 Nov 2013 08:18:37 +0000 (10:18 +0200)]
Correct overly-optimistic assumptions about C macro support by "gcc -g3".

 src/lisp.h (DEBUGGER_SEES_C_MACROS) [GCC < v3.5]: Pessimistically
 assume C macros are not supported even under -g3 in these old GCC
 versions.

11 years ago* automated/tramp-tests.el (tramp-test15-copy-directory)
Michael Albinus [Fri, 15 Nov 2013 08:03:19 +0000 (09:03 +0100)]
* automated/tramp-tests.el (tramp-test15-copy-directory)
(tramp-test16-directory-files, tramp-test17-insert-directory)
(tramp-test18-file-attributes)
(tramp-test19-directory-files-and-attributes)
(tramp-test20-file-modes, tramp-test21-file-links)
(tramp-test22-file-times, tramp-test23-visited-file-modtime)
(tramp-test24-file-name-completion, tramp-test25-load)
(tramp-test26-process-file, tramp-test27-start-file-process):
(tramp-test28-shell-command): Protect unwindforms with `ignore-errors'.
(tramp-test29-utf8): New test.

11 years ago* net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
Michael Albinus [Fri, 15 Nov 2013 07:37:18 +0000 (08:37 +0100)]
* net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
"en_US.utf8" and "LC_CTYPE" to "".
(tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
(tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".

11 years ago* lisp/loadhist.el (read-feature): Get rid of fake feature nil.
Leo Liu [Fri, 15 Nov 2013 06:52:40 +0000 (14:52 +0800)]
* lisp/loadhist.el (read-feature): Get rid of fake feature nil.

* src/minibuf.c (Ftry_completion, Fall_completions)
(Ftest_completion): Use FUNCTIONP.  (Bug#15889)

11 years ago* configure.ac (DEBUGGER_SEES_C_MACROS): New macro.
Paul Eggert [Fri, 15 Nov 2013 01:59:57 +0000 (17:59 -0800)]
* configure.ac (DEBUGGER_SEES_C_MACROS): New macro.

* src/lisp.h (DEFINE_GDB_SYMBOL_BEGIN, DEFINE_GDB_SYMBOL_END):
Define to empty if DEBUGGER_SEES_C_MACROS is defined.
This avoids placing unnecessary constants into the Emacs code.

11 years agolisp/gnus/gnus-icalendar.el (gnus-icalendar-event->gnus-calendar, gnus-icalendar...
Jan Tatarik [Fri, 15 Nov 2013 00:07:54 +0000 (00:07 +0000)]
lisp/gnus/gnus-icalendar.el (gnus-icalendar-event->gnus-calendar, gnus-icalendar-event-from-ical, gnus-icalendar-event->org-entry, gnus-icalendar--update-org-event): Required/optional participation, list of attendees synced to org

11 years agoAdd bug reference to previous commit.
Christopher Schmidt [Thu, 14 Nov 2013 20:30:11 +0000 (21:30 +0100)]
Add bug reference to previous commit.

11 years ago* lisp/progmodes/gud.el (ctl-x-map): Remove C-x SPC binding.
Stefan Monnier [Thu, 14 Nov 2013 20:20:11 +0000 (15:20 -0500)]
* lisp/progmodes/gud.el (ctl-x-map): Remove C-x SPC binding.
(gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).

11 years agoFix bug #15892 with link failures of the Cygwin w32 build.
Kazuhiro Ito [Thu, 14 Nov 2013 17:43:49 +0000 (19:43 +0200)]
Fix bug #15892 with link failures of the Cygwin w32 build.

 src/keyboard.c (make_ctrl_char) [HAVE_NTGUI]: Now externally visible
 for Cygwin w32 build.
 src/xdisp.c (erase_phys_cursor) [HAVE_NTGUI]: Now externally visible
 for Cygwin w32 build.

11 years ago* lisp/subr.el (version-regexp-alist):
Bozhidar Batsov [Thu, 14 Nov 2013 17:07:03 +0000 (19:07 +0200)]
* lisp/subr.el (version-regexp-alist):
Recognize hg, svn and darcs versions as snapshot versions.

11 years ago* lisp/progmodes/ruby-mode.el (ruby-mode-set-encoding):
Bozhidar Batsov [Thu, 14 Nov 2013 12:39:41 +0000 (14:39 +0200)]
* lisp/progmodes/ruby-mode.el (ruby-mode-set-encoding):
Fix and simplify encoding comment update logic.

11 years agoAuto-commit of loaddefs files.
Glenn Morris [Thu, 14 Nov 2013 11:21:21 +0000 (06:21 -0500)]
Auto-commit of loaddefs files.

11 years ago* lisp/progmodes/ruby-mode.el (ruby-mode-set-encoding):
Bozhidar Batsov [Thu, 14 Nov 2013 10:35:49 +0000 (12:35 +0200)]
* lisp/progmodes/ruby-mode.el (ruby-mode-set-encoding):
Add support for always inserting an utf-8 encoding comment.

11 years ago* doc/lispref/loading.texi (Library Search): Update section.
Glenn Morris [Thu, 14 Nov 2013 08:38:50 +0000 (00:38 -0800)]
* doc/lispref/loading.texi (Library Search): Update section.

11 years ago* net/tramp-gvfs.el (top): Run init code only when
Michael Albinus [Thu, 14 Nov 2013 07:36:39 +0000 (08:36 +0100)]
* net/tramp-gvfs.el (top): Run init code only when
`tramp-gvfs-enabled' is not nil.
(tramp-gvfs-enabled): Check also :system bus.

11 years agoSync with upstream verilog-mode revision 78e66ba.
Stefan Monnier [Thu, 14 Nov 2013 02:58:51 +0000 (18:58 -0800)]
Sync with upstream verilog-mode revision 78e66ba.
* lisp/progmodes/verilog-mode.el (verilog-end-of-defun)
(verilog-type-completion, verilog-get-list): Remove unused funcs.
(verilog-get-end-of-defun): Remove unused argument.
(verilog-comment-depth): Remove unused local `e'.
(verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
Don't pass arg to verilog-get-end-of-defun.

11 years ago* lisp/obsolete/assoc.el (aget): Prefix dynamic variable.
Glenn Morris [Thu, 14 Nov 2013 02:44:54 +0000 (18:44 -0800)]
* lisp/obsolete/assoc.el (aget): Prefix dynamic variable.

11 years ago* lisp/allout-widgets.el (allout-widgets): No need to autoload defgroup.
Glenn Morris [Thu, 14 Nov 2013 02:43:55 +0000 (18:43 -0800)]
* lisp/allout-widgets.el (allout-widgets): No need to autoload defgroup.

11 years agoSimplify, port and tune bool vector implementation.
Paul Eggert [Thu, 14 Nov 2013 02:39:28 +0000 (18:39 -0800)]
Simplify, port and tune bool vector implementation.

* configure.ac (BITSIZEOF_SIZE_T, SIZEOF_SIZE_T): Remove.
* src/alloc.c (bool_vector_exact_payload_bytes)
(bool_vector_payload_bytes): Remove.
(bool_vector_fill): Return its argument.
* src/alloc.c (bool_vector_fill):
* src/lread.c (read1):
* src/print.c (print_object):
Simplify by using bool_vector_bytes.
* src/alloc.c (make_uninit_bool_vector):
New function, broken out from Fmake_bool_vector.
(Fmake_bool_vector): Use it.  Use tail call.
(make_uninit_bool_vector, vector_nbytes): Simplify size calculations.
* src/data.c (BITS_PER_ULL): New constant.
(ULLONG_MAX, count_one_bits_ll): Fall back on long counterparts
if long long versions don't exist.
(shift_right_ull): New function.
(count_one_bits_word): New function, replacing popcount_bits_word
macro.  Don't assume that bits_word is no wider than long long.
(count_one_bits_word, count_trailing_zero_bits):
Don't assume that bits_word is no wider than long long.
* src/data.c (bool_vector_binop_driver, bool_vector_not):
* src/fns.c (Fcopy_sequence):
* src/lread.c (read1):
Create an uninitialized destination, to avoid needless work.
(internal_equal): Simplify.
(Ffillarray): Prefer tail call.
* src/data.c (bool_vector_binop_driver): Don't assume bit vectors always
contain at least one word.
(bits_word_to_host_endian): Prefer if to #if.  Don't assume
chars are narrower than ints.
* src/data.c (Fbool_vector_count_matches, Fbool_vector_count_matches_at):
* src/fns.c (Fcopy_sequence):
Simplify and tune.
* src/lisp.h (bits_word, BITS_WORD_MAX, BITS_PER_BITS_WORD):
Don't try to port to hosts where bits_word values have holes; the
code wouldn't work there anyway.  Verify this assumption, though.
(bool_vector_bytes): New function.
(make_uninit_bool_vector): New decl.
(bool_vector_fill): Now returns Lisp_Object.

11 years agoPrefer tail calls.
Paul Eggert [Thu, 14 Nov 2013 01:52:18 +0000 (17:52 -0800)]
Prefer tail calls.

* lib-src/ebrowse.c (xstrdup):
* lib-src/etags.c (savenstr):
* lwlib/lwlib.c (safe_strdup):
* src/xfns.c (xic_create_fontsetname):
* src/xrdb.c (gethomedir): Prefer tail calls.
* lib-src/etags.c (concat): Omit unnecessary assignment.

11 years ago* lisp/widget.el, lisp/hfy-cmap.el: Remove bogus package version number.
Stefan Monnier [Thu, 14 Nov 2013 00:41:58 +0000 (19:41 -0500)]
* lisp/widget.el, lisp/hfy-cmap.el: Remove bogus package version number.

11 years agolisp/gnus/gnus-icalendar.el: Fix for gnus-icalendar handling of empty appt locations...
Jan Tatarik [Wed, 13 Nov 2013 22:16:42 +0000 (22:16 +0000)]
lisp/gnus/gnus-icalendar.el: Fix for gnus-icalendar handling of empty appt locations; gnus-icalendar can update org entry for canceled appointments

11 years ago* lisp/replace.el (replace-eval-replacement): Try to give more helpful error
Glenn Morris [Wed, 13 Nov 2013 20:48:35 +0000 (15:48 -0500)]
* lisp/replace.el (replace-eval-replacement): Try to give more helpful error
message.

Fixes: debbugs:15836
11 years ago* lisp/arc-mode.el (archive-7z-extract, archive-7z-expunge)
Glenn Morris [Wed, 13 Nov 2013 20:40:12 +0000 (15:40 -0500)]
* lisp/arc-mode.el (archive-7z-extract, archive-7z-expunge)
(archive-7z-update): Avoid custom type mismatches.

11 years ago* lisp/vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
Glenn Morris [Wed, 13 Nov 2013 20:06:37 +0000 (15:06 -0500)]
* lisp/vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.

11 years ago* automated/file-notify-tests.el (file-notify-test02-events)
Michael Albinus [Wed, 13 Nov 2013 15:36:12 +0000 (16:36 +0100)]
* automated/file-notify-tests.el (file-notify-test02-events)
(file-notify-test03-autorevert): Suppress messages in `write-region'.

* automated/tramp-tests.el (tramp-test02-file-name-dissect)
(tramp-test03-file-name-defaults, tramp-test21-file-links): Add tests.
(tramp-test26-process-file, tramp-test28-shell-command): Ensure,
that the directory is not empty when calling "ls".

11 years ago* net/tramp.el (tramp-remote-file-name-spec-regexp): An IPV6
Michael Albinus [Wed, 13 Nov 2013 15:28:06 +0000 (16:28 +0100)]
* net/tramp.el (tramp-remote-file-name-spec-regexp): An IPV6
address can be empty.

* net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
Accept nil SWITCHES.
(tramp-gvfs-handle-write-region): Implement APPEND.

11 years ago* Makefile.in (ACLOCAL_INPUTS): Add configure.ac.
Paul Eggert [Wed, 13 Nov 2013 08:04:57 +0000 (00:04 -0800)]
* Makefile.in (ACLOCAL_INPUTS): Add configure.ac.

11 years agolisp/gnus/gnus-icalendar.el (gnus-icalendar-event-from-ical): Fix timezone handling...
Jan Tatarik [Tue, 12 Nov 2013 22:16:09 +0000 (22:16 +0000)]
lisp/gnus/gnus-icalendar.el (gnus-icalendar-event-from-ical): Fix timezone handling in gnus-icalendar export to org

11 years agoorg-agenda.el (org-agenda-set-restriction-lock): Autoload
Bastien Guerry [Tue, 12 Nov 2013 20:14:21 +0000 (21:14 +0100)]
org-agenda.el (org-agenda-set-restriction-lock): Autoload

* org-agenda.el (org-agenda-set-restriction-lock): Autoload.

11 years agoRemove non-existent files in Org 8.2.3a
Bastien Guerry [Tue, 12 Nov 2013 20:00:14 +0000 (21:00 +0100)]
Remove non-existent files in Org 8.2.3a

11 years agoAddress some byte-compiler warnings.
Stefan Monnier [Tue, 12 Nov 2013 19:11:22 +0000 (14:11 -0500)]
Address some byte-compiler warnings.
* lisp/org/ob-abc.el (org-babel-expand-body:abc): Use dolist.
(org-babel-execute:abc): Fix regexp quoting.
* lisp/org/ob-calc.el (org--var-syms): Rename from `var-syms'.
* lisp/org/ob-lilypond.el (ly-compile-lilyfile): Remove redundant let-binding.
* lisp/org/ob-table.el (sbe): Move debug declaration.
* lisp/org/org-clock.el (org--msg-extra): Rename from `msg-extra'.
* lisp/org/org.el (org-version): Avoid var name starting with _.
(org-inhibit-startup, org-called-with-limited-levels)
(org-link-search-inhibit-query, org-time-was-given)
(org-end-time-was-given, org-def, org-defdecode, org-with-time):
* lisp/org/org-colview.el (org-agenda-overriding-columns-format):
* lisp/org/org-agenda.el (org-agenda-multi, org-depend-tag-blocked)
(org-agenda-show-log-scoped):
* lisp/org/ob-python.el (py-which-bufname, python-shell-buffer-name):
* lisp/org/ob-haskell.el (org-export-copy-to-kill-ring):
* lisp/org/ob-exp.el (org-link-search-inhibit-query):
* lisp/org/ob-R.el (ess-eval-visibly-p):
* lisp/org/ob-core.el (org-src-window-setup): Declare before use.
(org-babel-expand-noweb-references): Remove unused `blocks-in-buffer'.
* lisp/org/ox-odt.el (org-odt-hfy-face-to-css):
* lisp/org/org-src.el (org-src-associate-babel-session, org-src-get-lang-mode):
* lisp/org/org-bibtex.el (org-bibtex-get, org-bibtex-ask, org-bibtex)
(org-bibtex-check):
* lisp/org/ob-tangle.el (org-babel-tangle, org-babel-spec-to-string)
(org-babel-tangle-single-block, org-babel-tangle-comment-links):
* ob-table.el (sbe):
* lisp/org/ob-sqlite.el (org-babel-sqlite-expand-vars):
* lisp/org/ob-sql.el (org-babel-sql-expand-vars):
* lisp/org/ob-shen.el (org-babel-execute:shen):
* lisp/org/ob-sh.el (org-babel-execute:sh, org-babel-sh-evaluate):
* lisp/org/ob-scala.el (org-babel-scala-evaluate):
* lisp/org/ob-ruby.el (org-babel-ruby-table-or-string)
(org-babel-ruby-evaluate):
* ob-python.el (org-babel-python-table-or-string)
(org-babel-python-evaluate-external-process)
(org-babel-python-evaluate-session):
* lisp/org/ob-picolisp.el (org-babel-execute:picolisp):
* lisp/org/ob-perl.el (org-babel-perl-evaluate):
* lisp/org/ob-maxima.el (org-babel-execute:maxima):
* lisp/org/ob-lisp.el (org-babel-execute:lisp):
* lisp/org/ob-java.el (org-babel-execute:java):
* lisp/org/ob-io.el (org-babel-io-evaluate):
* ob-haskell.el (org-babel-execute:haskell):
* lisp/org/ob-fortran.el (org-babel-execute:fortran):
* ob-exp.el (org-babel-exp-code):
* lisp/org/ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
* lisp/org/ob-ditaa.el (org-babel-execute:ditaa):
* ob-core.el (org-babel-execute-src-block, org-babel-sha1-hash)
(org-babel-parse-header-arguments, org-babel-reassemble-table)
(org-babel-goto-src-block-head, org-babel-mark-block)
(org-babel-expand-noweb-references, org-babel-script-escape)
(org-babel-process-file-name):
* lisp/org/ob-clojure.el (org-babel-execute:clojure):
* ob-calc.el (org-babel-execute:calc):
* lisp/org/ob-awk.el (org-babel-execute:awk):
* ob-abc.el (org-babel-execute:abc):
* ob-R.el (org-babel-expand-body:R):
* lisp/org/ob-C.el (org-babel-C-execute): Avoid deprecated ((lambda) ...).

11 years agoAdd missing ChangeLog from previous commit
Glenn Morris [Tue, 12 Nov 2013 17:04:19 +0000 (09:04 -0800)]
Add missing ChangeLog from previous commit

11 years agoFix and standardize some copyright and license notices
Glenn Morris [Tue, 12 Nov 2013 17:03:46 +0000 (09:03 -0800)]
Fix and standardize some copyright and license notices

* ob-abc.el: Add year, part of Emacs, standardize license text.

* ob-ebnf.el: Part of Emacs, standardize license text.

* ob-makefile.el: Fix years.

* org-macro.el, ox-beamer.el, ox-latex.el, ox-org.el: Part of Emacs.

* ox-ascii.el, ox-md.el, ox.el: Use range for years, part of Emacs.

* ox-html.el: Part of Emacs.
(org-html-scripts): Add 2013 to copyright years.
(org-html-infojs-template): Set copyright holder to FSF.

* ox-icalendar.el: Part of Emacs, fix years.

* ox-texinfo.el: Copyright to FSF, use range for years.

11 years agolisp/org/ChangeLog: remove references to org-taskjuggler.el
Bastien Guerry [Tue, 12 Nov 2013 16:15:43 +0000 (17:15 +0100)]
lisp/org/ChangeLog: remove references to org-taskjuggler.el

11 years agoRemove org-taskjuggler.el as it's not part of Org 8.2.3a
Bastien Guerry [Tue, 12 Nov 2013 15:45:48 +0000 (16:45 +0100)]
Remove org-taskjuggler.el as it's not part of Org 8.2.3a

11 years agoRemove org-docbook.el, which is not in Org 8.2.3a.
Bastien Guerry [Tue, 12 Nov 2013 14:54:41 +0000 (15:54 +0100)]
Remove org-docbook.el, which is not in Org 8.2.3a.
Fix error in org.texi header.

Thanks to Sean Sieger and Michael Albinus for reporting this.

11 years ago* lisp/progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
Dmitry Gutov [Tue, 12 Nov 2013 14:15:14 +0000 (16:15 +0200)]
* lisp/progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
binary "|" operator and closing block args delimiter.  Remove
FIXME comment referring to Ruby 1.8-only syntax.
(ruby-smie--implicit-semi-p): Not after "|" operator.
(ruby-smie--closing-pipe-p): New function.
(ruby-smie--forward-token, ruby-smie--backward-token): Use it.
(ruby-smie-rules): Indent after "|".

11 years agoFix previous commit: remove files that are not part of Org 8.2.3a anymore
Bastien Guerry [Tue, 12 Nov 2013 13:13:04 +0000 (14:13 +0100)]
Fix previous commit: remove files that are not part of Org 8.2.3a anymore

11 years agoMerge Org version 8.2.3a.
Bastien Guerry [Tue, 12 Nov 2013 13:06:26 +0000 (14:06 +0100)]
Merge Org version 8.2.3a.

11 years ago* ps-print.el (ps-face-attribute-list): Handle anonymous faces
Glenn Morris [Tue, 12 Nov 2013 08:16:50 +0000 (00:16 -0800)]
* ps-print.el (ps-face-attribute-list): Handle anonymous faces

Fixes: debbugs:15827
11 years agoFix doc-string of display-buffer-other-frame. (Bug#15868)
Martin Rudalics [Tue, 12 Nov 2013 07:25:14 +0000 (08:25 +0100)]
Fix doc-string of display-buffer-other-frame.  (Bug#15868)

* window.el (display-buffer-other-frame): Fix doc-string.
(Bug#15868)

11 years ago* xterm.c (syms_of_xterm): staticpro Qalt, Qhyper, Qmeta, and Qsuper.
Paul Eggert [Tue, 12 Nov 2013 06:07:37 +0000 (22:07 -0800)]
* xterm.c (syms_of_xterm): staticpro Qalt, Qhyper, Qmeta, and Qsuper.

This is safer, and it's what w32fns.c does.

11 years ago* xterm.c (syms_of_xterm): staticpro Qmodifier_value.
Paul Eggert [Tue, 12 Nov 2013 03:09:48 +0000 (19:09 -0800)]
* xterm.c (syms_of_xterm): staticpro Qmodifier_value.

11 years ago* configure.ac: test portability fix
Glenn Morris [Tue, 12 Nov 2013 03:01:07 +0000 (19:01 -0800)]
* configure.ac: test portability fix
  (I can never remember whether this is still relevant or not)

11 years agoRemove nt/msysconfig.sh
Dani Moncayo [Tue, 12 Nov 2013 02:50:28 +0000 (18:50 -0800)]
Remove nt/msysconfig.sh

* configure.ac [MINGW32]: Source nt/mingw-cfg.site.

* make-dist: Don't distribute nt/msysconfig.sh.

* nt/msysconfig.sh: Remove.

* nt/INSTALL: Update for this.

* nt/mingw-cfg.site: Comment.

11 years ago* Makefile.in (epaths-force-w32): Simplify w32srcdir computation.
Dani Moncayo [Tue, 12 Nov 2013 02:40:14 +0000 (18:40 -0800)]
* Makefile.in (epaths-force-w32): Simplify w32srcdir computation.

11 years ago* buffer.c (Fforce_mode_line_update): Don't fall off end of function
Paul Eggert [Tue, 12 Nov 2013 01:24:04 +0000 (17:24 -0800)]
* buffer.c (Fforce_mode_line_update): Don't fall off end of function

that requires a return value.
(Fset_buffer_modified_p): Take advantage of this change to do
a tail call.

11 years agoDoc fixes.
Xue Fuqiao [Mon, 11 Nov 2013 22:52:08 +0000 (06:52 +0800)]
Doc fixes.

* doc/lispref/os.texi (User Identification, Time of Day, Time Conversion): Minor fixes.

11 years ago* lisp/subr.el (force-mode-line-update): Delete, move to buffer.c.
Stefan Monnier [Mon, 11 Nov 2013 18:05:47 +0000 (13:05 -0500)]
* lisp/subr.el (force-mode-line-update): Delete, move to buffer.c.
* src/buffer.c (Frestore_buffer_modified_p): Sync it with
Fset_buffer_modified_p.
(Fforce_mode_line_update): New function, moved from subr.el.
(Fset_buffer_modified_p): Use them.
(syms_of_buffer): Defsubr Fforce_mode_line_update.

11 years ago* search.c (find_newline): Rewrite to prefer offsets to pointers.
Paul Eggert [Mon, 11 Nov 2013 16:37:54 +0000 (08:37 -0800)]
* search.c (find_newline): Rewrite to prefer offsets to pointers.

This avoids undefined behavior when subtracting pointers into
different aways.  On my platform it also makes the code a tad
smaller and presumably faster.

11 years ago* automated/tramp-tests.el (tramp-test-temporary-file-directory):
Michael Albinus [Mon, 11 Nov 2013 15:22:57 +0000 (16:22 +0100)]
* automated/tramp-tests.el (tramp-test-temporary-file-directory):
Check $TRAMP_TEST_TEMPORARY_FILE_DIRECTORY.
(tramp-read-passwd): Check $TRAMP_TEST_ALLOW_PASSWORD.
(tramp-test09-insert-file-contents, tramp-test10-write-region):
(tramp-test26-process-file): Add tests.
(tramp-test11-copy-file): Remove debug message.
(tramp-test20-file-modes): Special case, if user is "root".

11 years ago* net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
Michael Albinus [Mon, 11 Nov 2013 15:18:07 +0000 (16:18 +0100)]
* net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
(tramp-sh-handle-file-local-copy): Don't write a message when
saving temporary files.

* net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
both directories are remote.
(tramp-smb-handle-directory-files): Do not return double entries.
Do not expand full file names.
(tramp-smb-handle-insert-directory): Accept nil SWITCHES.
(tramp-smb-handle-write-region): Implement APPEND.
(tramp-smb-get-stat-capability): Fix a stupid bug.

11 years ago* lisp/bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
Stefan Monnier [Mon, 11 Nov 2013 05:18:53 +0000 (00:18 -0500)]
* lisp/bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
* src/keyboard.c (command_loop_1): Use region-extract-function.
* src/insdel.c (Qregion_extract_function): Not static any more (can we
stop pretending that these vars can benefit from being marked static?).

11 years ago* lisp/emacs-lisp/cconv.el (cconv-convert): Print warning instead of
Nathan Trapuzzano [Mon, 11 Nov 2013 04:55:39 +0000 (23:55 -0500)]
* lisp/emacs-lisp/cconv.el (cconv-convert): Print warning instead of
throwing error over malformed let/let*.

Fixes: debbugs:15814
11 years ago* lisp/iswitchb.el (iswitchb-mode): Mark obsolete.
Stefan Monnier [Mon, 11 Nov 2013 04:50:56 +0000 (23:50 -0500)]
* lisp/iswitchb.el (iswitchb-mode): Mark obsolete.

11 years ago* make-dist: Comment
Glenn Morris [Mon, 11 Nov 2013 01:00:03 +0000 (17:00 -0800)]
* make-dist: Comment

11 years agoUpdate from Unicode 6.2.0 to 6.3.0
Glenn Morris [Mon, 11 Nov 2013 00:58:13 +0000 (16:58 -0800)]
Update from Unicode 6.2.0 to 6.3.0

Note: I used Emacs 24.3 to generate the uni-*.el files, owing to
unexplained (possibly harmless) differences that the current trunk's
use of lexical-binding for subr.el causes.  Ref:
http://debbugs.gnu.org/15825#29

* admin/unidata/BidiMirroring.txt, admin/unidata/UnicodeData.txt:
Update to 6.3.0.

* lisp/international/uni-bidi.el, lisp/international/uni-category.el:
* lisp/international/uni-name.el, lisp/international/uni-numeric.el:
Regenerate.

11 years ago* admin/unidata/unidata-gen.el (unidata-gen-files): Tweak whitespace
Glenn Morris [Mon, 11 Nov 2013 00:50:52 +0000 (16:50 -0800)]
* admin/unidata/unidata-gen.el (unidata-gen-files): Tweak whitespace
in generated files.

11 years ago* keymaps.texi (Tool Bar): Mention that Gtk+/NS ignores item 1 to 3.
Jan Djärv [Sun, 10 Nov 2013 12:18:03 +0000 (13:18 +0100)]
* keymaps.texi (Tool Bar): Mention that Gtk+/NS ignores item 1 to 3.

11 years ago* net/tramp.el (tramp-methods):
Michael Albinus [Sun, 10 Nov 2013 08:35:04 +0000 (09:35 +0100)]
* net/tramp.el (tramp-methods):
* net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2013-10-29T02:50:24Z!dancol@dancol.org.

11 years agoFix bug #15841 with missing line numbers in linum-mode.
Eli Zaretskii [Sat, 9 Nov 2013 21:24:10 +0000 (23:24 +0200)]
Fix bug #15841 with missing line numbers in linum-mode.

 src/search.c (find_newline): If buffer text is relocated during the
 "dumb loop", adjust C pointers into buffer text to follow suit.

11 years ago* gtkutil.c (xg_check_special_colors): Use rgb: instead of rgbi:
Jan Djärv [Sat, 9 Nov 2013 11:19:53 +0000 (12:19 +0100)]
* gtkutil.c (xg_check_special_colors): Use rgb: instead of rgbi:
for conversion.

Fixes: debbugs:15837
11 years agoFix bug #15841 with cache-long-scans, linum-mode, and non-ASCII chars.
Eli Zaretskii [Sat, 9 Nov 2013 11:12:33 +0000 (13:12 +0200)]
Fix bug #15841 with cache-long-scans, linum-mode, and non-ASCII chars.

 src/fileio.c (Finsert_file_contents): Invalidate the newline cache
 for the entire range of inserted characters.

11 years ago* progmodes/sh-script.el (sh-font-lock-keywords-var): Force
Andreas Schwab [Sat, 9 Nov 2013 10:49:42 +0000 (11:49 +0100)]
* progmodes/sh-script.el (sh-font-lock-keywords-var): Force
highlighting text after Summary keyword in doc face for rpm.

11 years agoAdd an cross-reference.
Xue Fuqiao [Sat, 9 Nov 2013 07:19:16 +0000 (15:19 +0800)]
Add an cross-reference.

* doc/lispref/os.texi (Command-Line Arguments): Add cross-reference
  for `dump-emacs'.

11 years ago* doc/lispref/os.texi (Startup Summary): Typo fix.
Xue Fuqiao [Sat, 9 Nov 2013 05:38:28 +0000 (13:38 +0800)]
* doc/lispref/os.texi (Startup Summary): Typo fix.

11 years ago* doc/lispref/os.texi (Startup Summary): Add an index about startup screen.
Xue Fuqiao [Sat, 9 Nov 2013 02:36:46 +0000 (10:36 +0800)]
* doc/lispref/os.texi (Startup Summary): Add an index about startup screen.

11 years ago* lisp/textmodes/ispell.el (ispell-lookup-words): When `look' is not
Dmitry Gutov [Sat, 9 Nov 2013 01:12:25 +0000 (03:12 +0200)]
* lisp/textmodes/ispell.el (ispell-lookup-words): When `look' is not
available and the word has no wildcards, append one to the grep
pattern.
http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
(ispell-complete-word): Call `ispell-lookup-words' with the value
independent of `ispell-look-p'.

11 years ago* nt/mingw-cfg.site: No need for this to be executable.
Glenn Morris [Sat, 9 Nov 2013 00:33:41 +0000 (19:33 -0500)]
* nt/mingw-cfg.site: No need for this to be executable.

11 years ago* admin/unidata/unidata-gen.el (unidata-gen-files):
Glenn Morris [Sat, 9 Nov 2013 00:12:56 +0000 (19:12 -0500)]
* admin/unidata/unidata-gen.el (unidata-gen-files):
Fix deletion of existing output files after 2013-10-30 changes.

11 years ago* lisp/progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
Dmitry Gutov [Fri, 8 Nov 2013 23:59:56 +0000 (01:59 +0200)]
* lisp/progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
Not after "||".
(ruby-smie-rules): Indent non-hanging "begin" blocks as part of
their parent.

11 years ago* lisp/progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
Stefan Monnier [Fri, 8 Nov 2013 22:53:41 +0000 (17:53 -0500)]
* lisp/progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
(ruby-font-lock-keywords): Use backquote.

11 years ago* lisp/progmodes/ruby-mode.el (ruby-mode-set-encoding):
Bozhidar Batsov [Fri, 8 Nov 2013 21:41:25 +0000 (23:41 +0200)]
* lisp/progmodes/ruby-mode.el (ruby-mode-set-encoding):
Fix incorrect case conditions.

11 years ago* lisp/progmodes/ruby-mode.el (ruby-smie--forward-token)
Dmitry Gutov [Fri, 8 Nov 2013 21:23:11 +0000 (23:23 +0200)]
* lisp/progmodes/ruby-mode.el (ruby-smie--forward-token)
(ruby-smie--backward-token): Only consider full-string matches.

11 years ago* lisp/faces.el (describe-face): Add distant-foreground.
Jan Djärv [Fri, 8 Nov 2013 17:26:03 +0000 (18:26 +0100)]
* lisp/faces.el (describe-face): Add distant-foreground.

* src/xfaces.c (lface_fully_specified_p): Let distant-foreground be
unspecified.
(realize_default_face): Remove assignment to distant-foreground if
unspecified.

Fixes: debbugs:15815
11 years agoMerge from gnulib.
Paul Eggert [Fri, 8 Nov 2013 16:24:40 +0000 (08:24 -0800)]
Merge from gnulib.

This incorporates:
2013-11-08 extern-inline: port better to OS X 10.9
2013-11-08 fpending: fix regression on DragonFly BSD
* lib/fpending.h, m4/extern-inline.m4, m4/fpending.m4:
Update from gnulib.

11 years ago* lisp/progmodes/ruby-mode.el (ruby-mode-set-encoding): Use
Bozhidar Batsov [Fri, 8 Nov 2013 16:01:55 +0000 (18:01 +0200)]
* lisp/progmodes/ruby-mode.el (ruby-mode-set-encoding): Use
`ruby-encoding-magic-comment-style' to control the
style of the auto-inserted encoding comment.

11 years ago* lisp/progmodes/ruby-mode.el (ruby-smie--indent-to-stmt): Use
Dmitry Gutov [Fri, 8 Nov 2013 11:22:52 +0000 (13:22 +0200)]
* lisp/progmodes/ruby-mode.el (ruby-smie--indent-to-stmt): Use
`smie-backward-sexp' with token argument.

11 years agoDocumentation followup to last commit.
Eli Zaretskii [Fri, 8 Nov 2013 10:27:15 +0000 (12:27 +0200)]
Documentation followup to last commit.

 doc/lispref/display.texi (Truncation): Document that cache-long-scans is now
 non-nil by default.  (Bug#15797)

11 years agoSwitch cache-long-scans to t by default.
Eli Zaretskii [Fri, 8 Nov 2013 10:21:35 +0000 (12:21 +0200)]
Switch cache-long-scans to t by default.

 src/xdisp.c (message_dolog): Make sure the *Messages* buffer has its
 cache-long-scans disabled, since we don't want to call
 prepare_to_modify_buffer (in insert_1_both) for each message we
 display.
 src/buffer.h (bset_cache_long_scans): New INLINE function, moved
 from buffer.c.  Improve commentary to the buffer field setter
 functions.
 src/buffer.c (bset_cache_long_scans): Static function deleted.
 Improve commentary to the buffer field setter functions.
 (init_buffer_once): Default for cache-long-scans changed to t.
 (Bug#15797)

11 years ago* net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
Michael Albinus [Fri, 8 Nov 2013 09:31:50 +0000 (10:31 +0100)]
* net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
Remove instrumentation code.

11 years ago* automated/file-notify-tests.el:
Michael Albinus [Fri, 8 Nov 2013 09:31:15 +0000 (10:31 +0100)]
* automated/file-notify-tests.el:
* automated/tramp-tests.el: Add `tramp-own-remote-path' to
`tramp-remote-path' when running on hydra.
(tramp-test07-file-exists-p): Remove instrumentation code.
(tramp-test26-process-file): Don't use "/bin/true" and
"/bin/false", these paths do not exist on hydra.

11 years agoFix a typo in (epa) Encrypting/decrypting *.gpg files
Alex Schroeder [Fri, 8 Nov 2013 08:49:40 +0000 (09:49 +0100)]
Fix a typo in (epa) Encrypting/decrypting *.gpg files

11 years agoAdd missing ChangeLog entry from 2013-06-05T01:58:43Z!monnier@iro.umontreal.ca
Glenn Morris [Fri, 8 Nov 2013 08:22:50 +0000 (00:22 -0800)]
Add missing ChangeLog entry from 2013-06-05T01:58:43Z!monnier@iro.umontreal.ca
http://lists.gnu.org/archive/html/emacs-diffs/2013-06/msg00043.html

11 years ago* automated/tramp-tests.el: Add `tramp-own-remote-path' to `tramp-remote-path'.
Michael Albinus [Fri, 8 Nov 2013 07:52:28 +0000 (08:52 +0100)]
* automated/tramp-tests.el: Add `tramp-own-remote-path' to `tramp-remote-path'.

11 years ago* lisp/progmodes/autoconf.el (autoconf-mode): Tweak comment-start-skip.
Glenn Morris [Fri, 8 Nov 2013 07:36:54 +0000 (23:36 -0800)]
* lisp/progmodes/autoconf.el (autoconf-mode): Tweak comment-start-skip.
See also http://debbugs.gnu.org/10033

Fixes: debbugs:15822
11 years ago* chartab.c (make_sub_char_table): Fix size typo.
Paul Eggert [Fri, 8 Nov 2013 07:28:21 +0000 (23:28 -0800)]
* chartab.c (make_sub_char_table): Fix size typo.

This bug was introduced in my 2013-06-21 change, and caused
struct Lisp_Sub_Char_Table objects to be given too many slots,
which broke 'make -C admin/unidata'.

Fixes: debbugs:15825
11 years agoRename test/automated/sentinel-tests.el to process-tests.el
Stefan Monnier [Fri, 8 Nov 2013 04:40:51 +0000 (23:40 -0500)]
Rename test/automated/sentinel-tests.el to process-tests.el

11 years ago* lisp/progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
Stefan Monnier [Fri, 8 Nov 2013 04:33:32 +0000 (23:33 -0500)]
* lisp/progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
at bobp.
(sh-smie--sh-keyword-in-p): Recognize keywords at bobp.

Fixes: debbugs:15826
11 years ago* lisp/man.el (Man-start-calling): New macro, extracted from
Darren Hoo [Fri, 8 Nov 2013 04:09:56 +0000 (23:09 -0500)]
* lisp/man.el (Man-start-calling): New macro, extracted from
Man-getpage-in-background.
(Man-getpage-in-background): Use it.
(Man-update-manpage): New command.
(Man-mode-map): Bind it.

11 years ago* indent/ruby.rb: New example
Dmitry Gutov [Fri, 8 Nov 2013 03:30:24 +0000 (05:30 +0200)]
* indent/ruby.rb: New example

11 years ago* test/automated/sentinel-tests.el: New file.
Helmut Eller [Fri, 8 Nov 2013 03:28:19 +0000 (22:28 -0500)]
* test/automated/sentinel-tests.el: New file.