1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-12 22:40:46 -08:00
Commit graph

116079 commits

Author SHA1 Message Date
Paul Eggert
139f528442 Revert my most-recent change re Solaris. 2013-12-11 20:53:59 -08:00
Glenn Morris
f4f84024e6 Mark tiny change from author without assignment 2013-12-11 20:17:40 -08:00
Dmitry Antipov
9654230233 * xterm.c (x_make_frame_visible): Restore hack which is needed when
input polling is used.  This is still meaningful for Cygwin, see
http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00351.html.
* keyboard.c (poll_for_input_1, input_polling_used): Define
unconditionally.
2013-12-12 08:04:35 +04:00
Nathan Trapuzzano
f54de22e65 * lisp/progmodes/python.el (python-indent-calculate-indentation): When
determining indentation, don't treat "return", "pass", etc., as
operators when they are just string constituents. 

* automated/python-test.el (python-indent-block-enders-1): Rename
from python-indent-block-enders.
(python-indent-block-enders-2): New test.

Fixes: debbugs:15812
2013-12-12 00:47:41 -03:00
Glenn Morris
6cc4c89b6c Auto-commit of info/dir files. 2013-12-11 22:41:26 -05:00
Glenn Morris
675f2d6d8c * admin/update_autogen (info_dir): Tweak commit message. 2013-12-11 19:39:28 -08:00
Glenn Morris
f9405d87cd Add support for auto-generating info/dir
* admin/update_autogen: Add option to generate info/dir.
(Usage): Add -I.
(info_flag): New variable.
(-I): New option.
(doc): Maybe check its status.
(info_dir): New function.

* admin/dir_top: New file.

* doc/emacs/emacs.texi:
* doc/lispintro/emacs-lisp-intro.texi:
* doc/lispref/elisp.texi:
* doc/misc/autotype.texi, doc/misc/cc-mode.texi, doc/misc/ediff.texi:
* doc/misc/ert.texi, doc/misc/htmlfontify.texi, doc/misc/ido.texi:
* doc/misc/octave-mode.texi, doc/misc/org.texi, doc/misc/srecode.texi:
* doc/misc/todo-mode.texi, doc/misc/tramp.texi:
Sync direntry with info/dir version.
2013-12-11 19:37:38 -08:00
Juri Linkov
d5ccb7be02 * lisp/uniquify.el (uniquify-buffer-name-style): Change default to `post-forward-angle-brackets'.
* lisp/menu-bar.el (menu-bar-options-menu): Don't require preloaded `uniquify'.
Change default to `post-forward-angle-brackets'.

http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00317.html
2013-12-12 02:42:16 +02:00
Paul Eggert
7204a2e666 Make 'configure' work out-of-the-box on Solaris.
* configure.ac: Work even if libgif etc. are missing.  Emacs works
without these libraries even if its default GUI is harmed, so they
are not strictly necessary.  Another possibility would be to
disable X11 if these libraries are missing.  The point is that a
plain 'configure' should not fail on platforms like Solaris 11
where one or more image libraries are not installed by default.
2013-12-11 14:31:02 -08:00
Glenn Morris
7b3f56792c * lisp/emacs-lisp/package.el (finder-list-matches): Autoload
rather than falsely declaring.
2013-12-11 16:15:12 -05:00
Ted Zlatanov
f4fe8fdd37 eww: exit and close actions
* net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
(eww-mode-map): Use them.
2013-12-11 14:01:44 -05:00
Martin Rudalics
3c29190fbe Fix doc-string of display-buffer-in-side-window (Bug#16115).
* window.el (display-buffer-in-side-window): Fix doc-string
(Bug#16115).
2013-12-11 18:54:09 +01:00
Eli Zaretskii
893fcd38e9 One more change by Ken Brown to avoid breaking Cygwin. 2013-12-11 19:17:49 +02:00
Juanma Barranquero
0cd616a2d8 * vc/vc-git.el: Silence byte-compiler warnings.
(vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
(log-edit-set-header): Declare.
2013-12-11 18:10:22 +01:00
Eli Zaretskii
0ec6c340e9 Another merge from trunk. 2013-12-11 19:06:50 +02:00
Eli Zaretskii
a34a8cd1e4 Merge from trunk. 2013-12-11 19:06:29 +02:00
Eli Zaretskii
3ef8e0d150 More fixes for bug #16099.
lisp/Makefile.in (custom-deps, finder-data): Run output file names
 through unmsys--file-name.
2013-12-11 19:05:28 +02:00
Glenn Morris
89793882a7 * info/dir: Add octave-mode. 2013-12-11 09:00:07 -08:00
Glenn Morris
b94b96b2b8 ChangeLog fixes 2013-12-11 08:57:40 -08:00
Ken Brown
1421be8445 Fix conditions for prototype declarations.
* src/dispextern.h (erase_phys_cursor):
* src/keyboard.h (make_ctrl_char): Declare prototypes if HAVE_NTGUI.
2013-12-11 11:52:34 -05:00
Stefan Monnier
7ae3ae3963 * lisp/emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
comment-start-skip, since it fails when that uses submatch 1.

Fixes: debbugs:16041
2013-12-11 10:59:27 -05:00
Dmitry Antipov
5a80236fc8 * nsterm.m (x_free_frame_resources):
* term.c (tty_free_frame_resources):
* xterm.c (x_free_frame_resources): Do not check for non-NULL
face cache because it's implied by free_frame_faces anyway.
* w32term.c (x_free_frame_resources): Likewise.  Do not call
free_frame_faces twice.
2013-12-11 19:06:04 +04:00
Stefan Monnier
5b4f37ab9c * lisp/emulation/cua-base.el (cua-paste): Add `delete-selection' property
instead of deleting the selection "by hand".
Rely on insert-for-yank to yank rectangles.
(cua-highlight-region-shift-only): Mark obsolete.
(cua-mode): Don't enable/disable transient-mark-mode,
shift-select-mode (cua-mode works both with and without them), and
pc-selection-mode (obsolete).
* lisp/emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
(cua--deactivate-rectangle): Deactivate it.

