Stefan Monnier
eb31fa401d
* lisp/emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring.
...
Fixes: debbugs:12895
2012-11-15 13:35:05 -05:00
Glenn Morris
17c083ac21
* lisp/eshell/em-cmpl.el (eshell-pcomplete): New command.
...
(eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
Fixes: debbugs:12838
2012-11-14 23:59:46 -08:00
Glenn Morris
bde3c6c0f7
Fixes related to face underlining
...
* lisp/faces.el (face-underline-p): Doc fix. Handle :underline being
things other than `t' (a string, a list).
(face-inverse-video-p): Doc fix.
(set-face-underline): Rename it back from set-face-underline-p.
Doc fix. Allow interactive input of values other than t.
(read-face-attribute): Apply formatting to :underline,
since like :box and :stipple it can take list values.
* doc/lispref/display.texi (Face Attributes): Fix :underline COLOR description.
(Attribute Functions): Update for set-face-underline rename.
Tweak descriptions of face-underline-p, face-inverse-video-p.
* etc/NEWS: Related edit.
2012-11-14 23:30:46 -08:00
Glenn Morris
e2e13f1831
ansi-term escape-char fix
...
* lisp/term.el (ansi-term): Don't let C-x escape-char binding
clobber the more standard C-c binding.
Fixes: debbugs:12842
2012-11-14 22:17:56 -08:00
Glenn Morris
dc26b31073
* subr.el (set-temporary-overlay-map): Fix previous doc fix (don't quote `t')
2012-11-14 22:12:46 -08:00
Stefan Monnier
3a514ab07e
Backport fix for bug#12879 from trunk
...
* lisp/emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
2012-11-14 20:27:52 -05:00
David Engster
22b762c7e3
Merge bug fixes from CEDET upstream.
...
* semantic/symref/list.el (semantic-symref-symbol): Use
`semantic-complete-read-tag-project' instead of
`semantic-complete-read-tag-buffer-deep', since the latter is not
working correctly.
* semantic/symref.el (semantic-symref-result-get-tags): Use
`find-buffer-visiting' to follow symbolic links.
* semantic/fw.el (semantic-find-file-noselect): Always set
`enable-local-variables' to `:safe' when loading files.
2012-11-14 21:20:20 +01:00
Glenn Morris
e0ea806006
* lisp/subr.el (set-temporary-overlay-map): Doc fix.
...
* etc/NEWS: Related edit.
2012-11-14 00:29:25 -08:00
Martin Rudalics
9234627530
Preserve window-point-insertion-type when copying window-point markers. (Bug#12588)
...
* window.el (record-window-buffer)
(display-buffer-record-window): When copying the markers to
window-point preserve window-point-insertion-type. (Bug#12588)
2012-11-13 08:40:07 +01:00
Glenn Morris
6e5e9b70f5
Document new erc module "notifications"
...
* doc/misc/erc.texi (Modules): Undocument obsolete "hecomplete".
Add "notifications".
* lisp/erc/erc.el (erc-modules): Add "notifications". Tweak "hecomplete" doc.
* etc/NEWS: Related edit.
2012-11-12 19:40:44 -08:00
Glenn Morris
7b1bf1735e
Use new names for hooks rather than obsolete aliases
...
* lisp/cedet/semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
* lisp/cedet/semantic/util.el (semantic-describe-buffer):
* lisp/cedet/semantic/bovine/c.el (semantic-c-parse-lexical-token)
(semantic-default-c-setup):
* lisp/emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
* lisp/gnus/gnus-diary.el (nndiary-request-create-group-functions)
(nndiary-request-update-info-functions)
(gnus-subscribe-newsgroup-functions)
(nndiary-request-accept-article-functions):
* lisp/net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
Use new names for hooks rather than obsolete aliases.
* lisp/arc-mode.el:
* lisp/emacs-lisp/checkdoc.el: Related comments.
* etc/NEWS: Related markup.
2012-11-12 19:11:46 -08:00
Stefan Monnier
f8705f6e31
* lisp/emacs-lisp/gv.el (gv-define-simple-setter): One more fix.
...
Fixes: debbugs:12871
2012-11-12 16:31:15 -05:00
Wolfgang Jenkner
9db94175de
lisp/ansi-color.el (ansi-color-apply-sequence): Implement SGR codes 39 and 49.
...
This fixes bug#12792. Also, treat unimplemented parameters as 0,
thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
2012-11-12 18:12:33 +01:00
Stefan Monnier
237b565357
* lisp/cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
...
* lisp/cedet/semantic/grammar.el (semantic-grammar-mode):
* lisp/cedet/semantic/util-modes.el (semantic-highlight-edits-mode)
(semantic-show-parser-state-mode): Avoid obsolete name
semantic-edits-new-change-hooks.
Fixes: debbugs:12869
2012-11-12 11:50:08 -05:00
Fabián Ezequiel Gallina
2e6625b527
Fix end-of-defun misbehavior.
...
* progmodes/python.el (python-nav-beginning-of-defun): Rename from
python-beginning-of-defun-function. Handle nested defuns
correctly.
(python-nav-end-of-defun): Rename from
python-end-of-defun-function. Ensure forward movement.
(python-info-current-defun): Reimplemented to work as intended
with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
parent defuns as soon as possible.
2012-11-12 10:26:50 -03:00
Glenn Morris
24c38527d1
Document flymake fringe bitmaps
...
* doc/misc/flymake.texi (Customizable variables)
(Highlighting erroneous lines): Mention flymake-error-bitmap,
flymake-warning-bitmap, and flymake-fringe-indicator-position.
* lisp/progmodes/flymake.el (flymake-error-bitmap)
(flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
(flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
* etc/NEWS: Related markup.
2012-11-12 00:42:27 -08:00
Dmitry Gutov
d1e1e53dec
* lisp/progmodes/ruby-mode.el (ruby-move-to-block): When moving
...
backward, always stop at indentation. Reverts the change from
2012-08-12T22:06:56Z!monnier@iro.umontreal.ca.
Fixes: debbugs:12851
2012-11-12 05:11:06 +04:00
Glenn Morris
a1d3e07e28
Add ibuffer-filter-by-derived-mode to ibuffer menu and doc
...
* lisp/ibuffer.el (ibuffer-mode-map, ibuffer-mode):
Add ibuffer-filter-by-derived-mode.
* etc/NEWS: Related markup.
2012-11-10 18:22:26 -08:00
Glenn Morris
84acf32850
Fix ibuffer menu typo
...
* lisp/ibuffer.el (ibuffer-mode-map): Don't have two menu items with
the same name shadowing each other.
2012-11-10 18:18:14 -08:00
Glenn Morris
38785e75a2
* lisp/window.el (with-temp-buffer-window): Doc tweak.
2012-11-10 17:47:56 -08:00
Glenn Morris
57fc0fee5f
Document debugger-bury-or-kill
...
* doc/lispref/debugging.texi (Using Debugger): Mention debugger-bury-or-kill.
* lisp/emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
* etc/NEWS: Related edit.
2012-11-10 17:16:25 -08:00
Glenn Morris
6ba6a3e51f
Fix more custom :versions
...
* lisp/help.el (temp-buffer-max-height):
* lisp/window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
Fix :version.
2012-11-10 16:43:54 -08:00
Glenn Morris
68146aa5ab
* lisp/emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
2012-11-10 16:40:37 -08:00
Glenn Morris
418b183024
Add missing make-local-variable calls in srt-mode.el
...
* lisp/cedet/srecode/srt-mode.el (srecode-template-mode):
Don't change global values of comment-start, comment-end.
Fixes: debbugs:12781
2012-11-10 15:43:47 -08:00
Leo Liu
e4e4688922
Backport: * lisp/ido.el (ido-set-matches-1): Fix split-string args to
...
avoid performance issue.
Fixes: debbugs:12796
2012-11-10 22:55:09 +08:00
Glenn Morris
bf67dafaf5
Make term-default-fg-color, term-default-bg-color obsolete
...
* lisp/term.el (term-default-fg-color, term-default-bg-color):
Make obsolete, rather than just saying "deprecated" in the doc.
2012-11-09 20:48:44 -05:00
Glenn Morris
19e0987902
Face names should not end in -face (term-face)
...
* lisp/term.el (term): Rename from `term-face'.
(term-current-face, ansi-term-color-vector)
(term-default-fg-color, term-default-bg-color, term-ansi-reset):
Update all users.
* doc/emacs/misc.texi (Terminal emulator): Rename `term-face' to `term'.
* etc/NEWS: Related edit.
2012-11-09 20:40:48 -05:00
Jan Djärv
d743088dc2
* server.el (server-create-window-system-frame): Improved comment.
2012-11-09 07:28:27 +01:00
Jan Djärv
531bdce69d
* server.el (server-create-window-system-frame): Handle Nextstep
...
specially.
Fixes: debbugs:12780
2012-11-08 20:25:39 +01:00
Glenn Morris
fedb154e30
Make report-emacs-bug-query-existing-bugs obsolete (bug#7449)
...
* lisp/mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
Unautoload, and make obsolete.
2012-11-08 13:35:08 -05:00
Chong Yidong
9d9e48d904
Rewrite and rename diff-delete-trailing-whitespace.
...
* lisp/vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
rename from diff-remove-trailing-whitespace (Bug#12831).
* files.texi (Diff Mode): Doc fixes for
diff-delete-trailing-whitespace.
2012-11-09 01:31:53 +08:00
Stefan Monnier
32170f7ff2
* lisp/emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
...
miscompilation of trace.el.
2012-11-08 09:36:47 -05:00
Glenn Morris
26f596760d
Document diff-remove-trailing-whitespace
...
* doc/emacs/files.texi (Diff Mode): Trailing whitespace updates.
* lisp/vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
* etc/NEWS: Related markup.
2012-11-08 00:14:23 -08:00
Stefan Monnier
4162672227
* lisp/emacs-lisp/gv.el (gv-define-simple-setter): Fix last change.
...
Fixes: debbugs:12812
2012-11-07 20:24:14 -05:00
Chong Yidong
7d806bfec9
Fix and docfix for the minibuffer-eldef-shorten-default feature.
...
* lisp/minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
a defcustom with an appropriate :set function.
(minibuffer-default--in-prompt-regexps): New function.
* doc/emacs/mini.texi (Basic Minibuffer): New node. Document
minibuffer-electric-default-mode.
* doc/emacs/display.texi (Visual Line Mode): Fix index entry.
2012-11-08 04:43:38 +08:00
Glenn Morris
031b2ea7f5
More cl-lib and gv doc updates
...
* lisp/emacs-lisp/cl.el (define-setf-expander, defsetf)
(define-modify-macro): Doc fixes.
* doc/misc/cl.texi (Obsolete Setf Customization):
Give defsetf gv.el replacements.
* etc/NEWS: Related edit.
2012-11-07 00:56:16 -08:00
Glenn Morris
2ee1d59f5b
Small doc updates for generalized variables
...
* lisp/emacs-lisp/gv.el (gv-letplace): Fix doc typo.
(gv-define-simple-setter): Update doc of `fix-return'.
* doc/lispref/variables.texi (Adding Generalized Variables):
Update description of FIX-RETURN expansion.
* doc/misc/cl.texi (Obsolete Setf Customization):
Revert defsetf example to the more correct let rather than prog1.
2012-11-06 20:37:07 -08:00
Stefan Monnier
b715ed4447
* lisp/emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
...
twice when `fix-return' is set.
Fixes: debbugs:12813
2012-11-06 22:39:33 -05:00
Stefan Monnier
d57c286eea
* lisp/emacs-lisp/cl.el (defsetf): Pass the third arg to
...
gv-define-simple-setter.
Fixes: debbugs:12812
2012-11-06 22:14:27 -05:00
Stefan Monnier
c9cac599db
* lisp/woman.el (woman-decode-region): Disable adaptive-fill when rendering.
...
Fixes: debbugs:12756
2012-11-05 20:49:44 -05:00
Glenn Morris
6b3770fb9d
* lisp/emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
2012-11-05 20:36:44 -05:00
Glenn Morris
7e92a49396
Auto-commit of loaddefs files.
2012-11-05 07:20:41 -05:00
Glenn Morris
5593ed900d
Misc small cl doc fixes
...
* emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
* emacs-lisp/cl-extra.el (cl-prettyexpand):
* emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
* emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
(cl-the, cl-compiler-macroexpand): Add basic doc strings.
2012-11-05 00:29:12 -08:00
Glenn Morris
f6c6e09c7f
Auto-commit of loaddefs files.
2012-11-04 07:22:06 -05:00
Glenn Morris
4913840013
Rename cl-loop-handler, cl-loop-for-handler back to their original names
...
* lisp/emacs-lisp/cl-macs.el (cl-parse-loop-clause):
Rename handler properties back from cl-- to cl-.
Fixes: debbugs:12788
2012-11-03 11:32:09 -07:00
Glenn Morris
5c677d4410
* lisp/emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
2012-11-03 11:03:39 -07:00
Eli Zaretskii
858f0f24b1
Adapt MSDOS port to latest changes.
...
config.bat: Copy lib/execinfo.in.h to lib/execinfo.in-h if needed.
msdos/sedlibmk.inp: Sync with changes in lib/Makefile.in.
(HAVE_DECL_ENVIRON, GNULIB_ENVIRON): Edit to require declaration
through lib/unistd.h.
msdos/sed1v2.inp: Sync with changes in src/Makefile.in.
msdos/sed2v2.inp: Sync with changes in src/config.in.
src/lisp.mk: Adjust comments to the fact that term/internal is now
loaded from loadup.el.
src/msdos.c (msdos_abort): Rename from emacs_abort, and make static.
(msdos_fatal_signal): New function.
(XMenuActivate): Adjust the call to kbd_buffer_events_waiting to
its argument list.
src/conf_post.h (_GL_EXECINFO_INLINE) [MSDOS]: Define to "inline"
for GCC versions before 4.
(emacs_raise): Define to call msdos_fatal_signal.
lisp/term/pc-win.el: Don't load term/internal from here.
lisp/loadup.el: Load term/internal from here.
2012-11-03 15:58:33 +02:00
Eli Zaretskii
1d4341f988
Load term/internal from loadup.el.
2012-11-03 15:56:02 +02:00
Fabián Ezequiel Gallina
12fd5ee1ae
* progmodes/python.el (inferior-python-mode): Fix hang in
...
jit-lock.
Fixes: debbugs:12645
2012-11-03 09:20:02 -03:00
Martin Rudalics
43bcfda6d8
Doc changes related to displaying buffers and quitting windows.
...
* window.el (switch-to-visible-buffer)
(switch-to-buffer-preserve-window-point): Fix doc-strings.
* windows.texi (Switching Buffers): Document option
switch-to-buffer-preserve-window-point.
(Display Action Functions): Document window-height and
window-width alist entries.
(Display Action Functions): Document
display-buffer-below-selected and
display-buffer-in-previous-window.
(Quitting Windows): Document quit-restore-window. Rewrite
section.
(Window Configurations): In window-state-get mention that
argument window must be valid.
(Window Parameters): Document quit-restore window parameter
(Bug#12158).
2012-11-03 11:47:03 +01:00