1. 11 Jul, 2011 1 commit
    • Chong Yidong's avatar
      More documentation of Emacs 24 X selection changes. · 963578d3
      Chong Yidong authored
      * doc/emacs/frames.texi (Mouse Commands): Document mouse-yank-primary.
      * doc/emacs/killing.texi (Primary Selection): Document `only' setting for
      * doc/emacs/mark.texi (Setting Mark): Reference Shift Selection node.
      * doc/lispref/frames.texi (Window System Selections): Discussion of
      x-select-enable-clipboard moved to Emacs manual.
  2. 10 Jul, 2011 1 commit
  3. 07 Jul, 2011 2 commits
  4. 06 Jul, 2011 1 commit
  5. 05 Jul, 2011 2 commits
  6. 04 Jul, 2011 1 commit
    • Juri Linkov's avatar
      Add 7z operations to delete and save changed members. · ac89b32c
      Juri Linkov authored
      * lisp/arc-mode.el (archive-7z-expunge, archive-7z-update):
      New defcustoms.
      (archive-7z-write-file-member): New function.
      (archive-7z-summarize): Fix the number of dashes in the
      listing output.
      Fixes: debbugs:8968
  7. 02 Jul, 2011 1 commit
    • Stefan Monnier's avatar
      Add multiple inheritance to keymaps. · 3349e122
      Stefan Monnier authored
      * src/keymap.c (Fmake_composed_keymap): New function.
      (Fset_keymap_parent): Simplify.
      (fix_submap_inheritance): Remove.
      (access_keymap_1): New function extracted from access_keymap to handle
      embedded parents and handle lists of maps.
      (access_keymap): Use it.
      (Fkeymap_prompt, map_keymap_internal, map_keymap, store_in_keymap)
      (Fcopy_keymap): Handle embedded parents.
      (Fcommand_remapping, define_as_prefix): Simplify.
      (Fkey_binding): Simplify.
      (syms_of_keymap): Move minibuffer-local-completion-map,
      minibuffer-local-must-match-map, and
      minibuffer-local-filename-must-match-map to Elisp.
      (syms_of_keymap): Defsubr make-composed-keymap.
      * src/keyboard.c (menu_bar_items): Use map_keymap_canonical.
      (parse_menu_item): Trivial simplification.
      * lisp/subr.el (remq): Don't allocate if it's not needed.
      (keymap--menu-item-binding, keymap--menu-item-with-binding)
      (keymap--merge-bindings): New functions.
      (keymap-canonicalize): Use them to refine the canonicalization.
      * lisp/minibuffer.el (minibuffer-local-completion-map)
      (minibuffer-local-must-match-map): Move initialization from C.
      (minibuffer-local-filename-completion-map): Move initialization from C;
      don't inherit from anything here.
      (minibuffer-local-filename-must-match-map): Make obsolete.
      (completing-read-default): Use make-composed-keymap to combine
      minibuffer-local-filename-completion-map with either
      minibuffer-local-must-match-map or
  8. 01 Jul, 2011 1 commit
  9. 27 Jun, 2011 1 commit
  10. 26 Jun, 2011 2 commits
  11. 25 Jun, 2011 1 commit
    • Andreas Rottmann's avatar
      Allow emacsclient to set parameters of new graphical frames (bug#5864) · 18a4ce5e
      Andreas Rottmann authored
      * lib-src/emacsclient.c (longopts, decode_options, main): Add frame-parameters.
      * lisp/server.el (server-create-window-system-frame): Add parameters arg.
      (server-process-filter): Doc fix.  Handle frame-parameters.
      * doc/emacs/misc.texi (emacsclient Options): Mention --frame-parameters.
      * doc/man/emacsclient.1: Mention --frame-parameters.
      * etc/NEWS: Mention this.
  12. 21 Jun, 2011 3 commits
  13. 18 Jun, 2011 1 commit
  14. 11 Jun, 2011 1 commit
  15. 09 Jun, 2011 1 commit
    • Glenn Morris's avatar
      Allow/recommend explicit args for minor-modes in file local eval:s. · f0da764a
      Glenn Morris authored
      * lisp/files.el (hack-one-local-variable-eval-safep):
      Allow minor-modes with explicit +/-1 arguments.
      * doc/emacs/custom.texi (Specifying File Variables):
      Recommend explicit arguments for minor modes.
      * etc/NEWS: Likewise.
      * lisp/doc-view.el, lisp/net/soap-client.el: Update file locals.
  16. 07 Jun, 2011 2 commits
    • Chong Yidong's avatar
      Some changes and re-organization for animated gif support. · 18af70d0
      Chong Yidong authored
      * lisp/image.el (image-animate-max-time): Moved to image-mode.el.
      (create-animated-image): Remove unnecessary function.
      (image-animate): Rename from image-animate-start.  New arg.
      (image-animate-stop): Removed; just use image-animate-timer.
      (image-animate-timer): Use car-safe.
      (image-animate-timeout): Rename argument.
      * lisp/image-mode.el (image-toggle-animation): New command.
      (image-mode-map): Bind it to RET.
      (image-mode): Update message.
      (image-toggle-display-image): Avoid a spurious cache flush.
      (image-transform-rotation): Doc fix.
      (image-transform-properties): Return quickly in the normal case.
      (image-animate-loop): Rename from image-animate-max-time.
    • Paul Eggert's avatar
      [ChangeLog] · 81eafe29
      Paul Eggert authored
      * configure.in: Add --with-wide-int.
      * INSTALL: Mention this.
      * NEWS: Mention new configure option --with-wide-int.
  17. 05 Jun, 2011 3 commits
  18. 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.
    • 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.
  19. 03 Jun, 2011 1 commit
  20. 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.
  21. 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
      * 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.
  22. 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.
  23. 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.
  24. 27 May, 2011 1 commit
  25. 24 May, 2011 2 commits
    • Leo Liu's avatar
    • 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)
      * 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
  26. 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.
    • 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.
  27. 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.
  28. 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:".
  29. 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.