1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-29 00:31:01 -08:00
Commit graph

112307 commits

Author SHA1 Message Date
Glenn Morris
dc8dfa8a70 * ert-tests.el: Disable failing test that no-one seems to know how to fix. 2013-08-03 21:37:10 -07:00
Glenn Morris
f8654242f1 * test/automated/icalendar-tests.el (icalendar-tests--test-export)
(icalendar-tests--test-import): Remove debug messages.
2013-08-03 21:34:01 -07:00
Dmitry Antipov
f0b79313d9 * dispnew.c (glyph_matrix_count, glyph_pool_count):
Move under GLYPH_DEBUG and ENABLE_CHECKING.
(new_glyph_matrix, free_glyph_matrix, new_glyph_pool)
(free_glyph_pool, check_glyph_memory): Likewise for
all users.  Adjust comments where appropriate.
2013-08-04 08:07:18 +04:00
Xue Fuqiao
00f98a9d5c Merge: cleanup for vc-ignore. 2013-08-04 11:01:42 +08:00
Xue Fuqiao
99191b89ff Merge from mainline. 2013-08-04 10:59:08 +08:00
Juanma Barranquero
a04d36a068 lisp/frameset.el (frameset--reuse-frame): Use correct frame-id to find frame.
(frameset--set-id, frameset--process-minibuffer-frames)
(frameset-restore): Rename parameter `frameset-id' to `frame-id'.
2013-08-04 04:57:45 +02:00
Xue Fuqiao
ab419665ca Cleanup for vc-ignore.
* vc/vc.el (vc-ignore): Rewrite.
(vc-default-ignore-completion-table):
(vc--read-lines):
(vc--add-line, vc--remove-regexp): New functions.

* vc/vc-svn.el (vc-svn-ignore): Doc fix.
(vc-svn-ignore-completion-table): New function.

* vc/vc-hg.el (vc-hg-ignore): Rewrite.
(vc-hg-ignore-completion-table):
(vc-hg-find-ignore-file): New functions.

* vc/vc-git.el (vc-git-ignore): Rewrite.
(vc-git-ignore-completion-table):
(vc-git-find-ignore-file): New functions.

* vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.

* vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
(vc-bzr-ignore-completion-table):
(vc-bzr-find-ignore-file): New functions.
2013-08-04 10:55:45 +08:00
Glenn Morris
2ad0a06772 * test/automated/icalendar-tests.el (icalendar-tests--test-export)
(icalendar-tests--test-import): Try more precise TZ specification.
2013-08-03 19:30:11 -07:00
Juanma Barranquero
36bec1b6eb etc/NEWS: Fix description of frame-restoring options. 2013-08-04 03:43:26 +02:00
Juanma Barranquero
51d30f2c72 lisp/frameset.el: Fix typos and autoload cookies.
(frameset-p, frameset-save): Fix autoload cookies.
(frameset-filter-minibuffer): Doc fix.
(frameset-restore): Fix autoload cookie.  Fix typo in docstring.
2013-08-04 02:58:32 +02:00
Juanma Barranquero
5414a28349 lisp/desktop.el (desktop-clear): Be more careful about deleting frames.
Do it only when called interactively and desktop-restore-frames is non-nil.
Doc fix.
(desktop-read): Set desktop-saved-frameset to nil.
2013-08-04 02:31:33 +02:00
Paul Eggert
98f638d640 * composite.h: Minor fixups.
(composition_registered_p): Rename from COMPOSITION_REGISTERD_P
to fix a misspelling, and change it to an inline function while
we're at it (it need not be a macro).  All uses changed.
(composition_method, composition_valid_p):
Rewrite to avoid assignments in if-conditions.
2013-08-03 14:09:57 -07:00
Dmitry Antipov
416a3e013f * composite.h (compose_region): Remove the leftover. 2013-08-03 22:23:23 +04:00
Dmitry Antipov
75c59fb3ec Do not use global Lisp_Object in composition macros.
* composite.h (composition_temp): Remove declaration.
(COMPOSITION_METHOD, COMPOSITION_VALID_P): Replace with...
(composition_method, composition_valid_p): ...inline functions.
* composite.c (composition_temp): Remove.
(run_composition_function, update_compositions)
(composition_compute_stop_pos, composition_adjust_point)
(Ffind_composition_internal):
* coding.c (handle_composition_annotation):
* xdisp.c (handle_composition_prop, check_point_in_composition):
Related users changed.
2013-08-03 22:16:43 +04:00
Glenn Morris
5e471f0dbc * test/automated/icalendar-tests.el (icalendar-tests--test-export)
(icalendar-tests--test-import): Add debug messages.
2013-08-03 09:44:18 -07:00
Juanma Barranquero
8cd4636c03 etc/NEWS: Document new package frameset.el. 2013-08-03 17:10:13 +02:00
Juanma Barranquero
6475c94b6a lisp/frameset.el (frameset-prop): Preserve `setf' semantics in setter. 2013-08-03 15:33:22 +02:00
Juanma Barranquero
2613dea20a lisp/frameset.el (frameset-prop): New function and setter.
(frameset-save): Do not modify frame list passed by the caller.
2013-08-03 11:57:07 +02:00
Dmitry Antipov
a10c82694e Drop FRAME_PTR typedef.
* composite.c, font.c, font.h, fontset.c, fontset.h, frame.c, frame.h:
* ftfont.c, ftxfont.c, gtkutil.c, gtkutil.h, image.c, keyboard.c:
* menu.c, menu.h, msdos.c, nsfns.m, nsfont.m, nsmenu.m, nsterm.h:
* nsterm.m, scroll.c, term.c, w32fns.c, w32font.c, w32font.h:
* w32inevt.c, w32inevt.h, w32menu.c, w32notify.c, w32term.c, w32term.h:
* w32uniscribe.c, w32xfns.c, widget.c, window.c, xdisp.c, xfaces.c:
* xfns.c, xfont.c, xftfont.c, xmenu.c, xselect.c, xterm.c:
All related users changed.
2013-08-03 07:29:03 +04:00
Xue Fuqiao
0372256bed * etc/TODO: Adjust entry about bug reporting. 2013-08-03 10:57:00 +08:00
Stefan Monnier
9c959872b5 * lisp/emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys. 2013-08-02 22:34:22 -04:00
Glenn Morris
5edd44c276 Fix previous core-elisp-tests.el fix 2013-08-02 18:47:54 -07:00
Glenn Morris
1f21d30894 * test/automated/core-elisp-tests.el (core-elisp-tests): Fix defcustom. 2013-08-02 18:43:30 -07:00
Glenn Morris
f3ffcd8c96 icalendar-tests.el tweaks related to timezone handling
* test/automated/icalendar-tests.el (icalendar-tests--test-export)
(icalendar-tests--test-import):
Use getenv/setenv rather than set-time-zone-rule.
(icalendar-tests--test-import): Reset zone even if error occurred.
2013-08-02 21:02:51 -04:00
Stefan Monnier
70122acf2f * lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
(easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
2013-08-02 17:23:07 -04:00
Stefan Monnier
a104f656c8 Make defvar affect the default binding outside of any let.
* src/eval.c (default_toplevel_binding): New function.
(Fdefvar): Use it.
(unbind_to, backtrace_eval_unrewind): Do a bit of CSE simplification.
(Fdefault_toplevel_value, Fset_default_toplevel_value): New subrs.
(syms_of_eval): Export them.
* src/data.c (Fdefault_value): Micro cleanup.
* src/term.c (init_tty): Use "false".
* lisp/custom.el (custom-initialize-default, custom-initialize-set)
(custom-initialize-reset, custom-initialize-changed): Affect the
toplevel-default-value (bug#6275, bug#14586).
* lisp/emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
for bug#6275.
* test/automated/core-elisp-tests.el: New file.
2013-08-02 17:16:33 -04:00
Juanma Barranquero
185e3b5a2f lisp/emacs-lisp/lisp-mode.el: Support cl-def* expressions in imenu. 2013-08-02 18:29:16 +02:00
Juanma Barranquero
f078d5700b lisp/frameset.el (frameset-filter-params): Fix order of arguments. 2013-08-02 18:03:13 +02:00
Bastien Guerry
10d604f917 PS: I re-read the manual of bzr to make sure I don't break anything. 2013-08-02 16:26:22 +02:00
Xue Fuqiao
262a3aac2e Add indexes for elisp manual.
* doc/lispref/display.texi (Face Functions): Add an index.

* doc/lispref/variables.texi (Variable Aliases): Add an index.

* doc/lispref/functions.texi (Defining Functions): Add an index.

* doc/lispref/nonascii.texi (Coding System Basics): Add an index.
2013-08-02 22:06:27 +08:00
Xue Fuqiao
9097ad863d Add indexes for elisp manual.
* doc/lispref/display.texi (Face Functions): Add an index.

* doc/lispref/variables.texi (Variable Aliases): Add an index.

* doc/lispref/functions.texi (Defining Functions): Add an index.

* doc/lispref/nonascii.texi (Coding System Basics): Add an index.
2013-08-02 21:52:10 +08:00
Lars Magne Ingebrigtsen
8f370b43d5 Merge changes made in Gnus trunk
2013-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
* gnus-group.el (gnus-group-delete-articles): Allow deleting only "old"
  articles.
* gnus-delay.el (gnus-delay-article): Run `message-send-hook' so that
  we can get spell-checking etc.
