1. 07 Jun, 2011 1 commit
    • Paul Eggert's avatar
      [ChangeLog] · 81eafe29
      Paul Eggert authored
      * configure.in: Add --with-wide-int.
      * INSTALL: Mention this.
      [etc/ChangeLog]
      * NEWS: Mention new configure option --with-wide-int.
      81eafe29
  2. 05 Jun, 2011 3 commits
  3. 04 Jun, 2011 2 commits
    • Chong Yidong's avatar
      Handle errors when saving to clipboard manager (Bug#8779). · 4b80f674
      Chong Yidong authored
      * src/xselect.c (x_clipboard_manager_save): Remove redundant arg.
      (x_clipboard_manager_save): Add return value.
      (x_clipboard_manager_error_1, x_clipboard_manager_error_2): New
      error handlers.
      (x_clipboard_manager_save_frame, x_clipboard_manager_save_all):
      Obey Vx_select_enable_clipboard_manager.  Catch errors in
      x_clipboard_manager_save (Bug#8779).
      (Vx_select_enable_clipboard_manager): New variable.
      4b80f674
    • Stefan Monnier's avatar
      * lisp/shell.el: Require and use pcomplete. · e17d9003
      Stefan Monnier authored
      (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
      (shell-completion-vars): Set pcomplete-default-completion-function.
      e17d9003
  4. 03 Jun, 2011 1 commit
  5. 01 Jun, 2011 1 commit
    • Stefan Monnier's avatar
      * lisp/minibuffer.el (minibuffer-inactive-mode-map): New var. · fd6fa53f
      Stefan Monnier authored
      (minibuffer-inactive-mode): New major mode.
      * src/minibuf.c (get_minibuffer, read_minibuf_unwind): Call it.
      * lisp/mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
      the *Messages* buffer" hack.
      (mouse-popup-menubar): Don't burp if the event is a normal key.
      fd6fa53f
  6. 31 May, 2011 1 commit
    • Stefan Monnier's avatar
      * lisp/minibuffer.el: Add metadata method to completion tables. · 620c53a6
      Stefan Monnier authored
      (completion-category-overrides): New defcustom.
      (completion-metadata, completion--field-metadata)
      (completion-metadata-get, completion--styles)
      (completion--cycle-threshold): New functions.
      (completion-try-completion, completion-all-completions):
      Add `metadata' argument to choose completion-styles.
      (completion--do-completion): Use metadata to choose cycling.
      (completion-all-sorted-completions): Use metadata for sorting.
      Remove :completion-cycle-penalty which is not needed any more.
      (completion--try-word-completion): Add `metadata' argument.
      (minibuffer-completion-help): Check metadata for annotation function
      and sorting.
      (completion-file-name-table): Return `category' metadata.
      (minibuffer-completing-file-name): Make obsolete.
      * lisp/simple.el (minibuffer-completing-symbol): Make obsolete.
      * lisp/icomplete.el (icomplete-completions): Pass new `metadata' param to
      completion-try-completion.
      * src/minibuf.c (Finternal_complete_buffer): Return `category' metadata.
      (read_minibuf): Use get_minibuffer.
      (syms_of_minibuf): Use DEFSYM.
      (Qmetadata): New var.
      * src/data.c (Qbuffer): Don't make it static.
      (syms_of_data): Use DEFSYM.
      620c53a6
  7. 29 May, 2011 1 commit
    • Chong Yidong's avatar
      Move clipboard-manager functionality out of hooks. · 1dd3c2d9
      Chong Yidong authored
      * lisp/select.el: Don't perform clipboard-manager saving in hooks;
      leave the hooks empty.
      
      * src/emacs.c (Fkill_emacs): Call x_clipboard_manager_save_all.
      * src/frame.c (delete_frame): Call x_clipboard_manager_save_frame.
      
      * src/xselect.c (x_clipboard_manager_save_frame)
      (x_clipboard_manager_save_all): New functions.
      (Fx_clipboard_manager_save): Lisp function deleted.
      
      * src/xterm.h: Update prototype.
      1dd3c2d9
  8. 28 May, 2011 1 commit
    • Leo Liu's avatar
      New major mode: Occur Edit mode. · 60e56523
      Leo Liu authored
      * lisp/replace.el (occur-menu-map, occur-edit-mode-map): New vars.
      (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
      (occur-edit-mode): New major mode (Bug#8463).
      (occur-after-change-function): New function.
      (occur-engine): Give Occur tags a read-only property.
      60e56523
  9. 27 May, 2011 1 commit
  10. 24 May, 2011 2 commits
    • Leo Liu's avatar
      42d4bcc8
    • Stefan Monnier's avatar
      Add an :exit-function for completion-at-point. · a2a25d24
      Stefan Monnier authored
      * lisp/minibuffer.el (completion--done): New fun.
      (completion--do-completion): Use it.  New arg `expect-exact'.
      (minibuffer-complete, minibuffer-complete-word): Don't output message,
      since completion--do-completion does it for us now.
      (minibuffer-force-complete): Use completion--done and
      completion--replace.  Handle sole-completion case with more care.
      (minibuffer-complete-and-exit): Use new `expect-exact' arg.
      (completion-extra-properties): New var.
      (completion-annotate-function): Make obsolete.
      (minibuffer-completion-help): Adjust accordingly.
      Use completion-list-insert-choice-function.
      (completion-at-point, completion-help-at-point):
      Bind completion-extra-properties.
      (completion-pcm-word-delimiters): Add | (for uniquify, for example).
      * lisp/simple.el (completion-list-insert-choice-function): New var.
      (completion-setup-function): Preserve it.
      (choose-completion): Pay attention to it, shuffle the code a bit.
      (choose-completion-string): New arg `insert-function'.
      
      * lisp/textmodes/bibtex.el: Convert to lexical binding.
      (bibtex-mode-map): Use completion-at-point.
      (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
      (bibtex-completion-at-point-function): New fun, from bibtex-complete.
      (bibtex-complete): Define as obsolete alias.
      (bibtex-complete-internal): Remove.
      (bibtex-format-entry): Remove unused sub-group in regexp.
      * lisp/shell.el (shell--command-completion-data)
      (shell-environment-variable-completion):
      * lisp/pcomplete.el (pcomplete-completions-at-point):
      * lisp/comint.el (comint--complete-file-name-data): Use :exit-function
      instead of completion-table-with-terminator so it also works for
      choose-completion.
      a2a25d24
  11. 18 May, 2011 2 commits
    • Glenn Morris's avatar
      Remove lib-src/fakemail.c. · c136e5cd
      Glenn Morris authored
      * lib-src/fakemail.c: Remove file.
      
      * lib-src/Makefile.in (UTILITIES): Remove fakemail${EXEEXT}.
      (fakemail${EXEEXT}): Remove rule.
      
      * lib-src/makefile.w32-in ($(BLD)/fakemail.exe, fakemail)
      ($(BLD)/fakemail.$(O)): Remove.
      
      * lisp/mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
      
      * lisp/mail/feedmail.el: Update commentary.
      
      * doc/emacs/ack.texi (Acknowledgments): Remove fakemail.c.
      
      * etc/NEWS: Mention this.
      
      * INSTALL: Remove fakemail.
      c136e5cd
    • Glenn Morris's avatar
      Rationalize calendar handling of day and month abbrev-arrays. · e565dd37
      Glenn Morris authored
      * lisp/calendar/calendar.el (calendar-customized-p): New function.
      (calendar-abbrev-construct, calendar-make-alist): Change what it does.
      (calendar-day-name-array, calendar-month-name-array): Doc fix.
      Add :set function.
      (calendar-abbrev-length, calendar-day-abbrev-array)
      (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
      (calendar-day-abbrev-array, calendar-month-abbrev-array):
      Elements may no longer be nil.
      (calendar-day-name, calendar-month-name):
      Update for changed nature of abbrev arrays.
      * calendar/diary-lib.el (diary-name-pattern):
      Update for changed nature of abbrev arrays.
      (diary-mark-entries-1): Update calendar-make-alist calls.
      (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
      * calendar/cal-html.el (cal-html-day-abbrev-array):
      Simply inherit from calendar-day-abbrev-array.
      
      * etc/NEWS: Mention this.
      e565dd37
  12. 16 May, 2011 1 commit
    • Mohsen BANAN's avatar
      New input methods for Persian/Farsi. · d0ce9f8c
      Mohsen BANAN authored
       leim/quail/persian.el: New file.
       leim/Makefile.in (OTHERS): Add $(srcdir)/quail/georgian.elc.
       leim/makefile.w32-in (MISC): Add $(srcdir)/quail/georgian.elc.
       etc/NEWS: Mention the new input methods.
      d0ce9f8c
  13. 10 May, 2011 1 commit
    • Glenn Morris's avatar
      Deprecate using "mode:" to enable minor modes (bug#8613) · b8f82dc1
      Glenn Morris authored
      * lisp/files.el (hack-one-local-variable-eval-safep):
      Consider "eval: (foo-mode)" to be safe.
      
      * doc/emacs/custom.texi (Specifying File Variables):
      Deprecate using mode: for minor modes.
      
      * etc/NEWS: Mention this.
      
      * lisp/doc-view.el, lisp/net/soap-client.el:
      Change "mode:" minor-mode file local variables to use "eval:".
      b8f82dc1
  14. 08 May, 2011 1 commit
    • Chong Yidong's avatar
      Perform grep-mode's buffer modifications in a process filter (Bug#7952) · d9c54a06
      Chong Yidong authored
      * progmodes/grep.el (grep-mode-font-lock-keywords): Remove
      buffer-changing entries.
      (grep-filter): New function.
      (grep-mode): Add it to compilation-filter-hook.
      
      * progmodes/compile.el (compilation-filter-hook)
      (compilation-filter-start): New defvars.
      (compilation-filter): Call compilation-filter-hook prior to
      updating the process mark.
      d9c54a06
  15. 07 May, 2011 2 commits
  16. 06 May, 2011 2 commits
    • Glenn Morris's avatar
      Allow per-appointment warning times. · 5006e634
      Glenn Morris authored
      * lisp/calendar/appt.el (appt-message-warning-time): Doc fix.
      (appt-warning-time-regexp): New option.
      (appt-make-list): Respect appt-message-warning-time.
      
      * doc/emacs/calendar.texi (Appointments): Mention appt-warning-time-regexp.
      
      * etc/NEWS: Mention this.
      5006e634
    • Glenn Morris's avatar
      Add diary comments feature. · 548d0a63
      Glenn Morris authored
      * lisp/calendar/diary-lib.el (diary-comment-start, diary-comment-end):
      New options.
      (diary-add-to-list): Strip comments from the displayed string.
      (diary-mode): Set comment-start and comment-end.
      
      * doc/emacs/cal-xtra.texi (Fancy Diary Display): Mention diary comments.
      
      * etc/NEWS: Mention this.
      548d0a63
  17. 05 May, 2011 1 commit
  18. 03 May, 2011 3 commits
  19. 02 May, 2011 1 commit
  20. 29 Apr, 2011 2 commits
  21. 28 Apr, 2011 3 commits
  22. 24 Apr, 2011 1 commit
  23. 20 Apr, 2011 2 commits
    • Stefan Monnier's avatar
      * lisp/shell.el: Use lexical-binding and std completion UI. · c0a193ea
      Stefan Monnier authored
      (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
      (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
      comint-preoutput-filter-functions rather than on
      comint-output-filter-functions.
      (shell-command-completion, shell--command-completion-data)
      (shell-filename-completion, shell-environment-variable-completion)
      (shell-c-a-p-replace-by-expanded-directory): New functions.
      (shell-dynamic-complete-functions, shell-dynamic-complete-command)
      (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
      (shell-dynamic-complete-environment-variable): Use them.
      (shell-dynamic-complete-as-environment-variable)
      (shell-dynamic-complete-as-command): Remove.
      (shell-match-partial-variable): Match past point.
      * lisp/comint.el: Clean up use of completion-at-point-functions.
      (comint-completion-at-point): New function.
      (comint-mode): Use it completion-at-point-functions.
      (comint-dynamic-complete): Make it obsolete.
      (comint-replace-by-expanded-history-before-point): Add dry-run arg.
      (comint-c-a-p-replace-by-expanded-history): New function.
      (comint-dynamic-complete-functions)
      (comint-replace-by-expanded-history): Use it.
      * lisp/minibuffer.el (completion-table-with-terminator): Allow dynamic
      termination strings.  Try harder to avoid second try-completion.
      (completion-in-region-mode-map): Disable bindings that don't work yet.
      c0a193ea
    • Christoph Scholtes's avatar
      * lisp/vc/vc.el (vc-diff-build-argument-list-internal) · 1c6c854e
      Christoph Scholtes authored
      (vc-version-ediff, vc-ediff): New functions.
      (vc-version-diff): Use vc-diff-build-argument-list-internal.
      * doc/emacs/maintaining.texi (Old Revisions): Add paragraph on new function
      vc-ediff.
      * etc/NEWS: Document new function `vc-ediff'.
      1c6c854e
  24. 18 Apr, 2011 1 commit
    • Chong Yidong's avatar
      Allow glyphless-char-display to distinguish between X and text terminals. · 16a43933
      Chong Yidong authored
      Use this for Tabulated List mode.
      
      * lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
      glyphless-char-display table.
      (tabulated-list-glyphless-char-display): New var.
      
      * src/term.c (produce_glyphless_glyph): Handle cons cell entry in
      glyphless-char-display.
      
      * src/xdisp.c (lookup_glyphless_char_display)
      (produce_glyphless_glyph): Handle cons cell entry in
      glyphless-char-display.
      (Vglyphless_char_display): Document it.
      16a43933
  25. 12 Apr, 2011 1 commit
  26. 06 Apr, 2011 2 commits
    • Chong Yidong's avatar
      a83ec3c9
    • Juanma Barranquero's avatar
      New variable `revert-buffer-in-progress-p'. · 3e214b50
      Juanma Barranquero authored
      * lisp/files.el (after-find-file-from-revert-buffer): Remove variable.
        (after-find-file): Dont' bind it.
        (revert-buffer-in-progress-p): New variable.
        (revert-buffer): Bind it.
        Pass nil for `after-find-file-from-revert-buffer'.
      
      * lisp/saveplace.el (save-place-find-file-hook): Use new variable
        `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
      
      * etc/NEWS: New variable `revert-buffer-in-progress-p'.
      3e214b50