1. 04 May, 2012 2 commits
    • Paul Eggert's avatar
      Fix minor Y10k bugs. · 0bfcf5c5
      Paul Eggert authored
      * 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.
      0bfcf5c5
    • Chong Yidong's avatar
      Convert more defvars to defcustoms. · 78f3273a
      Chong Yidong authored
      * 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.
      78f3273a
  2. 03 May, 2012 4 commits
    • Stefan Monnier's avatar
    • Wilson Snyder's avatar
      Merge verilog-mode.el from upstream. · 47086495
      Wilson Snyder authored
      * 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
      47086495
    • Kenichi Handa's avatar
      mail/rmailmm.el (rmail-show-mime): Catch an error caused by text decoding, and... · 2e51d4b5
      Kenichi Handa authored
      mail/rmailmm.el (rmail-show-mime): Catch an error caused by text	decoding, and show a warning message without signalling an error (Bug#11282).
      2e51d4b5
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/bytecomp.el · 2bd785a2
      Stefan Monnier authored
      (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
      2bd785a2
  3. 02 May, 2012 5 commits
    • Stefan Monnier's avatar
      * subr.el (read-passwd): Better clean after ourselves. · 99d27583
      Stefan Monnier authored
      Fixes: debbugs:11392
      99d27583
    • Chong Yidong's avatar
      Add customization data to several built-in variables. · 2bc356d7
      Chong Yidong authored
      * 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.
      2bc356d7
    • Juanma Barranquero's avatar
      Fix ChangeLog typos. · 5d3385a0
      Juanma Barranquero authored
      5d3385a0
    • Juanma Barranquero's avatar
      Silence byte-compiler warnings. · 55a71479
      Juanma Barranquero authored
      lisp/notifications.el (dbus-debug):
      lisp/term/linux.el (gpm-mouse-enable):
      lisp/term/screen.el (xterm-register-default-colors): Declare.
      55a71479
    • Chong Yidong's avatar
      Fix naming of abnormal hook vars in allout.el. · 7b97c764
      Chong Yidong authored
      * 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.
      7b97c764
  4. 01 May, 2012 8 commits
    • Glenn Morris's avatar
    • Glenn Morris's avatar
    • Glenn Morris's avatar
    • Aaron S. Hawley's avatar
      Reimplement execute-extended-command in Elisp. · b593d6a9
      Aaron S. Hawley authored
      * 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.
      b593d6a9
    • Chong Yidong's avatar
      Fix mouse wheel scrolling in Follow mode. · 87233a14
      Chong Yidong authored
      * lisp/follow.el (follow-mwheel-scroll): New function.
      (follow-redraw-after-event): Fix last change.
      
      Fixes: debbugs:4112
      87233a14
    • Chong Yidong's avatar
      * lisp/follow.el: Rework, eliminating reliance on advice. · 782fbf2a
      Chong Yidong authored
      (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.
      782fbf2a
    • Glenn Morris's avatar
      Remove no-byte-compile setting from some lisp/term files. · 290af740
      Glenn Morris authored
      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.
      290af740
    • Stefan Monnier's avatar
      * lisp/minibuffer.el (completion-table-with-quoting): Fix compatibility · 6eac8dc9
      Stefan Monnier authored
      all-completions code to not return a number in the last cdr.
      6eac8dc9
  5. 30 Apr, 2012 3 commits
  6. 29 Apr, 2012 1 commit
  7. 28 Apr, 2012 1 commit
    • Stefan Monnier's avatar
      Avoid the obsolete `assoc' package. · 8b6c19f4
      Stefan Monnier authored
      * 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.
      8b6c19f4
  8. 27 Apr, 2012 7 commits
  9. 26 Apr, 2012 8 commits
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue. · 657c21e4
      Stefan Monnier authored
      Fixes: debbugs:11352
      657c21e4
    • Stefan Monnier's avatar
      Replace lexical-let by lexical-binding (except Gnus, CEDET, ERT). · e95a67dc
      Stefan Monnier authored
      * lisp/term/ns-win.el (ns-define-service):
      * lisp/progmodes/pascal.el (pascal-goto-defun):
      * lisp/progmodes/js.el (js--read-tab):
      * lisp/progmodes/etags.el (tags-lazy-completion-table):
      * lisp/emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
      * lisp/emacs-lisp/ewoc.el (ewoc--wrap):
      * lisp/emacs-lisp/assoc.el (aput, adelete, amake):
      * lisp/doc-view.el (doc-view-convert-current-doc):
      * lisp/url/url.el (url-retrieve-synchronously):
      * lisp/vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
      e95a67dc
    • Andreas Schwab's avatar
      Fixes: debbugs:11344 · c4347ab9
      Andreas Schwab authored
      * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
      c4347ab9
    • Chong Yidong's avatar
      * image.el (image-type-from-buffer): Only return supported image type. · dce04f7f
      Chong Yidong authored
      Fixes: debbugs:9045
      dce04f7f
    • Chong Yidong's avatar
      Fixes for diff-hunk-kill. · cb3e7ae0
      Chong Yidong authored
      * lisp/vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
      value, for symmetry with diff-end-of-hunk.
      (diff-split-hunk, diff-find-source-location)
      (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
      (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
      (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
      compute the relevant hunk or file properly.
      (diff-file-junk-re): Add bzr's "modified file" tag.
      
      Fixes: debbugs:6041 debbugs:6005
      cb3e7ae0
    • Chong Yidong's avatar
      Allow undoing in read-only diff-mode buffers. · 8b71081d
      Chong Yidong authored
      * lisp/vc/diff-mode.el (diff-undo): New command.
      (diff-mode-shared-map): Bind it to / and [remap undo].
      
      Fixes: debbugs:5302
      8b71081d
    • Stefan Monnier's avatar
      * lisp/vc/vc-mtn.el: · 0d42eb3e
      Stefan Monnier authored
      * lisp/vc/vc-hg.el:
      * lisp/vc/vc-git.el:
      * lisp/vc/vc-dir.el:
      * lisp/vc/vc-cvs.el:
      * lisp/vc/vc-bzr.el:
      * lisp/vc/vc-arch.el:
      * lisp/vc/vc.el: Replace lexical-let by lexical-binding.
      * lisp/minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
      * lisp/emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
      * lisp/emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
      0d42eb3e
    • Chong Yidong's avatar
      Adapt ediff window handling to multi-tty. · f08ae1c9
      Chong Yidong authored
      * vc/ediff-init.el: Always define ediff-pixel-width/height.
      
      * vc/ediff-wind.el (ediff-setup-windows-default): New function.
      (ediff-window-setup-function): Use it as the default, to set up
      windows based on whether the current frame is graphical.
      (ediff-choose-window-setup-function-automatically): Make obsolete.
      
      Fixes: debbugs:2138
      f08ae1c9
  10. 25 Apr, 2012 1 commit