2013-08-02 13:34:22 +00:00
Dmitry Antipov
4b5c9326ce Fix X GC leak in GTK and raw (no toolkit) X ports.
* xterm.c (x_free_frame_resources): If white and black relief
GCs are allocated, always free them here.
* xfns.c (x_make_gc): Omit redundant initialization.
* widget.c (create_frame_gcs): Remove the leftover.
(EmacsFrameDestroy): Do nothing because all GCs are now freed
in x_free_frame_resources.
2013-08-02 17:22:23 +04:00
Xue Fuqiao
26bb8a7ceb * tutorials/TUTORIAL.cn: Update; synchronize with TUTORIAL. 2013-08-02 20:52:26 +08:00
Jan Djärv
b19aa63653 * nsterm.h (EmacsView): Add maximizing_resize, put it and old_title
inside NS_IMPL_COCOA.

* nsterm.m (windowWillResize:toSize:): Only change title if
! maximizing_resize && FULLSCREEN_NONE.  strdup title before
modifying it.
(viewDidEndLiveResize): New method.

Fixes: debbugs:15005
2013-08-02 11:42:23 +02:00
Katsumi Yamaoka
707c77c122 lisp/gnus/rfc2047.el (rfc2047-encode-message-header): Unify charsets into a single one used for encoding the whole text in a header 2013-08-02 08:36:15 +00:00
Dmitry Antipov
3521bd09b3 Fix last change. 2013-08-02 12:32:32 +04:00
Dmitry Antipov
af1f7e0682 * insdel.c (adjust_after_replace, replace_range, del_range_2):
Do not check whether undo is enabled because record_insert and
record_delete does that themselves.
2013-08-02 11:07:08 +04:00
Xue Fuqiao
e5bbaf419f * etc/tutorials/TUTORIAL.translators (Maintainer): Update the maintainer.
* lisp/mh-e/mh-e.el: Add a FIXME.
2013-08-02 14:59:25 +08:00
Juanma Barranquero
9421876de5 lisp/desktop.el: Move code related to saving frames to frameset.el.
Require frameset.
(desktop-restore-frames): Doc fix.
(desktop-restore-reuses-frames): Rename from
desktop-restoring-reuses-frames.
(desktop-saved-frameset): Rename from desktop-saved-frame-states.
(desktop-clear): Clear frames too.
(desktop-filter-parameters-alist): Set from frameset-filter-alist.
(desktop--filter-tty*, desktop-save, desktop-read):
Use frameset functions.
(desktop-before-saving-frames-functions, desktop--filter-*-color)
(desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
(desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
(desktop-restore-in-original-display-p, desktop--filter-frame-parms)
(desktop--process-minibuffer-frames, desktop-save-frames)
(desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
(desktop--find-frame, desktop--select-frame, desktop--make-frame)
(desktop--sort-states, desktop-restoring-frames-p)
(desktop-restore-frames): Remove.  Most code moved to frameset.el.
(desktop-restoring-frameset-p, desktop-restore-frameset)
(desktop--check-dont-save, desktop-save-frameset): New functions.
(desktop--app-id): New constant.
(desktop-first-buffer, desktop-buffer-ok-count)
(desktop-buffer-fail-count): Move before first use.
lisp/frameset.el: New file.
2013-08-02 06:33:58 +02:00
Dmitry Antipov
7ee0f047a3 * w32term.c (x_unfocus_frame): Remove unused dummy function. 2013-08-02 08:21:51 +04:00
Dmitry Antipov
65b02bb9dc * xterm.h (struct x_output) [HAVE_X_I18N]: Remove xic_base_fontname
member which is not really used any more.
(FRAME_XIC_BASE_FONTNAME): Remove.
* xfns.c (xic_free_fontset): Adjust user.
* xmenu.c (mouse_position_for_popup, x_activate_menubar)
(update_frame_menubar, set_frame_menubar, free_frame_menubar)
(create_and_show_popup_menu, xmenu_show, create_and_show_dialog)
(xdialog_show): Use eassert for debugging check.
2013-08-02 07:55:24 +04:00
Juanma Barranquero
99a0084e05 etc/tutorials/TUTORIAL.es: Fix typos (bug#15000). 2013-08-02 05:44:59 +02:00
Xue Fuqiao
a4111cfb01 * doc/lispintro/emacs-lisp-intro.texi (zap-to-char): Remove obsolete stuff. 2013-08-02 10:33:12 +08:00
Katsumi Yamaoka
a5062b5e34 lisp/gnus/ChangeLog: Fix previous commit 2013-08-02 00:50:14 +00:00
Stefan Monnier
76dc5996b4 * lisp/files.el: Use lexical-binding.
(dir-locals-read-from-file): Remove unused `err' variable.
(hack-dir-local-variables--warned-coding): New var.
(hack-dir-local-variables): Use it to avoid repeated warnings.
(make-backup-file-name--default-function): New function.
(make-backup-file-name-function): Use it as default.
(buffer-stale--default-function): New function.
(buffer-stale-function): Use it as default.
(revert-buffer-insert-file-contents--default-function): New function.
(revert-buffer-insert-file-contents-function): Use it as default.
(insert-directory): Avoid add-to-list.
* lisp/autorevert.el (auto-revert-handler): Simplify.
Use buffer-stale--default-function.
2013-08-01 19:18:37 -04:00
Glenn Morris
7d7e9a7314 * test/automated/file-notify-tests.el (file-notify--test-remote-enabled):
Try to check that the remote system has a notification program.
2013-08-01 19:10:51 -04:00
Gnus developers
89cccc2f3d Merge changes made in Gnus master
2013-08-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
* gnus.texi (Basic Usage): Mention that warp means jump here.
  (The notmuch Engine): Mention notmuch.

2013-08-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
* message.el (message-ignored-news-headers): Delete X-Gnus-Delayed
  before sending.
* dgnushack.el (dgnushack-compile): Add a temporary check for
  gnus-icalendar.
* mm-decode.el (mm-command-output): New face.
  (mm-display-external): Use it.

2013-08-01 Kan-Ru Chen (陳侃如) <kanru@kanru.info> (tiny change)
* nnmbox.el (nnmbox-request-article): Don't change point.

2013-08-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
* gnus-icalendar.el (gnus-icalendar-event:inline-reply-buttons):
  Include `handle' parameter.

2013-08-01 Jan Tatarik <jan.tatarik@gmail.com>
* gnus-icalendar.el: New file.

2013-08-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
* gnus-int.el (gnus-warp-to-article): Mention that warp means jump.
* gnus-uu.el (gnus-uu-mark-thread, gnus-uu-unmark-thread): Work with
  dummy roots, too.

2013-08-01 David Edmondson <dme@dme.org>
* mml2015.el (mml2015-epg-key-image-to-string): Protect against bugging
  out on ttys.

2013-08-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
* gnus-start.el (gnus-dribble-save): Only save the dribble file if it's
  not empty.
2013-08-01 22:58:40 +00:00
Juanma Barranquero
44e18199d9 Fix typos in ChangeLogs. 2013-08-02 00:53:03 +02:00
Paul Eggert
6318cde023 * fileio.c, fns.c (merge): Move extern decl from here ...
* lisp.h (merge): ... to here.
2013-08-01 23:24:02 +01:00