1. 21 May, 2015 1 commit
  2. 20 May, 2015 2 commits
  3. 19 May, 2015 4 commits
    • Paul Eggert's avatar
      Fix minor quoting problems in doc strings · 9d35bb8d
      Paul Eggert authored
      These were glitches regardless of how or whether we tackle the
      problem of grave accent in doc strings.
      * lisp/calc/calc-aent.el (math-restore-placeholders):
      * lisp/ido.el (ido-ignore-buffers, ido-ignore-files):
      * lisp/leim/quail/cyrillic.el ("bulgarian-alt-phonetic"):
      * lisp/leim/quail/hebrew.el ("hebrew-new")
      * lisp/leim/quail/thai.el ("thai-kesmanee"):
      * lisp/progmodes/idlw-shell.el (idlwave-shell-file-name-chars):
      Used curved quotes to avoid ambiguities like ‘`''’ in doc strings.
      * lisp/calendar/calendar.el (calendar-month-abbrev-array):
      * lisp/cedet/semantic/mru-bookmark.el (semantic-mrub-cache-flush-fcn):
      * lisp/cedet/semantic/symref.el (semantic-symref-tool-baseclass):
      * lisp/cedet/semantic/tag.el (semantic-tag-copy)
      * lisp/cedet/srecode/cpp.el (srecode-semantic-handle-:cpp):
      * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
      * lisp/emacs-lisp/byte-opt.el (byte-optimize-all-constp):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-message-text-engine):
      * lisp/emacs-lisp/generator.el (iter-next):
      * lisp/gnus/gnus-art.el (gnus-treat-strip-list-identifiers)
      * lisp/net/rlogin.el (rlogin-directory-tracking-mode):
      * lisp/net/soap-client.el (soap-wsdl-get):
      * lisp/net/telnet.el (telnet-mode):
      * lisp/org/org-compat.el (org-number-sequence):
      * lisp/org/org.el (org-remove-highlights-with-change)
      * lisp/org/ox-html.el (org-html-link-org-files-as-html):
      * lisp/play/handwrite.el (handwrite-10pt, handwrite-11pt)
      (handwrite-12pt, handwrite-13pt):
      * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
      * lisp/progmodes/idlwave.el (idlwave-mode, idlwave-check-abbrev):
      * lisp/progmodes/verilog-mode.el (verilog-tool)
      (verilog-string-replace-matches, verilog-preprocess)
      (verilog-auto-insert-lisp, verilog-auto-insert-last):
      * lisp/textmodes/makeinfo.el (makeinfo-options):
      * src/font.c (Ffont_spec):
      Fix minor quoting problems in doc strings, e.g., missing quote,
      ``x'' where `x' was meant, etc.
      * lisp/erc/erc-backend.el (erc-process-sentinel-2):
      Fix minor quoting problem in other string.
      * lisp/leim/quail/ethiopic.el ("ethiopic"):
      * lisp/term/tvi970.el (tvi970-set-keypad-mode):
      Omit unnecessary quotes.
      * lisp/faces.el (set-face-attribute, set-face-underline)
      (set-face-inverse-video, x-create-frame-with-faces):
      * lisp/gnus/gnus-group.el (gnus-group-nnimap-edit-acl):
      * lisp/mail/supercite.el (sc-attribs-%@-addresses)
      (sc-attribs-!-addresses, sc-attribs-<>-addresses):
      * lisp/net/tramp.el (tramp-methods):
      * lisp/recentf.el (recentf-show-file-shortcuts-flag):
      * lisp/textmodes/artist.el (artist-ellipse-right-char)
      (artist-ellipse-left-char, artist-vaporize-fuzziness)
      (artist-spray-chars, artist-mode, artist-replace-string)
      (artist-put-pixel, artist-text-see-thru):
      * lisp/vc/ediff-util.el (ediff-submit-report):
      * lisp/vc/log-edit.el (log-edit-changelog-full-paragraphs):
      Use double-quotes rather than TeX markup in doc strings.
      * lisp/skeleton.el (skeleton-pair-insert-maybe):
      Reword to avoid the need for grave accent and apostrophe.
      * lisp/xt-mouse.el (xterm-mouse-tracking-enable-sequence):
      Don't use grave and acute accents to quote.
    • Eli Zaretskii's avatar
      Fix display of overlapping window-specific overlays · 18338b1d
      Eli Zaretskii authored
      * src/keyboard.c (adjust_point_for_property): When adjusting point
      due to display strings, ignore overlays that are specific to
      windows other than the currently selected one.
      * src/xdisp.c (handle_single_display_spec): If the display
      property comes from an overlay, arrange for buffer iteration to
      resume only after the end of that overlay.  (Bug#20607)
    • Martin Rudalics's avatar
      Clarify concept of "surrogate minibuffer frames" (Bug#20538) · 9a07af01
      Martin Rudalics authored
      * src/frame.c (Fdelete_frame): In doc-string mention that frame
      can't be deleted if it has a surrogate minibuffer.
      * doc/lispref/frames.texi (Minibuffers and Frames)
      (Deleting Frames): Explain "surrogate minibuffer frames".
    • Martin Rudalics's avatar
      In w32heap.c bump DUMPED_HEAP_SIZE to 19/12 MB · 448cacc8
      Martin Rudalics authored
      * emacs-git/quick/src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 19/12 MB.
  4. 17 May, 2015 4 commits
  5. 16 May, 2015 2 commits
    • Glenn Morris's avatar
      Small src/Makefile simplification. · e3c90430
      Glenn Morris authored
      * src/lisp.mk (shortlisp): Rename from lisp, remove $lispsource prefix.
      * src/Makefile.in (lisp): Derive from shortlisp.
      ($(etc)/DOC): Use $shortlisp rather than parsing lisp.mk.
    • Glenn Morris's avatar
      Replace AC_SUBST_FILE in configure with include in Makefiles. · 48e384d7
      Glenn Morris authored
      * configure.ac (DEPDIR, MKDEPDIR, deps_frag, lwlib_deps_frag)
      (oldxmenu_deps_frag, lisp_frag): Remove output variables/files.
      (AUTO_DEPEND): New output variable.
      * lwlib/Makefile.in (AUTO_DEPEND): New, set by configure.
      (DEPFLAGS, MKDEPDIR): Set directly via conditional.
      (lwlib_deps_frag): Replace by conditional include.
      * lwlib/autodeps.mk: Remove file.
      * oldXMenu/Makefile.in (AUTO_DEPEND): New, set by configure.
      (DEPFLAGS, MKDEPDIR): Set directly via conditional.
      (oldxmenu_deps_frag): Replace by conditional include.
      * oldXMenu/autodeps.mk: Remove file.
      * src/Makefile.in (AUTO_DEPEND): New, set by configure.
      (DEPFLAGS, MKDEPDIR): Set directly via conditional.
      (lisp_frag): Replace by an include.
      (deps_frag): Replace by conditional include.
      * src/autodeps.mk: Remove file.
  6. 15 May, 2015 5 commits
    • Glenn Morris's avatar
      Tweak japanese.el's loading of dependencies. · c7e93c41
      Glenn Morris authored
      * lisp/loadup.el: Explicitly load cp51932 and eucjp-ms.
      * lisp/language/japanese.el: Use require rather than load.
      * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
      Provide a feature.
      * admin/charsets/eucjp-ms.awk, admin/charsets/cp51932.awk:
      Provide a feature in the generated file.
    • Jan D's avatar
      Fix NS warnings. · b00168e8
      Jan D authored
      * nsmenu.m (ns_popup_dialog)
      * nsimage.m (initFromXBM:width:height:fg:bg:)
      * nsfns.m (Fx_create_frame): Remove unused variables.
      (Fns_read_file_name): Initialize fname, remove ret.
      * nsterm.m (ns_draw_window_cursor): Handle DEFAULT_CURSOR in switch.
      (ns_get_color, ns_set_horizontal_scroll_bar, keyDown): Remove unused
      (init): Add parantesis in if.
      (ns_create_terminal): Assign set_horizontal_scroll_bar_hook.
    • Jan Djärv's avatar
      Fix a enum conversion warning in macfont.m · d02ce2c4
      Jan Djärv authored
      * src/macfont.h (CharacterCollection): Typedef to NSCharacterCollection.
      (MAC_CHARACTER_COLLECTION_*): Use the NS variants.
    • Jan Djärv's avatar
      Fix warnings on OSX 10.10. · e0e07535
      Jan Djärv authored
      * nsfns.m (MODAL_OK_RESPONSE): New define for different OSX versions.
      (Fns_read_file_name): Check against MODAL_OK_RESPONSE.
      (compute_tip_xy): Use convertRectToScreen for OSX >= 10.7
      * nsmenu.m (initWithContentRect:styleMask:backing:defer:)
      * nsimage.m (allocInitFromFile, setPixmapData): Only call
      setScalesWhenResized for OSX < 10.6.
      * nsterm.h (EmacsScroller): Declare scrollerWidth.
      * nsterm.m (ns_copy_bits): New function that does not use deprecated
      (ns_scroll_run, ns_shift_glyphs_for_insert): Call ns_copy_bits.
      (runAlertPanel): New function.
      (applicationShouldTerminate:): Call runAlertPanel.
      (initFrameFromEmacs, toggleFullScreen:): Only call useOptimizedDrawing
      for OSX < 10.10.
      (initFrameFromEmacs:): Only call allocateGState for OSX < 10.10.
      (windowWillUseStandardFrame:defaultFrame:): Cast arg to abs to int.
      (draggingEntered:): Returns NSDragOperation.
      (scrollerWidth): Use scrollerWidthForControlSize for OSX >= 10.7.
    • Jan Djärv's avatar
      Honor :fore/background for XBM on NS (Bug#14969). · 67a878f7
      Jan Djärv authored
      * nsterm.h (EmacsImage): Add xbm_fg, remove initFromSkipXBM,
      initFromXBM takes bg, fg args, remove flip arg.
      (ns_image_from_XBM): Add bg, fg args.
      * image.c (x_create_bitmap_from_data)
      (Create_Pixmap_From_Bitmap_Data): ns_image_from_XBM takes bg, fg args.
      * nsimage.m (ns_image_from_XBM): Add fg, bg args, pass to initFromXBM.
      Remove flip arg.
      (initFromSkipXBM): Move code to initFromXBM.
      (initFromXBM): Actually set fg and bg, instead of playing alpha games.
      Use fg, bg from args (Bug#14969).  Remove if (length) section, was always
      Remove bit flipping (bitPat, swt), generated incorrect images when
      width/height wasn't a multiple of 8.
      (setXBMColor:): Modify planes by comparing to saved xbm_fg.
      * nsterm.m (ns_draw_fringe_bitmap): initFromXBM takes fg, bg args, remove
      flip arg.
  7. 14 May, 2015 5 commits
    • Paul Eggert's avatar
      Check for invalid GTK+ monitor scales · 1d1581a2
      Paul Eggert authored
      * src/gtkutil.c (xg_get_gdk_scale): Return 1 for invalid scales,
      INT_MAX for too-large scales.  All callers changed to assume the
      result is valid (Bug#20432).
      (xg_frame_set_char_size, xg_update_scrollbar_pos):
      Calculate scale only if needed.
      show ASCII approximations instead.
    • Eli Zaretskii's avatar
      Fix daemon crashes when linum-mode is turned on early on · f85318cd
      Eli Zaretskii authored
      * src/window.c (Fwindow_end): Don't try calling display engine
      functions on initial-frame frame.  (Bug#20565)
    • Jan D's avatar
      Fixes Bug#20142. · f2c4fd22
      Jan D authored
      * gtkutil.c (delete_cb): Don't send delete event here, it does arrive
      in the main loop, even for Gtk 3 (Bug#20142).
    • Jan D's avatar
      Don't access display after i/o error (Bug#19147). · 9341956c
      Jan D authored
      * xterm.c (x_connection_closed): Add third arg ioerror.
      If ioerror, set display to 0 (Bug#19147).
      (x_error_quitter): Call x_connection_closed with third arg false.
      (x_io_error_quitter): Call x_connection_closed with third arg true.
    • Jan D's avatar
      Handle GTK_SCALE, fixes Bug#20432. · c0055ff5
      Jan D authored
      * gtkutil.c (xg_get_gdk_scale): New function.
      (x_wm_set_size_hint, xg_get_default_scrollbar_width)
      (xg_update_horizontal_scrollbar_pos): Take GTK_SCALE in to account
      when setting sizes (Bug#20432).
  8. 13 May, 2015 3 commits
  9. 12 May, 2015 1 commit
  10. 10 May, 2015 1 commit
  11. 08 May, 2015 2 commits
  12. 06 May, 2015 1 commit
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/testcover.el: Don't use edebug--read (bug#20487) · 1340aefd
      Stefan Monnier authored
      * lisp/emacs-lisp/testcover.el: Use lexical-binding.
      (testcover--read): Rename from testcover-read.  Change calling convention.
      Use edebug-read-and-maybe-wrap-form now that edebug-read is gone.
      (testcover-start): Use add-function.  Move edebug-all-defs binding to
      (testcover-this-defun): Tighten scope of edebug-all-defs binding.
      (testcover-mark): Remove unused var `item'.
      * src/lread.c (syms_of_lread): Default load-read-function to `read'.
  13. 04 May, 2015 1 commit
    • Daniel Colascione's avatar
      Add `save-mark-and-excursion', which has the old `save-excursion' behavior · 255a011f
      Daniel Colascione authored
      * doc/lispref/positions.texi (Excursions): Document
      * lisp/font-lock.el (font-lock-fontify-block): Use
      `save-mark-and-excursion' instead of `save-excursion', restoring
      Emacs 24 behavior.
      * lisp/simple.el (save-mark-and-excursion--save)
      (save-mark-and-excursion--restore): New functions.
      (save-mark-and-excursion): New user macro.
      * src/editfns.c (Fsave_excursion): Mention
      `save-mark-and-excursion' in `save-excursion' documentation.
  14. 02 May, 2015 1 commit
  15. 30 Apr, 2015 1 commit
  16. 29 Apr, 2015 1 commit
  17. 27 Apr, 2015 1 commit
    • Eli Zaretskii's avatar
      Fix redisplay of frame after loading new fonts · d89687b1
      Eli Zaretskii authored
      * src/xdisp.c (redisplay_internal): When retrying redisplay of a
      frame because new fonts were loaded, disable all redisplay
      optimizations on that frame by calling SET_FRAME_GARBAGED.
  18. 25 Apr, 2015 4 commits
    • Paul Eggert's avatar
      Don't freeze with unreadable processes · 2c1b8604
      Paul Eggert authored
      Don't freeze if an exiting process can't be read from. (Bug#19860).
      This fixes a bug I introduced in
      "* process.c: Add sanity checks for file descriptors."
      Dmitry Gutov did most of the legwork in finding the problem.
      * src/process.c (wait_reading_process_output):
      Treat non-running processes that can't be read from
      the same as other non-running processes.
    • Eli Zaretskii's avatar
      Improve doc string of 'insert-buffer-substring' · bac119a5
      Eli Zaretskii authored
      * src/editfns.c (Finsert_buffer_substring): Doc fix.  (Bug#20421)
    • Paul Eggert's avatar
      Spelling fixes · 2f5da6d4
      Paul Eggert authored
    • Paul Eggert's avatar
      Port --enable-gcc-warnings to GCC 5.1 x86-64 · 52ba851d
      Paul Eggert authored
      * lib-src/ebrowse.c (dump_sym):
      * lib-src/hexl.c (main):
      * src/ccl.c (ccl_driver):
      * src/character.c (string_escape_byte8):
      * src/dbusbind.c (xd_retrieve_arg, xd_add_watch):
      * src/gnutls.c (Fgnutls_boot):
      * src/gtkutil.c (xg_check_special_colors):
      * src/image.c (x_build_heuristic_mask):
      * src/print.c (safe_debug_print, print_object):
      * src/term.c (produce_glyphless_glyph):
      * src/xdisp.c (get_next_display_element)
      * src/xterm.c (x_draw_glyphless_glyph_string_foreground):
      Don't use a signed format to print an unsigned integer, or vice
      versa.  GCC 5.1's new -Wformat-signedness option warns about this.
      * src/image.c (png_load_body, jpeg_load_body):
      Silence a bogus setjump diagnostic from GCC 5.1 (GCC bug 54561).