1. 15 Dec, 2012 1 commit
  2. 11 Oct, 2012 1 commit
  3. 25 Sep, 2012 1 commit
    • Chong Yidong's avatar
      Use declare forms, where possible, to mark obsolete functions. · 59f7af81
      Chong Yidong authored
      * lisp/allout.el (allout-passphrase-hint-string): Likewise.
      (allout-init): Use a declare form to mark obsolete.
      
      * lisp/calendar/calendar.el (calendar-version):
      * lisp/calendar/icalendar.el (icalendar-extract-ical-from-buffer)
      (icalendar-convert-diary-to-ical):
      * lisp/cus-edit.el (custom-mode):
      * lisp/ansi-color.el (ansi-color-unfontify-region):
      * lisp/international/latin1-disp.el (latin1-char-displayable-p):
      * lisp/progmodes/cwarn.el (turn-on-cwarn-mode):
      * lisp/progmodes/which-func.el (which-func-update-1): Use
      define-obsolete-function-alias.
      
      * lisp/bookmark.el (bookmark-jump-noselect): Use a declare form to mark
      this function obsolete.
      
      * lisp/calendar/cal-x.el (calendar-two-frame-setup)
      (calendar-only-one-frame-setup, calendar-one-frame-setup):
      * lisp/calendar/calendar.el (american-calendar, european-calendar)
      (calendar-for-loop):
      * lisp/comint.el (comint-dynamic-simple-complete)
      (comint-dynamic-complete-as-filename, comint-unquote-filename):
      * lisp/desktop.el (desktop-load-default):
      * lisp/dired-x.el (dired-omit-here-always)
      (dired-hack-local-variables, dired-default-directory):
      * lisp/emacs-lisp/derived.el (derived-mode-class):
      * lisp/emacs-lisp/timer.el (timer-set-time-with-usecs):
      * lisp/emacs-lock.el (toggle-emacs-lock):
      * lisp/epa.el (epa-display-verify-result):
      * lisp/epg.el (epg-sign-keys, epg-start-sign-keys)
      (epg-passphrase-callback-function):
      * lisp/eshell/esh-util.el (eshell-for):
      * lisp/eshell/eshell.el (eshell-remove-from-window-buffer-names)
      (eshell-add-to-window-buffer-names):
      * lisp/files.el (locate-file-completion):
      * lisp/imenu.el (imenu-example--create-c-index)
      (imenu-example--create-lisp-index)
      (imenu-example--lisp-extract-index-name)
      (imenu-example--name-and-position):
      * lisp/international/mule-cmds.el (princ-list):
      * lisp/international/mule-diag.el (decode-codepage-char):
      * lisp/international/mule-util.el (detect-coding-with-priority):
      * lisp/iswitchb.el (iswitchb-read-buffer):
      * lisp/mail/mailalias.el (mail-complete):
      * lisp/mail/sendmail.el (mail-sent-via):
      * lisp/mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
      (mouse-major-mode-menu):
      * lisp/password-cache.el (password-read-and-add):
      * lisp/pcomplete.el (pcomplete-parse-comint-arguments):
      * lisp/progmodes/sh-script.el (sh-maybe-here-document):
      * lisp/replace.el (query-replace-regexp-eval):
      * lisp/savehist.el (savehist-load):
      * lisp/simple.el (choose-completion-delete-max-match):
      * lisp/term.el (term-dynamic-simple-complete):
      * lisp/vc/ediff-init.el (ediff-check-version):
      * lisp/vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
      * lisp/vc/vc.el (vc-diff-switches-list):
      * lisp/view.el (view-return-to-alist-update): Likewise.
      
      * lisp/iswitchb.el (iswitchb-read-buffer): Move code of
      iswitchb-define-mode-map here, and delete that obsolete function.
      
      * lisp/subr.el (eval-next-after-load, makehash, insert-string)
      (assoc-ignore-representation, assoc-ignore-case): Use declare to
      mark obsolete.
      (mode-line-inverse-video): Variable deleted.
      
      * lisp/emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
      this applies to functions.
      
      * lisp/erc/erc.el (erc-send-command): Use define-obsolete-function-alias.
      
      * lisp/international/mule-util.el (string-to-sequence): Remove.
      
      * lisp/net/newst-backend.el (newsticker-cache-filename):
      * lisp/net/newst-treeview.el (newsticker-groups-filename): Fix
      incorrect obsolescence declaration.
      
      * lisp/net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
      font-lock-reference-face.
      
      * lisp/url/url-parse.el (url-recreate-url-attributes):
      * lisp/url/url-util.el (url-generate-unique-filename): Use declare to mark
      obsolete.
      
      * src/xdisp.c (mode_line_inverse_video): Delete obsolete variable.
      59f7af81
  4. 17 Sep, 2012 1 commit
    • Daniel Colascione's avatar
      Implement cygw32 · 0fda9b75
      Daniel Colascione authored
      Here, we use the generic window-system configuration system we just
      implemented to support the w32 window-system in the mainline build
      under Cygwin.  (Previously, the w32 window system could only be
      compiled as part of the NT-native Emacs build process.)
      
      The changes in this patch need to be applied atomically in order to
      avoid breaking Emacs.  The changes include:
      
        - Changes throughout the Lisp and C code to not assume that
            NT Emacs and the w32 window system are synonymous.
      
        - Wiring up the regular select(2) event loop to Windows messages
      
        - Cleaning up the w32 drag-and-drop receiving code.
      
        - Exposing Cygwin path conversion functions to elisp.
      
        - Unicode file dialog support when compiling for Cygwin.
      
        - Splitting the w32 term lisp initialization code into code
          applicable to any w32 window-system and code specific to
          system-type windows-nt.
      
        - Integrating the old and new w32 code into the build system.
      0fda9b75
  5. 15 Aug, 2012 1 commit
  6. 02 Aug, 2012 1 commit
  7. 29 Jul, 2012 4 commits
    • Eli Zaretskii's avatar
      Remove obsolete comment in mule-cmds.el. · 26918d77
      Eli Zaretskii authored
      26918d77
    • 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.
      20ba0cb4
    • Paul Eggert's avatar
    • 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.
      (viper-deactivate-input-method):
      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.
      (deactivate-current-input-method-function):
      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.
      72b255c7
  8. 28 Jul, 2012 1 commit
    • 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
       w32_console_unicode_input.
       (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.
      01bd1b0d
  9. 25 Jul, 2012 1 commit
  10. 17 Jul, 2012 1 commit
  11. 27 Jun, 2012 1 commit
    • Stefan Monnier's avatar
      Get rid of all the manual purecopy calls in menu-bar definitions. · 1ec4b7b2
      Stefan Monnier authored
      * lisp/loadup.el (purify-flag): Pre-grow the hash-table to reduce the
      memory use.
      * lisp/bindings.el (bindings--define-key): New function.
      * lisp/vc/vc-hooks.el, lisp/replace.el, lisp/menu-bar.el:
      * lisp/international/mule-cmds.el, lisp/emacs-lisp/lisp-mode.el:
      * lisp/buff-menu.el, lisp/bookmark.el:
      * bindings.el: Use it to purecopy define-key bindings.
      * src/fns.c (maybe_resize_hash_table): Output message when growing the
      purify-hashtable.
      1ec4b7b2
  12. 13 Jun, 2012 2 commits
  13. 07 Jun, 2012 1 commit
    • Stefan Monnier's avatar
      Cleanup cl-macs namespace. Add macro helpers in macroexp.el. · 4dd1c416
      Stefan Monnier authored
      * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
      (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
      (macroexp-copyable-p): New functions and macros.
      * emacs-lisp/edebug.el (edebug-unwrap):
      * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
      * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
      (pcase--let*): Remove.
      * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
      (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
      macroexp-const-p instead.
      * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
      
      * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
      instead of "cl-" for internal definitions.  Use macroexp-const-p.
      (cl-old-bc-file-form): Remove var.
      (cl-const-exprs-p): Remove fun.
      (cl-labels, cl-macrolet): Use backquote.
      (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
      (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
      (cl-define-setf-expander): Rename from cl-define-setf-method.
      * emacs-lisp/cl.el: Adjust alias for define-setf-method.
      
      * international/mule-cmds.el: Don't require CL.
      (view-hello-file): Don't use `letf'.
      4dd1c416
  14. 14 Apr, 2012 1 commit
  15. 09 Apr, 2012 1 commit
    • Glenn Morris's avatar
      Remove ucs-set-table-for-input dead code · fd06db5d
      Glenn Morris authored
      This function was removed with ucs-tables.el in 2008.
      
      * lisp/international/mule-cmds.el (set-default-coding-systems):
      * lisp/files.el (normal-mode):
      Remove guarded calls to ucs-set-table-for-input. 
      
      * src/buffer.c (Qucs_set_table_for_input): Remove.
      (Fget_buffer_create): Don't call Qucs_set_table_for_input.
      (init_buffer_once, syms_of_buffer): Remove Qucs_set_table_for_input.
      
      Fixes: debbugs:9821
      fd06db5d
  16. 22 Feb, 2012 1 commit
  17. 10 Feb, 2012 1 commit
    • Glenn Morris's avatar
      mule-cmds trivia · f82cb659
      Glenn Morris authored
      * lisp/international/mule-cmds.el (unify-8859-on-encoding-mode)
      (unify-8859-on-decoding-mode): Properly mark as obsolete.
      f82cb659
  18. 18 Jan, 2012 1 commit
  19. 11 Jan, 2012 1 commit
  20. 05 Jan, 2012 1 commit
  21. 17 Dec, 2011 1 commit
  22. 03 Oct, 2011 1 commit
  23. 12 Sep, 2011 1 commit
  24. 15 Jul, 2011 1 commit
  25. 13 Jul, 2011 1 commit
  26. 06 Jul, 2011 1 commit
  27. 20 Jun, 2011 1 commit
    • Stefan Monnier's avatar
      Use completion-at-point rather than completion-in-region. · bcd70d97
      Stefan Monnier authored
      * lisp/wid-edit.el: Use lexical scoping and move towards completion-at-point.
      (widget-complete): Use new :completion-function property.
      (widget-completions-at-point): New function.
      (default): Use :completion-function instead of :complete.
      (widget-default-completions): Rename from widget-default-complete, rewrite.
      (widget-string-complete, widget-file-complete, widget-color-complete):
      Remove functions.
      (file, symbol, function, variable, coding-system, color):
      * lisp/international/mule-cmds.el (default-input-method, charset)
      (language-info-custom-alist):
      * lisp/cus-edit.el (face): Use new property :completions.
      
      * lisp/progmodes/pascal.el (pascal-completions-at-point): New function.
      (pascal-mode): Use it.
      (pascal-mode-map): Use completion-at-point.
      (pascal-toggle-completions): Make obsolete.
      (pascal-complete-word, pascal-show-completions):
      * lisp/progmodes/octave-mod.el (octave-complete-symbol):
      Redefine as obsolete alias.
      * lisp/progmodes/octave-inf.el (inferior-octave-completion-at-point):
      Signal absence of completion info for old Octave,
      (inferior-octave-complete): Redefine as obsolete alias.
      * lisp/progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
      (meta-completions-at-point): Rename from meta-complete-symbol and
      adapt it for use on completion-at-point-functions.
      (meta-common-mode): Use it.
      (meta-looking-at-backward, meta-match-buffer): Remove.
      (meta-complete-symbol): Redefine as obsolete alias.
      (meta-common-mode-map): Use completion-at-point.
      * lisp/progmodes/make-mode.el: Use lexical-binding and completion-at-point.
      (makefile-mode-map): Use completion-at-point.
      (makefile-completions-at-point): Rename from makefile-complete and
      adapt it for use on completion-at-point-functions.
      (makefile-mode): Use it.
      (makefile-complete): Redefine as obsolete alias.
      bcd70d97
  28. 26 Feb, 2011 1 commit
  29. 18 Feb, 2011 1 commit
  30. 25 Jan, 2011 1 commit
  31. 15 Jan, 2011 1 commit
  32. 02 Jan, 2011 1 commit
  33. 12 Nov, 2010 1 commit
  34. 08 Nov, 2010 1 commit
  35. 31 Aug, 2010 1 commit
  36. 25 Aug, 2010 1 commit