1. 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
  2. 03 Apr, 2011 1 commit
  3. 02 Apr, 2011 1 commit
    • Chong Yidong's avatar
      Merge open-protocol-stream into open-network-stream. · da91b5f2
      Chong Yidong authored
      * lisp/subr.el (open-network-stream): Move to net/network-stream.el.
      
      * lisp/gnus/proto-stream.el: Move to net/network-stream.el.
      
      * lisp/net/network-stream.el: Move from gnus/proto-stream.el.
      Change prefix to network-stream throughout.
      (open-protocol-stream): Merge into open-network-stream, leaving
      open-protocol-stream as an alias.  Handle nil BUFFER args.
      
      * lisp/gnus/nnimap.el (nnimap-open-connection-1): Pass explicit :end-of-command
      parameter to open-protocol-stream.
      
      * lisp/emacs-lisp/package.el (package--with-work-buffer): Recognize
      https URLs.
      
      * lisp/url/url-gw.el (url-open-stream): Use new open-network-stream
      functionality to perform encryption.
      da91b5f2
  4. 01 Apr, 2011 1 commit
  5. 31 Mar, 2011 1 commit
  6. 30 Mar, 2011 1 commit
    • Stefan Monnier's avatar
      (completion-in-region): Pop down *Completions* automatically. · 3e2d70fd
      Stefan Monnier authored
      * lisp/minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
      (completion-in-region-mode): New minor mode.
      (completion-in-region): Use it.
      (completion-in-region--data, completion-in-region-mode-map): New vars.
      (completion-in-region--postch): New function.
      (completion--capf-misbehave-funs, completion--capf-safe-funs): New vars.
      (completion--capf-wrapper): New function.
      (completion-at-point): Use it to track well-behavedness of hook functions.
      (completion-help-at-point): New command.
      3e2d70fd
  7. 28 Mar, 2011 1 commit
    • Stefan Monnier's avatar
      Don't reset post-command-hook to nil upon error. · f6d62986
      Stefan Monnier authored
      * src/eval.c (enum run_hooks_condition): Remove.
      (funcall_nil, funcall_not): New functions.
      (run_hook_with_args): Call each function through a `funcall' argument.
      Remove `cond' argument, now redundant.
      (Frun_hooks, Frun_hook_with_args, Frun_hook_with_args_until_success)
      (Frun_hook_with_args_until_failure): Adjust accordingly.
      (run_hook_wrapped_funcall, Frun_hook_wrapped): New functions.
      * src/keyboard.c (safe_run_hook_funcall): New function.
      (safe_run_hooks_1, safe_run_hooks_error, safe_run_hooks): On error,
      don't set the hook to nil, but remove the offending function instead.
      (Qcommand_hook_internal): Remove, unused.
      (syms_of_keyboard): Don't initialize Qcommand_hook_internal nor define
      Vcommand_hook_internal.
      * doc/lispref/commands.texi (Command Overview): post-command-hook is not reset
      to nil any more.
      f6d62986
  8. 27 Mar, 2011 1 commit
  9. 21 Mar, 2011 1 commit
  10. 20 Mar, 2011 1 commit
  11. 19 Mar, 2011 1 commit
  12. 16 Mar, 2011 1 commit
  13. 14 Mar, 2011 1 commit
  14. 07 Mar, 2011 1 commit
  15. 06 Mar, 2011 3 commits
  16. 03 Mar, 2011 2 commits
  17. 01 Mar, 2011 2 commits
    • Glenn Morris's avatar
      Rework previous cal-hebrew change. · 7454f200
      Glenn Morris authored
      * lisp/calendar/cal-hebrew.el (calendar-hebrew-birthday, diary-hebrew-date):
      Rename and rework functions added in previous change.
      
      * etc/NEWS: Mention diary-hebrew-birthday.
      7454f200
    • Glenn Morris's avatar
      Add the ability to exclude dir-locals from subdirs. (Bug#8100) · 6640b281
      Glenn Morris authored
      * lisp/files.el (dir-locals-collect-variables):
      Add the ability to exclude subdirectories.
      
      * doc/emacs/custom.texi (Directory Variables):
      Give an example of excluding subdirectories.
      
      * doc/lispref/variables.texi (Directory Local Variables):
      Mention `(subdirs . nil)' alist element.
      
      * etc/NEWS: Mention this addition.
      
      * lisp/dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
      6640b281
  18. 23 Feb, 2011 5 commits
  19. 16 Feb, 2011 1 commit
  20. 14 Feb, 2011 2 commits
    • Jan Djärv's avatar
      Use *font for Xft font names for Lucid menus and dialogs. · 3928f2b6
      Jan Djärv authored
      * doc/emacs/xresources.texi (X Resources): Remove *faceName and replace it with
      *font for Lucid.
      
      * lwlib/lwlib-Xaw.c (make_dialog): Use *font even for Xft fonts.  Try
      XLoadQueryFont first and then Xft fonts.
      
      * lwlib/xlwmenu.c (xlwmenu_default_font): Remove, does not work for
      multi-display.
      (xlwMenuResources): Remove XtNfaceName and XtNdefaultFace.
      Make XtNFont a String resource.
      (make_windows_if_needed): Call XFlush so later changes are seen by the
      X server.
      (remap_menubar): Use XtMoveWidget and then
      XtResizeWidget/XtResizeWindow after XtPopup.  Works better with
      Compiz.
      (make_drawing_gcs): Check if mw->menu.font is set.
      (getDefaultXftFont): New function.
      (openXftFont): faceName is now fontName.  Try XLoadQueryFont first
      and then XftFontOpenName.
      (XlwMenuInitialize): Initialize mw->menu.font with XLoadQueryFont.
      (XlwMenuClassInitialize): Remove initialization of
      xlwmenu_default_font.
      (fontname_changed): Renamed from facename_changed.
      (XlwMenuSetValues): Use facename_changed.
      
      * lwlib/xlwmenu.h: Remove Xt[CN]faceName and Xt[NC]defaultFace.
      
      * lwlib/xlwmenuP.h (_XlwMenu_part): Remove faceName.  Add fontName.
      
      * src/xmenu.c (apply_systemfont_to_dialog): Apply to *dialog.font.
      (apply_systemfont_to_menu): Set resources *menubar*font and
      *popup*font.  Remove defflt.
      (set_frame_menubar, create_and_show_popup_menu): Call
      apply_systemfont_to_menu before lw_create_widget.
      
      * src/xrdb.c (x_load_resources): For LUCID and XFT, don't put a
      resource that specifies helvetica for menus and dialogs.
      3928f2b6
    • Chong Yidong's avatar
      Add Log View toggle and log format customization for Git and Hg. · 33f6cf7b
      Chong Yidong authored
      * lisp/vc/vc-git.el (vc-git-root-log-format): New option for
      customizing log format.
      (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
      (vc-git-log-view-mode): Use it.
      (vc-git-expanded-log-entry): New function.
      (vc-git-log-view-mode): Use it.  Truncate lines in root log.
      
      * lisp/vc/vc-hg.el (vc-hg-root-log-template): New option for
      customizing log format.
      (vc-hg-print-log): Use it.
      (vc-hg-expanded-log-entry): New function.
      (vc-hg-log-view-mode): Use vc-hg-root-log-template and
      vc-hg-expanded-log-entry.  Truncate lines in root log.
      
      * lisp/vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
      
      * lisp/vc/log-view.el (log-view-mode-menu): Add
      log-view-toggle-entry-display.
      33f6cf7b
  21. 13 Feb, 2011 2 commits
    • Chong Yidong's avatar
      Bind RET in Log View mode to a command that toggles a more detailed display. · d4eb88c7
      Chong Yidong authored
      * lisp/vc/log-view.el: New command log-view-toggle-entry-display for
      toggling log entries between concise and detailed forms.
      (log-view-toggle-entry-display): New command.
      (log-view-mode-map): Bind RET to it.
      (log-view-expanded-log-entry-function): New variable.
      (log-view-current-entry, log-view-inside-comment-p)
      (log-view-current-tag): New functions.
      (log-view-toggle-mark-entry): Use log-view-current-entry and
      log-view-end-of-defun instead of searching directly with
      log-view-message-re.
      (log-view-end-of-defun): Likewise.  Add optional ARG for
      compatibility with end-of-defun.
      (log-view-end-of-defun): Ignore comments and VC buttons.
      
      * lisp/vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
      (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
      d4eb88c7
    • Michael Albinus's avatar
  22. 12 Feb, 2011 1 commit
  23. 08 Feb, 2011 1 commit
  24. 05 Feb, 2011 1 commit
    • Chong Yidong's avatar
      Last remaining doc additions required by 23.3. · a41c8660
      Chong Yidong authored
      * doc/emacs/maintaining.texi (VC Change Log): Document vc-log-incoming and
      vc-log-outgoing.
      (Merging): Document vc-find-conflicted-file.
      
      * doc/emacs/rmail.texi (Rmail Display): Document Rmail MIME support more
      accurately.
      
      * doc/lispref/commands.texi (Accessing Mouse): Note that a header line is not
      included in the row of posn-col-row.
      
      * etc/NEWS: Remove +++ and --- lines.
      a41c8660
  25. 01 Feb, 2011 2 commits
  26. 29 Jan, 2011 1 commit
    • Chong Yidong's avatar
      Rudimentary support for vc-pull and vc-merge in Git and Mercurial. · 659114fd
      Chong Yidong authored
      * lisp/vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
      the other way around.
      
      * lisp/vc/vc-git.el (vc-git-branches, vc-git-pull)
      (vc-git-merge-branch): New functions.
      (vc-git-history): New var.
      
      * lisp/vc/vc-hg.el (vc-hg-history): New var.
      (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
      (vc-hg-merge-branch): New function.
      659114fd
  27. 27 Jan, 2011 1 commit
  28. 26 Jan, 2011 1 commit
    • Stefan Monnier's avatar
      Let the debugger continue to the normal handler. · e7f7fbaa
      Stefan Monnier authored
      * src/eval.c (maybe_call_debugger): Declare before new use.
      (find_handler_clause): Don't call debugger any more.
      Ignore Vstack_trace_on_error.
      Use XCAR/XCDR.
      (syms_of_eval): Remove Vstack_trace_on_error.
      (Fsignal): Only modify handlerlist when we know we need to do it.
      Call the debugger when necessary.
      * src/globals.h (Vstack_trace_on_error): Remove.
      
      Fixes: debbugs:7825
      e7f7fbaa