1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-23 22:20:24 -08:00
Commit graph

60375 commits

Author SHA1 Message Date
Glenn Morris
0bf3f0fadf * lisp/progmodes/python.el (python-indent-guess-indent-offset):
Avoid corner-case error.

Fixes: debbugs:15975
2013-11-25 22:15:49 -05:00
Glenn Morris
624780f09d Preload leim-list.el
* Makefile.in (abs_builddir): New, set by configure.
(buildlisppath): Add leim/.
(epaths-force-w32): Set BLD.

* lisp/loadup.el: Load leim-list.el when found.

* lisp/startup.el (normal-top-level): Skip re-loading leim/leim-list.el.

* nt/epaths.nt (PATH_DUMPLOADSEARCH): Add leim/.

* src/callproc.c (init_callproc): Don't assume PATH_DUMPLOADSEARCH
is a single directory.

* src/epaths.in (PATH_DUMPLOADSEARCH): Add leim/.

Fixes: debbugs:4789
2013-11-25 20:06:23 -05:00
Bozhidar Batsov
4301875e6e * lisp/emacs-lisp/helpers.el (string-join): New function. 2013-11-25 21:04:50 +02:00
Bozhidar Batsov
e4091d8586 Fix a email address. 2013-11-25 20:48:33 +02:00
Bozhidar Batsov
d694737ae4 * lisp/emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo. 2013-11-25 20:45:34 +02:00
Bozhidar Batsov
f0ffd77d7c Fix a typo 2013-11-25 19:22:17 +02:00
Bozhidar Batsov
2bb3a748b3 * lisp/emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
Mark as obsolete and replace it with a symbol property.
(byte-compile-form): Use new 'interactive-only property.
* lisp/comint.el, lisp/files.el, lisp/replace.el, lisp/simple.el:
Apply new 'interactive-only properly.
2013-11-25 19:16:32 +02:00
Martin Rudalics
0013943516 Have display-buffer-at-bottom always create new window on bottom (Bug#15961).
* window.el (display-buffer-at-bottom): Make sure that
split-window-sensibly creates the new window on bottom
(Bug#15961).
2013-11-25 17:30:01 +01:00
David Kastrup
5f5b128d48 * lisp/vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
on the conflict markers when available.
(smerge--get-marker): New function.
(smerge-end-re, smerge-base-re): Add subgroup.
2013-11-25 10:40:31 -05:00
Stefan Monnier
623891e5c6 * lisp/frame.el (handle-focus-in, handle-focus-out): Add missing
interactive spec.
2013-11-25 10:05:25 -05:00
Michael Albinus
05ca27d8bd * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
`tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2013-11-25 15:51:34 +01:00
Stefan Monnier
e82ad66cd0 * lisp/play/gomoku.el: Don't use intangible property. Use lexical-binding.
(gomoku--last-pos): New var.
(gomoku--intangible-chars): New const.
(gomoku--intangible): New function.
(gomoku-mode): Use it.  Derive from special-mode.
(gomoku-move-up): Adjust line count.
(gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
(gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
Simplify accordingly.
2013-11-25 09:31:04 -05:00
Glenn Morris
1288751c49 * erc/erc-button.el (erc-nick-popup): Make `nick' available in the eval
environment.

Fixes: debbugs:15969
2013-11-24 19:25:13 -08:00
Stefan Monnier
511fa0d396 * lisp/frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
Remove blink-cursor code.
(blink-cursor-timer-function, blink-cursor-suspend): Don't special-case GUIs.
(blink-cursor-mode): Use focus-in/out-hook.
* src/frame.c (Fhandle_focus_in, Fhandle_focus_out): Move to frame.el.
(syms_of_frame): Don't defsubr them.
2013-11-24 21:41:02 -05:00
Dmitry Gutov
6f20dd038e * lisp/vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
work when annotation is invisible.

Fixes: debbugs:13886
2013-11-25 04:28:02 +02:00
Dmitry Gutov
431dec3132 Fixup two last lisp/ChangeLog entries 2013-11-25 00:53:35 +02:00
Simon Schubert
7c1bf12e5c * lisp/json.el (json-alist-p): Only return non-nil if the alist has
simple keys.

Fixes: debbugs:13518
2013-11-25 00:49:37 +02:00
Mihir Rege
64e415297c * lisp/progmodes/js.el (js--ctrl-statement-indentation): Fix indent
when control-statement is the first statement in a buffer.

Fixes: debbugs:15956
2013-11-25 00:01:08 +02:00
Dmitry Gutov
ee4f026188 * lisp/imenu.el (imenu-generic-skip-comments-and-strings):
New option.
(imenu--generic-function): Use it.

Fixes: debbugs:15560
2013-11-24 23:23:47 +02:00
Jorgen Schaefer
c484f86681 Scroll correct window when showing completion options.
* minibuffer.el (completion--in-region-1): Scroll the correct
window. (Bug#13898)
2013-11-24 15:08:02 +01:00
Bozhidar Batsov
b55aea382c * lisp/emacs-lisp/helpers.el: Add some string helpers.
(string-trim-left): Removes leading whitespace.
(string-trim-right): Removes trailing whitespace.
(string-trim): Removes leading and trailing whitespace.
2013-11-24 11:31:51 +02:00
Bozhidar Batsov
41ce6f7027 * lisp/subr.el (string-suffix-p): New function. 2013-11-24 10:49:44 +02:00
Glenn Morris
3cfb6af3af * python.el (python-shell-send-file): Add option to delete file when done.
(python-shell-send-string, python-shell-send-region): Use it.

Fixes: debbugs:15647
2013-11-23 11:39:50 -08:00
Glenn Morris
40dd812fa3 Revert previous python.el change 2013-11-22 20:20:31 -08: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
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
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
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
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
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
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
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
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
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
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
dc7e8c171f * lisp/ses.el (ses-mode): Doc fix.
Fixes: debbugs:14748
2013-11-20 00:16:20 -08:00