- 06 Jul, 2012 18 commits
-
-
Glenn Morris authored
* make-dist [update]: Let autoreconf figure out what needs updating. Use `make info-real'. leim/leim-list.el should always exist. Check cd return value.
-
Dmitry Antipov authored
* marker.c (unchain_marker): Simplify. Fix comments.
-
Glenn Morris authored
-
Glenn Morris authored
The comment in Makefile.in has been orphaned ever since the bootstrap-prepare rule was removed in 2008.
-
Glenn Morris authored
-
Glenn Morris authored
It is the same as "recompile autoloads", but parallelizable.
-
Dmitry Gutov authored
quit-restore parameter. * window.el (quit-window): Always restore window height when it's saved in quit-restore parameter.
-
Dmitry Antipov authored
* alloc.c (build_marker): New function. * lisp.h (build_marker): New prototype. * buffer.c (clone_per_buffer_values, Fmake_indirect_buffer): Use it. * composite.c (autocmp_chars): Likewise. * editfns.c (buildmark): Remove. (Fpoint_marker, Fpoint_min_marker, Fpoint_max_marker) (save_restriction_save): Use build_marker. * marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos): Likewise. * window.c (save_window_save): Likewise.
-
Chong Yidong authored
* doc/emacs/emacs.texi: Re-order top-level menu to correspond to logical order, to avoid makeinfo warnings. * doc/emacs/ack.texi (Acknowledgments): Note new python.el.
-
Dmitry Antipov authored
to avoid redundant calls to unchain_overlay. * buffer.c (drop_overlay): New function. (delete_all_overlays, Fdelete_overlay): Use it. * minibuf.c (get_minibuffer): Fix comment.
-
Chong Yidong authored
-
Chong Yidong authored
* doc/lispref/intro.texi (A Sample Function Description): Fix incorrect markup, undoing previous change. (A Sample Variable Description): Minor clarifications and markup improvements. * doc/lispref/elisp.texi (Top): * doc/lispref/text.texi (Text): Fix menu order.
-
Paul Eggert authored
-
Richard M. Stallman authored
-
Richard M. Stallman authored
-
Richard M. Stallman authored
-
Glenn Morris authored
-
Glenn Morris authored
It has nothing to do with building Emacs, and no-one is likely to be paying attention to the result. The CANNOT_DUMP branch was pointless, since it sets EMACSLOADPATH=$(lispsource) it is impossible for there to ever be any shadows. The EMACSLOADPATH setting was probably necessary for emacs to work at all when uninstalled, given the way init_lread works for the CANNOT_DUMP case. Since -batch implies -q, in the non-CANNOT_DUMP branch, any shadows could only come from site-lisp files.
-
- 05 Jul, 2012 13 commits
-
-
Paul Eggert authored
* alloc.c, bidi.c, buffer.c, buffer.h, bytecode.c, callint.c: * callproc.c, charset.c, coding.c, composite.c, data.c, dispnew.c: * doc.c, editfns.c, emacs.c, eval.c, fileio.c, filelock.c, fns.c: * font.c, fontset.c, frame.c, fringe.c, ftfont.c, ftxfont.c, gmalloc.c: * gtkutil.c, image.c, keyboard.c, keymap.c, lread.c, macros.c, menu.c: * nsfns.m, nsfont.m, nsmenu.m, nsterm.m, print.c, process.c, ralloc.c: * regex.c, region-cache.c, scroll.c, search.c, sound.c, syntax.c: * sysdep.c, term.c, termcap.c, unexmacosx.c, window.c, xdisp.c: * xfaces.c, xfns.c, xftfont.c, xgselect.c, xmenu.c, xrdb.c, xselect.c: * xterm.c: Omit needless casts involving void * pointers and allocation. Prefer "P = xmalloc (sizeof *P)" to "P = xmalloc (sizeof (TYPE_OF_P))", as the former is more robust if P's type is changed. Prefer xzalloc to xmalloc + memset 0. Simplify malloc-or-realloc to realloc. Don't worry about xmalloc returning a null pointer. Prefer xstrdup to xmalloc + strcpy. * editfns.c (Fmessage_box): Grow message_text by at least 80 when growing it. * keyboard.c (apply_modifiers_uncached): Prefer local array to alloca of a constant.
-
Eli Zaretskii authored
src/xdisp.c (display_line): Fix horizontal pixel coordinates when hscroll is larger than the line width. Fixes long and futile looping inside extend_face_to_end_of_line (on a TTY) producing glyphs that are not needed and thrown away.
-
Dmitry Antipov authored
clip_to_bounds.
-
Paul Eggert authored
-
Jan Djärv authored
* gtkutil.c (gtk_scrollbar_new, gtk_box_new): Define when HAVE_GTK3 is not defined (Bug#11768). (xg_create_frame_widgets): Use gtk_plug_new_for_display (Bug#11768). (xg_create_frame_widgets, create_dialog, xg_get_file_with_chooser) (make_widget_for_menu_item, xg_make_tool_item): Use gtk_box_new followed by gtk_box_set_homogeneous (Bug#11768). (xg_update_menu_item): Use GTK_IS_BOX (Bug#11768). (update_theme_scrollbar_width, xg_create_scroll_bar): Use gtk_scrollbar_new (Bug#11768). (xg_event_is_for_scrollbar): Use Gdk Device functions for HAVE_GTK3. (is_box_type): New function (Bug#11768). (xg_tool_item_stale_p): Call is_box_type. (xg_initialize): Get settings by calling gtk_settings_get_for_screen with default display (Bug#11768).
-
Eli Zaretskii authored
Fixes: debbugs:11857
-
Eli Zaretskii authored
src/xdisp.c (window_hscroll_limited): New function. (pos_visible_p, init_iterator): Use it to avoid overflow of pixel coordinates when window's hscroll is set to insanely large values. src/window.h (struct window) <hscroll, min_hscroll>: Change type to 'int'.
-
Juanma Barranquero authored
($(BLD)/dired.$(O), $(BLD)/fileio.$(O)): Fix typo. ($(BLD)/terminal.$(O), $(BLD)/syntax.$(O)): Update dependencies.
-
Michael Albinus authored
* net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs compatible declaration. * net/tramp-cmds.el (tramp-append-tramp-buffers): Protect `list-load-path-shadows' call. * net/tramp-compat.el (top): Require packages, which aren't autoloaded anymore for XEmacs. Protect call of `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the compiler. Do not require tramp-util.el and tramp-vc.el anymore, it hurts at least for SXEmacs. (tramp-compat-temporary-file-directory): In XEmacs, there is no standard-value for `temporary-file-directory'. * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat): Redirect stderr to /dev/null. (tramp-sh-handle-write-region): uid and gid can be floats. Reported by Russell Sim <russell.sim@gmail.com>. (tramp-sh-handle-vc-registered): Hide errors. (tramp-vc-file-name-handler): Use dummy results for `process-file' and `start-file-process'. (tramp-maybe-open-connection): Check also whether `non-essential' is bound.
-
Dmitry Antipov authored
* admin/coccinelle/xzalloc.cocci: Semantic patch to convert calls to xmalloc with following memset to xzalloc. * src/lisp.h (xzalloc): New prototype. Omit needless casts. * src/alloc.c (xzalloc): New function. Omit needless casts. * src/charset.c: Omit needless casts. Convert all calls to malloc with following memset to xzalloc. * src/dispnew.c: Likewise. * src/fringe.c: Likewise. * src/image.c: Likewise. * src/sound.c: Likewise. * src/term.c: Likewise. * src/w32fns.c: Likewise. * src/w32font.c: Likewise. * src/w32term.c: Likewise. * src/xfaces.c: Likewise. * src/xfns.c: Likewise. * src/xterm.c: Likewise. * src/atimer.c: Omit needless casts. * src/buffer.c: Likewise. * src/callproc.c: Likewise. * src/ccl.c: Likewise. * src/coding.c: Likewise. * src/composite.c: Likewise. * src/doc.c: Likewise. * src/doprnt.c: Likewise. * src/editfns.c: Likewise. * src/emacs.c: Likewise. * src/eval.c: Likewise. * src/filelock.c: Likewise. * src/fns.c: Likewise. * src/gtkutil.c: Likewise. * src/keyboard.c: Likewise. * src/lisp.h: Likewise. * src/lread.c: Likewise. * src/minibuf.c: Likewise. * src/msdos.c: Likewise. * src/print.c: Likewise. * src/process.c: Likewise. * src/region-cache.c: Likewise. * src/search.c: Likewise. * src/sysdep.c: Likewise. * src/termcap.c: Likewise. * src/terminal.c: Likewise. * src/tparam.c: Likewise. * src/w16select.c: Likewise. * src/w32.c: Likewise. * src/w32reg.c: Likewise. * src/w32select.c: Likewise. * src/w32uniscribe.c: Likewise. * src/widget.c: Likewise. * src/xdisp.c: Likewise. * src/xmenu.c: Likewise. * src/xrdb.c: Likewise. * src/xselect.c: Likewise.
-
Paul Eggert authored
Problem reported by Troels Nielsen in <http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00095.html>.
-
Glenn Morris authored
-
Michael Witten authored
(A Sample Variable Description, Version Info): Copy edits. Fixes: debbugs:11862
-
- 04 Jul, 2012 9 commits
-
-
Paul Eggert authored
This should be fixed in a better way; see Eli Zaretskii in <http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00088.html>. (HSCROLL_MAX): Remove; this is now internal to set_window_hscroll.
-
Juanma Barranquero authored
* nt/gmake.defs (DEBUG_CFLAGS): Add -fno-crossjumping. (CHECKING_CFLAGS): Remove. (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS). * nt/nmake.defs (CHECKING_CFLAGS): Remove. (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
-
Paul Eggert authored
The old name's problems were noted by Eli Zaretskii in <http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00087.html>.
-
Paul Eggert authored
This variable's comment says Emacs needs at least one GDB-visible symbol of type enum pvec_type, to work around GDB problems. The symbol's value doesn't matter.
-
Paul Eggert authored
that causes compilation to fail on pre-C99 compilers.
-
Juanma Barranquero authored
* admin/CPP-DEFINES (LISP_FLOAT_TYPE): Remove, obsolete. * nt/config.nt (LISP_FLOAT_TYPE, HAVE_XFREE386, USE_TEXT_PROPERTIES) (GSSAPI, HAVE_LIBINTL, HAVE_LIBGSSAPI_KRB5, HAVE_LIBGSSAPI) (HAVE_GSSAPI_H, HAVE_LIBXBD, HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET) (HAVE_MEMCMP): Remove, obsolete. * src/s/ms-w32.h (LISP_FLOAT_TYPE, HAVE_MEMCMP, HAVE_MEMCPY) (HAVE_MEMMOVE, HAVE_MEMSET): Don't set, obsolete.
-
Juanma Barranquero authored
-
Chong Yidong authored
* xml.el (xml--parse-buffer): Use xml-syntax-table. (xml-parse-tag): Likewise, and avoid changing entity tables. (xml-syntax-table): Define from scratch, making sure not to give x2000 and other Unicode spaces whitespace syntax, since those are not spaces in XML. (xml-parse-fragment): Delete unused function. (xml-name-start-char-re, xml-name-char-re, xml-name-re) (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re) (xml-entity-ref, xml-pe-reference-re) (xml-reference-re,xml-att-value-re, xml-tokenized-type-re) (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re) (xml-att-type-re, xml-default-decl-re, xml-att-def-re) (xml-entity-value-re): Use syntax references in regexps where possible; no need to define inside a let-binding. (xml-parse-dtd): Use xml-pe-reference-re. (xml-entity-or-char-ref-re): New defconst. (xml-parse-string, xml-substitute-special): Use it.
-
Stefan Monnier authored
(find-file--read-only): New function. (find-file-read-only, find-file-read-only-other-window) (find-file-read-only-other-frame): Use it. (insert-file-contents-literally): Don't `fset'. (get-free-disk-space): Use locate-dominating-file.
-