1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-08 04:30:45 -08:00
Commit graph

116490 commits

Author SHA1 Message Date
Dmitry Antipov
2e120be4e9 * dispextern.h (PREPARE_FACE_FOR_DISPLAY): Remove as a duplicate of ...
* xfaces.c (prepare_face_for_display) [HAVE_WINDOW_SYSTEM]: ... this
function.  Also adjust comment.
* fringe.c, w32term.c, xdisp.c, xterm.c: All users changed.
2014-06-10 07:13:41 +04:00
Glenn Morris
29993416fb Add .info extension to @setfilename commands in doc/
This makes no difference to anything, since we always use makeinfo -o,
but it makes automake happier, if we ever decide to use that.
2014-06-09 22:20:31 -04:00
Glenn Morris
61784fd180 * Makefile.in (AUTOCONF, AUTOMAKE, AUTOHEADER, ACLOCAL): New, set by configure
Use throughout where appropriate.
2014-06-09 22:15:49 -04:00
Glenn Morris
40abffe4c6 Get rid of the INFO_EXT variable
It's never been anything more than pointless complexity

* configure.ac (INFO_EXT, INFO_OPTS): Remove output variables.

* Makefile.in (INFO_EXT): Remove and replace by ".info" throughout.

* doc/emacs/Makefile.in (INFO_EXT): Remove and replace by ".info" throughout.
(INFO_OPTS): Set directly rather than with configure.

* doc/lispintro/Makefile.in (INFO_EXT): Remove and replace by ".info" throughout.
(INFO_OPTS): Set directly rather than with configure.

* doc/lispref/Makefile.in (INFO_EXT): Remove and replace by ".info" throughout.
(INFO_OPTS): Set directly rather than with configure.

* doc/misc/Makefile.in (INFO_EXT): Remove and replace by ".info" throughout.
(INFO_OPTS): Set directly rather than with configure.
2014-06-09 22:11:38 -04:00
Glenn Morris
bb175792b1 leim/Makefile.in: use GNU Make features to simplify and parallelize.
* leim/Makefile.in (CHINESE_TIT, TIT_SOURCES, MISC_SOURCES, changed.tit)
(changed.misc): Remove.
(${leimdir}/quail, ${leimdir}/ja-dic): Create using order-only prereq.
(misc_convert): New.
(${leimdir}/quail/%.el, ${leimdir}/quail/CT%.el)
(${leimdir}/quail/PY.el, ${leimdir}/quail/ZIRANMA.el)
(${leimdir}/quail/tsang-%.el, ${leimdir}/quail/quick-%.el): Use pattern rules.
(${leimdir}/leim-list.el, ${leimdir}/ja-dic/ja-dic.el):
Use automatic variables.
(bootstrap-clean): No changed.* files to delete any more.

* .bzrignore: No leim/changed.* files to ignore any more.
2014-06-09 21:44:11 -04:00
Paul Eggert
feb6546cdf Say (accept-process-output P)'s result pertains to P if P is non-nil.
* doc/lispref/processes.texi (Accepting Output):
* src/process.c (Faccept_process_output)
(wait_reading_process_output): Mention that if PROCESS is non-nil,
the return value is about PROCESS, not about other processes.
2014-06-09 13:31:06 -07:00
Dmitry Antipov
2c70e6b00a Further adjustments to mark_object and friends.
Now the mark_object's stack is just 32 bytes on a 64-bit
system, which means extra 20% off the stack usage.
* alloc.c (mark_save_value): As before, refactored out from ...
(mark_object): ... adjusted user.  Also add comment.
2014-06-09 19:03:49 +04:00
Paul Eggert
f4454d5215 Fix core dump after a dropped X connection.
* sysdep.c (stuff_char): Don't abort merely because the selected frame
is dead, as we may be shutting down.

Fixes: debbugs:17704
2014-06-09 07:50:57 -07:00
Glenn Morris
fd60bf6c90 Merge from emacs-24; up to 2014-06-02T11:35:40Z!michael.albinus@gmx.de 2014-06-08 16:41:43 -07:00
Glenn Morris
4181427f24 Doc fixes: markup (mainly nil -> @code{nil}) 2014-06-08 16:39:23 -07:00
Karl Berry
8f356841d0 Simplify info.info for the stand-alone reader
doc/misc/info.texi (Help-^L): "mode line", "screenful",
 stand-alone and Emacs Info both use the mode line.
 Use x instead of weird C-x 0 to get rid of help msg
 in standalone Info.
