1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 23:31:55 -08:00
Commit graph

113852 commits

Author SHA1 Message Date
Glenn Morris
eca4ecbaae * make-dist: Distribute build-aux/msys-to-w32. 2013-11-19 20:50:37 -05:00
Dani Moncayo
e976486e7f * Makefile.in (msys_to_w32, msys_lisppath_to_w32): Remove.
(msys_w32prefix_subst): Rename from msys_prefix_subst.
Operate on w32prefixpattern.
(epaths-force-w32): Use build-aux/msys-to-w32.

* build-aux/msys-to-w32: New file.
2013-11-19 20:48:50 -05:00
Dan Nicolaescu
826dc7b6b1 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
when rebase or bisect are in progress.
2013-11-19 15:23:53 -05:00
Xue Fuqiao
a6e3a5d5d5 Doc fixes.
* lisp/filenotify.el (file-notify-add-watch): Refine doc string.

* doc/lispref/os.texi (File Notifications): Add an index.

* doc/lispref/loading.texi (Loading): Add an cross-reference.
2013-11-19 17:47:02 +08:00
Leo Liu
e0855d7de9 * obsolete/rcompile.el: Mark obsolete. 2013-11-19 16:59:53 +08:00
Paul Eggert
12455b2fcb * charset.c (syms_of_charset): Don't read past end of string. 2013-11-19 00:57:22 -08:00
Leo Liu
f130cb76b8 * window.el (display-buffer-alist, display-buffer): Document the
new parameter no-display-ok.

* progmodes/compile.el (compilation-start)
(compilation-goto-locus, compilation-find-file): Pass
no-display-ok and handle nil value from display-buffer.

Fixes: debbugs:13594
2013-11-19 10:34:04 +08:00
Glenn Morris
8d1c3af987 * src/frame.c (Fhandle_focus_in, Fhandle_focus_out): Doc fixes. 2013-11-18 21:32:26 -05:00
Glenn Morris
f88ac3bb91 * etc/NEWS: Placeholder. 2013-11-18 21:26:34 -05:00
Brian Jenkins
8e01570501 Add hooks to run on gaining/losing focus (tiny change)
* src/frame.c (Qfocus_in_hook, Qfocus_out_hook): New static lisp objects.
(Fhandle_focus_in, Fhandle_focus_out): Run focus hooks.
(syms_of_frame): Add focus-in-hook, focus-out-hook.

Fixes: debbugs:15029
2013-11-18 21:23:50 -05:00
Xue Fuqiao
4ae3802fbf Add some indexes and a cross-reference.
* doc/lispref/os.texi (Session Management, Desktop Notifications): Add
some indexes and a cross-reference.
2013-11-19 06:53:47 +08:00
Paul Eggert
23e79746d1 * data.c (bool_vector_binop_driver): Rename locals for sanity's sake.
The old names predated the API change that put destination at end.
2013-11-18 11:31:05 -08:00
Paul Eggert
ec2c4ee6d2 Improve API of recently-added bool vector functions.
The old API had (bool-vector-count-matches A B)
and (bool-vector-count-matches-at A B I), which gave the
misleading impression that the two functions were variants, one
with a location I.  The new API has (bool-vector-count-population A)
and (bool-vector-count-consecutive A B I) to make the distinction
clearer.  The first function no longer has a B argument, since the
caller can easily determine the number of nils if the length and
number of ts is known.
* src/data.c (Fbool_vector_count_population): Rename from
bool_vector_count_matches, and accept just 1 argument.
(Fbool_vector_count_consecutive): Rename from
Fbool_vector_count_matches_at.
* test/automated/data-tests.el: Adjust to API changes.

