1. 29 Aug, 2013 1 commit
  2. 22 Aug, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/calendar/timeclock.el: Minor cleanups. · 8352b530
      Stefan Monnier authored
      (timeclock-ask-before-exiting, timeclock-use-display-time): Use `symbol'.
      (timeclock-modeline-display): Define as alias before the actual definition.
      (timeclock-mode-line-display): Use define-minor-mode.
      (timeclock-day-list-template): Make it a function, add an argument.
      (timeclock-day-list-required, timeclock-day-list-length)
      (timeclock-day-list-debt, timeclock-day-list-span)
      (timeclock-day-list-break): Adjust calls accordingly.
      8352b530
  3. 07 Aug, 2013 1 commit
  4. 06 Aug, 2013 1 commit
    • Glenn Morris's avatar
      calendar.el: Add new faces, and day-header-array · 3b5c03d3
      Glenn Morris authored
      * lisp/calendar/calendar.el (calendar-weekday-header)
      (calendar-weekend-header, calendar-month-header): New faces.
      (calendar-day-header-construct): New function.
      (calendar-day-header-width): Also :set calendar-day-header-array.
      (calendar-american-month-header, calendar-european-month-header)
      (calendar-iso-month-header): Use calendar- faces.
      (calendar-generate-month):
      Use calendar-day-header-array for day headers; apply faces to them.
      (calendar-mode): Check calendar-font-lock-keywords non-nil.
      (calendar-abbrev-construct): Add optional maxlen argument.
      (calendar-day-name-array): Doc fix.
      (calendar-day-name-array, calendar-abbrev-length)
      (calendar-day-abbrev-array):
      Also :set calendar-day-header-array, and maybe redraw.
      (calendar-day-header-array): New option. 
      (calendar-font-lock-keywords): Use calendar-day-header-array,
      and calendar- faces.  Make obsolete.
      (calendar-day-name): Add option to use header array.
      
      * etc/NEWS: Mention this.
      
      Fixes: debbugs:15007
      3b5c03d3
  5. 05 Aug, 2013 4 commits
    • Dmitry Antipov's avatar
      Do not call to `selected-window' where it is assumed by default. · 290d5b58
      Dmitry Antipov authored
      Affected functions are `window-minibuffer-p', `window-dedicated-p',
      `window-hscroll', `window-width', `window-height', `window-buffer',
      `window-frame', `window-start', `window-point', `next-window'
      and `window-display-table'.
      * abbrev.el (abbrev--default-expand):
      * bs.el (bs--show-with-configuration):
      * buff-menu.el (Buffer-menu-mouse-select):
      * calc/calc.el (calc):
      * calendar/calendar.el (calendar-generate-window):
      * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
      (diary-make-entry):
      * comint.el (send-invisible, comint-dynamic-complete-filename)
      (comint-dynamic-simple-complete, comint-dynamic-list-completions):
      * completion.el (complete):
      * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
      * disp-table.el (describe-current-display-table):
      * doc-view.el (doc-view-insert-image):
      * ebuff-menu.el (Electric-buffer-menu-mouse-select):
      * ehelp.el (with-electric-help):
      * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
      * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
      * emacs-lisp/helper.el (Helper-help-scroller):
      * emulation/cua-base.el (cua--post-command-handler-1):
      * eshell/esh-mode.el (eshell-output-filter):
      * ffap.el (ffap-gnus-wrapper):
      * help-macro.el (make-help-screen):
      * hilit-chg.el (highlight-compare-buffers):
      * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
      * hl-line.el (global-hl-line-highlight):
      * icomplete.el (icomplete-simple-completing-p):
      * isearch.el (isearch-done):
      * jit-lock.el (jit-lock-stealth-fontify):
      * mail/rmailsum.el (rmail-summary-scroll-msg-up):
      * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
      * mpc.el (mpc-tagbrowser, mpc):
      * net/rcirc.el (rcirc-any-buffer):
      * play/gomoku.el (gomoku-max-width, gomoku-max-height):
      * play/landmark.el (landmark-max-width, landmark-max-height):
      * play/zone.el (zone):
      * progmodes/compile.el (compilation-goto-locus):
      * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
      * progmodes/etags.el (find-tag-other-window):
      * progmodes/fortran.el (fortran-column-ruler):
      * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
      * progmodes/verilog-mode.el (verilog-point-text):
      * reposition.el (reposition-window):
      * rot13.el (toggle-rot13-mode):
      * server.el (server-switch-buffer):
      * shell.el (shell-dynamic-complete-command)
      (shell-dynamic-complete-environment-variable):
      * simple.el (insert-buffer, set-selective-display)
      (delete-completion-window):
      * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
      (speedbar-recenter):
      * startup.el (fancy-splash-head):
      * textmodes/ispell.el (ispell-command-loop):
      * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
      * tutorial.el (help-with-tutorial):
      * vc/add-log.el (add-change-log-entry):
      * vc/compare-w.el (compare-windows):
      * vc/ediff-help.el (ediff-indent-help-message):
      * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
      * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
      (ediff-setup-control-frame):
      * vc/emerge.el (emerge-position-region):
      * vc/pcvs-util.el (cvs-bury-buffer):
      * window.el (walk-windows, mouse-autoselect-window-select):
      * winner.el (winner-set-conf, winner-undo): Related users changed.
      290d5b58
    • Dmitry Antipov's avatar
      Do not call to `selected-frame' where it is assumed by default. · 12b4c0ea
      Dmitry Antipov authored
      Affected functions are `raise-frame', `redraw-frame',
      `frame-first-window', `frame-terminal' and `delete-frame'.
      * lisp/calendar/appt.el (appt-disp-window):
      * lisp/epg.el (epg-wait-for-completion):
      * lisp/follow.el (follow-delete-other-windows-and-split)
      (follow-avoid-tail-recenter):
      * lisp/international/mule.el (set-terminal-coding-system):
      * lisp/mail/rmail.el (rmail-mail-return):
      * lisp/net/newst-plainview.el (newsticker--buffer-set-uptodate):
      * lisp/progmodes/f90.el (f90-add-imenu-menu):
      * lisp/progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
      * lisp/server.el (server-switch-buffer):
      * lisp/simple.el (delete-completion-window):
      * lisp/talk.el (talk):
      * lisp/term/xterm.el (terminal-init-xterm-modify-other-keys)
      (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
      * lisp/vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
      * lisp/vc/ediff.el (ediff-documentation): Related users changed.
      * lisp/frame.el (selected-terminal): Remove the leftover.
      12b4c0ea
    • Glenn Morris's avatar
      * calendar/calendar.el (calendar-generate-month, calendar-font-lock-keywords): · 09e6d547
      Glenn Morris authored
      Fix for calendar-day-header-width > length of any day name.
      09e6d547
    • Glenn Morris's avatar
      * lisp/calendar/calendar.el (calendar-generate-month): · 17f25e76
      Glenn Morris authored
      Fix for calendar-column-width != 1 + calendar-day-digit-width.
      17f25e76
  6. 28 Jul, 2013 1 commit
  7. 27 Jul, 2013 1 commit
  8. 05 Jul, 2013 1 commit
    • Stephen Berman's avatar
      * calendar/todo-mode.el: Add handling of file deletion, both by · d610f6dd
      Stephen Berman authored
      mode command and externally.  Fix various related bugs.  Clarify
      Commentary and improve some documentation strings and code.
      (todo-delete-file): New command.
      (todo-check-file): New function.
      (todo-show): Handle external deletion of the file we're trying to
      show.  Replace called-interactively-p by an optional
      prefix argument to avoid problematic interaction with catch form
      when byte compiled (bug#14702).
      (todo-quit): Handle external deletion of the archive's todo file.
      Make sure the buffer that was visiting the archive file is still
      live before trying to bury it.
      (todo-category-completions): Handle external deletion of any
      category completion files.
      (todo-jump-to-category, todo-basic-insert-item): Recalculate list
      of todo files, in case of external deletion.
      (todo-add-file): Replace unnecessary setq by let-binding.
      (todo-find-archive): Check whether there are any archives.
      Replace unnecessary setq by let-binding.
      (todo-archive-done-item): Use find-file-noselect to get the
      archive buffer whether or not the archive already exists.  Remove
      superfluous code.  Use file size instead of buffer-file-name to
      check if the archive is new; if it is, update list of archives.
      (todo-default-todo-file): Allow nil to be a valid value for when
      there are no todo files.
      (todo-reevaluate-default-file-defcustom): Use corrected definition
      of todo-default-todo-file.
      (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
      (todo-delete-category, todo-show-categories-table)
      (todo-category-number): Clarify comment.
      (todo-filter-items): Clarify documentation string.
      (todo-show-current-file, todo-display-as-todo-file)
      (todo-reset-and-enable-done-separator): Tweak documentation string.
      (todo-done-separator): Make separator length window-width, since
      bug#2749 is now fixed.
      
      Fixes: debbugs:14688
      d610f6dd
  9. 30 Jun, 2013 1 commit
  10. 21 Jun, 2013 4 commits
  11. 19 Jun, 2013 4 commits
  12. 18 Jun, 2013 2 commits
  13. 09 Jun, 2013 2 commits
  14. 08 Jun, 2013 1 commit
  15. 07 Jun, 2013 1 commit
  16. 05 Jun, 2013 2 commits
    • Stephen Berman's avatar
      * todos.el: Fix byte-compiler warnings. · 1d59b723
      Stephen Berman authored
      (todos-merge-category): Relocate let-bound variable.
      (todos-toggle-item-highlighting): Restrict to todos-mode,
      todos-archive-mode and todos-filtered-items-mode.
      (todos-toggle-item-header, todos-diary-goto-entry)
      (todos-insert-sort-button): Let-bind variables that were
      mistakenly free.
      (todos-convert-legacy-files): Just require todo-mode instead of
      conditionalizing it.
      (todos-modes-set-2): Check whether hl-line-range-function is void.
      1d59b723
    • Stephen Berman's avatar
      * todos.el: Further code cleanup. Changes to commentary. Remove · db5ea477
      Stephen Berman authored
      autoload cookies.  Handle todo items in Fancy Diary display.
      (todos-done-separator): Reinstate length one less than
      window-width until bug#2749 is fixed.
      (todos-diary-goto-entry): New function, extracted from adapted
      definition of diary-goto-entry, which is removed to be added to
      diary-lib.el.
      (todos-powerset): Rename from todos-powerset-iterative and remove
      defalias by this name.  Add doc string and comments.
      (todos-modes-set-1, todos-modes-set-2, todos-modes-set-3)
      (todos-mode-external-set): Add doc string.
      db5ea477
  17. 04 Jun, 2013 3 commits
  18. 03 Jun, 2013 2 commits
    • Stephen Berman's avatar
      * todos.el: More code cleanup. Update file copyright and author · e99a2125
      Stephen Berman authored
      lines, add commentary.  Reformat so most lines do not exceed 80
      columns.  Fix doc strings problems found by checkdoc.
      (todos-edit-file): Delete unused argument.
      (todos-delete-item): Delete superfluous concat.
      (todos-next-button, todos-previous-button): Delete optional
      arguments, adjusting interactive spec accordingly, and add them as
      non-nil arguments to the invocations of forward-button and
      backward-button.
      e99a2125
    • Stephen Berman's avatar
      * todos.el (todos-y-with-space): New defcustom. · cc416fd3
      Stephen Berman authored
      (todos-y-or-n-p): New function.
      (todos-delete-category, todos-move-category, todos-delete-item)
      (todos-done-item-add-edit-or-delete-comment, todos-item-undone)
      (todos-find-archive, todos-archive-done-item, todos-search)
      (todos-read-category): Use it instead of y-or-n-p.
      cc416fd3
  19. 02 Jun, 2013 1 commit
    • Stephen Berman's avatar
      * todos.el (todos-show-categories-table): Correct doc string. · 9e6b072c
      Stephen Berman authored
      (todos-sort-categories-alphabetically-or-numerically): Rename from
      todos-sort-categories-alphabetically-or-by-priority and adjust uses.
      (todos-set-category-number): Rename from
      todos-set-category-priority and adjust uses.
      (todos-raise-category): Rename from todos-raise-category-priority
      and adjust uses.
      (todos-lower-category): Rename from todos-lower-category-priority
      and adjust uses.
      9e6b072c
  20. 01 Jun, 2013 2 commits
    • Stephen Berman's avatar
      * todos.el: Some custom cleanup. · 53e63b4c
      Stephen Berman authored
      (todos-edit): Rename from todos-item-insertion and adjust doc string.
      (todos-display): Rename from todos-mode-display.
      (todos-item-mark, todos-undo-item-omit-comment): Change :group to
      todos-edit.
      (todos-indent-to-here): Change :group to todos-display.
      (todos, todos-edit, todos-categories, todos-filtered)
      (todos-display, todos-faces): Change :version to "24.4".
      53e63b4c
    • Stephen Berman's avatar
      * todos.el (todos-filtered-items-mode-map): Fix omission in · 23cbdcbc
      Stephen Berman authored
      previous change.
      (todos-mode): Comment out invocation of easy-menu-add, since menu
      definition was commented out in last change.
      23cbdcbc
  21. 31 May, 2013 3 commits
    • Stephen Berman's avatar
      * todos.el: Move auto-mode-alist entries above provide sexp. · e4ae44d9
      Stephen Berman authored
      Update adapted diary-goto-entry, so it also works with todo items
      when the buffer in which the included todo file is processed for
      the Fancy Diary is not killed.
      (todos-insert-item-from-calendar): Move to item editing commands
      section of file.  Add doc string, use todos-basic-insert-item and
      remove mistaken invocation of todos-show.
      e4ae44d9
    • Stephen Berman's avatar
      * todos.el (todos-edit-quit): After editing an item, make sure to · 9fa64073
      Stephen Berman authored
      return to its category.
      9fa64073
    • Stephen Berman's avatar
      * todos.el: Clean up code. Uncapitalize file name in first line. · a9b0e28e
      Stephen Berman authored
      Require cl-lib instead of cl.  Add section title separators.
      Reindent some code and comments.  Comment out Todos mode menu
      definition.
      (todos-basic-insert-item): Rename from todos-insert-item-1 and
      adjust uses.
      (todos-basic-edit-item-header): Rename from
      todos-edit-item-header-1 and adjust uses.
      (todos-display-categories): Rename from todos-display-categories-1
      and adjust uses.
      (todos-show, todos-basic-insert-item)
      (todos-basic-edit-item-header, todos-set-item-priority)
      (todos-item-undone, todos-convert-legacy-files)
      (todos-check-format, todos-filter-items-1):
      Use user-error instead of error.
      (todos-add-file, todos-basic-insert-item, todos-mark)
      (todos-button, todos-sorted-column, todos-archived-only)
      (todos-search, todos-category-string)
      (todos-top-priorities-overrides)
      (todos-insertion-commands-args-genlist, todos-filter-items)
      (todos-filter-items-1, todos-filtered-items-mode-map):
      Correct or improve document string.
      (todos-edit-file)
      (todos-sort-categories-alphabetically-or-by-priority)
      (todos-sort-categories-by-todo, todos-sort-categories-by-diary)
      (todos-sort-categories-by-done)
      (todos-sort-categories-by-archived, todos-next-button)
      (todos-previous-button, todos-gen-arglists)
      (todos-define-insertion-command)
      (todos-insertion-commands-arg-key-list)
      (todos-insertion-key-bindings, todos-update-categories-display):
      Add document string.
      (todos-powerset-recursive): Rename from powerset-recursive and
      reformulate slightly.
      (todos-powerset-iterative): Rename from powerset-bitwise and
      reformulate.
      (todos-insertion-commands-args): Use cl-remove-duplicates instead
      of remove-duplicates.
      (todos-define-insertion-command): Improve doc string of generated defun.
      (todos-adjusted-category-label-length)
      (todos-insert-category-line, todos-update-categories-display):
      Call cl-oddp instead of inlining its definition.
      (todos-key-bindings): Remove, replacing by the following.
      (todos-key-bindings-t, todos-key-bindings-t+a+f)
      (todos-key-bindings-t+a, todos-key-bindings-t+f): New variables.
      (todos-mode-map): Use new key-binding variables.
      (todos-archive-mode-map, todos-filtered-items-mode-map): Use new
      key-binding variables.  Don't suppress digit keys.
      (todos-categories-mode-map): Don't suppress digit keys.
      (todos-modes-set-1, todos-modes-set-2, todos-modes-set-3)
      (todos-mode, todos-archive-mode, todos-mode-external-set):
      Use setq-local instead of make-local-variable.
      a9b0e28e
  22. 24 May, 2013 1 commit