Martin Rudalics
df171c230c
In display-time-world restore fit-window-to-buffer behavior.
...
* window.el (display-buffer): In doc-string describe
window-height and window-width alist entries.
* time.el (display-time-world): Restore fit-window-to-buffer
behavior.
2012-10-27 10:58:30 +02:00
Chong Yidong
05b621a6b2
More Emacs 24.3 documentation updates.
...
* doc/emacs/building.texi (Compilation): Document compilation-always-kill.
* doc/emacs/files.texi (Misc File Ops): Symbolic links on Windows only work
on Vista and later.
* doc/emacs/frames.texi (Mouse Avoidance): Mention new variable
mouse-avoidance-banish-position.
* doc/emacs/mule.texi (Recognize Coding): Remove an unreferenced vindex.
* doc/emacs/package.texi (Package Menu): Document the "new" status.
* doc/emacs/programs.texi (Which Function): Which Function mode now works in
all major modes by default.
* doc/emacs/search.texi (Symbol Search): New node.
* doc/emacs/windows.texi (Window Choice): Don't refer to the obsolete
special-display feature.
* commands.texi (Event Input Misc): Remove last-input-char.
(Command Loop Info): Remove last-command-char.
* display.texi (Fringe Bitmaps): Add exclamation-mark bitmap.
* frames.texi (Initial Parameters): Don't mention the obsolete
special-display feature.
* hooks.texi (Standard Hooks): Remove obsolete hooks.
* markers.texi (Information from Markers): Remove obsolete
function buffer-has-markers-at.
* minibuf.texi (High-Level Completion): Don't mention removed
function iswitchb-read-buffer.
* text.texi (Yanking): Document yank-handled-properties.
* windows.texi (Choosing Window): Don't mention the obsolete
special display feature.
(Choosing Window Options): Remove obsolete special-display
variables, and the functions special-display-p and
special-display-popup-frame.
* subr.el (insert-buffer-substring-as-yank): Doc fix.
2012-10-27 13:03:52 +08:00
Jambunathan K
55f197b219
* lisp/minibuffer.el (completion-category-overrides): New completion
...
category `bookmark'.
Fixes: debbugs:11131
2012-10-26 16:44:38 -04:00
Stefan Monnier
150f809c34
* lisp/emacs-lisp/advice.el (ad-assemble-advised-definition):
...
Silence bogus compiler warnings for ad-do-it.
2012-10-26 14:01:30 -04:00
Stefan Monnier
372212dff2
* lisp/bookmark.el (bookmark-completing-read): Set the completion category
...
to `bookmark'.
Fixes: debbugs:11131
2012-10-26 13:20:54 -04:00
Bastien
c577256946
* lisp/face-remap.el: Use lexical-binding.
...
(text-scale-adjust): Improve docstring. Use itself for the temporary
overlay-map bindings, so as to repeat the "Use..." message each time.
2012-10-26 13:07:35 -04:00
Stefan Monnier
63314e5730
* lisp/emacs-lisp/macroexp.el (macroexp--expand-all):
...
Obey byte-compile-warning-enabled-p.
Fixes: debbugs:12486
2012-10-26 11:59:40 -04:00
Stefan Monnier
a2be03575f
* lisp/vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
...
(diff-refine-hunk): Similarly, handle the "no LF at eol".
Fixes: debbugs:12584
2012-10-26 11:51:42 -04:00
Bastien Guerry
00323fb326
Fix overwritten typos and Org version number.
2012-10-26 17:27:29 +02:00
Bastien Guerry
bdebdb64b3
Merge upstream Org (from commit acbbe2)
2012-10-26 16:42:05 +02:00
Martin Rudalics
8c7727c335
Fix bug#12731 in mouse-drag-line.
...
* mouse.el (mouse-drag-line): Move last form into preceding when
clause (Bug#12731).
* help.el (resize-temp-buffer-window): Fix doc-string.
2012-10-26 11:11:24 +02:00
David Engster
3f2a848dbe
Merge CEDET upstream.
...
* emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
Removed. This feature is already integrated in imenu.
* emacs-lisp/eieio-opt.el: Remove require for `button' since it is
always loaded. Require `speedbar' unconditionally.
* semantic/analyze.el (semantic-analyze-dereference-alias): New
function to dereference aliases.
(semantic-analyze-current-context-default): Use it.
* semantic/grammar.el (semantic-grammar-create-package):
* srecode/compile.el (srecode-compile-templates): Throw a proper
error if semantic-mode is not enabled (bug#9968).
Compiler warning fixes:
* semantic.el (semantic-elapsed-time): Make it a defsubst.
* srecode/dictionary.el (srecode-adebug-dictionary): Remove
require for `semantic'.
* srecode/map.el:
* srecode/insert.el: Declare functions from `data-debug'.
* semantic/grammar.el: Require `help-fns'. Declare functions from
`eldoc', which is required in function body.
* srecode/java.el:
* semantic/texi.el:
* semantic/grammar-wy.el:
* semantic/db-file.el:
* semantic/db-el.el:
* semantic/chart.el: Fix requires.
* ede/locate.el: Remove useless requires. Declare functions
instead and require in functions when needed.
2012-10-25 22:13:16 +02:00
Stefan Monnier
aaabfc8b27
* lisp/dired.el (dired-get-marked-files): Allow ! on . and ...
...
Fixes: debbugs:12725
2012-10-25 09:00:52 -04:00
Stefan Monnier
414a8595f0
* lisp/minibuffer.el (minibuffer-force-complete): Fix thinko.
2012-10-25 08:56:13 -04:00
Stefan Monnier
fb5b947504
* lisp/net/ldap.el (ldap-search-internal): The official ldif format starts
...
with a "version: 1" header.
Fixes: debbugs:12724
2012-10-25 08:41:23 -04:00
Stefan Monnier
a7723be6dd
* lisp/emacs-lisp/package.el (package-installed-p): Warn if not ready.
...
Fixes: debbugs:12721
2012-10-25 08:38:09 -04:00
Glenn Morris
cee6efdef3
Auto-commit of loaddefs files.
2012-10-25 06:17:47 -04:00
Glenn Morris
a05cb6e326
More cl doc updates
...
* doc/misc/cl.texi: Don't mess with the TeX section number counter.
Use Texinfo recommended convention for quotes+punctuation.
(Overview, Sequence Functions): Rephrase for better line-breaking.
(Time of Evaluation, Type Predicates, Modify Macros, Function Bindings)
(Macro Bindings, Conditionals, Iteration, Loop Basics)
(Random Numbers, Mapping over Sequences, Structures)
(Porting Common Lisp): Further updates for cl-lib namespace.
(Modify Macros, Declarations, Macro Bindings, Structures):
Break long lines in examples.
(Dynamic Bindings): Update for changed progv behavior.
(Loop Examples, Efficiency Concerns): Markup fixes.
(Structures): Remove TeX margin change.
* lisp/emacs-lisp/cl-macs.el (cl-progv): Doc fix.
* etc/NEWS: Related markup.
2012-10-24 20:58:40 -04:00
Stefan Monnier
3c92de7031
* lisp/minibuffer.el (minibuffer-force-complete): Use one more marker
...
for the temporary-overlay-map command.
Fixes: debbugs:12619
2012-10-24 15:40:23 -04:00
Chong Yidong
9321d8d7f9
* time.el (display-time-world-display): Wrap delete-char inside inhibit-read-only.
2012-10-25 02:26:22 +08:00
Chong Yidong
576978b400
Revert last change to org-lparse.el
2012-10-25 02:16:41 +08:00
Jambunathan K
c28885aede
Fix error in previous merge from Org.
...
* lisp/org/org-lparse.el: Move some hooks from org-lparse to
org-do-lparse.
Fixes: debbugs:12718
2012-10-24 23:04:12 +08:00
Chong Yidong
a4b6d7c66e
* time.el (display-time-world-mode): Derive from special-mode.
...
(display-time-world): Use display-buffer.
(display-time-world-mode-map): Variable deleted.
Fixes: debbugs:12708
2012-10-24 22:50:30 +08:00
Chong Yidong
cd99601878
Document some Emacs 24.3 changes.
...
* doc/emacs/dired.texi (Dired Deletion, Marks vs Flags): Document Emacs 24.3
changes to the mark and unmark commands.
(Comparison in Dired): Document chages to dired-diff. Remove M-=,
which is no longer bound to dired-backup-diff.
* doc/emacs/mule.texi (Text Coding): set-buffer-file-coding-system can now
be invoked from the mode line.
* lisp/dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
Doc fix.
2012-10-24 22:38:49 +08:00
Chong Yidong
75e8f9d2de
Improve documentation of easy-menu-define.
...
* lisp/emacs-lisp/easymenu.el (easy-menu-define): Doc fix.
* doc/lispref/keymaps.texi (Toolkit Differences): Node deleted.
(Easy Menu): New node.
Fixes: debbugs:12628
2012-10-24 11:48:50 +08:00
Stefan Monnier
5c78877693
* minibuffer.el (completion--flush-all-sorted-completions): Fix typo.
...
Fixes: debbugs:12619
2012-10-23 23:22:21 -04:00
Stefan Monnier
d92df117f9
* lisp/minibuffer.el (completion--all-sorted-completions-location): New var.
...
(completion--cache-all-sorted-completions)
(completion--flush-all-sorted-completions): Use it.
(completion-in-region, completion-in-region--postch)
(completion-at-point, completion-help-at-point): Use markers in
completion-in-region--data.
Fixes: debbugs:12619
2012-10-23 23:18:32 -04:00
Stefan Monnier
c79825bd22
* lisp/progmodes/compile.el (compilation-start): Try to handle common
...
quoting of `cd' argument.
Fixes: debbugs:12640
2012-10-23 15:07:44 -04:00
Stefan Monnier
9c3e39f3ff
* lisp/vc/diff-mode.el (diff-hunk): `save-excursion' while refining.
...
Fixes: debbugs:12671
2012-10-23 14:40:23 -04:00
Glenn Morris
a6709bc70c
* gud.el (gud-menu-map): Check gdb-active-process is bound. (Bug#12358)
2012-10-23 13:49:24 -04:00
Stefan Monnier
76673f9c62
* checkdoc.el (checkdoc-comment-style-hooks): Typo.
2012-10-23 13:09:22 -04:00
Stefan Monnier
d20d69c098
* lisp/repeat.el (repeat): Set real-this-command.
...
Fixes: debbugs:12232
2012-10-23 12:57:31 -04:00
Stefan Monnier
d106953274
Cleanup uses of "-hooks".
...
* doc/emacs/custom.texi (Hooks):
* doc/lispref/hooks.texi (Standard Hooks): Clarify that -hooks is deprecated.
* lisp/gnus/nndiary.el (nndiary-request-create-group-functions)
(nndiary-request-update-info-functions)
(nndiary-request-accept-article-functions):
* lisp/gnus/gnus-start.el (gnus-subscribe-newsgroup-functions):
* lisp/cedet/semantic/db-file.el (semanticdb-save-database-functions):
* lisp/cedet/semantic/lex.el (semantic-lex-reset-functions):
* lisp/cedet/semantic/edit.el (semantic-change-functions)
(semantic-edits-new-change-functions)
(semantic-edits-delete-change-functions)
(semantic-edits-reparse-change-functions):
* lisp/htmlfontify.el (hfy-post-html-hook):
* lisp/filesets.el (filesets-cache-fill-content-hook):
* lisp/arc-mode.el (archive-extract-hook):
* lisp/progmodes/cc-mode.el (c-prepare-bug-report-hook):
* lisp/net/rcirc.el (rcirc-sentinel-functions)
(rcirc-receive-message-functions, rcirc-activity-functions)
(rcirc-print-functions):
* lisp/net/dbus.el (dbus-event-error-functions):
* lisp/emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
* lisp/emacs-lisp/checkdoc.el (checkdoc-style-functions)
(checkdoc-comment-style-functions): Don't use "-hooks" suffix.
* lisp/term/sun.el (sun-raw-prefix-hooks):
* lisp/mail/sendmail.el (mail-yank-hooks):
* lisp/mh-e/mh-letter.el (mh-yank-hooks): Use make-obsolete-variable.
2012-10-23 11:06:07 -04:00
Michael Albinus
f7eac6d887
* net/tramp-smb.el (tramp-smb-maybe-open-connection): Set
...
`tramp-chunksize' to 1. This improves the performance.
(tramp-smb-wait-for-output): Add timeout to
`tramp-accept-process-output' calls.
2012-10-23 16:26:30 +02:00
Chong Yidong
49238e7f5c
Make unused variable font-list-limit obsolete, and move it out of C.
...
* display.texi (Font Lookup): Remove font-list-limit.
* lisp/startup.el (command-line):
* lisp/cus-start.el: Don't refer to font-list-limit.
* lisp/faces.el (font-list-limit): Define as an obsolete variable.
* xfaces.c (Vfont_list_limit): Move unused variable to faces.el.
2012-10-23 10:39:13 +08:00
Chong Yidong
608d9d7caf
* lisp/newcomment.el (comment-normalize-vars): Doc fix.
...
Fixes: debbugs:12583
2012-10-23 10:17:36 +08:00
Stefan Monnier
4ff5b1b293
* lisp/subr.el (internal-temp-output-buffer-show): Rename from
...
temp-output-buffer-show, since previously compiled files expect this name.
2012-10-22 21:18:47 -04:00
Glenn Morris
ea1d4aaca0
image-type-from-file-name fix for bug#9045
...
* lisp/image.el (image-type-from-file-name): If multiple types match,
return the first one that is supported.
2012-10-22 20:46:11 -04:00
Glenn Morris
eda82a3153
* lisp/image.el (imagemagick-enabled-types): Doc fix.
2012-10-22 17:53:03 -04:00
Takafumi Arakaki
4f020becaf
* lisp/progmodes/which-func.el (which-func-current): The hash-table may have
...
an explicit nil.
Fixes: debbugs:12338
2012-10-22 09:29:28 -04:00
Stefan Monnier
c77d37e227
Rework the last delsel/electric fix.
...
* lisp/delsel.el (delete-selection-helper): Use a function instead of a hook.
(delete-selection-pre-hook): Use use-region-p.
(delete-selection-self-insert-function): Remove.
(self-insert-command): Obey self-insert-uses-region-functions.
(self-insert-iso): Revert to previous setting, since we don't actually
know what that command does.
(delete-selection-self-insert-hooks): Remove.
* lisp/electric.el (electric-pair-delete-selection-self-insert-function):
Rename to electric-pair-will-use-region, return a boolean.
(electric-pair-mode): Adjust accordingly. Don't require delsel.
2012-10-22 08:43:54 -04:00
Simon Law
b1d39ccce4
* lisp/delsel.el (delete-selection-helper): New function, extracted from
...
delete-selection-pre-hook.
(delete-selection-pre-hook): Use it.
(delete-selection-self-insert-function): New function.
(delete-selection-self-insert-hooks): New hook.
(self-insert-command, self-insert-iso): Use it.
* lisp/electric.el (electric-pair-syntax): New function, extracted from
electric-pair-post-self-insert-function.
(electric-pair-post-self-insert-function): Use it.
(electric-pair-delete-selection-self-insert-function): New function.
(electric-pair-mode): Require delsel and setup
delete-selection-self-insert-hooks.
Fixes: debbugs:11520
2012-10-21 23:15:44 -04:00
Paul Eggert
791ef5f8ea
Spelling fixes.
2012-10-21 00:23:34 -07:00
Chong Yidong
4c5d08a868
Fix *vc-diff* buffer's behavior for empty diffs.
...
* vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
no changes to show.
Fixes: debbugs:12586
2012-10-20 20:04:45 +08:00
Chong Yidong
045ef72904
Fix for Eshell's for loop.
...
* eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
list explicitly.
Fixes: debbugs:12571
2012-10-20 19:54:24 +08:00
Chong Yidong
3503c79892
Fix last ChangeLog entry.
2012-10-20 19:35:05 +08:00
Arne Jørgensen
79e1997aa8
* progmodes/flymake.el (flymake-create-temp-inplace): Use file-truename.
...
Patch from:
http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00444.html
2012-10-20 19:34:06 +08:00
Eli Zaretskii
2068905bb7
Fix bug #12395 with doc strings silently omitted from DOC on MS-Windows.
...
lib-src/make-docfile.c (scan_lisp_file): Barf if called with a .el file
other than one of a small list of supported un-compiled files.
lib-src/makefile.w32-in (lisp1, lisp2): Name .elc files wherever they
exist.
lisp/loadup.el: Update comment about uncompiled Lisp files.
2012-10-20 12:01:19 +02:00
Jay Belanger
4c9e95500f
calc/calc-units.el (math-extract-units): Properly extract powers of units.
2012-10-19 23:14:32 -05:00
Daniel Colascione
1a6e7e3807
Unbreak starting an X11 frame from a non-X11 Emacs daemon
2012-10-19 19:42:02 -08:00