aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorStefan Kangas2022-07-10 13:27:36 +0200
committerStefan Kangas2022-09-09 11:27:30 +0200
commit1f29ee2d21b57e81a28550a1b31bc8a39406d17b (patch)
tree753106efb2241a17c5949255b7b457f7ad210f77 /lisp/progmodes/python.el
parentc6d8db8d91649d4e30bb26c662ac867136005c0c (diff)
downloademacs-1f29ee2d21b57e81a28550a1b31bc8a39406d17b.tar.gz
emacs-1f29ee2d21b57e81a28550a1b31bc8a39406d17b.zip
Delete many items obsolete since 24.3
* lisp/allout.el (allout-exposure-change-hook) (allout-structure-added-hook, allout-structure-deleted-hook) (allout-structure-shifted-hook): * lisp/arc-mode.el (archive-extract-hooks): * lisp/buff-menu.el (Buffer-menu-buffer+size-width): * lisp/calendar/timeclock.el (timeclock-modeline-display) (timeclock-modeline-display, timeclock-update-modeline): * lisp/cedet/semantic/db-el.el (semanticdb-elisp-sym-function-arglist): * lisp/cedet/semantic/db-file.el (semanticdb-save-database-hooks): * lisp/cedet/semantic/edit.el (semantic-change-hooks) (semantic-edits-new-change-hooks) (semantic-edits-delete-change-hooks) (semantic-edits-reparse-change-hooks): * lisp/cedet/semantic/lex.el (semantic-lex-reset-hooks): * lisp/comint.el (comint--unquote&expand-filename) (comint-unquote-filename): * lisp/custom.el (user-variable-p): * lisp/dired.el (dired-shrink-to-fit, dired-pop-to-buffer) (dired-sort-set-modeline): * lisp/ebuff-menu.el (Electric-buffer-menu-mode): * lisp/emacs-lisp/byte-run.el (macro-declaration-function): * lisp/emacs-lisp/checkdoc.el (custom-print-functions) (checkdoc-comment-style-hooks): * lisp/emacs-lisp/cl-lib.el (custom-print-functions): * lisp/emacs-lisp/edebug.el (gud-inhibit-global-bindings): * lisp/erc/erc-dcc.el (erc-dcc-chat-filter-hook): * lisp/eshell/esh-mode.el (eshell-status-in-modeline): * lisp/eshell/eshell.el (eshell-add-to-window-buffer-names) (eshell-remove-from-window-buffer-names): * lisp/faces.el (set-face-underline-p, font-list-limit): * lisp/files.el (automount-dir-prefix, toggle-read-only): * lisp/filesets.el (filesets-cache-fill-content-hooks): * lisp/frame.el (automatic-hscrolling): * lisp/generic-x.el (javascript-generic-mode) (javascript-generic-mode-hook): * lisp/gnus/gnus-start.el (gnus-subscribe-newsgroup-hooks): * lisp/gnus/nndiary.el (nndiary-request-create-group-hooks) (nndiary-request-update-info-hooks) (nndiary-request-accept-article-hooks): * lisp/htmlfontify.el (hfy-post-html-hooks): * lisp/international/mule-cmds.el (inactivate-current-input-method-function) (inactivate-input-method, input-method-inactivate-hook) (ucs-insert): * lisp/international/quail.el (quail-inactivate) (quail-inactivate-hook): * lisp/international/robin.el (robin-inactivate) (robin-inactivate-hook): * lisp/leim/quail/hangul.el (hangul-input-method-inactivate): * lisp/leim/quail/uni-input.el (ucs-input-inactivate): * lisp/mail/emacsbug.el (report-emacs-bug-info): * lisp/mh-e/mh-e.el (mh-kill-folder-suppress-prompt-hooks): * lisp/mpc.el (mpc-string-prefix-p): * lisp/net/rcirc.el (rcirc-print-hooks, rcirc-sentinel-hooks) (rcirc-receive-message-hooks, rcirc-activity-hooks): * lisp/obsolete/crisp.el (crisp-mode-modeline-string): * lisp/pcomplete.el (pcomplete-arg-quote-list) (pcomplete-quote-argument): * lisp/progmodes/cc-mode.el (c-prepare-bug-report-hooks): * lisp/progmodes/python.el (python-info-ppss-context) (python-info-ppss-context-type) (python-info-ppss-comment-or-string-p, python-indent) (python-guess-indent, python-buffer, python-preoutput-result) (python-proc, python-send-receive, python-send-string) (python-use-skeletons): * lisp/progmodes/sh-script.el (sh-maybe-here-document): * lisp/replace.el (query-replace-interactive): * lisp/strokes.el (strokes-modeline-string): * lisp/subr.el (redraw-modeline): * lisp/term.el (term-default-fg-color, term-default-bg-color): * lisp/textmodes/tex-mode.el (latex-string-prefix-p) (tex-string-prefix-p): * lisp/url/url-parse.el (url-recreate-url-attributes): * lisp/vc/add-log.el (change-log-acknowledgement): * lisp/vc/ediff-wind.el (ediff-choose-window-setup-function-automatically): * lisp/vc/pcvs-util.el (cvs-string-prefix-p): * lisp/vc/vc.el (vc-string-prefix-p): * lisp/window.el (display-buffer-function): * lisp/winner.el (winner-mode-leave-hook): Remove many functions and variables obsolete since 24.3. * lisp/buff-menu.el (list-buffers--refresh): * lisp/dired.el (dired-mode-map): * lisp/files.el (abbreviate-file-name): * lisp/generic-x.el (generic-default-modes): * lisp/mh-e/mh-funcs.el (mh-kill-folder): * lisp/progmodes/hideif.el (hide-ifdef-mode-submap): * lisp/replace.el (query-replace-read-from): * lisp/term.el (term): * lisp/window.el (display-buffer): Don't use above deleted functions and variables. * src/marker.c (Fbuffer_has_markers_at): Delete DEFUN obsolete since 24.3. (syms_of_marker) <Sbuffer_has_markers_at>: Delete defsubr. * lisp/subr.el (buffer-has-markers-at): Remove obsoletion of above deleted DEFUN. * etc/TODO: Doc fix; don't mention above deleted function. * admin/cus-test.el (cus-test-get-options): * lisp/pcomplete.el: Doc fixes; don't mention removed items. ; * etc/NEWS: List removed items.
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el34
1 files changed, 0 insertions, 34 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 3247d7ad507..9f9439aac69 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -528,16 +528,6 @@ The type returned can be `comment', `string' or `paren'."
528 (eql (syntax-class (syntax-after (point))) 528 (eql (syntax-class (syntax-after (point)))
529 (syntax-class (string-to-syntax ")")))) 529 (syntax-class (string-to-syntax ")"))))
530 530
531(define-obsolete-function-alias
532 'python-info-ppss-context #'python-syntax-context "24.3")
533
534(define-obsolete-function-alias
535 'python-info-ppss-context-type #'python-syntax-context-type "24.3")
536
537(define-obsolete-function-alias
538 'python-info-ppss-comment-or-string-p
539 #'python-syntax-comment-or-string-p "24.3")
540
541(defun python-font-lock-syntactic-face-function (state) 531(defun python-font-lock-syntactic-face-function (state)
542 "Return syntactic face given STATE." 532 "Return syntactic face given STATE."
543 (if (nth 3 state) 533 (if (nth 3 state)
@@ -953,17 +943,11 @@ It makes underscores and dots word constituent chars.")
953 943
954;;; Indentation 944;;; Indentation
955 945
956(define-obsolete-variable-alias
957 'python-indent 'python-indent-offset "24.3")
958
959(defcustom python-indent-offset 4 946(defcustom python-indent-offset 4
960 "Default indentation offset for Python." 947 "Default indentation offset for Python."
961 :type 'integer 948 :type 'integer
962 :safe 'integerp) 949 :safe 'integerp)
963 950
964(define-obsolete-variable-alias
965 'python-guess-indent 'python-indent-guess-indent-offset "24.3")
966
967(defcustom python-indent-guess-indent-offset t 951(defcustom python-indent-guess-indent-offset t
968 "Non-nil tells Python mode to guess `python-indent-offset' value." 952 "Non-nil tells Python mode to guess `python-indent-offset' value."
969 :type 'boolean 953 :type 'boolean
@@ -3307,17 +3291,11 @@ be asked for their values."
3307 "Instead call `python-shell-get-process' and create one if returns nil." 3291 "Instead call `python-shell-get-process' and create one if returns nil."
3308 "25.1") 3292 "25.1")
3309 3293
3310(define-obsolete-variable-alias
3311 'python-buffer 'python-shell-internal-buffer "24.3")
3312
3313(defvar python-shell-internal-buffer nil 3294(defvar python-shell-internal-buffer nil
3314 "Current internal shell buffer for the current buffer. 3295 "Current internal shell buffer for the current buffer.
3315This is really not necessary at all for the code to work but it's 3296This is really not necessary at all for the code to work but it's
3316there for compatibility with CEDET.") 3297there for compatibility with CEDET.")
3317 3298
3318(define-obsolete-variable-alias
3319 'python-preoutput-result 'python-shell-internal-last-output "24.3")
3320
3321(defvar python-shell-internal-last-output nil 3299(defvar python-shell-internal-last-output nil
3322 "Last output captured by the internal shell. 3300 "Last output captured by the internal shell.
3323This is really not necessary at all for the code to work but it's 3301This is really not necessary at all for the code to work but it's
@@ -3330,9 +3308,6 @@ there for compatibility with CEDET.")
3330 (get-process proc-name) 3308 (get-process proc-name)
3331 (run-python-internal)))) 3309 (run-python-internal))))
3332 3310
3333(define-obsolete-function-alias
3334 'python-proc #'python-shell-internal-get-or-create-process "24.3")
3335
3336(defun python-shell--save-temp-file (string) 3311(defun python-shell--save-temp-file (string)
3337 (let* ((temporary-file-directory 3312 (let* ((temporary-file-directory
3338 (if (file-remote-p default-directory) 3313 (if (file-remote-p default-directory)
@@ -3449,12 +3424,6 @@ Returns the output. See `python-shell-send-string-no-output'."
3449 (replace-regexp-in-string "_emacs_out +" "" string) 3424 (replace-regexp-in-string "_emacs_out +" "" string)
3450 (python-shell-internal-get-or-create-process)))) 3425 (python-shell-internal-get-or-create-process))))
3451 3426
3452(define-obsolete-function-alias
3453 'python-send-receive #'python-shell-internal-send-string "24.3")
3454
3455(define-obsolete-function-alias
3456 'python-send-string #'python-shell-internal-send-string "24.3")
3457
3458(defun python-shell-buffer-substring (start end &optional nomain no-cookie) 3427(defun python-shell-buffer-substring (start end &optional nomain no-cookie)
3459 "Send buffer substring from START to END formatted for shell. 3428 "Send buffer substring from START to END formatted for shell.
3460This is a wrapper over `buffer-substring' that takes care of 3429This is a wrapper over `buffer-substring' that takes care of
@@ -4620,9 +4589,6 @@ JUSTIFY should be used (if applicable) as in `fill-paragraph'."
4620 4589
4621;;; Skeletons 4590;;; Skeletons
4622 4591
4623(define-obsolete-variable-alias
4624 'python-use-skeletons 'python-skeleton-autoinsert "24.3")
4625
4626(defcustom python-skeleton-autoinsert nil 4592(defcustom python-skeleton-autoinsert nil
4627 "Non-nil means template skeletons will be automagically inserted. 4593 "Non-nil means template skeletons will be automagically inserted.
4628This happens when pressing \"if<SPACE>\", for example, to prompt for 4594This happens when pressing \"if<SPACE>\", for example, to prompt for