1. 17 Jun, 2014 1 commit
    • Stefan Monnier's avatar
      * lisp/rect.el (rectangle-preview): New custom. · 5139e960
      Stefan Monnier authored
      (rectangle): New group.
      (rectangle--pos-cols): Add `window' argument.
      (rectangle--string-preview-state, rectangle--string-preview-window):
      New vars.
      (rectangle--string-flush-preview, rectangle--string-erase-preview)
      (rectangle--space-to, rectangle--string-preview): New functions.
      (string-rectangle): Use them.
      (rectangle--inhibit-region-highlight): New var.
      (rectangle--highlight-for-redisplay): Obey it.  Make sure
      `apply-on-region' uses the point-crutches of the right window.
      Use :align-to rather than multiple spaces.
      5139e960
  2. 15 Jun, 2014 1 commit
  3. 14 Jun, 2014 1 commit
  4. 13 Jun, 2014 1 commit
  5. 11 Jun, 2014 3 commits
    • Stefan Monnier's avatar
      * lisp/rect.el: Make it possible to move bounds past EOL or into TABs. · 7e74ad02
      Stefan Monnier authored
      (operate-on-rectangle): Use apply-on-rectangle.
      (rectangle--mark-crutches): New var.
      (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
      (rectangle--crutches, rectangle--reset-crutches): New functions.
      (apply-on-rectangle): Obey crutches.  Avoid setq.
      Fix missing final iteration if end is at EOB&BOL.
      (rectangle-mark-mode-map): Add remap bindings for
      exchange-point-and-mark and char/line movements.
      (rectangle--*-char): New function.
      (rectangle-exchange-point-and-mark, rectangle-right-char)
      (rectangle-left-char, rectangle-forward-char)
      (rectangle-backward-char, rectangle-next-line)
      (rectangle-previous-line): New commands.
      (rectangle--place-cursor): New function.
      (rectangle--highlight-for-redisplay): Use it.  Use apply-on-rectangle.
      7e74ad02
    • Glenn Morris's avatar
      * etc/NEWS: Relocate entry · b83db3b9
      Glenn Morris authored
      b83db3b9
    • Glenn Morris's avatar
      * configure.ac: Require at least version 3.81 of GNU make. · b12e56ab
      Glenn Morris authored
      It's 8 years old and has some useful features not in older versions.
      
      * etc/NEWS: Mention this.
      b12e56ab
  6. 09 Jun, 2014 1 commit
  7. 08 Jun, 2014 1 commit
    • Glenn Morris's avatar
      Doc edits re uniquify · 99d8aedf
      Glenn Morris authored
      * 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.
      99d8aedf
  8. 07 Jun, 2014 1 commit
  9. 06 Jun, 2014 1 commit
  10. 05 Jun, 2014 1 commit
    • Glenn Morris's avatar
      Some documentation for signing of packages · e1b3f35f
      Glenn Morris authored
      * doc/emacs/package.texi (Package Menu, Package Installation):
      Mention signed packages.
      
      * doc/lispref/package.texi (Package Archives): Mention signing packages.
      
      * lisp/emacs-lisp/package.el (package-check-signature)
      (package-unsigned-archives): Doc fixes.
      
      * etc/NEWS: Related edits.
      e1b3f35f
  11. 03 Jun, 2014 2 commits
  12. 02 Jun, 2014 2 commits
  13. 30 May, 2014 1 commit
  14. 29 May, 2014 2 commits
    • Glenn Morris's avatar
      Do not mention individual ns options in the manual · 6dc6521e
      Glenn Morris authored
      * doc/emacs/macos.texi (Mac / GNUstep Customization): Mention ns custom group.
      (Customization options specific to Mac OS / GNUstep): Remove section.
      
      * etc/NEWS: Related markup.
      6dc6521e
    • Stefan Monnier's avatar
      * lisp/font-lock.el (font-lock-flush, font-lock-ensure): New functions. · 6711a21f
      Stefan Monnier authored
      (font-lock-fontify-buffer): Mark interactive-only.
      (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
      Make buffer-local.
      (font-lock-specified-p): Remove redundant boundp check.
      (font-lock-flush-function, font-lock-ensure-function): New vars.
      (font-lock-turn-on-thing-lock): Set them.
      (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
      (font-lock-after-change-function): Make `old-len' optional.
      (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
      Call font-lock-flush, just in case.
      * lisp/progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
      recent Emacsen.
      * lisp/progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
      (vera-mode-map, vera-mode-menu): Remove bindings to it.
      * lisp/progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
      and with-syntax-table.
      * lisp/textmodes/conf-mode.el (conf-quote-normal):
      * lisp/progmodes/sh-script.el (sh-set-shell):
      * lisp/progmodes/prog-mode.el (prettify-symbols-mode):
      * lisp/progmodes/f90.el (f90-font-lock-n):
      * lisp/progmodes/cwarn.el (cwarn-mode):
      * lisp/nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
      * lisp/progmodes/compile.el (compilation-setup, compilation--unsetup):
      * lisp/hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
      (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
      * lisp/mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
      font-lock-fontify-buffer-function and
      font-lock-unfontify-buffer-function.
      (rmail-unfontify-buffer-function, rmail-fontify-message):
      Use with-silent-modifications.
      * lisp/htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
      and font-lock-ensure.
      * lisp/bs.el (bs-show-in-buffer): Use font-lock-ensure.
      * lisp/gnus/mm-view.el (mm-display-inline-fontify): Use font-lock-ensure.
      * lisp/gnus/gnus-cite.el (gnus-message-citation-mode): Use font-lock-flush.
      * lisp/org/org-compat.el (org-font-lock-ensure): New function.
      * lisp/org/ox-odt.el (org-odt-do-format-code):
      * lisp/org/ox-html.el (org-html-fontify-code):
      * lisp/org/org.el (org-fontify-like-in-org-mode):
      * lisp/org/org-src.el (org-src-font-lock-fontify-block):
      * lisp/org/org-clock.el (org-clock-get-clocktable): Use it.
      * lisp/org/ox-org.el (org-org-publish-to-org): Use it.  Avoid using find-file
      from Elisp.
      * test/automated/ruby-mode-tests.el (ruby-assert-face): Use font-lock-ensure.
      (ruby-interpolation-keeps-non-quote-syntax): Use syntax-propertize.
      6711a21f
  15. 28 May, 2014 2 commits
    • Glenn Morris's avatar
      Try to document some OS X changes · c7f8fb28
      Glenn Morris authored
      I can't test any of this, but no-one else seems to care, so this is
      what you get.
      
      * doc/emacs/macos.texi (Mac / GNUstep Customization): Mention some new features.
      
      * etc/NEWS: Related edits.
      c7f8fb28
    • Stefan Monnier's avatar
      * src/callint.c (Ffuncall_interactively): New function. · 0e4857b7
      Stefan Monnier authored
      (Qfuncall_interactively): New var.
      (Qcall_interactively): Remove.
      (Fcall_interactively): Use it.
      (syms_of_callint): Defsubr it.
      * lisp/subr.el (internal--funcall-interactively): New.
      (internal--call-interactively): Remove.
      (called-interactively-p): Detect funcall-interactively instead of
      call-interactively.
      * lisp/simple.el (repeat-complex-command): Use funcall-interactively.
      (repeat-complex-command--called-interactively-skip): Remove.
      0e4857b7
  16. 27 May, 2014 2 commits
    • Fabrice Popineau's avatar
      Use mmap(2) emulation for buffer text on MS-Windows. · 587fd086
      Fabrice Popineau authored
       src/Makefile.in (C_HEAP_SWITCH): Get the predefined heap size from
       configure.
       (ADDSECTION, MINGW_TEMACS_POST_LINK): Remove, no longer used.
       src/lisp.h (NONPOINTER_BITS): Modify the condition to define to zero
       for MinGW, since it no longer uses gmalloc.
       src/buffer.c: Do not define mmap allocations functions for Windows.
       Remove mmap_find which is unused. Remove mmap_set_vars which does
       nothing useful.
       [WINDOWSNT]: Include w32heap.h.
       (init_buffer): Always allocate new memory for buffers.
       src/emacs.c: Remove mmap_set_vars calls.
       src/image.c (free_image): Undef free for Windows because it is
       redirected to our private version.
       src/unexw32.c (COPY_PROC_CHUNK): Use %p format for 64bits
       compatibility.
       (copy_executable_and_dump_data): Remove dumping the heap section.
       (unexec): Restore using_dynamic_heap after dumping.
       src/w32heap.c (dumped_data_commit, malloc_after_dump)
       (malloc_before_dump, realloc_after_dump, realloc_before_dump)
       (free_after_dump, free_before_dump, mmap_alloc, mmap_realloc)
       (mmap_free): New functions.
       src/w32heap.h: Declare dumped_data and mmap_* function prototypes.
      
       nt/inc/ms-w32.h: Switch to the system heap allocation scheme
       instead of GNU malloc and ralloc.
       nt/inc/sys/mman.h: New file.
       nt/INSTALL: Update for the new build requirements.
      
       etc/NEWS: Mention build changes on MS-Windows.
      
       configure.ac (C_HEAP_SWITCH) define for different values of
       dumped heap size depending on 32/64bits arch on Windows.
       Don't check for pthreads.h on MinGW32/64, it gets in the way.
       Use mmap(2) for buffers and system malloc for MinGW32/64.
      587fd086
    • Glenn Morris's avatar
      Doc updates re filter-buffer-substring · e9e341bb
      Glenn Morris authored
      * lisp/simple.el (filter-buffer-substring-functions)
      (filter-buffer-substring-function, buffer-substring-filters)
      (filter-buffer-substring, buffer-substring--filter): Doc fixes.
      
      * doc/lispref/text.texi (Buffer Contents):
      Update for filter-buffer-substring changes.
      
      * doc/lispref/hooks.texi: Remove old comment.
      
      * etc/NEWS: Related markup.
      e9e341bb
  17. 25 May, 2014 2 commits
  18. 24 May, 2014 1 commit
  19. 17 May, 2014 1 commit
    • Paul Eggert's avatar
      Assume C99 or later. · 8208d2bf
      Paul Eggert authored
      * lib/stdarg.in.h, lib/stdbool.in.h, m4/stdarg.m4, m4/stdbool.m4:
      Remove.
      * configure.ac (_AC_PROG_CC_C89): Define a dummy, to keep 'configure'
      smaller.
      (gl_PROG_CC_C99): Use this to get C99 or later.
      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
      * admin/merge-gnulib (GNULIB_MODULES): Remove stdarg, stdbool.
      (GNULIB_TOOL_FLAGS): Avoid stdarg, stdbool.
      * doc/lispref/internals.texi (C Dialect): Document this.
      * etc/NEWS: Document this.
      * nt/gnulib.mk: Remove stdarg and stdbool modules.
      * src/bytecode.c (B__dummy__): Remove.
      * src/conf_post.h (bool_bf) [!NS_IMPL_GNUSTEP]: Use bool.
      (FLEXIBLE_ARRAY_MEMBER): Now always empty.
      * src/dbusbind.c (XD_DEBUG_MESSAGE) [!DBUS_DEBUG]:
      * src/regex.c (DEBUG_PRINT): Assume varargs macros.
      * src/lisp.h (DEFUN_FUNCTION_INIT): Remove.  All uses now assume C99.
      
      Fixes: debbugs:17487
      8208d2bf
  20. 16 May, 2014 1 commit
    • Paul Eggert's avatar
      Don't require pkg-config when building from repository. · c56327b5
      Paul Eggert authored
      * INSTALL: Prefer './configure FOO=BAR' to 'FOO=BAR ./configure'.
      * INSTALL.REPO: pkg-config is no longer required to build from
      the repository.
      * autogen.sh: Don't check for pkg-config.
      (progs): Remove pkg-config.
      (pkg_config_min, AUTORECONF_ENV, env_space, ACLOCAL_PATH):
      Remove.  All uses removed.
      * m4/pkg.m4: New file, built by admin/merge-pkg-config.
      * configure.ac: Remove unnecessary m4_pattern_forbid of ^PKG_ and
      an AC_ARG_VAR of PKG_CONFIG_PATH.  pkg.m4 does that for us.
      (EMACS_CHECK_MODULES): Remove workaround for old pkg-config bug,
      as we use pkg.m4 from a newer pkg-config.
      * admin/merge-pkg-config: New script.
      * admin/notes/copyright: Update for m4/*.m4, in particular m4/pkg.m4.
      * etc/NEWS: Prefer './configure FOO=BAR' to 'FOO=BAR ./configure'.
      * etc/PROBLEMS (Build-time-problems): Remove pkg-config problem
      that is no longer an issue.
      * nt/INSTALL: Remove no-longer-needed notes about pkg-config.
      c56327b5
  21. 14 May, 2014 1 commit
    • Glenn Morris's avatar
      Add with-file-modes macro, and use it · d63d883a
      Glenn Morris authored
      * lisp/subr.el (with-file-modes): New macro.
      
      * lisp/printing.el (pr-save-file-modes):
      * lisp/eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
      
      * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
      Add with-file-modes.
      
      * lisp/doc-view.el (doc-view-make-safe-dir):
      * lisp/epg.el (epg--start):
      * lisp/files.el (locate-user-emacs-file, make-temp-file)
      (backup-buffer-copy, move-file-to-trash):
      * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
      * eshell/esh-util.el (eshell-with-private-file-modes)
      (eshell-make-private-directory):
      * lisp/net/browse-url.el (browse-url-mosaic):
      * lisp/obsolete/mailpost.el (post-mail-send-it):
      * lisp/obsolete/pgg-pgp.el (pgg-pgp-verify-region):
      * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
      * lisp/url/url-util.el (url-make-private-file):
      Use with-file-modes.
      
      * doc/lispref/files.texi (Changing Files): Mention with-file-modes.
      
      * etc/NEWS: Mention this.
      d63d883a
  22. 04 May, 2014 2 commits
    • Leo Liu's avatar
      * etc/NEWS: Correct spelling. · f930a063
      Leo Liu authored
      * lisp/calendar/diary-lib.el (calendar-chinese-month-name-array):
      Defvar to pacify compiler.
      f930a063
    • Leo Liu's avatar
      Support Chinese diary entries in calendar and diary · bbdcf64f
      Leo Liu authored
      * doc/emacs/cal-xtra.texi (Non-Gregorian Diary): Document new features for
      Chinese calendar and diary.
      
      * etc/NEWS: Mention support for Chinese dates in calendar and diary.
      
      * lisp/calendar/cal-china.el (calendar-chinese-month-name-array): New var.
      (calendar-chinese-from-absolute-for-diary)
      (calendar-chinese-to-absolute-for-diary)
      (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
      (diary-chinese-list-entries): New functions to list and mark
      Chinese diary entries in the calendar window.
      (diary-chinese-anniversary)
      (diary-chinese-insert-anniversary-entry)
      (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
      (diary-chinese-insert-yearly-entry): New commands to insert
      Chinese diary entries.
      
      * lisp/calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
      inserting Chinese diary entries.
      
      * lisp/calendar/calendar.el (diary-chinese-entry-symbol): New
      customizable variable.
      (calendar-mode-map): Add bindings for inserting Chinese diary
      entries.
      
      * lisp/calendar/diary-lib.el (diary-font-lock-keywords): Support
      font-locking Chinese dates.
      
      Fixes: debbugs:17393
      bbdcf64f
  23. 02 May, 2014 1 commit
  24. 29 Apr, 2014 1 commit
    • Stefan Monnier's avatar
      * src/window.c (struct saved_window): Remove mark. · 4d89ee37
      Stefan Monnier authored
      (Fset_window_configuration, save_window_save)
      (compare_window_configurations): Don't touch marks any more.
      * doc/lispref/windows.texi (Window Configurations, Window Configurations):
      Window configs don't store marks any more.
      4d89ee37
  25. 22 Apr, 2014 2 commits
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/byte-run.el (function-put): New function. · 67c477ae
      Stefan Monnier authored
      (defun-declarations-alist): Use it.  Add `pure' and `side-effect-free'.
      * lisp/emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
      (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
      Use them.
      67c477ae
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure. · d6f14ca7
      Stefan Monnier authored
      (cl--set-elt): Don't proclaim as inline.
      (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
      Define as inlinable instead.
      (cl-struct-set-slot-value): Remove.
      * doc/misc/cl.texi (Structures): Remove cl-struct-set-slot-value.
      * lisp/emacs-lisp/cl-lib.el (cl--set-elt): Remove.
      * lisp/emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
      Use setf instead.
      d6f14ca7
  26. 21 Apr, 2014 1 commit
  27. 20 Apr, 2014 3 commits
  28. 17 Apr, 2014 1 commit
    • Daniel Colascione's avatar
      2014-04-17 Daniel Colascione <dancol@dancol.org> · bfc30790
      Daniel Colascione authored
      	Add support for bracketed paste mode; add infrastructure for
      	managing terminal mode enabling and disabling automatically.
      
      	* xt-mouse.el:
      	(xterm-mouse-mode): Simplify.
      	(xterm-mouse-tracking-enable-sequence)
      	(xterm-mouse-tracking-disable-sequence): New constants.
      	(turn-on-xterm-mouse-tracking-on-terminal)
      	(turn-off-xterm-mouse-tracking-on-terminal): Use
      	tty-mode-set-strings and tty-mode-reset-strings terminal
      	parameters instead of random hooks.
      	(turn-on-xterm-mouse-tracking)
      	(turn-off-xterm-mouse-tracking): Delete.
      
      	* term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
      	(xterm-paste-ending-sequence): New constant.
      	(xterm-paste): New command used for bracketed paste support.
      
      	(xterm-modify-other-keys-terminal-list): Delete obsolete variable.
      	(terminal-init-xterm-bracketed-paste-mode): New function.
      	(terminal-init-xterm): Call it.
      	(terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
      	and tty-mode-reset-strings instead of random hooks.
      	(xterm-turn-on-modify-other-keys)
      	(xterm-turn-off-modify-other-keys)
      	(xterm-remove-modify-other-keys): Delete obsolete functions.
      
      	* term/screen.el: Rewrite to just use the xterm code.  Add
      	copyright notice.  Mention tmux.
      bfc30790