summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* Optionally include holidays in cal-html outputGlenn Morris2012-05-052-13/+40
| | | | | | | | | | * lisp/calendar/cal-html.el: (cal-html-holidays): New option. (cal-html-css-default): Add holiday entry. (holiday-in-range): Autoload it. (cal-html-htmlify-entry): Add optional class argument. (cal-html-htmlify-list): Add optional holidays argument. (cal-html-insert-agenda-days): Include holidays in the output. (cal-html-one-month): Maybe include holidays.
* Move function from cal-tex to holidaysGlenn Morris2012-05-053-33/+45
| | | | | | | * calendar/holidays.el (holiday-in-range): Move here from cal-tex-list-holidays. * calendar/cal-tex.el (cal-tex-list-holidays): Make it an obsolete alias for holiday-in-range. Update all callers.
* ChangeLog fixesGlenn Morris2012-05-051-1/+1
|
* Merge from emacs-24; up to 2012-04-20T05:47:55Z!eliz@gnu.orgChong Yidong2012-05-052-18/+29
|\
* | * lisp/files.el (file-auto-mode-skip): New var.Ransom Williams2012-05-042-1/+11
| | | | | | | | (set-auto-mode-1): Use it.
* | Use set-temporary-overlay-map.Stefan Monnier2012-05-046-164/+98
| | | | | | | | | | | | | | | | | | | | | | * lisp/repeat.el: Use lexical-binding. (repeat-last-self-insert, repeat-num-input-keys-at-self-insert) (repeat-undo-count): Remove. (repeat): * lisp/progmodes/octave-mod.el (octave-abbrev-start): * lisp/progmodes/f90.el (f90-abbrev-start): * lisp/face-remap.el (text-scale-adjust): * lisp/kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
* | * lisp/emacs-lisp/pcase.el (pcase--let*): New function.Stefan Monnier2012-05-042-25/+46
| | | | | | | | | | | | | | | | (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting a bit more. (pcase--split-pred): Be more clever about ruling out overlap between a predicate and some constant pattern. (pcase--q1): Use `null' instead of (eq foo nil).
* | New function set-temporary-overlay-map and macros (defvar|setq)-local.Stefan Monnier2012-05-042-17/+62
| | | | | | | | | | | | | | * lisp/subr.el (setq-local, defvar-local): New macros. (kbd): Redefine as an alias. (with-selected-window): Leave unrelated frames alone. (set-temporary-overlay-map): New function.
* | Add new error and function `user-error'.Stefan Monnier2012-05-0420-230/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/subr.el (user-error): New function. * lisp/window.el (switch-to-buffer): * lisp/vc/smerge-mode.el (smerge-resolve-function, smerge-resolve) (smerge-match-conflict): * lisp/simple.el (previous-matching-history-element) (next-matching-history-element, goto-history-element, undo-more) (undo-start): * lisp/progmodes/etags.el (visit-tags-table-buffer, find-tag-tag) (find-tag-noselect, find-tag-in-order, etags-goto-tag-location) (next-file, tags-loop-scan, list-tags, complete-tag): * lisp/progmodes/compile.el (compilation-loop): * lisp/mouse.el (mouse-minibuffer-check): * lisp/man.el (Man-bgproc-sentinel, Man-goto-page): * lisp/info.el (Info-find-node-2, Info-extract-pointer, Info-history-back) (Info-history-forward, Info-follow-reference, Info-menu) (Info-extract-menu-item, Info-extract-menu-counting) (Info-forward-node, Info-backward-node, Info-next-menu-item) (Info-last-menu-item, Info-next-preorder, Info-last-preorder) (Info-next-reference, Info-prev-reference, Info-index) (Info-index-next, Info-follow-nearest-node) (Info-copy-current-node-name): * lisp/imenu.el (imenu--make-index-alist) (imenu-default-create-index-function, imenu-add-to-menubar): * lisp/files.el (basic-save-buffer, recover-file): * lisp/emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): * lisp/emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments) (checkdoc-message-text, checkdoc-defun): * lisp/dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point): * lisp/cus-edit.el (customize-changed-options, customize-rogue) (customize-saved, custom-variable-set, custom-variable-mark-to-save) (custom-variable-mark-to-reset-standard) (custom-variable-reset-backup, custom-face-mark-to-reset-standard) (custom-file): * lisp/completion.el (check-completion-length): * lisp/comint.el (comint-search-arg) (comint-previous-matching-input-string-position) (comint-previous-matching-input) (comint-replace-by-expanded-history-before-point, comint-send-input) (comint-copy-old-input, comint-backward-matching-input) (comint-goto-process-mark, comint-set-process-mark): * lisp/calendar/calendar.el (calendar-cursor-to-date): Use it. * lisp/bindings.el (debug-ignored-errors): Remove regexps, add `user-error'. * src/data.c (PUT_ERROR): New macro. (syms_of_data): Use it. Add new error type `user-error'. * src/undo.c (user_error): New function. (Fprimitive_undo): Use it. * src/print.c (print_error_message): Adjust print style for `user-error'. * src/keyboard.c (user_error): New function. (Fexit_recursive_edit, Fabort_recursive_edit): Use it.
* | * lisp/dabbrev.el (dabbrev--ignore-case-p): New function.Stefan Monnier2012-05-042-16/+14
| | | | | | | | | | (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion): Use it.
* | * lisp/files.el (automount-dir-prefix): Mark as obsolete.Stefan Monnier2012-05-042-0/+5
| |
* | * patcomp.el, play/bruce.el: Move to obsolete/.Glenn Morris2012-05-033-0/+7
| | | | | | | | * etc/NEWS: Mention this.
* | Fix minor Y10k bugs.Paul Eggert2012-05-039-13/+30
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/arc-mode.el (archive-unixdate): * lisp/autoinsert.el (auto-insert-alist): * lisp/calc/calc-forms.el (math-this-year): * lisp/gnus/nnweb.el (nnweb-google-parse-1): * lisp/emacs-lisp/copyright.el (copyright-current-year) (copyright-update-year, copyright): * lisp/tar-mode.el (tar-clip-time-string): * lisp/time.el (display-time-update): Don't assume years have 4 digits.
* | * iswitchb.el (iswitchb-all-frames): Fix last change.Chong Yidong2012-05-041-1/+1
| |
* | Convert more defvars to defcustoms.Chong Yidong2012-05-0416-107/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * dos-w32.el (file-name-buffer-file-type-alist) (direct-print-region-use-command-dot-com): * ffap.el (ffap-menu-regexp): * follow.el (follow-debug): * forms.el (forms--debug): * iswitchb.el (iswitchb-all-frames): * ido.el (ido-all-frames): * mail/feedmail.el (feedmail-mail-send-hook) (feedmail-mail-send-hook-queued): * mail/footnote.el (footnote-signature-separator): * mail/mailabbrev.el (mail-alias-separator-string) (mail-abbrev-mode-regexp): * mail/rmail.el (rmail-speedbar-match-folder-regexp): * progmodes/idlwave.el (idlwave-libinfo-file) (idlwave-default-completion-case-is-down) (idlwave-library-routines): Convert defvars to defcustoms. * mail/rmail.el (rmail-decode-mime-charset): * progmodes/idlw-shell.el (idlwave-shell-print-expression-function) (idlwave-shell-fix-inserted-breaks) (idlwave-shell-activate-alt-keybindings) (idlwave-shell-use-breakpoint-glyph): * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars. * doc/lispref/os.texi (Timers): Use defopt for timer-max-repeats.
* | * minibuffer.el (completion--twq-all): Beware completion-ignore-case.Stefan Monnier2012-05-032-3/+10
| |
* | Merge verilog-mode.el from upstream.Wilson Snyder2012-05-032-425/+811
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * progmodes/verilog-mode.el (font-lock-keywords): Fix mis-highligting auto. Reported by Craig Barner. (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove defines from global name space. Reported by Dan Dever. (verilog-auto-reset, verilog-auto-reset-widths) (verilog-auto-tieoff): Support using unbased numbers for AUTORESET and AUTOTIEOFF. (verilog-submit-bug-report): Update variable list. (verilog-read-auto-params): Fix AUTOINPUT regexps containing parenthesis from not matching. Reported by Michael Rytting. (verilog-auto-template-lint): Fix hash error when linting modules with no used templates. (verilog-warn, verilog-warn-error) (verilog-warn-fatal): When non-interactive report multiple warnings before exiting. Suggested by Brad Dobbie. (verilog-auto-template-lint, verilog-auto-template-warn-unused) (verilog-read-auto-template): Add `verilog-auto-template-warn-unused' to report unused template errors. Reported by Brad Dobbie. (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type nets, bug438. Reported by Vns Blore. (verilog-auto-inout-module, verilog-auto-reg) (verilog-read-decls, verilog-read-sub-decls-sig) (verilog-signals-edit-wire-reg, verilog-signals-with): Fix passing of Verilog data types in ANSI input/output ports such as "output logic" into the AUTOs. Special case "wire" and "reg" for backwards compatibility presuming Verilog 2001. (verilog-auto-ascii-enum): Add "auto enum" as alias. (verilog-preprocess): Fix replication of preprocess output. Reported by Brad Dobbie. (verilog-auto-inst-interfaced-ports): Create verilog-auto-inst-interfaced-ports, bug429. Reported by Julian Gorfajn. (verilog-after-save-font-hook) (verilog-before-save-font-hook): New variable. (verilog-modi-cache-results, verilog-save-font-mod-hooked) (verilog-save-font-mods): Wrap disabling fontification, reported by David Rogoff. (verilog-do-indent, verilog-pretty-declarations-auto) (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305. Reported by Pierre-David Pfister. (verilog-set-auto-endcomments): Fix endtask auto comments outside of class declarations, bug292. Reported by Kevin Heilman. (verilog-read-decls): Fix 'parameter type' not appearing in AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw. (verilog-auto-logic): Fix when AUTOLOGIC present to properly do AUTOINPUTs, bug411. Reported by Jonathan Greenlaw. (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP. Reported by David Kravitz. * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up assignment with tests in ifs and for loops. (verilog-extended-complete-re, verilog-complete-reg): Change so that DPI inport functions don't look like fuction declarations. (verilog-pretty-expr): Don't line up assignment operations to the test and increment in if and for loops (verilog-extended-complete-re, verilog-complete-reg): Change so that DPI inport functions don't look like fuction declarations
* | Auto-commit of loaddefs files.Glenn Morris2012-05-031-1/+1
| |
* | merge trunkKenichi Handa2012-05-034-25/+32
|\ \
| * | * lisp/emacs-lisp/bytecomp.elStefan Monnier2012-05-023-14/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | (byte-compile-file-form-custom-declare-variable): Compile all elements, since cconv.el might have introduced :fun-body, internal-make-closure, and friends for bytecomp to handle. * lisp/custom.el (defcustom): Avoid ((λ ..) ..). Fixes: debbugs:11391
| * | * subr.el (read-passwd): Better clean after ourselves.Stefan Monnier2012-05-022-11/+22
| | | | | | | | | | | | Fixes: debbugs:11392
* | | mail/rmailmm.el (rmail-show-mime): Catch an error caused by text decoding, ↵Kenichi Handa2012-05-032-17/+37
|/ / | | | | | | and show a warning message without signalling an error (Bug#11282).
* | Add customization data to several built-in variables.Chong Yidong2012-05-022-2/+32
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/cus-start.el (gc-cons-percentage, exec-suffixes) (dos-display-scancodes, dos-hyper-key, dos-super-key) (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp) (make-cursor-line-fully-visible, void-text-area-pointer) (font-list-limit): Add customization data. * doc/lispref/display.texi (Font Lookup): * doc/lispref/frames.texi (Pointer Shape): * doc/lispref/processes.texi (Subprocess Creation): Use defopt for options.
* | Fix ChangeLog typos.Juanma Barranquero2012-05-021-7/+7
| |
* | Silence byte-compiler warnings.Juanma Barranquero2012-05-024-1/+13
| | | | | | | | | | | | lisp/notifications.el (dbus-debug): lisp/term/linux.el (gpm-mouse-enable): lisp/term/screen.el (xterm-register-default-colors): Declare.
* | Fix naming of abnormal hook vars in allout.el.Chong Yidong2012-05-023-57/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/allout.el (allout-exposure-change-functions) (allout-structure-added-functions) (allout-structure-deleted-functions) (allout-structure-shifted-functions): Rename abnormal hooks from *-hook, and convert to defcustoms. (allout-after-copy-or-kill-hook, allout-post-undo-hook): Convert to defcustoms. (allout-mode-hook, allout-mode-deactivate-hook): Doc fix. * lisp/allout-widgets.el: Hook callers changed.
* | Merge from emacs-24; up to 2012-04-16T19:06:02Z!rgm@gnu.orgGlenn Morris2012-05-024-4/+28
|\|
| * Resurrect encoding of replies by Rmail which was lost in ↵Eli Zaretskii2012-04-302-2/+17
| | | | | | | | | | | | | | | | 2012-04-11T21:37:13Z!monnier@iro.umontreal.ca. lisp/mail/rmail.el (rmail-yank-current-message): Use the encoding of the yanked message in preference to the default value of buffer-file-coding-system.
| * Fix entry in display-buffer--action-function-custom-typeMartin Rudalics2012-04-302-1/+6
| |
| * Update CC Mode version to 5.32.3.Alan Mackenzie2012-04-272-1/+5
| |
| * Bump version to 24.0.96.Chong Yidong2012-04-281-741/+746
| | | | | | | | Regenerate AUTHORS and ldefs-boot.el.
* | * lisp/cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.Glenn Morris2012-05-012-7/+6
| |
* | Further doc fix.Glenn Morris2012-05-011-1/+1
| |
* | * lisp/eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.Glenn Morris2012-05-012-5/+11
| |
* | * lisp/cus-edit.el (custom-variable-documentation): Simplify with format.Glenn Morris2012-05-012-8/+12
| |
* | * lisp/gnus/nnimap.el (nnimap-open-connection-1): Don't leave an "opening..."Stefan Monnier2012-05-012-0/+7
| | | | | | | | message once it's actually open.
* | Reimplement execute-extended-command in Elisp.Aaron S. Hawley2012-05-012-6/+62
| | | | | | | | | | | | | | * src/keyboard.c (Fexecute_extended_command, Vsuggest_key_bindings): Move to simple.el. * lisp/simple.el (suggest-key-bindings, execute-extended-command): Move from keyboard.c.
* | Fix mouse wheel scrolling in Follow mode.Chong Yidong2012-05-012-5/+14
| | | | | | | | | | | | | | * lisp/follow.el (follow-mwheel-scroll): New function. (follow-redraw-after-event): Fix last change. Fixes: debbugs:4112
* | * lisp/follow.el: Rework, eliminating reliance on advice.Chong Yidong2012-05-013-1038/+470
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (set-process-filter, process-filter, sit-for): Advice deleted. (follow-mode-off-hook): Obsolete hook removed. (follow-avoid-tail-recenter-p, follow-process-filter-alist): Vars deleted. (follow-auto): Use a :set function. (follow-mode): Rewritten. Don't advise process filters. (follow-switch-to-current-buffer-all, follow-scroll-up) (follow-scroll-down): Assume follow-mode is bound. (follow-comint-scroll-to-bottom) (follow-align-compilation-windows): New functions. (follow--window-sorter): New function. (follow-all-followers): Use it to explicitly sort windows by their positions; don't make assumptions about next-window order. (follow-windows-start-end, follow-delete-other-windows-and-split) (follow-calc-win-start): Doc fix. (follow-windows-aligned-p, follow-select-if-visible): Don't call vertical-motion unnecessarily. (follow-adjust-window): New function. (follow-post-command-hook): Use it. (follow-call-set-process-filter, follow-call-process-filter) (follow-intercept-process-output, follow-tidy-process-filter-alist) (follow-stop-intercept-process-output, follow-generic-filter): Functions deleted. (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag) (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down): New functions, replacing advice on scroll-bar-* commands. * lisp/comint.el (comint-adjust-point): New function. (comint-postoutput-scroll-to-bottom): Use it. Call follow-comint-scroll-to-bottom for Follow mode buffers.
* | Auto-commit of loaddefs files.Glenn Morris2012-05-012-930/+897
| |
* | Remove no-byte-compile setting from some lisp/term files.Glenn Morris2012-04-3021-21/+15
| | | | | | | | | | | | | | Not that compiling these will bring any noticeable speed benefit, but there's really no reason not to compile them. The extra disk space and build time is negligible, and it might reveal use of obsolete functions, bugs, etc.
* | * lisp/minibuffer.el (completion-table-with-quoting): Fix compatibilityStefan Monnier2012-04-302-4/+20
| | | | | | | | all-completions code to not return a number in the last cdr.
* | * lisp/ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid bufferLeo Liu2012-04-302-2/+7
| | | | | | | | read-only error.
* | Fix Follow mode's calculation of window ends.Chong Yidong2012-04-292-154/+63
| | | | | | | | | | | | | | | | * lisp/follow.el (follow-calc-win-end): Rewrite to handle partial screen lines correctly. (follow-avoid-tail-recenter): Minor cleanup. Fixes: debbugs:8390
* | Avoid the obsolete `assoc' package.Stefan Monnier2012-04-285-96/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/speedbar.el (speedbar-refresh): Avoid adelete. (speedbar-file-lists): Simplify and avoid aput. * lisp/man.el (Man--sections, Man--refpages): New vars, replacing Man-sections-alist and Man-refpages-alist. (Man-build-section-alist, Man-build-references-alist): Use them; avoid aput. (Man--last-section, Man--last-refpage): New vars. (Man-follow-manual-reference): Use them. Use the `default' arg of completing-read. (Man-goto-section): Idem. Move prompt to the `interactive' spec. * lisp/gnus/auth-source.el (auth-source--aput-1, auth-source--aput) (auth-source--aget): New functions and macros. Use them instead of aput/aget.
* | * lisp/vc/diff.el (diff-sentinel): Go to bob.Chong Yidong2012-04-272-0/+3
| | | | | | | | Fixes: debbugs:10259
* | Fix org-ctags.el change from trunk 2012-04-09T13:05:48Z!cyd@gnu.orgGlenn Morris2012-04-262-2/+7
| | | | | | | | | | * lisp/org/org-ctags.el (org-ctags-new-topic-template): Revert 2012-04-09 removal of * from defcustom value, not doc.
* | Fix dates of some merged ChangeLog entriesGlenn Morris2012-04-261-1/+1
| |
* | Fix application of menu-bar-mode etc. by X resources.Chong Yidong2012-04-275-26/+39
| | | | | | | | | | | | | | | | | | | | * lisp/startup.el (x-apply-session-resources): New function. * lisp/term/ns-win.el (ns-initialize-window-system): * lisp/term/w32-win.el (w32-initialize-window-system): * lisp/term/x-win.el (x-initialize-window-system): Use it to properly set menu-bar-mode and other vars from X resources, even if the initial frame is not a window-system frame (Bug#2299).
* | Merge changes from emacs-24 branchChong Yidong2012-04-2725-258/+400
|\|