2014-06-08 22:30:13 +03:00
Paul Eggert
ff2d0e8336 If a C name must be extern on some platforms, make it extern on all.
* dispextern.h (set_vertical_scroll_bar, erase_phys_cursor)
(load_color):
* font.h (ftxfont_driver) [HAVE_XFT]:
* keyboard.h (menu_items_inuse, ignore_mouse_drag_p, make_ctrl_char):
* lisp.h (get_frame_param):
* menu.h (tty_menu_show):
* process.h (conv_sockaddr_to_lisp, catch_child_signal):
* termhooks.h (encode_terminal_code):
* xterm.h (x_menu_wait_for_event):
Always declare.
* frame.c (get_frame_param):
* fringe.c (max_used_fringe_bitmap):
* ftxfont.c (ftxfont_driver):
* keyboard.c (ignore_mouse_drag_p, make_ctrl_char):
* menu.c (menu_items_inuse):
* process.c (conv_sockaddr_to_lisp, catch_child_signal):
* term.c (encode_terminal_code, tty_menu_show):
* xdisp.c (set_vertical_scroll_bar, erase_phys_cursor):
* xfaces.c (load_color):
* xmenu.c (x_menu_wait_for_event):
Now always extern.
2014-06-08 11:27:22 -07:00
Glenn Morris
6d069b1b3a Small doc updates re initial-buffer-choice
* doc/emacs/entering.texi (Entering Emacs): Small fix re initial-buffer-choice.

* doc/emacs/misc.texi (emacsclient Options): Copyedit.

* doc/lispref/os.texi (Startup Summary): Small fix for initial-buffer-choice.

* lisp/startup.el (initial-buffer-choice): Doc fix.
Reset :version (adding an option does not merit a :version bump).
2014-06-08 10:46:51 -07:00
Dmitry Antipov
83f1450065 Change object marking routines to minimize stack usage.
This change moves a few cold paths from mark_object to NO_INLINE
functions and adjusts symbol marking loop.  According to GCC 4.8.2
-Wstack-usage, this reduces mark_object's stack usage from 80 to
48 bytes on a 64-bit system.  For a long byte-force-recompile runs,
stack usage at the mark phase is reduced up to 28%.  Surprisingly,
it also gains up to 3% in speed (with default '-O2 -g3' flags).
* alloc.c (mark_compiled, mark_localized_symbol): New functions,
refactored out from ...
(mark_object): ... adjusted user.  Also mark symbols in a tight
inner loop.
(mark_face_cache): Add NO_INLINE.
2014-06-08 19:06:03 +04:00
Glenn Morris
99d8aedf0d Doc edits re uniquify
* doc/emacs/buffers.texi (Uniquify): Copyedits.

* doc/emacs/files.texi (Visiting): Update for uniquify changes.

* doc/lispref/files.texi (Subroutines of Visiting): Mention uniquify.

* doc/misc/vip.texi (Files): Defer to Emacs manual for uniquify details.

* lisp/bookmark.el (bookmark-load): Doc fix.

* lisp/uniquify.el (uniquify-buffer-name-style): Doc fix.

* lisp/files.el: Comment.

* etc/NEWS: Related edit.
2014-06-08 00:41:27 -07:00
Glenn Morris
b6542afeae info.texi tweaks re S-SPC
* doc/misc/info.texi (Help-Small-Screen): Clarify details of S-SPC.
(Help-Small-Screen, Help-]): Do not mention S-SPC.
(Emacs Info Variables): Markup fix.
2014-06-08 00:00:20 -07:00
Glenn Morris
52e9721b39 Doc markup fixes re SPC, RET
* doc/emacs/dired.texi (Marks vs Flags):
* doc/emacs/rmail.texi (Rmail Scrolling):
* doc/misc/ebrowse.texi (Source Display, Finding/Viewing):
* doc/misc/erc.texi (Sample Session):
* doc/misc/ses.texi (The Basics):
* doc/misc/todo-mode.texi (Moving and Deleting Items):
* doc/misc/woman.texi (Navigation):
Markup fixes re SPC, RET.
2014-06-07 23:57:15 -07:00
Leo Liu
9f8a63bd84 * etc/themes/deeper-blue-theme.el: Use another fix.
Fixes: debbugs:17695
2014-06-08 11:25:22 +08:00
Glenn Morris
f25df0d703 * doc/emacs/help.texi (Help, Misc Help): Copyedits. 2014-06-07 18:37:23 -07:00
Glenn Morris
8cc3d19715 Doc tweaks re text-mode menus
* doc/emacs/screen.texi (Menu Bar): Copyedits.

