1. 04 May, 2014 1 commit
    • Leo Liu's avatar
      Support Chinese diary entries in calendar and diary · bbdcf64f
      Leo Liu authored
      * doc/emacs/cal-xtra.texi (Non-Gregorian Diary): Document new features for
      Chinese calendar and diary.
      * etc/NEWS: Mention support for Chinese dates in calendar and diary.
      * lisp/calendar/cal-china.el (calendar-chinese-month-name-array): New var.
      (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
      (diary-chinese-list-entries): New functions to list and mark
      Chinese diary entries in the calendar window.
      (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
      (diary-chinese-insert-yearly-entry): New commands to insert
      Chinese diary entries.
      * lisp/calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
      inserting Chinese diary entries.
      * lisp/calendar/calendar.el (diary-chinese-entry-symbol): New
      customizable variable.
      (calendar-mode-map): Add bindings for inserting Chinese diary
      * lisp/calendar/diary-lib.el (diary-font-lock-keywords): Support
      font-locking Chinese dates.
      Fixes: debbugs:17393
  2. 23 Mar, 2014 1 commit
    • Gnus developers's avatar
      Merge from Gnus git master · 7a31038f
      Gnus developers authored
      2014-02-04 Lars Ingebrigtsen <larsi@gnus.org>
       * calendar/parse-time.el (parse-time-iso8601-regexp)
       (parse-iso8601-time-string): Copied from `url-dav' so that we can use
       it more generally.
      2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
       * net/dns.el (network-interface-list): Define for XEmacs.
      2014-01-31 Magnus Henoch <magnus.henoch@gmail.com>
       * net/dns.el (dns-servers-up-to-date-p): New function to see whether
       the network interfaces changed.
       (dns-query): Use it to flush the data.
  3. 17 Mar, 2014 1 commit
  4. 27 Jan, 2014 1 commit
    • Glenn Morris's avatar
      Doc, comment, etc updates for increased use of locate-user-emacs-file · ece4bae5
      Glenn Morris authored
      This should have been a prerequisite for making these changes in the
      first place.
      * doc/emacs/calendar.texi (Time Intervals):
      * doc/misc/idlwave.texi (Lesson III---User Catalog, Online Help)
      (Starting the Shell, Catalogs, User Catalog):
      * doc/misc/remember.texi (Quick Start):
      * doc/misc/viper.texi:
      * doc/misc/vip.texi (Customization, Customizing Constants)
      (Customizing Key Bindings): Update for files being in ~/.emacs.d/.
      * lisp/ido.el (ido-save-directory-list-file):
      * lisp/saveplace.el (save-place-file):
      * lisp/calendar/timeclock.el (timeclock-file):
      * lisp/net/quickurl.el (quickurl-url-file):
      * lisp/obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
      * lisp/progmodes/idlwave.el (idlwave-config-directory):
      * lisp/textmodes/remember.el (remember-data-file):
      Bump :version.
      * lisp/shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
      * lisp/strokes.el (strokes-file): Doc fix.  Bump :version.
      (strokes-help): Doc fix.
      * lisp/emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
      * lisp/emulation/viper.el (viper): Doc fix for custom group.
      (top-level): Remove oh-so-no-longer-relevant text about vip.
      * lisp/obsolete/otodo-mode.el (todo-prefix): Doc fix.
      * etc/NEWS: Related edits.
  5. 13 Jan, 2014 1 commit
  6. 01 Jan, 2014 1 commit
  7. 23 Dec, 2013 1 commit
    • Chong Yidong's avatar
      Rename set-temporary-overlay-map -> set-transient-map · 8cd22a08
      Chong Yidong authored
      * lisp/subr.el (set-transient-map): Rename from
      set-temporary-overlay-map.  Doc fix.
      * lisp/face-remap.el (text-scale-adjust):
      * lisp/indent.el (indent-rigidly):
      * lisp/kmacro.el (kmacro-call-macro):
      * lisp/minibuffer.el (minibuffer-force-complete):
      * lisp/repeat.el (repeat):
      * lisp/simple.el (universal-argument--mode):
      * lisp/calendar/todo-mode.el (todo-insert-item--next-param):
      * lisp/progmodes/f90.el (f90-abbrev-start): Callers changed.
      * lisp/org/org.el (orgstruct-make-binding): Call set-transient-map
      instead of old name set-temporary-overlay-map.
      * doc/lispref/keymaps.texi (Controlling Active Maps): Renamed
      set-temporary-overlay-map to set-transient map.  Doc fixes.
      (Searching Keymaps): The transient keymap takes precedence.
  8. 20 Dec, 2013 2 commits
    • Stephen Berman's avatar
      New implementation of Todo item insertion commands and key bindings. · f3a66082
      Stephen Berman authored
      * calendar/todo-mode.el: New implementation of item insertion
      commands and key bindings.
      (todo-key-prompt): New face.
      (todo-insert-item): New command.
      (todo-insert-item--parameters): New defconst, replacing defvar
      (todo-insert-item--param-key-alist): New defconst, replacing
      defvar todo-insertion-commands-arg-key-list.
      (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
      (todo-insert-item--argsleft, todo-insert-item--apply-args)
      (todo-insert-item--next-param): New functions.
      (todo-insert-item--args, todo-insert-item--argleft)
      (todo-insert-item--argsleft, todo-insert-item--newargsleft):
      New variables.
      (todo-key-bindings-t): Change binding of "i" from
      todo-insertion-map to todo-insert-item.
      (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
      (todo-insertion-command-name, todo-insertion-commands-names)
      (todo-define-insertion-command, todo-insertion-commands)
      (todo-insertion-key-bindings, todo-insertion-map): Remove.
    • Stephen Berman's avatar
      Todo mode bug fixes and new features. · 2f99433b
      Stephen Berman authored
      * calendar/todo-mode.el: Bug fixes and new features.
      (todo-toggle-item-highlighting): Use eval-and-compile instead of
      (todo-move-category): Allow choosing a non-existing todo file to
      move the category to, and create that file.
      (todo-default-priority): New user option.
      (todo-set-item-priority): Use it.
      (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
      (desktop-restore-file-buffer): Declare.
      (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
      (todo-modes-set-2): Locally set desktop-save-buffer to
      (todo-mode, todo-archive-mode, todo-filtered-items-mode)
      (auto-mode-alist): Add autoload cookie.
      Fixes: debbugs:15225
  9. 10 Oct, 2013 1 commit
  10. 29 Aug, 2013 1 commit
  11. 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.
  12. 07 Aug, 2013 1 commit
  13. 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.
      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)
      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
  14. 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)
      * 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)
      * simple.el (insert-buffer, set-selective-display)
      * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
      * 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)
      * 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.
    • 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)
      * 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.
    • 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.
    • 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.
  15. 28 Jul, 2013 1 commit
  16. 27 Jul, 2013 1 commit
  17. 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
  18. 30 Jun, 2013 1 commit
  19. 21 Jun, 2013 4 commits
  20. 19 Jun, 2013 4 commits
  21. 18 Jun, 2013 2 commits
  22. 09 Jun, 2013 2 commits
  23. 08 Jun, 2013 1 commit
  24. 07 Jun, 2013 1 commit
  25. 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.
    • 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
      (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.
  26. 04 Jun, 2013 2 commits
    • Stephen Berman's avatar
      * todos.el (todos-add-item-if-new-category): Change default value. · c66f681c
      Stephen Berman authored
      (todos-show, todos-jump-to-category, todos-add-file)
      (todos-add-category): Update doc string to reflect new default
      prompt for item insertion.
      (todos-add-file): Add omitted argument to called-interactively-p.
      (todos-show): Improve handling of adding first category.
    • Stephen Berman's avatar
      * todos.el: Allow prompting for first item on adding a new · 37f48249
      Stephen Berman authored
      category.  Fix handling of default todo file on adding first file.
      (todos-add-item-if-new-category): New defcustom.
      (todos-show, todos-jump-to-category, todos-add-category): Use it.
      (todos-short-file-name): Return nil if file name is not a string.
      (todos-add-file): Recalculate todos-files after adding a file.
      (todos-show): If first file was just added, make it the default.