Fixes: debbugs:16098
2013-12-11 09:49:01 -05:00
Rüdiger Sonderfeld
4ec52e2f8c Fix docstring of format-time-string to include %F.
See discussion of Bug#15816.

* editfns.c (Fformat_time_string): Mention %F in the doc.
2013-12-11 15:42:55 +01:00
Stefan Monnier
4b72c12bf8 * lisp/delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
(delete-selection-helper): Make sure yank starts at the top of the
deleted region.
(minibuffer-keyboard-quit): Use region-active-p.
2013-12-11 09:42:34 -05:00
Stefan Monnier
e82af72d50 * lisp/emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark. 2013-12-11 09:27:15 -05:00
Stefan Monnier
afdadaf7b6 * lisp/simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
to `delete'.

Fixes: debbugs:16109
2013-12-11 09:22:26 -05:00
Rüdiger Sonderfeld
ed4bc201f5 Import `octave-mode' manual from GNU Octave.
The manual was written by Kurt Hornik.  He agreed to assign the
copyright for it to the FSF.  I have updated and modified the manual.

* doc/misc/octave-mode.texi: Imported from GNU Octave
  (doc/interpreter/emacs.txi).
* doc/misc/Makefile.in: Add octave-mode.texi.
* lisp/progmodes/octave.el (octave-mode, inferior-octave-mode): Link
  to info manual and show keybindings and set `:group' keyword.
2013-12-11 14:50:46 +01:00
Martin Rudalics
d94c40c1b7 Various fixes around Bug#16013.
* window.c (resize_frame_windows): Don't return immediately when
the root window's size doesn't change - the minibuffer window
may still have to be repositioned/resized.
* xfns.c (Fx_create_frame): Always change the frame size after
initializing the frame's faces.
* xterm.c (handle_one_xevent): Don't set pixel sizes here,
change_frame_size should already have done it.
(x_new_font): Assign new tool- and menu-bar heights.
(x_set_window_size_1): Account for tool- and menu-bar heights
(Bug#16013). Don't set pixel sizes since change_frame_size
should already have done it.
2013-12-11 11:03:46 +01:00
Paul Eggert
a8f9bc05c3 Remove the option of using libcrypto.
This scorches the earth and waits for spring;
see Ted Zlatanov and Stefan Monnier in
<http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00323.html>.
* configure.ac (with_openssl_default, HAVE_LIB_CRYPTO): Remove.
Do not say whether Emacs is configured to use a crypto library,
since it's no longer an option.
(gl_CRYPTO_CHECK): Define a dummy.
* lib/gl_openssl.h, m4/gl-openssl.m4: Remove.
* admin/merge-gnulib: Remove lib/gl_openssh.h and m4/gl-openssl.m4.
* src/Makefile.in (LIB_CRYPTO): Remove.
(LIBES): Don't use it.
2013-12-10 21:37:30 -08:00
Juri Linkov
bb8097b96b * lisp/delsel.el (delete-active-region): Let-bind `this-command'
to prevent `kill-region' from changing its original value.
(delete-selection-helper): Handle `overwrite-mode' for the type
`kill' exactly the same way as for the type `t'.
(insert-char, quoted-insert, reindent-then-newline-and-indent):
Support more commands.

