1. 31 Jul, 2012 3 commits
  2. 30 Jul, 2012 2 commits
  3. 29 Jul, 2012 10 commits
    • Jay Belanger's avatar
    • Jay Belanger's avatar
      calc/calc.el (calc-simplify-mode): Make 'alg the default value. · 1823ac5a
      Jay Belanger authored
      (calc-set-mode-line): Don't display "AlgSimp ".
      calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
      (calc-lim-simplify-mode): New function.
      (calc-set-simplify-mode): Default to 'alg.
      (calc-default-simplify-mode): Make algebraic simplifications the default.
      calc/calc-ext.el (calc-init-extensions): Remove binding for
      `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
      calc/README: Mention new default simplification mode.
    • Jay Belanger's avatar
      calc/calc.el (math-normalize-error): New variable. · 9052f9f0
      Jay Belanger authored
      (math-normalize): Set `math-normalize-error' to t when there's an error.
      calc/calc-alg.el (math-simplify): Don't simplify when `math-normalize'
      returns an error.
    • Eli Zaretskii's avatar
      Fix bug #12082 with non-ASCII output in Windows GUI sessions. · 20ba0cb4
      Eli Zaretskii authored
       lisp/international/mule-cmds.el (set-locale-environment): Revert last
       change, since display-graphic-p returns nil when this function is
       called during startup.  Instead...
       lisp/term/w32console.el (terminal-init-w32console): ...setup the
       keyboard and terminal encoding for TTY sessions here.
    • Juri Linkov's avatar
      * lisp/simple.el (goto-line): Don't display default line number in the · a5dcc929
      Juri Linkov authored
      prompt because it should be displayed by `read-number' (bug#9952).
      Add the current line number to the defaults of `goto-line' to
      allow its easier modification by users with `M-n' (bug#9201).
      * lisp/subr.el (read-number): Support multiple default values like in
      other minibuffer reading functions.  Replace `read' with
      `string-to-number' for consistency with `number-to-string'.
    • Paul Eggert's avatar
    • Paul Eggert's avatar
      Don't use the abbreviation "win" to refer to Windows (Bug#10421). · b46a6a83
      Paul Eggert authored
      * lisp/org/ob-lilypond.el (ly-w32-ly-path): Rename from ly-win32-ly-path.
      (ly-w32-pdf-path): Rename from ly-win32-pdf-path.
      (ly-w32-midi-path): Rename from ly-win32-midi-path.
      (ly-determine-ly-path, ly-determine-pdf-path, ly-determine-midi-path):
      Check for "windows-nt", not "win32", in system-type.
      * src/regex.c (MAX_BUF_SIZE): Remove some incorrect and
      long-ago-commented-out code that talks about "WIN32".
      * src/w32heap.h (OS_WINDOWS_95): Rename from OS_WIN95.
      All uses changed.
    • Paul Eggert's avatar
      deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150) · 72b255c7
      Paul Eggert authored
      * NEWS: Document these changes.
      * leim/quail/uni-input.el (ucs-input-deactivate):
      Rename from ucs-input-inactivate.
      * leim/quail/hangul.el (hangul-input-method-deactivate):
      Rename from hangul-input-method-inactivate.
      * emulation/viper-init.el (viper-deactivate-input-method-action):
      Rename from viper-inactivate-input-method-action.
      Rename from viper-inactivate-input-method.
      * lisp/follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
      * lisp/international/mule-cmds.el (deactivate-input-method):
      Rename from inactivate-input-method.
      Also run input-method-deactivate-hook.
      Rename from inactivate-current-input-method-function.
      (input-method-deactivate-hook): New hook.
      (input-method-inactivate-hook): Mark obsolete.
      * lisp/international/quail.el (quail-activate):
      Also run quail-deactivate-hook.
      (quail-deactivate): Rename from quail-inactivate.
      * lisp/international/robin.el (robin-activate):
      Also run robin-deactivate-hook.
      (robin-deactivate): Rename from robin-inactivate.
    • Chong Yidong's avatar
      Deactivate the mark on more copy operations, and indicate the copied region. · 2549c068
      Chong Yidong authored
      * lisp/simple.el (indicate-copied-region): New function.
      (kill-ring-save): Split off from here.
      * lisp/rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
      (kill-rectangle): Set deactivate-mark to t on read-only error.
      * lisp/register.el (copy-to-register, copy-rectangle-to-register):
      Deactivate the mark, and use indicate-copied-region.
      (append-to-register, prepend-to-register): Call
      Fixes: debbugs:10056
    • Juri Linkov's avatar
      * lisp/simple.el (async-shell-command-buffer): New defcustom. · 17711ed9
      Juri Linkov authored
      (shell-command): Use it.
      Fixes: debbugs:4719
  4. 28 Jul, 2012 6 commits
    • Eli Zaretskii's avatar
      Fix non-ASCII input in non-GUI frames on MS-Windows. (Bug#12055) · 01bd1b0d
      Eli Zaretskii authored
       src/w32inevt.c: Include w32inevt.h.
       (w32_read_console_input): New inline function, calls either
       ReadConsoleInputA or ReadConsoleInputW, depending on the value of
       (fill_queue): Call w32_read_console_input instead of ReadConsoleInput.
       (w32_kbd_patch_key, key_event): Use the codepage returned by
       GetConsoleCP, rather than the ANSI codepage returned by GetLocaleInfo.
       (key_event): use uChar.UnicodeChar only if
       w32_console_unicode_input is non-zero.
       src/w32console.c: Include w32heap.h.
       <w32_console_unicode_input>: New global variable.
       (initialize_w32_display): Set w32_console_unicode_input to 1 on NT
       family of Windows, zero otherwise.
       src/w32inevt.h: Declare w32_console_unicode_input.
       lisp/international/mule-cmds.el (set-locale-environment): In a
       console session on MS-Windows, set up keyboard and terminal
       encoding from the OEM codepage, not the ANSI codepage.
    • Chong Yidong's avatar
      Fix bogus code in gdb-place-breakpoints. · a55739d3
      Chong Yidong authored
      * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
    • Chong Yidong's avatar
      In C-x v L and C-x v D, prompt for directory if there is no default backend. · 1eee6341
      Chong Yidong authored
      * lisp/vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
      directory if vc-deduce-backend returns nil.
      Fixes: debbugs:7350
    • Eli Zaretskii's avatar
      More fixes in lisp/ for parallel builds on MS-Windows. · 20329d73
      Eli Zaretskii authored
       lisp/makefile.w32-in (custom-deps, finder-data, updates, compile)
       (compile-always, compile-first)
       ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
       ($(lisp)/net/tramp-loaddefs.el, bootstrap)
       ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
       instead of on update-subdirs.
       (bootstrap-clean): Delete $(lisp)/subdirs.el.
    • Chong Yidong's avatar
      * simple.el (delete-trailing-lines): New option. · 345a2258
      Chong Yidong authored
      (delete-trailing-whitespace): Obey it.
      Fixes: debbugs:11879
    • David Engster's avatar
      Maybe return expanded XML qnames as plain symbols (Bug#11916). · 049a0936
      David Engster authored
      * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
      Explanation of new 'symbol-qnames feature in doc-strings.
      (xml-maybe-do-ns): Return expanded names as plain symbols if
      'symbol-qnames was provided in XML-NS argument (Bug#11916).
      (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
  5. 27 Jul, 2012 7 commits
  6. 26 Jul, 2012 4 commits
    • Eli Zaretskii's avatar
      Fix parallel bootstrap in lisp/ on MS-Windows. · f8b91036
      Eli Zaretskii authored
       lisp/makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
       ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
       ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.  Fixes
       failures in parallel bootstrap because subdirs.el is being
       rewritten while the autoload files are built at the same time,
       which needs to load subdirs.el.
    • Martin Rudalics's avatar
      In mouse-drag-line don't exit tracking prematurely (Bug#12006). · c8e5a42c
      Martin Rudalics authored
      * mouse.el (popup-menu): Fix doc-string and re-indent code.
      (mouse-drag-line): Don't exit tracking when a switch-frame or
      switch-window event occurs (Bug#12006).
    • Stefan Monnier's avatar
    • Stefan Monnier's avatar
      Autoload more carefully from Lisp. Follow aliases for function properties. · 7abaf5cc
      Stefan Monnier authored
      * lisp/subr.el (autoloadp): New function.
      (symbol-file): Use it.
      (function-get): New function.
      * lisp/emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
      * lisp/emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
      * lisp/emacs-lisp/gv.el (gv-get):
      * lisp/emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
      * lisp/emacs-lisp/byte-opt.el (byte-optimize-form):
      * lisp/emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
      * lisp/emacs-lisp/autoload.el (make-autoload, autoload-print-form):
      Use function-get.
      * lisp/emacs-lisp/cl.el: Don't propagate function properties any more.
      * src/eval.c (Fautoload_do_load): Rename from do_autoload, export to Lisp,
      add argument, tune behavior, and adjust all callers.
      * lisp/speedbar.el (speedbar-add-localized-speedbar-support):
      * lisp/emacs-lisp/disass.el (disassemble-internal):
      * lisp/desktop.el (desktop-load-file):
      * lisp/help-fns.el (help-function-arglist, find-lisp-object-file-name)
      * lisp/emacs-lisp/find-func.el (find-function-noselect):
      * lisp/emacs-lisp/elp.el (elp-instrument-function):
      * lisp/emacs-lisp/advice.el (ad-has-proper-definition):
      * lisp/apropos.el (apropos-safe-documentation, apropos-macrop):
      * lisp/emacs-lisp/debug.el (debug-on-entry):
      * lisp/emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
      * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand):
      * lisp/calc/calc.el (name): Use autoloadp & autoload-do-load.
  7. 25 Jul, 2012 8 commits