1. 03 Mar, 2011 2 commits
  2. 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
  3. 23 Feb, 2011 5 commits
  4. 16 Feb, 2011 1 commit
  5. 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
  6. 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
  7. 12 Feb, 2011 1 commit
  8. 08 Feb, 2011 1 commit
  9. 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
  10. 01 Feb, 2011 2 commits
  11. 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
  12. 27 Jan, 2011 1 commit
  13. 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
  14. 25 Jan, 2011 2 commits
    • Glenn Morris's avatar
      copyright.el updates. · 0fe719e6
      Glenn Morris authored
      * lisp/emacs-lisp/copyright.el (copyright-at-end-flag)
      (copyright-names-regexp): Add safety properties.
      (copyright-year-ranges): New option.
      (copyright-find-end): New function, split from copyright-update-year.
      (copyright-update-year): Use copyright-find-end.
      (copyright-fix-years): Optionally, convert years to ranges.
      Handle years continued over comment lines.
      Do not mess with the fill-prefix.
      Do not call copyright-update.
      (copyright-update-directory): Optionally, fix years rather than update.
      Skip directories.  Find files literally, with only safe local vars.
      
      * etc/NEWS: Mention copyright-fix-years and ranges.
      0fe719e6
    • Glenn Morris's avatar
      73b0cd50
  15. 22 Jan, 2011 1 commit
  16. 20 Jan, 2011 1 commit
  17. 15 Jan, 2011 1 commit
    • Mark Diekhans's avatar
      Make last-resort backup file in .emacs.d (Bug#6953). · b024d9f0
      Mark Diekhans authored
      * lisp/files.el (backup-buffer): Make last-resort backup file in
      .emacs.d.
      
      * lisp/subr.el (locate-user-emacs-file): If .emacs.d does not exist,
      make it with permission 700.
      
      * doc/emacs/files.texi (Backup Names): Document the new location of the
      last-resort backup file.
      b024d9f0
  18. 13 Jan, 2011 1 commit
    • Chong Yidong's avatar
      New arg RETURN-ACTION for compose-mail, and related functions. · 25ca2e61
      Chong Yidong authored
      * lisp/mail/sendmail.el (mail-return-action): New var.
      (mail-mode): Make it buffer-local.
      (mail-bury): Obey it.  Move special Rmail window handling to
      rmail-mail-return.
      (mail, mail-setup): New arg RETURN-ACTION.
      (sendmail-user-agent-compose): Move from simple.el.
      
      * lisp/simple.el (sendmail-user-agent-compose): Move to sendmail.el.
      (compose-mail): New arg RETURN-ACTION.
      (compose-mail-other-window, compose-mail-other-frame): Likewise.
      
      * lisp/gnus/gnus-msg.el (gnus-msg-mail): New arg RETURN-ACTION.  Pass it to
      message-mail.
      
      * lisp/gnus/message.el (message-mail): New arg RETURN-ACTION.
      (message-return-action): New var.
      (message-bury): Use it.
      (message-mode): Make it buffer-local.
      (message-send-and-exit): Always call message-bury.
      (message-tool-bar-gnome): Tweak tool-bar items.  Add :vert-only tags.
      
      * lisp/mail/rmail.el (rmail-mail-return): New function.
      (rmail-start-mail): Pass it to compose-mail.
      
      * lisp/mh-e/mh-comp.el (mh-user-agent-compose): New arg RETURN-ACTION.
      25ca2e61
  19. 12 Jan, 2011 1 commit
    • Christian Ohler's avatar
      Add ERT, a tool for automated testing in Emacs Lisp. · d221e780
      Christian Ohler authored
      * Makefile.in, configure.in, doc/misc/Makefile.in, doc/misc/makefile.w32-in:
      Add ERT.  Make "make check" run tests in test/automated.
      
      * doc/misc/ert.texi, lisp/emacs-lisp/ert.el, lisp/emacs-lisp/ert-x.el:
      New files.
      
      * test/automated: New directory.
      d221e780
  20. 11 Jan, 2011 1 commit
    • Stefan Monnier's avatar
      * lisp/progmodes/prolog.el: Fix up coding conventions and such. · 04380ff1
      Stefan Monnier authored
      (prolog-indent-width): Use the same default as in
      previous prolog.el rather than tab-width which depends on which buffer
      is current when the file is loaded.
      (prolog-electric-newline-flag): Only enable if electric-indent-mode
      is not available.
      (prolog-emacs): Remove.  Use (featurep 'xemacs) instead.
      (prolog-known-systems): Remove.
      (prolog-mode-syntax-table, prolog-inferior-mode-map):
      Move initialization into declaration.
      (prolog-mode-map): Move initialization into declaration.
      Remove system-specific mode-map vars, since they referred to the same
      keymap anyway.
      (prolog-mode-variables): Obey the user's preference w.r.t
      adaptive-fill-mode.  Prefer symbol-value to `eval'.
      (prolog-mode-keybindings-edit): Add compatibility bindings.
      (prolog-mode): Use define-derived-mode.  Don't handle mercury here.
      (mercury-mode-map): New var.
      (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
      (prolog-ensure-process, prolog-process-insert-string)
      (prolog-consult-compile): Use with-current-buffer.
      (prolog-guess-fill-prefix): Simplify data flow.
      (prolog-replace-in-string): New function to use instead of
      replace-in-string.
      (prolog-enable-sicstus-sd): Don't abuse `eval'.
      (prolog-uncomment-region): Use `uncomment-region' when available.
      (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
      (prolog-int-to-char, prolog-char-to-int): New functions to use instead
      of int-to-char and char-to-int.
      (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
      04380ff1
  21. 10 Jan, 2011 1 commit
  22. 09 Jan, 2011 1 commit
  23. 08 Jan, 2011 2 commits
  24. 07 Jan, 2011 2 commits
    • Chong Yidong's avatar
      Allow format args for y-or-n-p and yes-or-no-p. · 8c51d2a2
      Chong Yidong authored
      * lisp/subr.el (y-or-n-p): Accept format string args.
      * src/fns.c (Fyes_or_no_p): Accept format string args.
      8c51d2a2
    • Glenn Morris's avatar
      Add --no-site-lisp option, make -Q use it. (Bug#5707) · 66b7b0fe
      Glenn Morris authored
      * lisp/Makefile.in (EMACSOPT): Add --no-site-lisp.
      
      * src/emacs.c (no_site_lisp): New int.
      (USAGE1): Add --no-site-lisp, mention -Q uses it.
      (main): Set no_site_lisp.
      (standard_args): Add --no-site-lisp.
      
      * src/lisp.h (no_site_lisp): New int.
      
      * src/lread.c (init_lread): If no_site_lisp, don't re-add site-lisp
      directories to Vload_path.
      
      * etc/NEWS: Mention --no-site-lisp.
      66b7b0fe
  25. 04 Jan, 2011 3 commits
  26. 03 Jan, 2011 1 commit