* doc/emacs/msdog.texi (Windows Keyboard): F10 menus are now a general feature.
2014-06-07 18:20:35 -07:00
Glenn Morris
881aae5653 Doc tweak re fullscreen/maximize
* doc/emacs/frames.texi (Frame Commands): Copyedits re M-F10, F11.

* doc/emacs/cmdargs.texi (Window Size X): Copyedits.
2014-06-07 18:14:58 -07:00
Glenn Morris
6cbdfa0115 * src/fileio.c (write-region-inhibit-fsync): Doc tweak. 2014-06-07 17:59:05 -07:00
Glenn Morris
7b385b0201 Doc tweaks re < etc
* doc/lispref/numbers.texi (Comparison of Numbers): Copyedits.

* src/data.c (Flss, Fgtr, Fleq, Fgeq): Doc tweaks.
2014-06-07 17:51:10 -07:00
Glenn Morris
36cf8493af Merge from emacs-24; up to 2014-06-01T23:37:59Z!eggert@cs.ucla.edu 2014-06-07 17:35:27 -07:00
Glenn Morris
da8de2908c Some Acknowledgments updates for the manual
* doc/emacs/ack.texi (Acknowledgments): Updates.

* doc/emacs/emacs.texi (Acknowledgments): Updates.
2014-06-07 17:19:17 -07:00
Glenn Morris
bc257cae1c Doc tweaks re prettify-symbols-mode
* doc/emacs/programs.texi (Prettifying Symbols): Remove node.
(Misc for Programs): Mention more briefly here.

* doc/emacs emacs.texi (Top): Update menu.
2014-06-07 16:39:40 -07:00
Eli Zaretskii
2be772ff45 Document latest changes in make_lispy_position.
doc/lispref/commands.texi (Click Events): Update contents of click event's
 position list due to last changes in make_lispy_position.

  etc/NEWS: Mention the incompatible change.
2014-06-07 17:29:48 +03:00
Eli Zaretskii
3f2f9b6aff Fix last commit.
src/term.c (tty_menu_show) [WINDOWSNT]: Make tty_menu_show extern
 only for WINDOWSNT.
 src/menu.h (tty_menu_show) [WINDOWSNT]: Declare extern only for WINDOWSNT.
2014-06-07 10:25:49 +03:00
Paul Eggert
a0e26ff003 Port better to AIX.
* configure.ac (with_xpm_set): New shell var.
(_THREAD_SAFE): Define on AIX if HAVE_PTHREAD.
(with_xpm): Default to 'no' on AIX.
(LIBXPM): Append -lXpm if -lXaw is also used, as the latter
requires the former on AIX.

Fixes: debbugs:17598
2014-06-06 23:10:39 -07:00
Juri Linkov
7f11800984 * lisp/desktop.el: Activate auto-saving on window configuration changes.
(desktop-save-mode, desktop-auto-save-timeout): Add/remove
`desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
(desktop-auto-save-set-timer): Change REPEAT arg of
`run-with-idle-timer' from t to nil.
http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
2014-06-07 02:38:40 +03:00
Paul Eggert
5dda54d600 * term.c (tty_menu_show) [!HAVE_NTGUI]: Now static.
* menu.h (tty_menu_show) [!HAVE_NTGUI]: Omit extern decl.
2014-06-06 12:33:19 -07:00
Santiago Payà i Miralta
3112e4002c * lisp/vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions.
Fixes: debbugs:17586
2014-06-06 12:38:44 -04:00
Santiago Payà i Miralta
f4be80b783 * lisp/vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
vc-hg-command.

Fixes: debbugs:17570
2014-06-06 12:29:55 -04:00
Santiago Payà i Miralta
90b15d9159 * lisp/vc/vc-hg.el (vc-hg-log-graph): New var.
(vc-hg-print-log): Use it.
(vc-hg-root-log-format): Include branch name and bookmarks; ignore
graph output.

