1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-17 10:06:13 +00:00
Commit Graph

113902 Commits

Author SHA1 Message Date
Romain Francoise
1db72ad330 Really initialize `write_region_inhibit_fsync' when interactive.
* fileio.c (init_fileio): Move `write_region_inhibit_fsync'
initialization here ...
(syms_of_fileio): ... from here.
2013-11-23 12:32:05 +01:00
Glenn Morris
40dd812fa3 Revert previous python.el change 2013-11-22 20:20:31 -08:00
Stefan Monnier
2c98e669ef * src/lread.c (init_lread): Fix int/Lisp_Object mixup.
Please use --enable-check-lisp-object-type.
2013-11-22 22:23:20 -05:00
Jorgen Schaefer
09b0f3d9cf * lisp/progmodes/python.el (python-shell--save-temp-file): Tiny change
Delete temp-file when done.

Fixes: debbugs:15647
2013-11-22 19:13:16 -08:00
Glenn Morris
50dca5dfd6 * src/process.c (get_process): Explicit error for dead buffers
That seems more in keeping with the existing behavior of this function
in other situations.
2013-11-22 18:58:28 -08:00
Ivan Shmakov
e1b01c7fed * vc/diff-mode.el (diff-mode): Tiny change re diff-default-read-only
Only allow diff-default-read-only to set buffer-read-only to t, never to nil.

Fixes: debbugs:15938
2013-11-22 18:55:17 -08:00
Ivan Shmakov
c27924b794 * textmodes/tex-mode.el (latex-noindent-environments): Add safe-local-variable
property.

Fixes: debbugs:15936
2013-11-22 18:46:20 -08:00
Glenn Morris
d7aff0d692 Merge from emacs-24; up to 2013-01-03T02:37:57Z!rgm@gnu.org 2013-11-22 18:24:50 -08:00
Glenn Morris
92f78ea3d1 * etc/enriched.txt: Rename from enriched.doc.
Misc small updates for this hardly being "new" any more.

* lisp/textmodes/enriched.el (enriched-mode): Doc fix.

* lisp/emacs-lisp/authors.el (authors-renamed-files-alist):
Add enriched.doc -> enriched.txt.

Fixes: debbugs:15947
2013-11-22 18:21:51 -08:00
Glenn Morris
17e0445be4 Empty elements in EMACSLOADPATH now stand for the default
* src/lread.c (load_path_check): Take path to check as argument.
(load_path_default): New, split from init_lread.
(init_lread): Move calc of default load-path to load_path_default.
Empty elements in EMACSLOADPATH now stand for the default.
(load-path): Doc fix.

* src/emacs.c (decode_env_path): Add option to treat empty elements
as nil rather than ".".

* src/callproc.c (init_callproc_1, init_callproc):
* src/image.c (Vx_bitmap_file_path):
* src/lisp.h (decode_env_path):
* lread.c (Vsource_directory):
Update for new argument spec of decode_env_path.

* leim/Makefile.in (RUN_EMACS): Empty EMACSLOADPATH rather than unsetting.

* lisp/Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.

* test/automated/Makefile.in (emacs):
Empty EMACSLOADPATH rather than unsetting.

* doc/emacs/cmdargs.texi (General Variables):
Empty elements in EMACSLOADPATH now mean the default load-path.

* doc/lispref/loading.texi (Library Search):
Empty elements in EMACSLOADPATH now mean the default load-path.

* etc/NEWS: Mention this.

