From: Chong Yidong Date: Fri, 27 Apr 2012 03:10:38 +0000 (+0800) Subject: Merge changes from emacs-24 branch X-Git-Url: http://git.hcoop.net/bpt/emacs.git/commitdiff_plain/a8e7d6d783219972c08fd49a3a2afaf26eb139c2 Merge changes from emacs-24 branch --- a8e7d6d783219972c08fd49a3a2afaf26eb139c2 diff --cc doc/lispref/ChangeLog index 5333e3af3d,c66fed1ca0..9c323d7937 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@@ -1,17 -1,55 +1,68 @@@ -2012-04-26 Glenn Morris ++2012-04-27 Glenn Morris + + * elisp.texi, vol1.texi, vol2.texi: Some fixes for detailed menu. + * modes.texi (Major Modes, Auto-Indentation): + * buffers.texi (Buffers): Some fixes for menu descriptions. + -2012-04-26 Stefan Monnier - ++2012-04-27 Stefan Monnier + * functions.texi (Simple Lambda, Argument List): + * eval.texi (Function Indirection): Avoid deprecated form. + -2012-04-26 Glenn Morris ++2012-04-27 Glenn Morris + + * book-spine.texi, elisp.texi, vol1.texi, vol2.texi: + Add "et al." to authors. + + * buffers.texi, commands.texi, compile.texi, control.texi: + * customize.texi, display.texi, eval.texi, files.texi, frames.texi: + * hash.texi, help.texi, intro.texi, keymaps.texi, lists.texi: + * modes.texi, numbers.texi, objects.texi, streams.texi: + * symbols.texi, syntax.texi, text.texi, tips.texi, variables.texi: + Use Texinfo recommended convention for quotes+punctuation. + -2012-04-23 Chong Yidong ++2012-04-27 Chong Yidong + + * keymaps.texi (Scanning Keymaps): Fix description of NO-REMAP arg + to where-is-internal (Bug#10872). + -2012-04-21 Glenn Morris ++2012-04-27 Glenn Morris + + * macros.texi (Indenting Macros): Fix typo. + + * windows.texi (Basic Windows, Windows and Frames, Window Sizes) + (Resizing Windows, Deleting Windows, Selecting Windows) + (Choosing Window Options, Horizontal Scrolling) + (Cyclic Window Ordering, Window History, Dedicated Windows) + (Quitting Windows, Window Configurations, Textual Scrolling): + (Coordinates and Windows, Window Configurations) + (Window Parameters, Window Hooks): Copyedits. + (Splitting Windows, Deleting Windows): + Fix ignore-window-parameters logic. + (Selecting Windows, Choosing Window Options): Markup fixes. + (Window Start and End): Remove pointless example. + Remove cross-reference to deleted count-lines content. + (Textual Scrolling): Mention recenter-redisplay, recenter-top-bottom, + and recenter-positions. Remove recenter example. + + * elisp.texi, vol1.texi, vol2.texi: Bump VERSION and DATE. + + * minibuf.texi (Intro to Minibuffers): + Tweak discussion of resizing minibuffer window. + +2012-04-26 Glenn Morris + + * elisp-covers.texi, front-cover-1.texi: Remove files. + + * tindex.pl: Remove file. + + * makefile.w32-in (srcs): + * Makefile.in (srcs): Remove back.texi (which is unused). + +2012-04-24 Michael Albinus + + * os.texi (Notifications): Extend possible notification hints. + Add notifications-get-capabilities. + 2012-04-20 Chong Yidong * processes.texi (Asynchronous Processes): Mention nil argument to diff --cc doc/misc/ChangeLog index 834a8f2c47,b2e34bac56..3d0900db9e --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog @@@ -1,18 -1,13 +1,28 @@@ -2012-04-26 Ippei Furuhashi (tiny change) ++2012-04-27 Ippei Furuhashi (tiny change) + + * org.texi (Agenda commands): Fix two typos: give corresponding + function names, according to `org-agenda-view-mode-dispatch'. + -2012-04-21 Glenn Morris ++2012-04-27 Glenn Morris + + * faq.texi (Major packages and programs): Remove section. + There is no point listing 6 packages (cf etc/MORE.STUFF). + (Finding Emacs and related packages): Move "Spell-checkers" here. +2012-04-22 Michael Albinus + + * dbus.texi (Version): New node. + (Properties and Annotations): Mention the object manager + interface. Describe dbus-get-all-managed-objects. + (Type Conversion): Floating point numbers are allowed, if an + anteger does not fit Emacs's integer range. + (Synchronous Methods): Remove obsolete dbus-call-method-non-blocking. + (Asynchronous Methods): Fix description of + dbus-call-method-asynchronously. + (Receiving Method Calls): Fix some minor errors. Add + dbus-interface-emacs. + (Signals): Describe unicast signals and the new match rules. + (Alternative Buses): Add the PRIVATE optional argument to + dbus-init-bus. Describe its new return value. Add dbus-setenv. 2012-04-20 Glenn Morris diff --cc lisp/ChangeLog index 0b0065f520,baa8045ccc..f88a386178 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@@ -1,401 -1,69 +1,451 @@@ + 2012-04-27 Chong Yidong + + * subr.el (read-key): Avoid running filter function when setting + up temporary tool bar entries (Bug#9922). + -2012-04-26 Andreas Schwab ++2012-04-27 Andreas Schwab + + * vc/vc-git.el (vc-git-state): Fix regexp matching diff output. + (Bug#11344) + -2012-04-24 Chong Yidong ++2012-04-27 Chong Yidong + + * select.el (xselect--encode-string): New function, split from + xselect-convert-to-string. + (xselect-convert-to-string): Use it. + (xselect-convert-to-filename, xselect-convert-to-os) + (xselect-convert-to-host, xselect-convert-to-user): Ensure that + returned strings are properly encoded (Bug#11315). + -2012-04-22 Chong Yidong ++2012-04-27 Chong Yidong + + * simple.el (delete-active-region): Move to killing custom group. + -2012-04-21 Andreas Schwab ++2012-04-27 Andreas Schwab + + * progmodes/which-func.el (which-func-current): Quote % + characters for mode-line processing. + + 2012-04-21 Chong Yidong + + * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to + reaching eob (Bug#11286). + -2012-04-20 Richard Stallman - - Fix logic for returning to and yanking from Rmail buffer. - - * mail/rmail.el (rmail-start-mail): - Pass (rmail-mail-return...) for the return-action. - Pass (rmail-yank-current-message...) for the yank-action. - (rmail-yank-current-message): New function. - (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer. - (rmail-reply): Likewise. - (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer. - - * mail/sendmail.el (mail-bury): Choose the first rmail-mode - buffer, not the last. Reject temp buffers. Use the rmail-mode - buffer, not newbuf. - -2012-04-20 Eli Zaretskii ++2012-04-27 Eli Zaretskii + + * progmodes/gdb-mi.el (gdb-control-level): New variable. + (gdb): Make it buffer-local and init to zero. + (gdb-control-commands-regexp): New variable. + (gdb-send): Don't wrap in "-interpreter-exec console" if + gdb-control-level is positive. Increment gdb-control-level + whenever the command matches gdb-control-commands-regexp, and + decrement it each time the command is "end". (Bug#11279) + -2012-04-20 Martin Rudalics ++2012-04-27 Martin Rudalics + + * window.el (adjust-window-trailing-edge, enlarge-window) + (shrink-window, window-resize): + * mouse.el (mouse-drag-line): Fix resizing of minibuffer + windows (Bug#11276). + +2012-04-27 Chong Yidong + + * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to - fix "missig prefix" warning. All callers changed. ++ fix "missing prefix" warning. All callers changed. + +2012-04-27 Stefan Monnier + + * emacs-lisp/assoc.el: Move to obsolete/. + +2012-04-26 Stefan Monnier + + * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352). + + * term/ns-win.el (ns-define-service): + * progmodes/pascal.el (pascal-goto-defun): + * progmodes/js.el (js--read-tab): + * progmodes/etags.el (tags-lazy-completion-table): + * emacs-lisp/syntax.el (syntax-propertize-via-font-lock): + * emacs-lisp/ewoc.el (ewoc--wrap): + * emacs-lisp/assoc.el (aput, adelete, amake): + * doc-view.el (doc-view-convert-current-doc): + * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding. + +2012-04-26 Chong Yidong + + * image.el (image-type-from-buffer): Only return supported image + type (Bug#9045). + + * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful + value, for symmetry with diff-end-of-hunk. + (diff-split-hunk, diff-find-source-location) + (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it. + (diff-bounds-of-hunk, diff-bounds-of-file): New functions. + (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to + compute the relevant hunk or file properly (Bug#6005). + (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041). + +2012-04-26 Stefan Monnier + + * vc/vc-mtn.el: + * vc/vc-hg.el: + * vc/vc-git.el: + * vc/vc-dir.el: + * vc/vc-cvs.el: + * vc/vc-bzr.el: + * vc/vc-arch.el: + * vc/vc.el: Replace lexical-let by lexical-binding. + * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...). + * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding. + * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...). + +2012-04-26 Chong Yidong + + * vc/diff-mode.el (diff-undo): New command (Bug#5302). + (diff-mode-shared-map): Bind it to / and [remap undo]. + + * vc/ediff-wind.el (ediff-setup-windows-default): New function. + (ediff-window-setup-function): Use it as the default, to set up + windows based on whether the current frame is graphical (Bug#2138). + (ediff-choose-window-setup-function-automatically): Make obsolete. + + * vc/ediff-init.el: Always define ediff-pixel-width/height. + +2012-04-25 Stefan Monnier + + * ffap.el: Remove old code for obsolete package. + (ffap-complete-as-file-p): Remove. + + Use completion-table-with-quoting for comint and pcomplete. + * comint.el (comint--unquote&requote-argument) + (comint--unquote-argument, comint--requote-argument): New functions. + (comint--unquote&expand-filename, comint-unquote-filename): Obsolete. + (comint-quote-filename): Use regexp-opt-charset. + (comint--common-suffix, comint--common-quoted-suffix) + (comint--table-subvert): Remove. + (comint-unquote-function, comint-requote-function): New vars. + (comint--complete-file-name-data): Use them with + completion-table-with-quoting. + * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert. + * pcomplete.el (pcomplete-arg-quote-list) + (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete. + (pcomplete-unquote-argument-function): Default to non-nil. + (pcomplete-unquote-argument): Simplify. + (pcomplete--common-quoted-suffix): Remove. + (pcomplete-requote-argument-function): New var. + (pcomplete--common-suffix): New function. + (pcomplete-completions-at-point): Use completion-table-with-quoting + and completion-table-subvert. + + * minibuffer.el: Use completion-table-with-quoting for read-file-name. + (minibuffer--double-dollars): Preserve properties. + (completion--sifn-requote): New function. + (completion--file-name-table): Rewrite using it and c-t-with-quoting. + + * minibuffer.el: Add support for completion of quoted/escaped data. + (completion-table-with-quoting, completion-table-subvert): New funs. + (completion--twq-try, completion--twq-all): New functions. + (completion--nth-completion): New function. + (completion-try-completion, completion-all-completions): Use it. + +2012-04-25 Leo Liu + + * progmodes/python.el (python-pdbtrack-get-source-buffer): + Use compilation-message if available to find real filename. + +2012-04-25 Chong Yidong + + * vc/diff-mode.el (diff-setup-whitespace): New function. + (diff-mode): Use it. + + * vc/diff.el (diff-sentinel): + * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign + Whitespace mode variables based on diff style (Bug#8612). + +2012-04-25 Leo Liu + + * progmodes/python.el (python-send-region): Add suffix .py to the + temp file. + + * files.el (auto-mode-alist): Use javascript-mode instead. + +2012-04-25 Alex Harsanyi + + Sync with soap-client repository. Support SOAP simpleType (Bug#10331). + + * soap-client.el (soap-resolve-references-for-sequence-type) + (soap-resolve-references-for-array-type): Hack to prevent self + references, see Bug#9. + (soap-parse-envelope): Report the contents of the 'detail' node + when receiving a fault reply. + (soap-parse-envelope): Report the contents of the entire 'detail' node. + + * soap-inspect.el (soap-sample-value-for-simple-type) + (soap-inspect-simple-type): New function. + + * soap-client.el (soap-simple-type): New struct. + (soap-default-xsd-types, soap-default-soapenc-types) + (soap-decode-basic-type, soap-encode-basic-type): + support unsignedInt and double basic types. + (soap-resolve-references-for-simple-type) + (soap-parse-simple-type, soap-encode-simple-type): New function. + (soap-parse-schema): Parse xsd:simpleType declarations. + + * soap-client.el (soap-default-xsd-types) + (soap-default-soapenc-types): Add integer, byte and anyURI types. + (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find + the local name of "soapenc:Array". + (soap-decode-basic-type, soap-encode-basic-type): Support encoding + decoding integer, byte and anyURI xsd types. + +2012-04-25 Chong Yidong + + * cus-edit.el (custom-buffer-create-internal): Update header text. + +2012-04-25 Eli Zaretskii + + * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific + settings on 'system-type', not on 'window-system'. On MS-Windows, + set interactive-mode on in GDB. + +2012-04-24 Stefan Monnier + + * progmodes/ruby-mode.el: Simplify last change, and cleanup code. + (ruby-syntax-propertize-regexp): Remove. + (ruby-syntax-propertize-function): Split regexp into chunks. + Match following code directly. + +2012-04-24 Dmitry Gutov + + * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286). + (ruby-syntax-propertize-regexp): New function. + (ruby-syntax-propertize-function): Use it to handle regexp not preceded + by a special keyword. + + * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286). + (ruby-syntax-general-delimiters-goto-beg) + (ruby-syntax-propertize-general-delimiters): New functions. + (ruby-syntax-propertize-function): Use them to handle GDL. + (ruby-font-lock-keywords): Move old handling of GDL... + (ruby-font-lock-syntactic-keywords): .. to here. + (ruby-calculate-indent): Adjust indentation for GDL. + +2012-04-24 Michael Albinus + + * notifications.el (top): Remove unneeded declarations. + (notifications-specification-version): Change to "1.2". + (notifications-interface, notifications-notify-method) + (notifications-close-notification-method): Fix docstring. + (notifications-get-capabilities-method): New defconst. + (notifications-notify): Add :action-items, :resident and + :transient hints. Change "image_data" to "image-data" and + "image_path" to "image-path". + (notifications-get-capabilities): New defun. + +2012-04-24 Leo Liu + + * progmodes/python.el: Move hideshow setup to the end. + +2012-04-24 Martin Rudalics + + * window.el (handle-select-window): Clear echo area since this is + no more done by read_char (Bug#11304). + +2012-04-24 Stefan Monnier + + * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode + and `/ M' to filter-derived-mode. + * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list. + (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode) + (ibuffer-mark-by-mode): Use default rather than initial-input. + (ibuffer-filter-by-derived-mode): Autoload and require-match. + +2012-04-24 Ivan Andrus (tiny change) + + * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg. + (ibuffer-filter-by-derived-mode): New filter. + * ibuffer.el (ibuffer-mode-map): Bind to `/ w'. + +2012-04-23 Andreas Politz + + * subr.el (accept-change-group): Fix arg usage (Bug#6095). + +2012-04-23 Chong Yidong + + * cus-edit.el (customize-apropos, customize-apropos-options): + Disable matching of non-option variables (Bug#11176). + (customize-option, customize-option-other-window) + (customize-changed-options): Doc fix. + (customize-apropos-options, customize-apropos-faces) + (customize-apropos-groups): Use apropos-read-pattern (Bug#11124). + + * apropos.el (apropos-read-pattern): Make prompt less cryptic. + Fix word list splitting (Bug#11132). + (apropos-symbol, apropos-keybinding, apropos-label) + (apropos-property, apropos-function-button) + (apropos-variable-button, apropos-misc-button): New faces. + (apropos-symbol-face, apropos-keybinding-face) + (apropos-label-face, apropos-property-face, apropos-match-face): + Variables removed (Bug#8396). + (apropos-library-button, apropos-format-plist, apropos-print) + (apropos-print-doc, apropos-describe-plist): Callers changed. + +2012-04-23 Michael Albinus + + * net/xesam.el (xesam-mode-map): Use let-bound map in + initialization. (Bug#11292) + +2012-04-23 Agustín Martín Domingo + + Preserve ispell session localwords when switching back to + original buffer. + + * ispell.el (ispell-buffer-session-localwords): New buffer-local + variable to hold buffer session localwords. + (ispell-kill-ispell): add option 'clear to delete session + localwords. + (ispell-command-loop, ispell-change-dictionary) + (ispell-buffer-local-words): Preserve session localwords when + needed. + + * flyspell.el (flyspell-process-localwords, flyspell-do-correct): + Preserve session localwords when needed. + +2012-04-23 Agustín Martín Domingo + + * ispell.el (ispell-insert-word) Remove unneeded function using + obsolete `translation-table-for-input'. + (ispell-word, ispell-process-line, ispell-complete-word): + Use plain `insert' instead of removed `ispell-insert-word'. + +2012-04-22 Chong Yidong + + * cus-edit.el (custom-variable-menu) + (custom-variable-reset-saved, custom-face-menu) + (custom-face-reset-saved): If there is no saved value, make the + "reset-saved" operation bring back the default (Bug#9509). + (custom-face-state): Properly detect themed faces. + + * faces.el (face-spec-set): Stop supporting deprecated form of + third arg. + +2012-04-22 Michael Albinus + + Move functions from C to Lisp. Make non-blocking method calls + the default. Implement further D-Bus standard interfaces. + + * net/dbus.el (dbus-message-internal): Declare function. + Remove unneeded function declarations. + (defvar dbus-message-type-invalid, dbus-message-type-method-call) + (dbus-message-type-method-return, dbus-message-type-error) + (dbus-message-type-signal): Declare variables. Remove local + definitions. + (dbus-interface-dbus, dbus-interface-peer) + (dbus-interface-introspectable, dbus-interface-properties) + (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table): + Adapt docstring. + (dbus-interface-objectmanager): New defconst. + (dbus-call-method, dbus-call-method-asynchronously) + (dbus-send-signal, dbus-method-return-internal) + (dbus-method-error-internal, dbus-register-service) + (dbus-register-signal, dbus-register-method): New defuns, moved + from dbusbind.c + (dbus-call-method-handler, dbus-setenv) + (dbus-get-all-managed-objects, dbus-managed-objects-handler): + New defuns. + (dbus-call-method-non-blocking): Make it an obsolete function. + (dbus-unregister-object, dbus-unregister-service) + (dbus-handle-event, dbus-register-property) + (dbus-property-handler): Obey the new structure of + `bus-registered-objects'. + (dbus-introspect): Use `dbus-call-method'. Use a timeout. + (dbus-get-property, dbus-set-property, dbus-get-all-properties): + Use `dbus-call-method'. + +2012-04-22 Chong Yidong + + * cus-edit.el (custom-commands, custom-reset-menu) + (Custom-reset-standard): Tweak labels. + (custom-reset-button-menu): Change default to t. + (custom-buffer-create-internal): For the custom-reset-button-menu + case, put the revert button first. + (custom-group-subtitle): New face. + (custom-group-value-create): Align docstring to a specific column. + + * wid-edit.el (widget-documentation-link-add): Don't handle + indentation in this function. + (widget-documentation-string-indent-to): New function. + (widget-documentation-string-value-create): Use it. + + * autorevert.el (auto-revert): + * epg-config.el (epg): + * ibuffer.el (ibuffer): + * mpc.el (mpc): + * ses.el (ses): + * eshell/eshell.el (eshell): + * net/ange-ftp.el (ange-ftp): + * progmodes/ebnf2ps.el (postscript): + * progmodes/flymake.el (flymake): + * progmodes/prolog.el (prolog): + * progmodes/verilog-mode.el (verilog-mode): + * progmodes/which-func.el (which-func): + * term/xterm.el (xterm): + * textmodes/picture.el (picture): + * textmodes/tildify.el (tildify): + * vc/ediff.el (ediff): Tweak defgroups to improve presentation in + customization buffers. + +2012-04-22 Alan Mackenzie + + * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache): + Adding a ) can hide the resulting (..) from searches. Fix it. + Bound the backward search to the position of the existing (. + +2012-04-21 Juanma Barranquero + + * progmodes/verilog-mode.el (verilog-mode): Check whether + which-func-modes is t before adding verilog-mode. + Reported by Andy Moreton . + +2012-04-21 Leo Liu + + * net/rcirc.el (rcirc): Avoid error when process-contact returns t. + +2012-04-21 Michael Vehrs + + * woman.el: Add support for "T{ T}" tbl syntax, and fix the + filling of the last column of a table (Bug#5635). + (woman-find-next-control-line): New arg, specifying an additional + regexp component for the control line. + (woman2-roff-buffer): Use it. + (woman-break-table): New function. + (woman2-TS): Use it. + +2012-04-21 Chong Yidong + + * woman.el (woman-set-buffer-display-table, woman-decode-region) + (woman-horizontal-escapes, woman-negative-vertical-space) + (woman-tab-to-tab-stop, woman2-fc, woman2-TS) + (WoMan-warn-ignored): Use ?\s instead of ?\ . + +2012-04-20 Stefan Monnier + + * minibuffer.el (completion-file-name-table): Complete user names. + +2012-04-20 Leo Liu + + * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let + and pcase-let*. + +2012-04-20 Chong Yidong + + * server.el (server-execute): Respect initial-buffer-choice if it + is a string and there are no files to open (Bug#2825). + (server-create-window-system-frame, server-create-tty-frame): + Don't switch buffers here. + (server-process-filter): Only try to open a window system frame if + compiled with graphical support (Bug#8314). + 2012-04-20 Dan Nicolaescu * battery.el (battery-echo-area-format): Display remaining time diff --cc lisp/gnus/ChangeLog index e25ffd933e,9d9ffb2fcb..556094ca61 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@@ -1,24 -1,8 +1,28 @@@ -2012-04-21 Andreas Schwab ++2012-04-27 Andreas Schwab + + * gnus.el (debbugs-gnu): Don't override existing autoload definition. + -2012-04-12 Lars Magne Ingebrigtsen +2012-04-26 Daiki Ueno + + * plstore.el (plstore-called-interactively-p): New compat macro copied + from message.el. + (plstore-mode): Use it. + +2012-04-26 Daiki Ueno + + * plstore.el: Revive the editing feature. + (plstore-mode): New mode to edit plstore file. + (plstore-mode-toggle-display, plstore-mode-original) + (plstore-mode-decoded): New command. + (plstore--encode, plstore--decode, plstore--write-contents-functions) + (plstore--insert-buffer, plstore--make): New function. + (plstore-open, plstore-save): Simplify by using them. + +2012-04-16 Glenn Morris + + * nndraft.el (nndraft-request-list): Fix declaration. + +2012-04-14 Lars Magne Ingebrigtsen * gnus-msg.el (gnus-inews-insert-gcc): Don't do the alist stuff when we don't have a current group. diff --cc lisp/org/ChangeLog index 86f493a0a5,1f4c1f9099..c340fd45df --- a/lisp/org/ChangeLog +++ b/lisp/org/ChangeLog @@@ -1,7 -1,71 +1,71 @@@ -2012-04-26 Nicolas Goaziou ++2012-04-27 Nicolas Goaziou + + * org-table.el (org-table-number-fraction): Fix typo. + -2012-04-26 Eric Schulte ++2012-04-27 Eric Schulte + + * ob-python.el (org-babel-execute:python): Ensure newline precedes + automatically-added returns. + -2012-04-26 Nicolas Goaziou ++2012-04-27 Nicolas Goaziou + + * org-mouse.el (org-mode-hook): Do not move point when clicking on + a footnote reference. + -2012-04-26 Bastien Guerry ++2012-04-27 Bastien Guerry + + * org-faces.el (org-date-selected): Fix docstring. + -2012-04-26 Nicolas Goaziou ++2012-04-27 Nicolas Goaziou + + * org-list.el (org-list-struct-indent): Follow + `org-list-demote-modify-bullet' specifications for ordered + bullets. + (org-list-indent-item-generic, org-indent-item-tree) + (org-outdent-item-tree): Fix bug when operating on a region. + (org-outdent-item, org-indent-item): Allow to operate on a region. + + * org.el (org-shiftmetaleft, org-shiftmetaright): Allow to operate + on a region. + -2012-04-26 Nicolas Goaziou ++2012-04-27 Nicolas Goaziou + + * org-footnote.el (org-footnote-normalize): Fix positioning in + HTML export without a footnote section. + -2012-04-26 Madan Ramakrishnan (tiny change) ++2012-04-27 Madan Ramakrishnan (tiny change) + + * org-agenda.el (org-agenda-bulk-mark): Truly make arg optional as + advertised by the function. + -2012-04-26 Zachary Kanfer (tiny change) ++2012-04-27 Zachary Kanfer (tiny change) + + * org.el (org-read-date-display): Fix bug when displaying the + overlay. + -2012-04-26 Bastien Guerry ++2012-04-27 Bastien Guerry + + * org.el (org-mode): Don't use `buffer-face-mode' by default. + -2012-04-26 Bastien Guerry ++2012-04-27 Bastien Guerry + + * org-faces.el (org-date-selected): New face. + -2012-04-26 Jambunathan K ++2012-04-27 Jambunathan K + + * org-odt.el (org-odt-format-org-link): Pay no heed to whether the + internal links destined for headlines provide a description or + not. In fact, the `org-store-link' and `org-insert-link' create + internal links which do have a description. + -2012-04-26 Bastien Guerry ++2012-04-27 Bastien Guerry + + * org-clock.el (org-program-exists): Fix docstring. + -2012-04-11 Bastien Guerry +2012-04-14 Bastien Guerry * org.el (org-point-at-end-of-empty-headline): Only try to match - ̀org-todo-line-regexp' when the value is non-nil, e.g. in non-org + `org-todo-line-regexp' when the value is non-nil, e.g. in non-org modes. (org-fontify-meta-lines-and-blocks-1): Prevent errors when trying to fontify beyond (point-max). diff --cc lisp/window.el index b8f1bf3456,7abe3fbfe7..d57bd4e230 --- a/lisp/window.el +++ b/lisp/window.el @@@ -1486,8 -1487,19 +1487,19 @@@ instead. (cond ((eq window (frame-root-window frame)) (error "Cannot resize the root window of a frame")) - ((window-minibuffer-p window) + ((window-minibuffer-p window) - (window--resize-mini-window window delta)) + (if horizontal + (error "Cannot resize minibuffer window horizontally") + (window--resize-mini-window window delta))) + ((and (not horizontal) + (window-full-height-p window) + (eq (window-frame minibuffer-window) frame) + (or (not resize-mini-windows) + (eq minibuffer-window (active-minibuffer-window)))) + ;; If WINDOW is full height and either `resize-mini-windows' is + ;; nil or the minibuffer window is active, resize the minibuffer + ;; window. + (window--resize-mini-window minibuffer-window (- delta))) ((window--resizable-p window delta horizontal ignore) (window--resize-reset frame horizontal) (window--resize-this-window window delta horizontal ignore t) diff --cc src/ChangeLog index df0e613549,8c80a24b58..55caf3c607 --- a/src/ChangeLog +++ b/src/ChangeLog @@@ -1,186 -1,30 +1,213 @@@ -2012-04-24 Chong Yidong ++2012-04-27 Chong Yidong + + * xselect.c (x_convert_selection): Initialize a pointer (Bug#11315). + -2012-04-23 Eli Zaretskii ++2012-04-27 Eli Zaretskii + + * xdisp.c (pos_visible_p): If the window start position is beyond + ZV, start the display from buffer beginning. Prevents assertion + violation in init_iterator when the minibuffer window is scrolled + via the scroll bar. + + * window.c (window_scroll_pixel_based): Likewise. + -2012-04-23 Chong Yidong ++2012-04-27 Chong Yidong + + * keymap.c (where_is_internal): Doc fix (Bug#10872). + -2012-04-20 Glenn Morris ++2012-04-27 Glenn Morris + + * fileio.c (Fcopy_file, Fset_file_selinux_context): + Ignore ENOTSUP failures from setfilecon functions. (Bug#11245) + -2012-04-20 Eli Zaretskii ++2012-04-27 Eli Zaretskii + + * dispnew.c (swap_glyph_pointers, copy_row_except_pointers): Don't + overrun array limits of glyph row's used[] array. (Bug#11288) + +2012-04-26 Eli Zaretskii + + * xdisp.c (IT_DISPLAYING_WHITESPACE): In addition to the loaded + display element, check also the underlying string or buffer + character. (Bug#11341) + + * w32menu.c: Include w32heap.h. + (add_menu_item): If the call to AppendMenuW (via + unicode_append_menu) fails, disable Unicode menus only if we are + running on Windows 9X/Me. + +2012-04-24 Andreas Schwab + + * .gdbinit (xpr): Handle USE_2_TAGS_FOR_INTS. + (xgetint): Add missing shift for LSB tags. + +2012-04-24 Martin Rudalics + + * keyboard.c (read_char): Don't wipe echo area for select window + events: These might get delayed via `mouse-autoselect-window' + (Bug#11304). + +2012-04-24 Juanma Barranquero + + * gnutls.c (init_gnutls_functions): Protect against (unlikely) + manipulation of :loaded-from data. + +2012-04-23 Juanma Barranquero + + * gnutls.c (init_gnutls_functions): The value of :loaded-from is + now a cons (bug#11311). + +2012-04-23 Paul Eggert + + Do not create empty overlays with the evaporate property (Bug#9642). + * buffer.c (Fmove_overlay): Delete an evaporating overlay + if it becomes empty after its bounds are adjusted to fit within + its buffer. Without this fix, in a nonempty buffer (let ((o + (make-overlay 1 2))) (overlay-put o 'evaporate t) (move-overlay o 0 1)) + yields an empty overlay that has the evaporate property, which is + not supposed to happen. + + Fix minor GTK3 problems found by static checking. + * emacsgtkfixed.c (EMACS_TYPE_FIXED, EMACS_FIXED, EmacsFixed) + (EmacsFixedPrivate, EmacsFixedClass, struct _EmacsFixed) + (struct _EmacsFixedClass, emacs_fixed_get_type): + Move decls here from emacsgtkfixed.h, since they needn't be public. + (emacs_fixed_get_type): Now static. + (emacs_fixed_class_init): Omit unused local. + (emacs_fixed_child_type): Remove; unused. + * emacsgtkfixed.h (EMACS_TYPE_FIXED, EMACS_FIXED, EmacsFixed) + (EmacsFixedPrivate, EmacsFixedClass, struct _EmacsFixed) + (struct _EmacsFixedClass): Move to emacsgtkfixed.c. + (EMACS_FIXED_CLASS, EMACS_IS_FIXED, EMACS_IS_FIXED_CLASS) + (EMACS_FIXED_GET_CLASS): Remove; unused. + * gtkutil.c (xg_create_frame_widgets) [!HAVE_GTK3]: Omit unused local. + + * keyboard.c (handle_async_input): Define only if SYNC_INPUT || SIGIO. + Problem reported by Juanma Barranquero for Windows -Wunused-function. + +2012-04-22 Paul Eggert + + Modernize and clean up gmalloc.c to assume C89 (Bug#9119). + * gmalloc.c: (_MALLOC_INTERNAL, _MALLOC_H, _PP, __ptr_t) + (__malloc_size_t, __malloc_ptrdiff_t): + Remove. All uses removed, replaced by the definiens if needed, + since we can assume C89 or better now. + Include , for PTRDIFF_MAX, uintptr_t. + (protect_malloc_state, align, get_contiguous_space) + (malloc_atfork_handler_prepare, malloc_atfork_handler_parent) + (malloc_atfork_handler_child, malloc_enable_thread) + (malloc_initialize_1, __malloc_initialize, morecore_nolock) + (_malloc_internal_nolock, _malloc_internal, malloc, _malloc) + (_free, _realloc, _free_internal_nolock, _free_internal, free, cfree) + (special_realloc, _realloc_internal_nolock, _realloc_internal) + (realloc, calloc, __default_morecore, memalign, valloc, checkhdr) + (freehook, mallochook, reallochook, mabort, mcheck, mprobe): + Define using prototypes, not old style. + (align, _malloc_internal_nolock, _free_internal_nolock, memalign): + Don't assume ptrdiff_t and uintptr_t are no wider than unsigned long. + (align): Don't assume that signed integer overflow wraps around. + Omit unused local var. + (malloc_initialize_1, morecore_nolock, _malloc_internal_nolock) + (_free_internal_nolock, memalign, mallochook, reallochook): + Omit no-longer-needed casts. + (valloc): Use getpagesize, not __getpagesize. + (MAGICWORD, MAGICFREE): Now randomish size_t values, not 32-bit. + (struct hdr): The 'magic' member is now size_t, not unsigned long. + + * dbusbind.c (XD_DBUS_VALIDATE_OBJECT): Define only if needed. + +2012-04-22 Michael Albinus + + Move functions from C to Lisp. Make non-blocking method calls + the default. Implement further D-Bus standard interfaces. + + * dbusbind.c (DBUS_NUM_MESSAGE_TYPES): Declare. + (QCdbus_request_name_allow_replacement) + (QCdbus_request_name_replace_existing) + (QCdbus_request_name_do_not_queue) + (QCdbus_request_name_reply_primary_owner) + (QCdbus_request_name_reply_in_queue) + (QCdbus_request_name_reply_exists) + (QCdbus_request_name_reply_already_owner): Move to dbus.el. + (QCdbus_registered_serial, QCdbus_registered_method) + (QCdbus_registered_signal): New Lisp objects. + (XD_DEBUG_MESSAGE): Use sizeof. + (XD_MESSAGE_TYPE_TO_STRING, XD_OBJECT_TO_STRING) + (XD_DBUS_VALIDATE_BUS_ADDRESS, XD_DBUS_VALIDATE_OBJECT) + (XD_DBUS_VALIDATE_BUS_NAME, XD_DBUS_VALIDATE_PATH) + (XD_DBUS_VALIDATE_INTERFACE, XD_DBUS_VALIDATE_MEMBER): New macros. + (XD_CHECK_DBUS_SERIAL): Rename from CHECK_DBUS_SERIAL_GET_SERIAL. + (xd_signature, xd_append_arg): Allow float for integer types. + (xd_get_connection_references): New function. + (xd_get_connection_address): Rename from xd_initialize. Return + cached address. + (xd_remove_watch): Do not unset $DBUS_SESSION_BUS_ADDRESS. + (xd_close_bus): Rename from Fdbus_close_bus. Not needed on Lisp + level. + (Fdbus_init_bus): New optional arg PRIVATE. Cache address. + Return number of recounts. + (Fdbus_get_unique_name): Make stronger parameter check. + (Fdbus_message_internal): New defun. + (Fdbus_call_method, Fdbus_call_method_asynchronously) + (Fdbus_method_return_internal, Fdbus_method_error_internal) + (Fdbus_send_signal, Fdbus_register_service) + (Fdbus_register_signal, Fdbus_register_method): Move to dbus.el. + (xd_read_message_1): Obey new structure of Vdbus_registered_objects. + (xd_read_queued_messages): Obey new structure of Vdbus_registered_buses. + (Vdbus_compiled_version, Vdbus_runtime_version) + (Vdbus_message_type_invalid, Vdbus_message_type_method_call) + (Vdbus_message_type_method_return, Vdbus_message_type_error) + (Vdbus_message_type_signal): New defvars. + (Vdbus_registered_buses, Vdbus_registered_objects_table): Adapt + docstring. + +2012-04-22 Paul Eggert + + Fix GC_MALLOC_CHECK debugging output on 64-bit hosts. + * alloc.c (emacs_blocked_malloc) [GC_MALLOC_CHECK]: + Do not assume ptrdiff_t is the same width as 'int'. + + * alloc.c: Handle unusual debugging option combinations. + (GC_CHECK_MARKED_OBJECTS): Undef if ! GC_MARK_STACK, + since the two debugging options are incompatible. + (GC_MALLOC_CHECK): Similarly, undef if GC_CHECK_MARKED_OBJECTS + is defined. + (mem_init, mem_insert, mem_insert_fixup): + Define if GC_MARK_STACK || GC_MALLOC_CHECK. + (NEED_MEM_INSERT): Remove; no longer needed. + +2012-04-22 Leo Liu + + * sysdep.c (list_system_processes): Support Darwin (Bug#5725). + +2012-04-22 Paul Eggert + + * sysdep.c [__FreeBSD__]: Minor cleanups. + (list_system_processes, system_process_attributes) [__FreeBSD__]: + Use Emacs indenting style more consistently. Avoid some casts. + Use 'double' consistently rather than mixing 'float' and 'double'. + +2012-04-21 Eduard Wiebe + + * sysdep.c (list_system_processes, system_process_attributes): Add + implementation for FreeBSD (Bug#5243). + +2012-04-21 Andreas Schwab + + * lisp.mk (lisp): Update. + +2012-04-20 Paul Eggert + + * keyboard.c (process_pending_signals): Define only if SYNC_INPUT. + It is never used otherwise. + +2012-04-20 Stefan Monnier + + * print.c (print_preprocess): Only check print_depth if print-circle + is nil. + (print_object): Check for cycles even when print-circle is nil and + print-gensym is t, but only check print_depth if print-circle is nil. + 2012-04-20 Chong Yidong * process.c (wait_reading_process_output): If EIO occurs on a pty,