Fixes: debbugs:17515
2014-06-06 12:11:53 -04:00
Stefan Monnier
3da983f8c4 * src/window.c (Frecenter): Signal an error if window-buffer is not
current-buffer.
2014-06-06 10:37:05 -04:00
Stefan Monnier
28b8329726 * lisp/international/mule-cmds.el (ucs-names): Add special entry for BEL.
Fixes: debbugs:17702
2014-06-06 10:25:39 -04:00
Glenn Morris
b83798031c Doc updates re window-setup-hook
* lisp/startup.el (window-setup-hook): Doc fix.

* doc/lispref/display.texi (Window Systems): Remove window-setup-hook.

* doc/lispref/os.texi (Startup Summary, Init File):
Improve description of window-setup-hook.
(Terminal-Specific): Update window-setup-hook cross-reference.

* doc/lispref/hooks.texi (Standard Hooks):
Update window-setup-hook cross-reference.
2014-06-06 00:19:23 -07:00
Glenn Morris
b4b5639746 * admin/FOR-RELEASE: Mention ack.texi 2014-06-05 23:49:17 -07:00
Glenn Morris
137dcb47fb Document incompatible overlay priority change
* doc/lispref/display.texi (Overlay Properties): Update re priority. 

* etc/NEWS: Related edit.

Fixes: debbugs:17234
2014-06-05 23:45:16 -07:00
Stefan Monnier
631de55bc1 * lisp/mouse.el (mouse-posn-property): Ignore buffer position info when the
even happened elsewhere.
* src/keyboard.c (make_lispy_position): Don't include a buffer position in
mode/header-line mouse events.
2014-06-05 22:35:17 -04:00
Stefan Monnier
79b0d21638 * src/keyboard.c (read_char): Handle (t . <event>) in the second use of
Vunread_command_events.

Fixes: debbugs:17650
2014-06-05 22:22:40 -04:00
Dmitry Antipov
b77205c029 * xterm.c (x_setup_pointer_blanking): Conditionally
probe Xfixes until this stuff is stabilized (Bug#17609).
2014-06-06 05:11:26 +04:00
Mario Lang
4a81602043 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
`recenter' if `current-buffer' is equal to `window-buffer'.
2014-06-06 02:39:22 +02:00
Juri Linkov
9f7c9816f6 * etc/themes/deeper-blue-theme.el (diff-added, diff-changed, diff-removed):
Set face definitions explicitly.  Inherit indicator faces from them.

Fixes: debbugs:17695
2014-06-06 02:31:46 +03:00
Leo Liu
d4e355b45d * emacs-lisp/cl-macs.el (cl-macrolet): Simplify last change. 2014-06-06 07:08:59 +08:00
Katsumi Yamaoka
dd97cafcf2 lisp/gnus/gnus-art.el (gnus-mime-buttonize-attachments-in-header): Improve criterion that finds parts to display 2014-06-05 22:43:36 +00:00
Dmitry Antipov
04ee0de0d1 * INSTALL: Mention SVG image support. 2014-06-05 21:31:41 +04:00
Leo Liu
14781f7f44 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's. 2014-06-06 01:08:18 +08:00
Michal Nazarewicz
1d7f01eeed * tests/automated/tildify-tests.el (tildify-test--test): Optimise the
test slightly by reusing the same temporary buffer across multiple
test cases.
2014-06-05 16:42:45 +02:00
Michal Nazarewicz
03d7d160c3 tildify.el: Rewrite `tildify-region' and co., add foreach function.
* lisp/textmodes/tildify.el (tildify-foreach-region-outside-env): New
function which calls a callback on portions of the buffer that are
outside of ignored environments.
(tildify-build-regexp): Remove function since it is now
incorporated in `tildify-foreach-region-outside-env' where it is
optimised and simplified by the use of `mapconcat'.
(tildify-tildify): Return number of substitutions made so that…
(tildify-count): …can be removed.
(tildify-find-env): Accept a new PAIRS argument which was
previously looked up in `tildify-ignored-environments-alist' each
time the function was called.  With this change, the lookup is
performed only once in `tildify-foreach-region-outside-env'.
(tildify-region): Greatly simplify the function since now most of
the work is done by `tildify-foreach-region-outside-env'.
(tildify-mode-alist): Simplify slightly by avoiding if and setq
and instead using or.

* tests/automated/tildify-tests.el (tildify-test-find-env-end-re-bug)
(tildify-test-find-env-group-index-bug): Update to support new
signature of the `tildify-foreach-region-outside-env' function.
Namely, it now takes pairs as an argument instead of looking it up in
`tildify-ignored-environments-alist'.
2014-06-05 16:42:07 +02:00