Fixes: debbugs:12100
2013-11-22 17:55:16 -08:00
Glenn Morris
72648ef260 ChangeLog fix (Gnus's lpath.el is not in Emacs) 2013-11-22 15:18:16 -05:00
Eli Zaretskii
cd88d68262 Fix bug #15951 with vertical-motion near beginning of narrowed region.
src/bidi.c (bidi_find_paragraph_start): Limit the returned positions
 to BEGV_BYTE..ZV_BYTE range.
2013-11-22 18:04:49 +02:00
Leo Liu
965bb23acf * progmodes/octave.el (inferior-octave-startup): Spit out error
message.
2013-11-22 22:17:48 +08:00
Bozhidar Batsov
15ba218206 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template),
(ruby-encoding-magic-comment-style): Add :version.
2013-11-22 14:36:38 +02:00
Bozhidar Batsov
d19ffd647d * lisp/progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
Improve docstring.
2013-11-22 14:28:23 +02:00
Bozhidar Batsov
3065465703 Add missing ChangeLog entries 2013-11-22 13:02:26 +02:00
Bozhidar Batsov
7a12a42be5 Add missing ChangeLog entry 2013-11-22 12:50:37 +02:00
Leo Liu
2cc18f9382 * progmodes/octave.el (octave-kill-process): Don't ask twice
Fixes: debbugs:10564
2013-11-22 17:50:41 +08:00
Leo Liu
8c09f64b76 * progmodes/octave.el (octave-help-mode): Adapt to change to
help-mode-finish to use derived-mode-p on 2013-09-17.
(inferior-octave-prompt): Also match octave-gui.
2013-11-22 16:09:40 +08:00
Glenn Morris
48592bfdf5 * automated/ruby-mode-tests.el (ruby-exit!-font-lock): Set expected-result. 2013-11-21 19:08:31 -08:00
Glenn Morris
88fa559d27 * doc/lispref/loading.texi (Library Search): Minor clarification. 2013-11-21 18:59:02 -08:00
Leo Liu
7a7567d2be * progmodes/octave.el (octave-operator-regexp): Exclude newline.
Fixes: debbugs:15076
2013-11-22 10:32:35 +08:00
Leo Liu
724bc26587 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
(inferior-octave-startup, inferior-octave-check-process)
(inferior-octave-track-window-width-change)
(octave-completion-at-point, octave-eldoc-function): Use it.
(octave-kill-process): Provide confirmation.