Fixes: debbugs:15912
2013-11-18 10:56:42 -08:00
Paul Eggert
87d8660102 Always allocate at least one bits_word per bool vector.
See Daniel Colascione in:
http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00518.html
* alloc.c (make_uninit_bool_vector): Always allocate at least one word.
* data.c (bool_vector_binop_driver): Rely on this.  Tune.
* lisp.h (struct Lisp_Bool_vector): Document this.
2013-11-18 10:37:25 -08:00
Eli Zaretskii
37c790b385 Fix bug #15841 with assertion violations due to newline cache.
src/insdel.c (invalidate_buffer_caches): New function, consolidated
 from part of prepare_to_modify_buffer.
 (insert_from_gap, prepare_to_modify_buffer):
 src/coding.c (code_convert_region, code_convert_string): Call
 invalidate_buffer_caches.
 src/lisp.h (invalidate_buffer_caches): Add prototype.
2013-11-18 18:29:49 +02:00
Leo Liu
f2cbfd4442 * NEWS: Mention new features for Octave mode. 2013-11-18 10:27:12 +08:00
Stefan Monnier
25158c76b2 * lisp/electric.el (electric-indent-mode-map): Remove.
(electric-indent-mode): Change the global-map instead.

Fixes: debbugs:15915
2013-11-17 21:01:34 -05:00
Stefan Monnier
1f35d401ba * lisp/textmodes/text-mode.el (paragraph-indent-minor-mode): Use add-function. 2013-11-17 20:48:46 -05:00
Stefan Monnier
986545b57f * lisp/emacs-lisp/nadvice.el (remove-function): Align with
add-function's behavior.
2013-11-17 18:11:27 -05:00
Stefan Monnier
9bc67baa5a * lisp/progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
(gdb--string-regexp): New constant.
(gdb-tooltip-print, gdb-var-evaluate-expression-handler)
(gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
(gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
submatch 1.
(gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
Adjust use accordingly.
(gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2013-11-17 18:01:23 -05:00
Xue Fuqiao
de586f99e9 Minor doc fixes.
* doc/lispref/os.texi (Time Parsing):
(Processor Run Time, Input Modes, Terminal Output): Minor fixes.
2013-11-18 06:30:44 +08:00
Adam Sokolnicki
56cd894e90 * lisp/progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
interpolation curlies.

Fixes: debbugs:15914
2013-11-17 23:39:13 +02:00
Eli Zaretskii
96e78d1fb3 Fix bug #15913 with disappearing mouse highlight on MS-Windows.
src/w32term.c (x_update_window_end): Don't invalidate the entire
 mouse-highlight info, just signal frame_up_to_date_hook that mouse
 highlight needs to be redisplayed.
2013-11-17 23:02:09 +02:00
Glenn Morris
1bf65cadc7 * etc/TODO: Addition. 2013-11-17 11:34:36 -08:00
Paul Eggert
d138982874 Spelling fixes.
* lisp/org/ob-python.el (org-babel-python-with-earmuffs):
Rename from org-babel-python-with-earmufs.  All uses changed.
(org-babel-python-without-earmuffs):
Rename from org-babel-python-without-earmufs.  All uses changed.
2013-11-16 23:51:24 -08:00
Jay Belanger
014690de70 * calc/calc.el (calc-context-sensitive-enter): New variable.
(calc-enter): Use `calc-context-sensitive-enter'.

* doc/misc/calc.texi (Customizing Calc): Mention the new variable
  `calc-context-sensitive-enter'.
2013-11-16 22:22:24 -06:00
Paul Eggert
0f679e866c * configure.ac (DEBUGGER_SEES_C_MACROS): Remove.
* src/lisp.h (DEBUGGER_SEES_C_MACROS): Likewise.
It apparently doesn't work for GCC 3, and I suppose it's more
trouble than it's worth to worry about this.
2013-11-16 19:58:30 -08:00
Ted Zlatanov
7e26a6c339 Add CFEngine 3 ElDoc, completion, and compilation glue to cf-promises.
* progmodes/cfengine.el: Version bump.
(cfengine-cf-promises): New defcustom to locate cf-promises.
(cfengine3-vartypes): Add new "data" type.
(cfengine3--current-word): New function to get current name-like
word or its bounds.
(cfengine3--current-function): New function to look up a CFEngine
function's definition.
(cfengine3-format-function-docstring): New function.
(cfengine3-make-syntax-cache): New function.
(cfengine3-documentation-function): New function: ElDoc glue.
(cfengine3-completion-function): New function: completion glue.
(cfengine3-mode): Set `compile-command',
`eldoc-documentation-function', and add to
`completion-at-point-functions'.
2013-11-16 17:36:14 -05:00
Barry O'Reilly
86eaab8920 Fix ChangeLog in last commit. 2013-11-16 15:30:18 -05:00
Barry O'Reilly
2bde2cf143 * semantic/fw.el (semantic-exit-on-input)
(semantic-throw-on-input): Restore point before
accept-process-output because timers which redisplay can run.
(Bug#15045)
2013-11-16 15:27:24 -05:00
Michael Albinus
0010ca514d * automated/tramp-tests.el (tramp-test07-file-exists-p)
(tramp-test08-file-local-copy)
(tramp-test09-insert-file-contents, tramp-test10-write-region)
(tramp-test11-copy-file, tramp-test12-rename-file)
(tramp-test13-make-directory, tramp-test14-delete-directory)
(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): Cleanup connection initially.
2013-11-16 12:46:37 +01:00
Michael Albinus
355204ddd5 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
`tramp-current-connection'.
2013-11-16 12:37:45 +01:00
Eli Zaretskii
d17f4dba9c 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
2013-11-16 12:23:09 +02:00
Eli Zaretskii
3d6dec8d1e 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.
2013-11-16 11:27:19 +02:00
Dmitry Gutov
43cebc237c * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
nil/self/true/false with "end of symbol".
2013-11-15 20:09:10 +02:00
Paul Eggert
2fcc742fc5 * 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.
2013-11-15 10:01:04 -08:00
Michael Albinus
82407168e6 * automated/tramp-tests.el (tramp-test29-utf8): Cleanup the
connection before running the test.  Reenable last test case.
2013-11-15 14:49:17 +01:00
Bozhidar Batsov
a3fed6ffab * lisp/subr.el (version-regexp-alist): Fix a typo. 2013-11-15 12:02:13 +02:00
Michael Albinus
8e4af24017 * automated/tramp-tests.el (tramp-test29-utf8): Comment last test
case, it fails in batch mode.  Needs further investigations.
2013-11-15 09:28:42 +01:00
Eli Zaretskii
73583a9978 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.
2013-11-15 10:18:37 +02:00
Michael Albinus
3cd4192f84 * 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.
2013-11-15 09:03:19 +01:00
Michael Albinus
e675b3e452 * 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".
2013-11-15 08:37:18 +01:00
Leo Liu
a1f03e8916 * lisp/loadhist.el (read-feature): Get rid of fake feature nil.
* src/minibuf.c (Ftry_completion, Fall_completions)
(Ftest_completion): Use FUNCTIONP.  (Bug#15889)
2013-11-15 14:52:40 +08:00
Paul Eggert
1a191e5c73 * 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.
2013-11-14 17:59:57 -08:00
Jan Tatarik
8ef7141bbe 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 2013-11-15 00:07:54 +00:00
Christopher Schmidt
5836266237 Add bug reference to previous commit. 2013-11-14 21:30:11 +01:00
Stefan Monnier
5d9d9451d3 * lisp/progmodes/gud.el (ctl-x-map): Remove C-x SPC binding.
(gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2013-11-14 15:20:11 -05:00
Kazuhiro Ito
c9f630705d 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.
2013-11-14 19:43:49 +02:00
Bozhidar Batsov
0d5363c4cd * lisp/subr.el (version-regexp-alist):
Recognize hg, svn and darcs versions as snapshot versions.
2013-11-14 19:07:03 +02:00
Bozhidar Batsov
99f5d0744e * lisp/progmodes/ruby-mode.el (ruby-mode-set-encoding):
Fix and simplify encoding comment update logic.
2013-11-14 14:39:41 +02:00