1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00
Commit Graph

57072 Commits

Author SHA1 Message Date
Glenn Morris
630d468c93 Comment fix 2012-09-29 19:27:36 -07:00
Glenn Morris
5cc2e639c3 Use define-minor-mode for winner-mode
* lisp/winner.el (winner-mode): Remove variable (let define-minor-mode
handle it).
(winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
Doc fixes.
(winner-mode-leave-hook): Rename to winner-mode-off-hook.
(winner-mode): Use define-minor-mode.

* etc/NEWS: Mention winner-mode-hook.
2012-09-29 16:52:03 -07:00
Glenn Morris
7bd302ebcb Remove duplication of vc-sccs-registered definition
* lisp/vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
the full definition in loaddefs, rather than duplicating it.
Cf vc-rcs-registered.
2012-09-29 16:21:57 -07:00
Glenn Morris
a123c57a36 Comment for vc-rcs 2012-09-29 16:19:46 -07:00
Glenn Morris
91740b408c Comment for vc-sccs 2012-09-29 16:18:33 -07:00
Glenn Morris
93ab178b04 Comments for vc-bzr, clarifying vc-bzr-registered 2012-09-29 16:13:29 -07:00
Bastien Guerry
04558d31ab url-util.el: Fix two docstrings. 2012-09-29 22:45:44 +02:00
Glenn Morris
d2a54f135f Revert bogus vc autoloads change 2012-09-29 12:19:17 -07:00
Glenn Morris
3ef6d50528 Remove purecopy's that are no longer needed following previous change 2012-09-29 11:30:52 -07:00
Glenn Morris
2923922f5e No need to autoload vc-rcs, vc-sccs defcustoms.
* lisp/vc/vc-rcs.el (vc-rcs-master-templates):
* lisp/vc/vc-sccs.el (vc-sccs-master-templates): No need to autoload.
2012-09-29 11:28:01 -07:00
Glenn Morris
ced0838266 * lisp/help-macro.el (three-step-help): Do not autoload defcustom. 2012-09-29 11:21:45 -07:00
Glenn Morris
0e3e415624 Do not autoload defcustoms in inf-lisp.el
* lisp/progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
(inferior-lisp-program, inferior-lisp-load-command)
(inferior-lisp-prompt, inferior-lisp-mode-hook):
Do not autoload defcustoms.
2012-09-29 11:20:12 -07:00
Glenn Morris
de82e29b3f Do not autoload defcustoms in hippie-exp.el
* lisp/hippie-exp.el (hippie-expand-try-functions-list)
(hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
(hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
(hippie-expand-max-buffers, hippie-expand-ignore-buffers)
(hippie-expand-only-buffers): Do not autoload defcustoms.
* lisp/progmodes/vhdl-mode.el (vhdl-line-expand):
Explicitly load hippie-exp, so it does not get autoloaded
while hippie-expand-try-functions-list is let-bound.
2012-09-29 11:15:57 -07:00
Stefan Monnier
e7c1b6ef85 * src/lisp.h (struct backtrace): Remove indirection for `function' field.
* src/xdisp.c (redisplay_internal):
* src/profiler.c (record_backtrace, sigprof_handler_1):
* src/alloc.c (Fgarbage_collect):
* src/eval.c (interactive_p, Fsignal, eval_sub, Ffuncall, Fbacktrace)
(Fbacktrace_frame): Adjust accordingly.
2012-09-28 22:02:34 -04:00
Glenn Morris
277f0cfa8b * lisp/emacs-lisp/cl.el (flet): Fix case of obsolescence message. 2012-09-28 19:51:20 -04:00
Glenn Morris
e60b51abaa * bytecomp.el (byte-compile-cl-file-p): Only "cl.el" counts as cl these days.
Remove no longer appropriate file-local suppression of CL warnings in
lisp/emacs-lisp/cl-*.el files.
2012-09-28 19:30:52 -04:00
Juri Linkov
53baf48a6e Display archive errors in the echo area instead of inserting to the file buffer.
* lisp/arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
to STDERR-TEST that can be a regexp matching a successful output.
Create a temporary file and redirect stderr to it.  Search for
STDERR-TEST in the stderr output and display it in the echo area
if no match is found.
(archive-extract-by-file): New function like
`archive-extract-by-stdout' but extracting archives to files
and looking for successful matches in stdout.  Function body is
mostly copied from `archive-rar-extract'.
(archive-rar-extract): Use `archive-extract-by-file'.
(archive-7z-extract): Use `archive-extract-by-stdout'.

Fixes: debbugs:10347
2012-09-28 19:38:07 +03:00
Glenn Morris
e61d39cddf Merge from emacs-24; up to 2012-05-07T21:26:08Z!rgm@gnu.org 2012-09-28 09:02:31 -07:00
Stefan Monnier
3df749b0f8 * lisp/type-break.el: Use lexical-binding.
(type-break-mode): Use define-minor-mode.
2012-09-28 11:17:08 -04:00
Leo Liu
147c042502 Use minibuffer-message in pcomplete-show-completions 2012-09-28 21:42:19 +08:00
Leo Liu
9c1228c323 ido.el (ido-set-matches-1): Fix 2012-09-11 change 2012-09-28 21:38:26 +08:00
Stefan Monnier
7f457c067d * lisp/emacs-lisp/pcase.el (pcase--mark-used): New.
(pcase--u1): Use it.
* lisp/custom.el (load-theme): Set buffer-file-name so the load is recorded
in load-history with the right file name.

Fixes: debbugs:12512
2012-09-28 08:18:38 -04:00
Tassilo Horn
c00ebc9835 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
(doc-view-doc->txt, doc-view-convert-current-doc): Use it.
(doc-view-get-bounding-box): Make bounding box slicing work for
ODF and DVI documents.
2012-09-28 12:05:46 +02:00
Glenn Morris
96fb71705b Don't autoload defcustoms in type-break.el
* type-break.el (type-break-mode, type-break-interval)
(type-break-good-rest-interval, type-break-keystroke-threshold):
No need to autoload.
(type-break-good-rest-interval, type-break-keystroke-threshold):
Add :set-after.
2012-09-28 01:01:08 -07:00
Chong Yidong
5bc93c6718 * verilog-mode.el (verilog-auto-inst-interfaced-ports): Add :version tag. 2012-09-28 13:19:55 +08:00
Stefan Monnier
e28e67b3a3 * lisp/json.el (json-encode-char): Codes 127 isn't "ASCII printable" either. 2012-09-27 18:55:03 -04:00
Stefan Monnier
9cad61d6db * lisp/json.el (json-encode-char): Codes 128-160 aren't "ASCII printable". 2012-09-27 09:10:54 -04:00
Glenn Morris
a88324d49c * lisp/faces.el (x-display-name): Declare (for without-x builds). 2012-09-27 00:28:48 -07:00
Glenn Morris
8e5064e528 * lisp/linum.el (linum-format): Don't autoload it. Improve :type. 2012-09-27 00:26:22 -07:00
Glenn Morris
cc1783c2d8 Remove unnecessary require when compiling tcl.el
* lisp/progmodes/tcl.el: Don't require outline when compiling.
(outline-regexp, outline-level): Declare.
2012-09-27 00:23:10 -07:00
Glenn Morris
1dddcf4cb7 Remove unnecessary require when compiling sgml-mode.el
* lisp/textmodes/sgml-mode.el: Don't require outline when compiling.
(outline-regexp, outline-heading-end-regexp, outline-level): Declare.
2012-09-27 00:21:51 -07:00
Glenn Morris
48c339f259 * term.el (term-ansi-reset): Try setting term-ansi-face-already-done to nil.
Fixes: debbugs:11785
2012-09-27 00:05:37 -07:00
Glenn Morris
daee954c00 Don't bother making files writable for commit with modern VCS
* lisp/vc/vc.el (vc-next-action):
Only gripe about committing read-only files for RCS and SCCS.

Fixes: debbugs:9781
2012-09-26 23:59:21 -07:00
Glenn Morris
114a278868 Comment fix 2012-09-26 23:47:12 -07:00
Chong Yidong
059f19ad6a Fix last commit. 2012-09-27 11:31:58 +08:00
Chong Yidong
b7f4216114 Fix last change in verilog-mode.el.
* progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
change; value should be t.
2012-09-27 11:30:46 +08:00
Stefan Monnier
83600dc899 * lisp/image-mode.el: Use lexical-binding.
(image-mode-winprops): Use t to stand for the window of a buffer that's
not displayed.
* lisp/doc-view.el (doc-view-new-window-function): Handle t in winprops.
(doc-view-enlarge): Make it a real nop if the size is not changed.
(doc-view-display): Handle the case where the buffer is not (yet?)
displayed in any window.
(doc-view-saved-settings): New var.
(doc-view-mode): Use it.
(doc-view-fallback-mode): Set it.
2012-09-26 23:16:35 -04:00
Stefan Monnier
a2e770db7f * lisp/minibuf-eldef.el: Make it possible to replace (default ...) with [...].
Set lexical-binding.
(minibuffer-eldef-shorten-default): New var.
(minibuffer-default-in-prompt-regexps): Use it for new default.
(minibuf-eldef-setup-minibuffer): Add replacement functionality.
2012-09-26 22:10:54 -04:00
Juanma Barranquero
41e9b956af Fix ChangeLog typos. 2012-09-27 00:42:54 +02:00
Juanma Barranquero
e3b6085725 Update to Unicode 6.2.
* admin/unidata/BidiMirroring.txt:
* admin/unidata/UnicodeData.txt: Update to Unicode 6.2.

* lisp/international/uni-bidi.el:
* lisp/international/uni-category.el:
* lisp/international/uni-name.el:
* lisp/international/uni-numeric.el: Regenerate.
2012-09-27 00:21:16 +02:00
Stefan Monnier
3a880af4a7 Merge profiler branch 2012-09-26 11:19:10 -04:00
Stefan Monnier
07b1a5fbc3 * lisp/emacs-lisp/testcover.el (testcover-after): Add gv-expander.
(testcover-reinstrument): Simplify with CSE.
2012-09-26 10:41:05 -04:00
Juanma Barranquero
42019c2e0c lisp/window.el (temp-buffer-window-setup): Fix typo in docstring. 2012-09-26 16:11:18 +02:00
Stefan Monnier
234148bf94 * lisp/profiler.el (profiler-start): Don't prompt for choice when there
isn't any.
(profiler-stop): Use new semantics of profiler-*-stop.
(profiler-reset, profiler--report-cpu): Don't signal an error if the
cpu profiler is not available.
* src/profiler.c (Fprofiler_cpu_stop, Fprofiler_memory_stop):
Return whether the profiler was running, instead of signaling an error
if it wasn't.
2012-09-26 00:02:21 -04:00
Wilson Snyder
179f044b55 Synch verilog-mode.el to latest upstream version.
* verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
(verilog-auto-input, verilog-auto-insert-lisp)
(verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
(verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
(verilog-auto-unused, verilog-auto-wire)
(verilog-forward-or-insert-line): Fix AUTOs with no trailing
newline.  Reported by Andrew Jones.
(verilog-auto-inst) Support expanding $clog2 in AUTOINST.
Reported by Brad Dobbie.
(verilog-batch-delete-trailing-whitespace): Create
verilog-batch-delete-trailing-whitespace.  Reported by Brad
Dobbie.
(verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
parameters from another module.  Reported by Dan Katz.
(verilog-auto, verilog-auto-assign-modport)
(verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
AUTOINOUTMODPORT for UVM interface module shell generation.
Reported by Brad Dobbie.
(verilog-auto-inst-interfaced-ports): Make default nil, as more
standard behavior.
(verilog-auto): Fix AUTO parameters with parenthesis arguments.
Reported by Matt Martin.
2012-09-26 11:32:51 +08:00
Katsumi Yamaoka
5c11868cad gnus-art.el (gnus-article-browse-delete-temp-files): Fix previous commit 2012-09-25 23:57:37 +00:00
Katsumi Yamaoka
2eff54ba3d gnus-art.el (gnus-article-browse-delete-temp-files): Never ask again a user about whether to delete files if once a user answered as n 2012-09-25 23:39:44 +00:00
Martin Rudalics
9c52dd5a2e Improve resizing of minibuffer windows (Bug#12419).
* window.el (window--resize-child-windows): When resizing child
windows proportionally, process them in reverse order to
preserve the "when splitting a window the new one gets the odd
line" behavior.
(window--resize-root-window-vertically): When resizing the
minibuffer window try to affect only windows at the bottom of the
frame.  (Bug#12419)
2012-09-25 10:20:05 +02:00
Chong Yidong
863666ebae Minor fixes for the function obsolescence feature.
* lisp/help-fns.el (help-fns--obsolete): Handle macros properly.

* lisp/subr.el (declare): Doc fix.
2012-09-25 13:33:43 +08:00
Chong Yidong
59f7af816e Use declare forms, where possible, to mark obsolete functions.
* 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.
2012-09-25 12:13:02 +08:00