1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-05 20:43:08 +00:00

113892 Commits

Author SHA1 Message Date
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
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