1. 04 Jul, 2013 1 commit
  2. 03 Jul, 2013 1 commit
  3. 01 Jul, 2013 1 commit
    • Juanma Barranquero's avatar
      lisp/desktop.el: More fixes to frame restoration. · 2addf922
      Juanma Barranquero authored
      (desktop-restore-frames): Rename from desktop-save-windows.
      (desktop-restore-in-current-display): New customization option.
      (desktop--excluded-frame-parameters): Add `font'.
      (desktop--save-frames): Rename from desktop--save-windows.
      (desktop--restore-in-this-display-p): New function.
      (desktop--make-full-frame): Remove unwanted width/height from
      full(width|height) frames.
      (desktop--restore-frames): Rename from desktop--restore-windows.
      Obey desktop-restore-current-display.  Do not delete old frames or
      select a new frame unless we were able to restore at least one frame.
  4. 30 Jun, 2013 2 commits
    • Michal Nazarewicz's avatar
      Add `remember-notes' function to store random notes across Emacs · ef099a94
      Michal Nazarewicz authored
      * remember.el (remember-data-file): Add :set callback to affect
      notes buffer (if any).
      (remember-notes): New command.
      (remember-notes-buffer-name, bury-remember-notes-on-kill):
      New defcustoms for the `remember-notes' function.
      (remember-notes-save-and-bury-buffer): New command.
      (remember-notes-mode-map): New variable.
      (remember-mode): New minor mode.
      (remember-notes--kill-buffer-query): New function.
      * lisp/startup.el (initial-buffer-choice): Add notes to custom type.
      * src/buffer.c (FKill_buffer): Run `kill-buffer-query-functions'
      before checking whether buffer is modified.  This lets
      `kill-buffer-query-functions' cancel killing of the buffer or save
      its content before `kill-buffer' asks user the "Buffer %s
      modified; kill anyway?" question.
      * remember.el (remember-append-to-file):
      Don't mix `find-buffer-visiting' and `get-file-buffer'.
      * lisp/files.el (find-file-noselect): Simplify conditional expression.
    • Paul Eggert's avatar
      Spelling fixes. · adc5dbce
      Paul Eggert authored
  5. 29 Jun, 2013 1 commit
    • Eli Zaretskii's avatar
      Implement visual-order cursor motion. · 4c672a0f
      Eli Zaretskii authored
       src/xdisp.c (Fmove_point_visually): New function.
       lisp/bindings.el (visual-order-cursor-movement): New defcustom.
       (right-char, left-char): Provide visual-order cursor motion by
       calling move-point-visually.  Update the doc strings.
       doc/emacs/basic.texi (Moving Point): Document visual-order-cursor-movement
       and its effect on right-char and left-char.
       doc/lispref/display.texi (Bidirectional Display): Document move-point-visually.
       etc/NEWS: Document the new feature.
  6. 27 Jun, 2013 3 commits
  7. 26 Jun, 2013 1 commit
  8. 25 Jun, 2013 1 commit
  9. 23 Jun, 2013 1 commit
    • Lars Magne Ingebrigtsen's avatar
      Implement :max-width/:max-height for (ImageMagic) images · f3f9606c
      Lars Magne Ingebrigtsen authored
      * doc/lispref/display.texi (ImageMagick Images): Mention :max-width and
      * lisp/net/shr.el (shr-rescale-image): Use the new
      :max-width/:max-height functionality.
      * src/image.c (compute_image_size): New function to implement
      :max-width and :max-height.
      (imagemagick_load_image): Use it.
  10. 20 Jun, 2013 1 commit
    • Paul Eggert's avatar
      Add log2 support and make log10 obsolete for consistency. · 89561f72
      Paul Eggert authored
      * configure.ac (log2): Check for this function.
      * doc/lispref/numbers.texi (Math Functions): Remove obsolete function log10.
      * lisp/subr.el (log10): Move here from C code, and declare as obsolete.
      All uses of (log10 X) replaced with (log X 10).
      * src/floatfns.c (Flog) [HAVE_LOG2]: Use log2 if available and if the
      base is 2; this is more accurate.
      (Flog10): Move to Lisp (marked obsolete there).
  11. 18 Jun, 2013 1 commit
    • Juanma Barranquero's avatar
      Convert symbol prettification into minor mode and global minor mode. · 14dd22d2
      Juanma Barranquero authored
      * etc/NEWS: Document new Prettify Symbols mode.
      * lisp/progmodes/prog-mode.el (prettify-symbols-alist): Rename from
        `prog-prettify-symbols', and make a local defvar instead of defcustom.
        (prettify-symbols--keywords): Rename from `prog-prettify-symbols-alist'
        and make a local defvar.
        (prettify-symbols--compose-symbol): Rename from
        (prettify-symbols--make-keywords): Rename from
        `prog-prettify-font-lock-symbols-keywords' and simplify.
        (prog-prettify-install): Remove.
        (prettify-symbols-mode): New minor mode, based on `prog-prettify-install'.
        (turn-on-prettify-symbols-mode): New function.
        (global-prettify-symbols-mode): New globalized minor mode.
      * lisp/emacs-lisp/lisp-mode.el (lisp-mode-variables):
      * lisp/progmodes/cfengine.el (cfengine3-mode):
      * lisp/progmodes/perl-mode.el (perl-mode): Don't call `prog-prettify-install';
        set `prettify-symbols-alist' instead.
  12. 17 Jun, 2013 2 commits
  13. 16 Jun, 2013 1 commit
  14. 15 Jun, 2013 1 commit
  15. 14 Jun, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var. · 0b31660d
      Stefan Monnier authored
      (byte-compile-preprocess): Use it.
      (byte-compile-file-form-defalias): Try a bit harder to use macros we
      can't quite recognize.
      (byte-compile-add-to-list): Remove.
      * lisp/emacs-lisp/cconv.el (cconv-warnings-only): New function.
      (cconv-closure-convert): Add assertion.
      * lisp/emacs-lisp/map-ynp.el: Use lexical-binding.
      (map-y-or-n-p): Remove unused vars `tail' and `object'.
      Factor out some repeated code.
      * etc/NEWS (utf-8 for el): Move to the incompatible section.
  16. 13 Jun, 2013 5 commits
    • Stefan Monnier's avatar
      * lisp/subr.el (with-eval-after-load): New macro. · de0503df
      Stefan Monnier authored
      (eval-after-load): Allow form to be a function.
      take advantage of lexical-binding.
      (do-after-load-evaluation): Use dolist and adjust to new format.
      * lisp/simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
      * doc/lispref/loading.texi (Hooks for Loading): Document with-eval-after-load
      instead of eval-after-load.  Don't document after-load-alist.
      * src/lread.c (syms_of_lread):
      * src/fns.c (Fprovide): Adjust to new format of after-load-alist.
    • Juri Linkov's avatar
      * lisp/isearch.el (word-search-regexp): Match whitespace if the search · a22289f7
      Juri Linkov authored
      string begins or ends in whitespace.  The LAX arg is applied to
      both ends of the search string.  Use `regexp-quote' and explicit
      \< and \> instead of \b.  Use \` and \' instead of ^ and $.
      (isearch-symbol-regexp): Sync with `word-search-regexp' where word
      boundaries are replaced with symbol boundaries, and characters
      between symbols match non-word non-symbol syntax.
      Fixes: debbugs:14602
    • Juri Linkov's avatar
      Add prefix arg to more isearch commands. · 6e8cfc81
      Juri Linkov authored
      * lisp/isearch.el (isearch-yank-word, isearch-yank-line)
      (isearch-char-by-name, isearch-quote-char)
      (isearch-printing-char, isearch-process-search-char):
      Add optional count prefix arg. 
      * lisp/international/isearch-x.el (isearch-process-search-multibyte-characters):
      Add optional count prefix arg.
      Fixes: debbugs:14563
    • Glenn Morris's avatar
    • Glenn Morris's avatar
  17. 11 Jun, 2013 1 commit
  18. 07 Jun, 2013 1 commit
  19. 05 Jun, 2013 3 commits
  20. 03 Jun, 2013 3 commits
    • Michael Albinus's avatar
      * NEWS: Emacs can be compiled with file notification support via the · 2f23b3ab
      Michael Albinus authored
        configure option `--with-file-notification=LIB'.  `glib', `inotify'
        and `w32' are supported.
    • Juri Linkov's avatar
      Search and highlight symbol at point. · e5e4a942
      Juri Linkov authored
      * doc/emacs/display.texi (Highlight Interactively): Add global keybindings
      with the key prefix `M-s h'.  Document old command `highlight-phrase'.
      Document new command `highlight-symbol-at-point'.
      * lisp/bindings.el (search-map): Bind `highlight-symbol-at-point' to
      `M-s h .'. 
      * lisp/hi-lock.el (highlight-symbol-at-point): New alias for the new
      command `hi-lock-face-symbol-at-point'.
      (hi-lock-face-symbol-at-point): New command.
      (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
      (hi-lock-menu): Add `highlight-symbol-at-point'.
      (hi-lock-mode): Doc fix.
      * lisp/isearch.el (isearch-forward-symbol-at-point): New command.
      (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
      (isearch-highlight-regexp): Add a regexp which matches
      words/symbols for word/symbol mode.
      * lisp/subr.el (find-tag-default-bounds): New function with the body
      mostly moved from `find-tag-default'.
      (find-tag-default): Move most code to `find-tag-default-bounds',
      call it and apply `buffer-substring-no-properties' afterwards.
      Fixes: debbugs:14427
    • Tassilo Horn's avatar
      * NEWS: Document eshell visual subcommands and options. · 26b3353a
      Tassilo Horn authored
      * eshell/em-term.el (eshell-term-initialize): Use
      `cl-intersection' rather than `intersection'.
  21. 01 Jun, 2013 1 commit
  22. 31 May, 2013 1 commit
  23. 30 May, 2013 1 commit
    • Juri Linkov's avatar
      * lisp/isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible' to "\M-si". · 01dea85f
      Juri Linkov authored
      (isearch-invisible): New variable.
      (isearch-forward): Doc fix.
      (isearch-mode): Set `isearch-invisible'
      to the value of `search-invisible'.
      (isearch-toggle-case-fold): Doc fix.
      (isearch-toggle-invisible): New command.
      (isearch-query-replace): Let-bind `search-invisible'
      to the value of `isearch-invisible'.
      (isearch-search): Use `isearch-invisible' instead of
      `search-invisible'.  Let-bind `search-invisible'
      to the value of `isearch-invisible'.
      Fixes: debbugs:11378
  24. 27 May, 2013 2 commits
    • Juri Linkov's avatar
      * lisp/replace.el (perform-replace): Ignore invisible matches. · d289938a
      Juri Linkov authored
      In addition to checking `query-replace-skip-read-only', also
      filter out matches by calling `run-hook-with-args-until-failure'
      on `isearch-filter-predicates', and also check `search-invisible'
      for t or call `isearch-range-invisible'.
      (replace-dehighlight): Call `isearch-clean-overlays'.
      Fixes: debbugs:11746
    • Juri Linkov's avatar
      * lisp/isearch.el (isearch-filter-predicates): Rename from `isearch-filter-predicate'. · 66fc57e3
      Juri Linkov authored
      Doc fix. 
      (isearch-message-prefix): Display text from the property
      `isearch-message-prefix' of the currently active filters.
      (isearch-search): Don't compare `isearch-filter-predicate' with
      `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
      on `isearch-filter-predicates'.  Also check `search-invisible' for t
      or call `isearch-range-invisible'.
      (isearch-filter-visible): Make obsolete.
      Call `run-hook-with-args-until-failure' on
      `isearch-filter-predicates' and use `isearch-range-invisible'.
      * lisp/info.el (Info-search): Call `run-hook-with-args-until-failure' on
      `isearch-filter-predicates' instead of `funcall'ing
      (Info-mode): Set `Info-isearch-filter' to
      `isearch-filter-predicates' instead of `isearch-filter-predicate'.
      * lisp/dired-aux.el (dired-isearch-filter-predicate-orig): Remove variable.
      (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
      (dired-isearch-filenames-end): Add and remove
      `dired-isearch-filter-filenames' in `isearch-filter-predicates'
      instead of changing the value of `isearch-filter-predicate'.
      Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
      (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
      Put property `isearch-message-prefix' to "filename " on
      * lisp/wdired.el (wdired-change-to-wdired-mode):
      Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
      locally instead of changing `isearch-filter-predicate'.
      (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
      Fixes: debbugs:11378
  25. 24 May, 2013 2 commits
  26. 16 May, 2013 1 commit