Fixes: debbugs:13312
2013-12-11 03:11:24 +02:00
Juri Linkov
c1916ff5b8 * lisp/bindings.el: Map kp keys to non-kp keys systematically
with basic modifiers control, meta and shift.

Fixes: debbugs:14397
2013-12-11 02:45:10 +02:00
Juri Linkov
26ec2ce909 * src/term.c (term_get_fkeys_1): Remove non-standard IBM terminfo
as obsolete to avoid conflicts with <S-up>.

Fixes: debbugs:13471
2013-12-11 02:32:00 +02:00
Kenjiro NAKAYAMA
b68cf43cfb eww easy-menu fixes
* net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
"Close browser" menu items.  Fix wrong function of "List
bookmarks".
2013-12-10 19:27:27 -05:00
Juri Linkov
4cc51eaf09 * lisp/misearch.el (multi-isearch-buffers): Set the value of
`multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
arg of isearch-forward to t.
(multi-isearch-buffers-regexp): Set the value of
`multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
arg of isearch-forward-regexp to t.
(multi-isearch-files): Set the value of
`multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
arg of isearch-forward to t.
(multi-isearch-files-regexp): Set the value of
`multi-isearch-file-list globally.  Set NO-RECURSIVE-EDIT
arg of isearch-forward-regexp to t. 

* lisp/dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
arg of isearch-forward to t.
(dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
arg of isearch-forward-regexp to t.
(dired-isearch-filter-filenames): Remove unnecessary check for
`dired-isearch-filenames'.

* lisp/comint.el (comint-history-isearch-backward):
Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
(comint-history-isearch-backward-regexp):
Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.

Fixes: debbugs:16035
2013-12-11 02:11:26 +02:00
Eli Zaretskii
ceac12b731 Fix bug #16099 with failed out-of-tree builds on MS-Windows.
lisp/Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
 unmsys--file-name.
2013-12-10 22:56:59 +02:00
Eli Zaretskii
8b55eeeb70 Another fix for Cygwin. 2013-12-10 21:43:02 +02:00
Eli Zaretskii
5bdc6977e3 Merge from trunk. 2013-12-10 19:56:03 +02:00
Eli Zaretskii
a5c9bbb341 Fixed problems in Cygwin build reported by Ken Brown. 2013-12-10 19:33:01 +02:00
Dmitry Antipov
e8374b3959 * font.c (font_find_for_lface): Ensure SAFE_FREE on return. 2013-12-10 07:36:36 +04:00
Paul Eggert
7d01e13ced * configure.ac: Disable libcrypto by default.
Merge from gnulib, incorporating:
2013-12-07 md5, sha1, sha256, sha512: fix link error with partial lib
* m4/gl-openssl.m4: Update from gnulib.
2013-12-09 18:44:28 -08:00
Dmitry Antipov
a71cfa02f3 * xdisp.c (display_tool_bar_line): Don't extend on a previously
drawn tool bar items (Bug#16058).
2013-12-10 06:32:52 +04:00
Ted Zlatanov
5a56578283 Remove finder.el require dependency in package.el
* emacs-lisp/package.el (package-keyword-button-action): Remove
finder.el require dependency.
2013-12-09 19:54:38 -05:00
Ted Zlatanov
a81fc7ba93 Add keyword buttons to package description.
* emacs-lisp/package.el: Require finder.el.
(describe-package-1): Add keyword buttons.
(package-make-button): New convenience function.
(package-keyword-button-action): Keyword button action using
`finder-list-matches'
2013-12-09 16:35:26 -05:00
Ken Brown
336fe071e5 Fix declaration of get_frame_param for cygw32 build.
* src/frame.c (get_frame_param): Make extern if HAVE_NTGUI.

* src/lisp.h (get_frame_param): Adjust conditions for prototype
declaration.
2013-12-09 15:46:07 -05:00
Eli Zaretskii
51caf50203 Fixed a bug in w32-long-file-name. 2013-12-09 22:21:58 +02:00
Eli Zaretskii
ab62d5a0ee Doc fix for w32-unicode-filenames. 2013-12-09 21:50:56 +02:00
Eli Zaretskii
afec516519 Fixed file-truename when w32-unicode-filenames is nil, fixed its doc. 2013-12-09 21:18:58 +02:00
Eli Zaretskii
245ddcaa82 Merge from trunk. 2013-12-09 19:51:13 +02:00
Eli Zaretskii
6aaca95125 Fix a thinko in last commit in autorevert.el.
lisp/autorevert.el (auto-revert-notify-add-watch): Exclude symlinks from
 file notifications.
2013-12-09 19:48:01 +02:00