Fixes: debbugs:10564
2013-11-22 10:02:42 +08:00
Jan Tatarik
680f4ae6ba lisp/gnus/gnus-icalendar.el: Fix org-timestamp for events ending at midnight; RSVP handling 2013-11-21 22:55:59 +00:00
Ivan Shmakov
1cf525ad72 lisp/gnus/nndoc.el (nndoc-type-alist, nndoc-debbugs-db-type-p): Support debbugs .log files 2013-11-21 22:15:30 +00:00
Eli Zaretskii
2e8245cec1 Correct an utdated reference to M-g in enriched.doc. 2013-11-21 21:22:42 +02:00
Leo Liu
38637ccae6 * progmodes/octave.el (octave-mode, inferior-octave-mode): Fix
obsolete variable comment-use-global-state.
2013-11-22 01:33:30 +08:00
Paul Eggert
4e8b693819 Use just LIBXMENU, not LIBXMENU_DIR and LIBXMENU_BASE.
This simplifies the previous change to configure.ac and src/Makefile.in.
2013-11-21 09:26:55 -08:00
Rüdiger Sonderfeld
06e752b48f * progmodes/octave.el (octave-mode-map, octave-mode-menu): Add
`octave-source-file'.
(octave-source-file): New function.

Fixes: debbugs:15935
2013-11-22 01:18:25 +08:00
Ted Zlatanov
604ede6c07 net/eww.el: Detect localhost and similar patterns. 2013-11-21 11:41:35 -05:00
Leo Liu
2021a20053 * pcmpl-x.el (pcmpl-x-ag-options): Handle `[no]' in long options. 2013-11-22 00:30:14 +08:00
Leo Liu
b6ffa04a65 Add completion for command `ag'.
* pcmpl-x.el (pcomplete/ag, pcmpl-x-ag-options): New functions.
(pcmpl-x-ag-options): New variable.
2013-11-21 22:15:44 +08:00
Paul Eggert
7e8ed4f7f9 Fix some dependency problems that cause unnecessary recompiles.
Problem reported by RMS in
<http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00421.html>.
* configure.ac (OLDXMENU_TARGET, OLDXMENU, LIBXMENU, OLDXMENU_DEPS):
Remove.
(LIBXMENU_DIR, LIBXMENU_BASE): New vars.
* src/Makefile.in (OLDXMENU_TARGET, OLDXMENU, OLDXMENU_DEPS)
(really-lwlib, really-oldXMenu, stamp-oldxmenu)
(../src/$(OLDXMENU), $(OLDXMENU)): Remove.
(LIBXMENU_DIR, LIBXMENU_BASE): New macros.
(LIBXMENU): Use them.
(temacs$(EXEEXT)): Depend on $(LIBXMENU), not stamp-oldxmenu.
($(lwlibdir)/liblw.a, $(oldXMenudir)/libXMenu11.a, FORCE): New targets.
(boostrap-clean): No need to remove stamp-oldxmenu.
2013-11-20 23:50:57 -08:00
Paul Eggert
75360f19c3 Fix recently introduced bool vector overrun.
This was due to an optimization that went awry.
Reported by Glenn Morris in
<http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00622.html>.
* alloc.c (make_uninit_bool_vector): Don't allocate a dummy word
for empty vectors, undoing the 2013-11-18 change.
* data.c (bool_vector_binop_driver): Rely on this.
Fix bug that occasionally overran the destination.
* lisp.h (struct Lisp_Bool_vector): Document this.
2013-11-20 22:46:59 -08:00
Stefan Monnier
d1a6bccc99 * lisp/emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec.
(make-obsolete): Remove interactive spec.

Fixes: debbugs:14646
2013-11-20 21:46:00 -05:00
Glenn Morris
29660b6b98 * test/automated/Makefile.in: Tweak previous change 2013-11-20 20:31:33 -05:00
Glenn Morris
009111d66f * test/automated/Makefile.in (XARGS_LIMIT): New, set by configure.
(compile-main): Pass XARGS_LIMIT to xargs.

(Cargo-culted from lisp/Makefile.in.)
2013-11-20 19:26:05 -05:00
Glenn Morris
2df102287e Use path-separator with -L, rather than just :
* lisp/startup.el (command-line-1): Use path-separator with -L.

* test/automated/Makefile.in (PATH_SEPARATOR): New, set by configure.
(EMACSOPT): Use PATH_SEPARATOR.

* doc/emacs/cmdargs.texi (Action Arguments): Use path-separator with -L.

* etc/NEWS: Related edit.
2013-11-20 19:21:50 -05:00
Ted Zlatanov
86fd16b6b4 * emacs-lisp/package.el (describe-package-1): Add package archive. 2013-11-20 16:01:00 -05:00
Jan Djärv
cab0d91dfb * nsterm.m (init, run, stop:): Enable again. stop calls super stop
to handle dialogs.
2013-11-20 19:33:12 +01:00
Jan Djärv
f03f7d3dc0 * nsterm.m (init, run, stop:): Comment out for now, does not work with dialogs. 2013-11-20 14:03:43 +01:00
Bozhidar Batsov
1959436678 * test/automated/ruby-mode-tests.el:
Add a few tests for `ruby--insert-coding-comment'.
2013-11-20 13:51:12 +02:00
Bozhidar Batsov
2d16124303 * test/automated/ruby-mode-tests.el:
Add a failing test for bug #15874.
2013-11-20 13:01:31 +02:00
Bozhidar Batsov
638af3a10f * lisp/progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
Change default to "# encoding: %s" to differentiate it from the
default Ruby encoding comment template.
2013-11-20 12:52:07 +02:00
era eriksson
0ec16636be * doc/misc/ses.texi (Quick Tutorial): New chapter.
(The Basics, Formulas): Copyedits.
(Resizing, Printer functions): Add index entries.

Fixes: debbugs:14748
2013-11-20 00:52:15 -08:00
era eriksson
dc7e8c171f * lisp/ses.el (ses-mode): Doc fix.
Fixes: debbugs:14748
2013-11-20 00:16:20 -08:00
Dave Goldberg
cdd3286fd3 lisp/gnus/message.el (message-beginning-of-line): Use beginning-of-visual-line when visual-line-mode is turned on 2013-11-20 04:25:37 +00:00
Xue Fuqiao
fd5fb2f4fd Remove a FIXME. 2013-11-20 10:52:35 +08:00
Leo Liu
f0cfa5feab * doc/lispref/windows.texi (Choosing Window): Mention `no-display-ok'.
* etc/NEWS: Mention new display action alist entry `no-display-ok'.
(Bug#13594)

* lisp/window.el (display-buffer-alist): Doc fix.  (Bug#13594)
2013-11-20 10:44:38 +08:00
Glenn Morris
eca4ecbaae * make-dist: Distribute build-aux/msys-to-w32. 2013-11-19 20:50:37 -05:00