1 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3 * minibuffer.el: Add support for completion of quoted/escaped data.
4 (completion-table-with-quoting, completion-table-subvert): New funs.
5 (completion--twq-try, completion--twq-all): New functions.
6 (completion--nth-completion): New function.
7 (completion-try-completion, completion-all-completions): Use it.
9 2012-04-25 Chong Yidong <cyd@gnu.org>
11 * vc/diff-mode.el (diff-setup-whitespace): New function.
14 * vc/diff.el (diff-sentinel):
15 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
16 Whitespace mode variables based on diff style (Bug#8612).
18 2012-04-25 Leo Liu <sdl.web@gmail.com>
20 * progmodes/python.el (python-send-region): Add suffix .py to the
23 * files.el (auto-mode-alist): Use javascript-mode instead.
25 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
27 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
29 * soap-client.el (soap-resolve-references-for-sequence-type)
30 (soap-resolve-references-for-array-type): Hack to prevent self
31 references, see Bug#9.
32 (soap-parse-envelope): Report the contents of the 'detail' node
33 when receiving a fault reply.
34 (soap-parse-envelope): Report the contents of the entire 'detail' node.
36 * soap-inspect.el (soap-sample-value-for-simple-type)
37 (soap-inspect-simple-type): New function.
39 * soap-client.el (soap-simple-type): New struct.
40 (soap-default-xsd-types, soap-default-soapenc-types)
41 (soap-decode-basic-type, soap-encode-basic-type):
42 support unsignedInt and double basic types.
43 (soap-resolve-references-for-simple-type)
44 (soap-parse-simple-type, soap-encode-simple-type): New function.
45 (soap-parse-schema): Parse xsd:simpleType declarations.
47 * soap-client.el (soap-default-xsd-types)
48 (soap-default-soapenc-types): Add integer, byte and anyURI types.
49 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
50 the local name of "soapenc:Array".
51 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
52 decoding integer, byte and anyURI xsd types.
54 2012-04-25 Chong Yidong <cyd@gnu.org>
56 * cus-edit.el (custom-buffer-create-internal): Update header text.
58 2012-04-25 Eli Zaretskii <eliz@gnu.org>
60 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
61 settings on 'system-type', not on 'window-system'. On MS-Windows,
62 set interactive-mode on in GDB.
64 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
66 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
67 (ruby-syntax-propertize-regexp): Remove.
68 (ruby-syntax-propertize-function): Split regexp into chunks.
69 Match following code directly.
71 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
73 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
74 (ruby-syntax-propertize-regexp): New function.
75 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
78 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
79 (ruby-syntax-general-delimiters-goto-beg)
80 (ruby-syntax-propertize-general-delimiters): New functions.
81 (ruby-syntax-propertize-function): Use them to handle GDL.
82 (ruby-font-lock-keywords): Move old handling of GDL...
83 (ruby-font-lock-syntactic-keywords): .. to here.
84 (ruby-calculate-indent): Adjust indentation for GDL.
86 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
88 * notifications.el (top): Remove unneeded declarations.
89 (notifications-specification-version): Change to "1.2".
90 (notifications-interface, notifications-notify-method)
91 (notifications-close-notification-method): Fix docstring.
92 (notifications-get-capabilities-method): New defconst.
93 (notifications-notify): Add :action-items, :resident and
94 :transient hints. Change "image_data" to "image-data" and
95 "image_path" to "image-path".
96 (notifications-get-capabilities): New defun.
98 2012-04-24 Leo Liu <sdl.web@gmail.com>
100 * progmodes/python.el: Move hideshow setup to the end.
102 2012-04-24 Martin Rudalics <rudalics@gmx.at>
104 * window.el (handle-select-window): Clear echo area since this is
105 no more done by read_char (Bug#11304).
107 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
109 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
110 and `/ M' to filter-derived-mode.
111 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
112 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
113 (ibuffer-mark-by-mode): Use default rather than initial-input.
114 (ibuffer-filter-by-derived-mode): Autoload and require-match.
116 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
118 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
119 (ibuffer-filter-by-derived-mode): New filter.
120 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
122 2012-04-23 Andreas Politz <politza@fh-trier.de>
124 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
126 2012-04-23 Chong Yidong <cyd@gnu.org>
128 * cus-edit.el (customize-apropos, customize-apropos-options):
129 Disable matching of non-option variables (Bug#11176).
130 (customize-option, customize-option-other-window)
131 (customize-changed-options): Doc fix.
132 (customize-apropos-options, customize-apropos-faces)
133 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
135 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
136 Fix word list splitting (Bug#11132).
137 (apropos-symbol, apropos-keybinding, apropos-label)
138 (apropos-property, apropos-function-button)
139 (apropos-variable-button, apropos-misc-button): New faces.
140 (apropos-symbol-face, apropos-keybinding-face)
141 (apropos-label-face, apropos-property-face, apropos-match-face):
142 Variables removed (Bug#8396).
143 (apropos-library-button, apropos-format-plist, apropos-print)
144 (apropos-print-doc, apropos-describe-plist): Callers changed.
146 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
148 * net/xesam.el (xesam-mode-map): Use let-bound map in
149 initialization. (Bug#11292)
151 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
153 Preserve ispell session localwords when switching back to
156 * ispell.el (ispell-buffer-session-localwords): New buffer-local
157 variable to hold buffer session localwords.
158 (ispell-kill-ispell): add option 'clear to delete session
160 (ispell-command-loop, ispell-change-dictionary)
161 (ispell-buffer-local-words): Preserve session localwords when
164 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
165 Preserve session localwords when needed.
167 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
169 * ispell.el (ispell-insert-word) Remove unneeded function using
170 obsolete `translation-table-for-input'.
171 (ispell-word, ispell-process-line, ispell-complete-word):
172 Use plain `insert' instead of removed `ispell-insert-word'.
174 2012-04-22 Chong Yidong <cyd@gnu.org>
176 * cus-edit.el (custom-variable-menu)
177 (custom-variable-reset-saved, custom-face-menu)
178 (custom-face-reset-saved): If there is no saved value, make the
179 "reset-saved" operation bring back the default (Bug#9509).
180 (custom-face-state): Properly detect themed faces.
182 * faces.el (face-spec-set): Stop supporting deprecated form of
185 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
187 Move functions from C to Lisp. Make non-blocking method calls
188 the default. Implement further D-Bus standard interfaces.
190 * net/dbus.el (dbus-message-internal): Declare function.
191 Remove unneeded function declarations.
192 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
193 (dbus-message-type-method-return, dbus-message-type-error)
194 (dbus-message-type-signal): Declare variables. Remove local
196 (dbus-interface-dbus, dbus-interface-peer)
197 (dbus-interface-introspectable, dbus-interface-properties)
198 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
200 (dbus-interface-objectmanager): New defconst.
201 (dbus-call-method, dbus-call-method-asynchronously)
202 (dbus-send-signal, dbus-method-return-internal)
203 (dbus-method-error-internal, dbus-register-service)
204 (dbus-register-signal, dbus-register-method): New defuns, moved
206 (dbus-call-method-handler, dbus-setenv)
207 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
209 (dbus-call-method-non-blocking): Make it an obsolete function.
210 (dbus-unregister-object, dbus-unregister-service)
211 (dbus-handle-event, dbus-register-property)
212 (dbus-property-handler): Obey the new structure of
213 `bus-registered-objects'.
214 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
215 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
216 Use `dbus-call-method'.
218 2012-04-22 Chong Yidong <cyd@gnu.org>
220 * cus-edit.el (custom-commands, custom-reset-menu)
221 (Custom-reset-standard): Tweak labels.
222 (custom-reset-button-menu): Change default to t.
223 (custom-buffer-create-internal): For the custom-reset-button-menu
224 case, put the revert button first.
225 (custom-group-subtitle): New face.
226 (custom-group-value-create): Align docstring to a specific column.
228 * wid-edit.el (widget-documentation-link-add): Don't handle
229 indentation in this function.
230 (widget-documentation-string-indent-to): New function.
231 (widget-documentation-string-value-create): Use it.
233 * autorevert.el (auto-revert):
234 * epg-config.el (epg):
235 * ibuffer.el (ibuffer):
238 * eshell/eshell.el (eshell):
239 * net/ange-ftp.el (ange-ftp):
240 * progmodes/ebnf2ps.el (postscript):
241 * progmodes/flymake.el (flymake):
242 * progmodes/prolog.el (prolog):
243 * progmodes/verilog-mode.el (verilog-mode):
244 * progmodes/which-func.el (which-func):
245 * term/xterm.el (xterm):
246 * textmodes/picture.el (picture):
247 * textmodes/tildify.el (tildify):
248 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
249 customization buffers.
251 2012-04-22 Alan Mackenzie <acm@muc.de>
253 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
254 Adding a ) can hide the resulting (..) from searches. Fix it.
255 Bound the backward search to the position of the existing (.
257 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
259 * progmodes/verilog-mode.el (verilog-mode): Check whether
260 which-func-modes is t before adding verilog-mode.
261 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
263 2012-04-21 Leo Liu <sdl.web@gmail.com>
265 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
267 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
269 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
270 filling of the last column of a table (Bug#5635).
271 (woman-find-next-control-line): New arg, specifying an additional
272 regexp component for the control line.
273 (woman2-roff-buffer): Use it.
274 (woman-break-table): New function.
277 2012-04-21 Chong Yidong <cyd@gnu.org>
279 * woman.el (woman-set-buffer-display-table, woman-decode-region)
280 (woman-horizontal-escapes, woman-negative-vertical-space)
281 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
282 (WoMan-warn-ignored): Use ?\s instead of ?\ .
284 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
286 * minibuffer.el (completion-file-name-table): Complete user names.
288 2012-04-20 Leo Liu <sdl.web@gmail.com>
290 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
293 2012-04-20 Chong Yidong <cyd@gnu.org>
295 * server.el (server-execute): Respect initial-buffer-choice if it
296 is a string and there are no files to open (Bug#2825).
297 (server-create-window-system-frame, server-create-tty-frame):
298 Don't switch buffers here.
299 (server-process-filter): Only try to open a window system frame if
300 compiled with graphical support (Bug#8314).
302 2012-04-20 Dan Nicolaescu <dann@gnu.org>
304 * battery.el (battery-echo-area-format): Display remaining time
305 for sysfs backend too (Bug#11269).
306 (battery-linux-sysfs): Fix conditional for the charge.
308 2012-04-20 Chong Yidong <cyd@gnu.org>
310 * progmodes/gdb-mi.el (gdb): Revert previous change.
311 (gdb-inferior-io--init-proc): New function.
312 (gdb-init-1): Use it.
313 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
314 responsible for allocating a new pty and hooking it to gdb when
315 the old pty gets an EIO due to process exit.
316 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
317 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
318 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
320 2012-04-20 Eli Zaretskii <eliz@gnu.org>
322 * window.el (window-min-size, window-sizable, window-min-delta)
323 (window-max-delta, window--resizable, window-resizable)
324 (window-total-size, window-full-height-p, window-full-width-p)
325 (window-in-direction, window--resize-mini-window, window-resize)
326 (window--resize-child-windows-normal)
327 (window--resize-child-windows, window--resize-siblings)
328 (window--resize-this-window, adjust-window-trailing-edge)
329 (enlarge-window, shrink-window): Doc fixes.
331 2012-04-20 Chong Yidong <cyd@gnu.org>
333 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
334 New function to call delete-process on the gdb-inferior buffer's pty.
335 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
336 pty process (Bug#11273).
337 (gdb-update): New arg to suppress talking to the gdb process.
338 (gdb-done-or-error): Use it.
339 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
340 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
341 sentinel not being called.
343 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
345 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
347 2012-04-20 Glenn Morris <rgm@gnu.org>
349 * net/network-stream.el (open-network-stream): Doc fix.
351 2012-04-20 Chong Yidong <cyd@gnu.org>
353 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
355 2012-04-20 Alan Mackenzie <acm@muc.de>
357 Ensure searching for keywords is case sensitive.
359 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
360 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
361 (c-defun-name, c-mark-function, c-cpp-define-name)
362 (c-comment-indent, c-scan-conditionals, c-indent-defun)
363 (c-context-line-break): Bind case-fold-search to nil.
365 * progmodes/cc-mode.el (c-font-lock-fontify-region):
366 Bind case-fold-search to nil.
368 2012-04-20 Chong Yidong <cyd@gnu.org>
370 * mail/sendmail.el (mail-bury): Call return action with the right
371 Rmail buffer (Bug#11242).
373 * server.el (server-process-filter): Handle corner case where both
374 tty and nowait options are present (Bug#11102).
376 2012-04-20 Eli Zaretskii <eliz@gnu.org>
378 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
379 (top level): Put into the executable the ident-style '$Id:' tag on
382 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
384 * electric.el (electric-indent-post-self-insert-function): Check that
385 electric-indent-mode is enabled in current buffer.
387 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
389 * imenu.el (imenu-progress-message): Restore; it is "used" in
390 erc/erc-imenu.el and net/snmp-mode.el.
392 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
394 * avoid.el (mouse-avoidance-mode): Mark unused arg.
395 (mouse-avoidance-nudge-mouse): Remove unused binding.
397 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
399 * descr-text.el (describe-char):
400 * progmodes/python.el (python-describe-symbol):
401 Don't call `toggle-read-only', set `buffer-read-only'.
403 * imenu.el (imenu-default-goto-function): Mark unused args.
404 (imenu-progress-message): Remove obsolete macro; all callers changed.
406 * subr.el (keymap-canonicalize): Remove unused binding.
407 (read-passwd): Mark unused arg.
409 * tutorial.el (tutorial--display-changes): Remove unused binding.
410 (tutorial--save-tutorial-to): Remove unused variable.
412 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
413 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
414 (package-generate-autoloads, package-menu--generate)
415 (package-menu--find-upgrades): Remove unused bindings.
417 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
418 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
419 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
420 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
421 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
422 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
423 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
424 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
425 (cua-delete-char-rectangle): Mark unused args.
426 (cua-align-rectangle): Remove unused binding.
428 * mail/rmail.el (compilation--message->loc)
429 (epa--find-coding-system-for-mime-charset): Declare.
431 * net/dbus.el (dbus-register-service): Declare.
432 (dbus-name-owner-changed-handler): Remove unused binding.
434 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
435 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
436 (nxml-scan-backward-within): Mark unused arg.
437 (nxml-dynamic-markup-word): Remove unused binding.
439 * mouse.el (mouse-menu-major-mode-map):
440 * emacs-lisp/authors.el (authors-scan-change-log)
441 (authors-add-to-author-list):
442 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
443 * emacs-lisp/smie.el (smie-auto-fill):
444 * mail/sendmail.el (mail-bury):
445 * mail/unrmail.el (unrmail):
446 * net/tls.el (open-tls-stream):
447 * textmodes/picture.el (picture-mouse-set-point):
448 Remove unused bindings.
450 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
452 * net/tramp.el (tramp-action-password): Let-bind
453 `enable-recursive-minibuffers' to t.
455 2012-04-18 Sam Steingold <sds@gnu.org>
457 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
458 instead of 'string to accommodate values like [f11].
459 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
460 * progmodes/gdb-mi.el: Likewise.
462 2012-04-18 Leo Liu <sdl.web@gmail.com>
464 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
466 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
469 2012-04-18 Chong Yidong <cyd@gnu.org>
471 * simple.el (line-move): Use forward-line if in batch mode
474 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
476 * files.el (after-find-file): Do not try to add a final newline if
477 the buffer is read-only (Bug#11156).
479 2012-04-17 Richard Stallman <rms@gnu.org>
481 * mail/rmail.el (rmail-start-mail):
482 Pass (rmail-mail-return...) for the return-action.
483 Pass (rmail-yank-current-message...) for the yank-action.
484 (rmail-yank-current-message): New function.
485 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
486 (rmail-reply): Likewise.
487 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
489 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
490 buffer, not the last. Reject temp buffers. Use the rmail-mode
493 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
495 * server.el (server-ensure-safe-dir): Simplify.
497 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
499 * emacs-lisp/smie.el: Provide smarter auto-filling.
500 (smie-auto-fill): New function.
501 (smie-setup): Use it.
503 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
505 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
507 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
508 (comment-indent): Use it.
510 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
512 * ses.el: The overall change is to add cell renaming, that is
513 setting fancy names for cell symbols other than name matching
514 "\\`[A-Z]+[0-9]+\\'" regexp .
515 (ses-localvars): Add ses--renamed-cell-symb-list.
516 (ses-create-cell-variable): New defun.
517 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
518 (ses-relocate-formula): Relocate formulas only for cells the
519 symbols of which are not renamed, i.e. symbols whose names do not
520 match regexp "\\`[A-Z]+[0-9]+\\'".
521 (ses-relocate-all): Relocate values only for cells the symbols of
522 which are not renamed.
523 (ses-load): Create cells variables as the (ses-cell ...) are read,
524 in order to check row col consistency with cell symbol name only
525 for cells that are not renamed.
526 (ses-replace-name-in-formula): New defun.
527 (ses-rename-cell): New defun.
529 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
531 * progmodes/perl-mode.el (perl-indent-parens-as-block):
532 New option (bug#11118).
533 (perl-calculate-indent): Respect it.
535 2012-04-17 Glenn Morris <rgm@gnu.org>
537 * dired-aux.el (dired-mark-read-string): Doc fix.
539 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
541 * dired-aux.el (dired-mark-read-string): Offer optional completion.
542 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
544 2012-04-17 Glenn Morris <rgm@gnu.org>
546 * mouse.el (mouse-drag-track):
547 * speedbar.el (speedbar-frame-mode):
548 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
550 2012-04-16 Leo Liu <sdl.web@gmail.com>
552 * progmodes/python.el: Trivial cleanup.
554 2012-04-16 Glenn Morris <rgm@gnu.org>
556 * vc/vc.el (vc-string-prefix-p):
557 * vc/pcvs-util.el (cvs-string-prefix-p):
558 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
559 * mpc.el (mpc-string-prefix-p):
560 Make all of these into obsolete aliases for string-prefix-p.
562 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
564 * textmodes/two-column.el: Move custom options to the start.
565 (frame-width): Remove compat definition.
566 (2C-associate-buffer, 2C-dissociate):
567 Use with-current-buffer rather than save-excursion.
568 (2C-dissociate): Force a mode-line update.
569 (2C-autoscroll): Use ignore-errors.
571 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
574 * emacs-lisp/cl-extra.el (*random-state*):
575 Remove unnecessary declaration.
577 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
579 * play/cookie1.el (cookie-snarf):
580 Give an explicit error if input file cannot be read.
582 * play/yow.el (yow-file): Use expand-file-name rather than concat.
584 * progmodes/perl-mode.el (c-macro-expand):
585 Remove unnecessary autoload (it is in loaddefs.el).
587 * textmodes/picture.el (picture-desired-column)
588 (picture-update-desired-column): Convert comments to doc-strings.
589 (picture-substitute): Remove function.
590 (picture-mode-map): Initialize in the defvar.
592 * woman.el: Remove eval-after-load for tar-mode.
593 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
594 (woman-tar-extract-file): Autoload it.
596 * frame.el (automatic-hscrolling): Make this alias obsolete.
598 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
600 * ispell.el (ispell-set-spellchecker-params): Post-process
601 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
602 (ispell-dictionary-base-alist): Revert to original XEmacs
603 friendly version for default. [:alpha:] will be added in
604 `ispell-set-spellchecker-params' if needed
606 2012-04-16 Chong Yidong <cyd@gnu.org>
608 * image.el (imagemagick--extension-regexp): New variable.
609 (imagemagick-register-types): Use it.
610 (imagemagick-types-inhibit): Add :set function. Allow new value
611 of t to inhibit all types.
613 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
614 so we can preload it.
616 * loadup.el (fboundp): Preload regexp-opt, needed by
617 imagemagick-register-types.
619 2012-04-15 Chong Yidong <cyd@gnu.org>
621 * frame.el (scrolling): Remove nearly unused customization group.
623 * scroll-all.el (scroll-all-mode): Move to windows group.
625 2012-04-15 Chong Yidong <cyd@gnu.org>
627 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
629 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
631 Avoid the use of ((lambda ...) ...) in lexical-binding code.
632 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
634 2012-04-15 Glenn Morris <rgm@gnu.org>
636 * simple.el (process-file-side-effects): Doc fix.
638 2012-04-15 Glenn Morris <rgm@gnu.org>
640 * international/mule-cmds.el (set-language-environment): Doc fix.
642 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
644 * server.el (server-auth-key, server-generate-key): Doc fixes.
645 (server-get-auth-key): Doc fix. Use `string-match-p'.
646 (server-start): Reflow docstring.
648 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
650 * server.el (server-generate-key): `called-interactively-p'
651 requires a parameter.
653 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
655 * server.el (server-auth-key): New variable.
656 (server-generate-key, server-get-auth-key): New function.
657 (server-start): Use the new variable and functions to allow
658 setting a permanent server key (bug#9423).
660 2012-04-14 Leo Liu <sdl.web@gmail.com>
662 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
664 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
667 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
668 Emacs uses American spelling.
670 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
672 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
673 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
674 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
675 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
677 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
679 * progmodes/which-func.el (which-func-modes): Change default.
681 2012-04-14 Kim F. Storm <storm@cua.dk>
683 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
684 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
686 2012-04-14 Chong Yidong <cyd@gnu.org>
688 * custom.el (custom-theme-set-variables): Doc fix.
690 2012-04-14 Glenn Morris <rgm@gnu.org>
692 * international/mule.el (set-auto-coding-for-load): Doc fix.
694 2012-04-14 Alan Mackenzie <acm@muc.de>
696 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
697 imenu work again for Objective C Mode. Correct the *-index values,
698 these having been disturbed by a previous change in 2011-08.
700 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
701 Correct two search limits.
703 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
705 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
707 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
709 * international/characters.el: Fix sorting.
711 2012-04-14 Eli Zaretskii <eliz@gnu.org>
713 * international/characters.el: Add more missing Latin case pairs.
715 2012-04-14 Glenn Morris <rgm@gnu.org>
717 * files.el (dir-locals-set-class-variables): Doc fix.
719 2012-04-14 Eli Zaretskii <eliz@gnu.org>
721 * international/characters.el: Add set-case-syntax-pair call for
722 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
723 counterpart. (Bug#11209)
725 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
727 2012-04-14 Glenn Morris <rgm@gnu.org>
729 * calendar/holidays.el (calendar-check-holidays): Doc fix.
731 2012-04-14 Eli Zaretskii <eliz@gnu.org>
733 * textmodes/ispell.el (ispell-dictionary-base-alist):
736 2012-04-14 Chong Yidong <cyd@gnu.org>
738 * net/rcirc.el (rcirc-cmd-quit):
739 Revert 2012-03-18 change (Bug#11192).
741 2012-04-14 Glenn Morris <rgm@gnu.org>
743 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
745 2012-04-14 Eli Zaretskii <eliz@gnu.org>
747 * minibuffer.el (completion-in-region-mode-map):
748 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
750 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
752 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
754 2012-04-13 Masatake YAMATO <yamato@redhat.com>
756 * minibuffer.el (minibuffer-local-filename-syntax): New variable
757 to allow `C-M-f' and `C-M-b' to move to the nearest path
758 separator (bug#9511).
760 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
762 * avoid.el: Require cl when compiling. And also move the
763 `provide' to the end.
765 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
767 * avoid.el (mouse-avoidance-banish-position): New variable.
768 (mouse-avoidance-banish-destination): Use it (bug#10165).
770 2012-04-13 Leo Liu <sdl.web@gmail.com>
772 * progmodes/which-func.el (which-func-modes): Add objc-mode.
774 2012-04-13 Ken Brown <kbrown@cornell.edu>
776 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
777 this is no longer needed now that cygstart understands file:// URLs.
778 (browse-url-filename-alist): For the same reason, don't modify
779 file:// URLs on Cygwin.
781 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
783 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
784 the region on shift if the binding is already shifted (bug#11221).
786 2012-04-12 Glenn Morris <rgm@gnu.org>
788 * mail/mailpost.el: Move to obsolete/.
790 2012-04-12 Drew Adams <drew.adams@oracle.com>
792 * imenu.el (imenu--generic-function): Ignore invisible definitions
795 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
797 * hexl.el (hexl-bits): New variable.
798 (hexl-options): Mention the variable in the doc string.
799 (hexl-rulerise, hexl-line-displen): New functions.
800 (hexl-mode): Mention the new variable.
801 (hexl-mode, hexl-current-address, hexl-current-address):
803 (hexl-ascii-start-column): New function.
804 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
805 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
807 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
809 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
810 '("-i" ENCODING), in 2 separate command-line arguments, to specify
811 the encoding, as expected by hunspell.
813 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
815 * battery.el (battery--linux-sysfs-regexp): New const.
816 (battery-status-function): Use it. Remove yeeloong special case.
817 (battery-yeeloong-sysfs): Remove.
818 (battery-echo-area-format): Remove yeeloong special case.
820 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
822 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
823 Reported by Noah Friedman.
825 * subr.el (read-passwd): Use read-string.
827 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
829 * vcursor.el (vcursor-move): Increase the priority of the overlay
832 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
834 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
835 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
837 2012-04-11 William Stevenson <yhvh2000@gmail.com>
839 * textmodes/artist.el (artist-mode): Convert artist-mode to use
840 define-minor-mode (bug#10760).
842 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
844 * progmodes/grep.el (rgrep): Tweak the find command line so
845 that directories matching `grep-find-ignored-files' won't be
848 2012-04-11 Chong Yidong <cyd@gnu.org>
850 * startup.el (command-line): Remove support for long-obsolete
851 variable font-lock-face-attributes.
853 2012-04-11 Glenn Morris <rgm@gnu.org>
855 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
857 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
859 * window.el (window--state-get-1): Obey window-point-insertion-type.
861 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
863 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
864 to previous function when point is on the first character of a
865 function. Take care of that in `narrow-to-defun' (bug#6157).
867 2012-04-11 Glenn Morris <rgm@gnu.org>
869 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
870 not just file-errors.
872 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
873 (vc-bzr-sha1): Use internal sha1.
875 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
877 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
879 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
881 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
882 that start in the middle of the line (bug#10496).
884 2012-04-10 Dan Nicolaescu <dann@gnu.org>
886 * battery.el (battery-linux-proc-acpi): Only one battery is
887 discharged at a time, but that seems to confuse battery.el when
888 computing `rate-type' for the battery not being discharged
891 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
893 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
895 * international/quail.el: Use dolist and simplify.
896 (quail-define-package, quail-update-keyboard-layout)
897 (quail-define-rules): Use dolist.
898 (quail-insert-kbd-layout, quail-get-translation): CSE.
900 * tmm.el: Use dolist, remove left over hook.
901 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
903 (calendar-load-hook): Don't mess with it.
905 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
906 Use derived-mode-p. Run the diff asynchronously.
908 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
910 * obsolete/mouse-sel.el: Add an Obsolete-since header.
912 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
914 * misc.el: Display absolute path of loaded DLLs (bug#10424).
915 (list-dynamic-libraries--loaded): New function.
916 (list-dynamic-libraries--refresh): Use it.
918 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
920 * progmodes/python.el (python-fill-paragraph):
921 Make python-fill-region in a multiline string work when font-lock is
924 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
926 * language/european.el (cp775): Add oem/legacy (en)coding on
927 DOS/MS Windows for the Baltic languages. There are still plenty
928 of texts written in this encoding/codepage (bug#6519).
930 2012-04-10 Glenn Morris <rgm@gnu.org>
932 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
933 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
935 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
937 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
938 next-line "n" and previous-line "p" in order to make recentf more
939 consistent with ibuffer, dired or org-mode (bug#9387).
941 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
943 * image.el (put-image): Return the overlay created instead of the
944 optional input string (bug#7834). Note that this may break code
945 that is (for some reason or other) depending on `put-image'
946 returning the string.
948 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
950 * simple.el (zap-to-char): Allow zapping using input methods
953 * textmodes/fill.el (fill-region): Leave point and mark where they
954 were before filling (bug#5399).
956 2012-04-09 Glenn Morris <rgm@gnu.org>
958 * version.el (emacs-bzr-get-version):
959 Handle lightweight checkouts of local branches.
961 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
963 * international/characters.el: Recover lost case pairs. (Bug#11209)
965 2012-04-09 Chong Yidong <cyd@gnu.org>
967 * custom.el (custom-variable-p): Return nil for non-symbol
968 arguments instead of signaling an error.
969 (user-variable-p): Obsolete alias for custom-variable-p.
971 * apropos.el (apropos-variable):
972 * files-x.el (read-file-local-variable):
973 * simple.el (set-variable):
974 * woman.el (woman-mini-help):
975 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
977 2012-04-09 Glenn Morris <rgm@gnu.org>
979 * startup.el (normal-top-level): Don't look for leim-list.el
980 in places where it will not be found. (Bug#910)
982 * international/mule-cmds.el (set-default-coding-systems):
983 * files.el (normal-mode):
984 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
985 This function was removed with ucs-tables.el in 2008.
987 2012-04-08 Eli Zaretskii <eliz@gnu.org>
989 * textmodes/ispell.el (ispell-check-version): For hunspell, set
990 ispell-encoding8-command to "-i", without a trailing space.
991 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
992 separate command-line arguments, to specify the encoding, since
993 that's how hunspell expects it.
995 2012-04-08 Glenn Morris <rgm@gnu.org>
997 * loadup.el: Load bindings before cus-start.
998 This reduces somewhat the number of "rogue" settings in emacs -Q.
1000 2012-04-07 Glenn Morris <rgm@gnu.org>
1002 * version.el (emacs-bzr-get-version): New function.
1003 (emacs-bzr-version): New variable.
1004 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1005 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1007 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1009 * international/uni-bidi.el, international/uni-category.el:
1010 * international/uni-combining.el, international/uni-decimal.el:
1011 * international/uni-decomposition.el, international/uni-digit.el:
1012 * international/uni-lowercase.el, international/uni-mirrored.el:
1013 * international/uni-name.el, international/uni-numeric.el:
1014 * international/uni-titlecase.el, international/uni-uppercase.el:
1015 Update for Unicode 6.1.
1017 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1019 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1021 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1023 * window.el (shrink-window): Mention the `window-min-height'
1024 variable in the doc string.
1026 2012-04-05 Bastien Guerry <bzg@altern.org>
1028 * color.el (color-lighten-name): Fix typo.
1030 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1032 * server.el (server--on-display-p): New function.
1033 (server--on-display-p): Use it.
1035 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1037 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1040 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1042 * comint.el (comint--common-quoted-suffix): Check string boundary
1043 before comparing (bug#11158).
1044 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1046 2012-04-04 Chong Yidong <cyd@gnu.org>
1048 * minibuffer.el (completion-extra-properties): Doc fix.
1050 * subr.el (delayed-warnings-hook): Doc fix.
1052 2012-04-04 Daiki Ueno <ueno@unixuser.org>
1054 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1055 selection (Bug#11159).
1056 (epa-insert-keys): Inform that the default public key will be
1057 exported if no key is selected.
1059 2012-04-04 Richard Stallman <rms@gnu.org>
1061 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1063 2012-04-03 Chong Yidong <cyd@gnu.org>
1065 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1066 mail-insert-file, not its obsolete alias mail-attach-file.
1068 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
1070 * notifications.el (notifications-notify): Fix docstring.
1072 2012-04-02 Glenn Morris <rgm@gnu.org>
1074 * emacs-lisp/authors.el (authors-aliases): Another addition.
1076 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
1078 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1079 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1080 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1082 2012-04-01 Chong Yidong <cyd@gnu.org>
1084 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1085 Handle root directory properly.
1086 (copy-directory): Caller changed.
1088 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1089 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1091 2012-03-31 Glenn Morris <rgm@gnu.org>
1093 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1095 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1097 * calendar/calendar.el (calendar-window-list)
1098 (calendar-hide-window): Restore. (Bug#11140)
1099 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1101 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1103 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1105 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1106 Check if file is a symlink (Bug#10489).
1108 * files.el (copy-directory): Likewise.
1110 2012-03-30 Chong Yidong <cyd@gnu.org>
1112 * image.el (imagemagick-types-inhibit)
1113 (imagemagick-register-types): Doc fix.
1115 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1117 * ispell.el (ispell-get-extended-character-mode):
1118 Disable extended-char-mode for hunspell. hunspell does not support it
1119 and treats ~word as ordinary words in pipe mode.
1121 2012-03-30 Glenn Morris <rgm@gnu.org>
1123 * tutorial.el (help-with-tutorial): Ensure local variables don't
1124 happen to make the buffer read-only. (Bug#11127)
1126 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1128 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1129 (perl-calculate-indent): Return `noindent' in strings.
1131 2012-03-28 Sam Steingold <sds@gnu.org>
1133 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1134 instead of the broken adhockery which does not prevent calendar
1135 buffers from being displayed at random after exit.
1136 (calendar-window-list, calendar-hide-window): Remove the broken
1139 2012-03-28 Glenn Morris <rgm@gnu.org>
1141 * replace.el (query-replace-map): Doc fix.
1143 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1145 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1146 contents. (Bug#11109)
1148 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1150 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1152 (avl-tree--check, avl-tree--check-node): New funs.
1154 2012-03-27 Martin Rudalics <rudalics@gmx.at>
1156 * window.el (switch-to-visible-buffer): New option.
1157 (switch-to-prev-buffer, switch-to-next-buffer):
1158 Observe switch-to-visible-buffer. Make sure that checking for a window
1159 showing a buffer already is done on the same frame.
1161 2012-03-27 Glenn Morris <rgm@gnu.org>
1163 * startup.el (mail-host-address): Doc fix.
1165 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1167 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1170 2012-03-26 Ami Fischman <ami@fischman.org>
1172 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1174 2012-03-26 Glenn Morris <rgm@gnu.org>
1176 * files.el (save-buffers-kill-emacs): Doc fix.
1178 * startup.el (normal-top-level, command-line, command-line-1):
1179 Give them doc strings.
1181 2012-03-25 Eli Zaretskii <eliz@gnu.org>
1183 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
1184 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
1186 2012-03-25 Chong Yidong <cyd@gnu.org>
1188 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1189 theme if it was previously enabled before (Bug#11031).
1191 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1192 spec with custom-face-get-current-spec if its :shown-value is not
1193 determined yet (Bug#9337).
1194 (customize-create-theme, custom-theme-revert): Doc fixes.
1196 * button.el (button-at): Minor addition to docstring.
1198 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
1200 * vc/vc.el (vc-merge): Fix a prompt.
1202 2012-03-24 Chong Yidong <cyd@gnu.org>
1204 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1207 * button.el (button-at): Minor addition to docstring.
1209 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1211 * newcomment.el (comment-choose-indent): No space after BOL.
1213 2012-03-22 Sam Steingold <sds@gnu.org>
1215 * window.el (switch-to-prev-buffer): Revert last patch because the
1216 bug turned out to be an advertised feature (Elisp manual 28.14).
1218 2012-03-22 Glenn Morris <rgm@gnu.org>
1220 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1221 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1223 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1225 * net/network-stream.el (network-stream-open-starttls): Make error
1226 message under Windows be less misleading.
1228 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1230 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1231 understands (bug#9942).
1233 2012-03-22 Chong Yidong <cyd@gnu.org>
1235 * simple.el (end-of-visible-line): Handle return value of
1236 next-single-property-change properly (Bug#9371).
1238 2012-03-22 Kenichi Handa <handa@m17n.org>
1240 * international/quail.el (quail-insert-kbd-layout): Fix previous
1241 change. To avoid unwanted bidi reordering, use
1242 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1244 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1246 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1247 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1248 (ruby-beginning-of-indent): Be more careful with the difference
1249 between word-boundary and symbol boundary.
1250 (ruby-mode-syntax-table): Make : a symbol constituent.
1252 2012-03-21 Andreas Politz <politza@fh-trier.de>
1254 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1256 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1258 * progmodes/etags.el (tags-completion-at-point-function):
1261 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1263 2012-03-21 Sam Steingold <sds@gnu.org>
1265 * progmodes/etags.el (tags-completion-at-point-function):
1266 Avoid the error when point is inside the pattern.
1268 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1270 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1273 2012-03-21 Drew Adams <drew.adams@oracle.com>
1275 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1277 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1279 * ido.el (ido-set-current-directory, ido-read-internal)
1280 (ido-choose-completion-string, ido-completion-help): Handle nil
1281 value of ido-completion-buffer (Bug#11008).
1283 2012-03-21 Sam Steingold <sds@gnu.org>
1285 * window.el (switch-to-prev-buffer): Do not switch to a visible
1286 window previous buffer, just like with the frame previous buffers.
1288 2012-03-21 Chong Yidong <cyd@gnu.org>
1290 * faces.el (make-face, make-empty-face, copy-face):
1291 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1294 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1296 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1297 (widget-complete): Remove broken use of it.
1299 2012-03-20 Chong Yidong <cyd@gnu.org>
1301 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1302 Use string-width and truncate-string-width to handle arbitrary
1305 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1307 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1308 to draw rectangles, not squares. (Regression introduced by revno
1309 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1311 2012-03-18 Chong Yidong <cyd@gnu.org>
1313 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1314 it is not yet defined (for temacs).
1316 2012-03-18 Leo Liu <sdl.web@gmail.com>
1318 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
1320 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1322 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1323 (ispell-choices-win-default-height, ispell-silently-savep)
1324 (ispell-dictionary-alist, ispell-encoding8-command)
1325 (ispell-check-version, ispell-aspell-find-dictionary)
1326 (ispell-valid-dictionary-list, ispell-words-keyword)
1327 (ispell-get-word, ispell-internal-change-dictionary)
1328 (ispell-region, ispell-skip-region-list)
1329 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1330 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1331 (ispell-message-text-end, ispell-message)
1332 (ispell-buffer-local-parsing): Doc fix.
1334 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
1336 * htmlfontify.el: Add support for code block fontification for ODT
1338 (hfy-optimisations): Define new option
1340 (hfy-fontify-buffer): Honor above setting.
1341 (hfy-begin-span, hfy-end-span): New routines factored out form
1342 `hfy-fontify-buffer'.
1343 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1344 that permit insertion of custom tags.
1345 (hfy-fontify-buffer): Use above handlers.
1346 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1347 (hfy-face-to-css): Re-defined to be a variable.
1348 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
1349 over multiple runs. This is made possible by having the caller let
1350 bind a special variable `hfy-user-sheet-assoc'.
1351 (htmlfontify-string): New defun.
1352 (hfy-compile-face-map): Make sure that the last char in the
1353 buffer is correctly fontified.
1354 (hfy-face-resolve-face): Whitespace only change.
1356 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1358 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1361 2012-03-16 Leo Liu <sdl.web@gmail.com>
1363 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1365 2012-03-16 Alan Mackenzie <acm@muc.de>
1367 Further optimise the handling of large macros.
1369 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1370 limit to a call of `c-literal-limits'.
1371 (c-determine-+ve-limit): New function.
1372 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1373 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
1374 In CASE 5B, restrict a search limit to 500.
1375 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1377 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1378 Restrict macro bounds to +-500 from after-change's BEG END.
1380 2012-03-16 Leo Liu <sdl.web@gmail.com>
1382 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1384 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1386 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
1387 `special-mode' setting of `buffer-read-only'. (Bug#11010)
1389 2012-03-16 Glenn Morris <rgm@gnu.org>
1391 * view.el (view-buffer, view-buffer-other-window)
1392 (view-buffer-other-frame): Doc fixes re special mode-class.
1394 * subr.el (eval-after-load): If named feature is provided not from
1395 a file, run after-load forms. (Bug#10946)
1397 * calendar/calendar.el (calendar-insert-at-column):
1398 Handle non-unit-width characters a bit better. (Bug#10978)
1400 2012-03-15 Chong Yidong <cyd@gnu.org>
1402 * emacs-lisp/ring.el (ring-extend): New function.
1403 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1405 * comint.el (comint-read-input-ring)
1406 (comint-add-to-input-history): Grow comint-input-ring lazily.
1408 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1410 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1411 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1413 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1414 (imenu-add-to-menubar): Don't add a redundant index.
1415 (imenu-update-menubar): Handle a dynamically composed keymap.
1417 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1419 * mail/sendmail.el (mail-encode-header):
1420 Bind rfc2047-encode-encoded-words to nil.
1422 2012-03-13 Glenn Morris <rgm@gnu.org>
1424 * calendar/calendar.el (calendar-string-spread):
1425 Handle non-unit-width characters a bit better. (Bug#10978)
1427 2012-03-13 Leo Liu <sdl.web@gmail.com>
1429 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1430 directory and file as argument (Bug#10822).
1432 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1434 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1435 For dynamically generated code, follow $PC.
1436 (gdb-disassembly-handler-custom): Handle no function name case.
1438 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1440 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1441 * emulation/ws-mode.el (ws-query-replace):
1442 * sort.el (sort-regexp-fields):
1443 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1445 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1447 * dabbrev.el: Fix cycle completion order (bug#10963).
1448 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1449 (dabbrev-completion): Don't use an obarray; provide
1450 a cycle-sort-function.
1452 2012-03-12 Leo Liu <sdl.web@gmail.com>
1454 * simple.el (kill-new): Use equal-including-properties for comparison.
1455 (kill-do-not-save-duplicates): Doc fix.
1457 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1459 * dabbrev.el: Fix cycle completion (bug#10963).
1460 Use lexical binding and wrap to 80 columns.
1461 (dabbrev-completion): Delay computing the list of completions.
1463 2012-03-12 Kenichi Handa <handa@m17n.org>
1465 * international/quail.el (quail-insert-kbd-layout): Surround each
1466 row by LRO and PDF instead of inserting many LRMs. Pad the left
1467 and right of each non-spacing marks. Insert invisible space
1468 between lower and upper characters to prevent composition.
1470 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1472 * minibuffer.el (minibuffer-complete): Don't get confused when the
1473 function is run twice via different commands (bug#10958).
1474 (complete-with-action): Fix docstring.
1476 2012-03-12 Chong Yidong <cyd@gnu.org>
1478 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1479 (nxml-completion-at-point-function): New function.
1480 (nxml-mode): Use it.
1481 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1483 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1484 Load generated autoloads file before byte compiling (Bug#10970).
1485 (package--make-autoloads-and-compile): New helper fun.
1487 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1489 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1491 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
1493 * autorevert.el (auto-revert-handler): Ensure, that
1494 file-readable-p is applied only for local files or in
1495 auto-revert-tail-mode.
1497 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1499 * server.el (server-eval-at): Handle non-tcp connections.
1500 Decode result string.
1502 * server.el (server-msg-size): New constant.
1503 (server-reply-print): New function.
1504 (server-eval-and-print): Use it.
1505 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1508 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1510 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1513 2012-03-11 Chong Yidong <cyd@gnu.org>
1515 * simple.el (goto-line): Doc fix (Bug#9938).
1517 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1519 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1520 when finished (Bug#10963).
1522 2012-03-11 Martin Rudalics <rudalics@gmx.at>
1524 * window.el (split-window-below): Fix bug in case where
1525 split-window-keep-point is nil (Bug#10971).
1527 2012-03-11 Juri Linkov <juri@jurta.org>
1529 * replace.el (replace-highlight): Set isearch-word to nil
1530 unconditionally. (Bug#10887)
1532 2012-03-10 Eli Zaretskii <eliz@gnu.org>
1534 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1535 mairix-replace-illegal-chars; all callers changed. Don't remove
1536 ^, ~, and = characters: they are meaningful in mairix search specs.
1537 (mairix-widget-create-query): Add usage information about mairix
1538 search forms: negating words, searching for substrings, etc.
1540 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1542 * international/fontset.el (font-encoding-alist): Add an entry for
1545 2012-03-10 Richard Stallman <rms@gnu.org>
1547 * mail/sendmail.el (mail-encode-header):
1548 Set rfc2047-encode-encoded-words.
1550 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1552 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1553 view buffer means not swapped.
1554 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1555 (rmail-write-region-annotate): Error if real text has disappeared.
1557 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1559 2012-03-10 Chong Yidong <cyd@gnu.org>
1561 * emulation/cua-rect.el (cua--init-rectangles):
1562 * emulation/cua-base.el (cua--init-keymaps):
1563 Add delete-forward-char to remappings (Bug#9666).
1565 2012-03-10 Martin Rudalics <rudalics@gmx.at>
1567 * speedbar.el (speedbar-unhighlight-one-tag-line):
1568 Avoid unhighlighting due to frame switching (Bug#10275).
1570 2012-03-10 Chong Yidong <cyd@gnu.org>
1572 * minibuffer.el (completion-in-region, completion-help-at-point):
1573 Give the completion field overlay a high priority (Bug#6830).
1575 * dired.el (dired-goto-file): Recognize absolute file name
1576 listings (Bug#7126).
1577 (dired-goto-file-1): New helper function.
1578 (dired-toggle-read-only): Inhibit warnings.
1580 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
1582 * net/dbus.el (dbus-property-handler): Return empty array if
1583 there are no properties.
1585 2012-03-09 Leo Liu <sdl.web@gmail.com>
1587 * savehist.el (savehist-printable): Stricter check for string
1590 2012-03-09 Eli Zaretskii <eliz@gnu.org>
1592 * mail/smtpmail.el (smtpmail-send-it):
1593 Bind coding-system-for-write to *-unix, so that FCC files are kept in
1596 2012-03-09 Glenn Morris <rgm@gnu.org>
1598 * files.el (dir-locals-find-file):
1599 Don't check result is regular, readable.
1600 (dir-locals-read-from-file): Demote errors.
1602 2012-03-08 Eli Zaretskii <eliz@gnu.org>
1604 * international/quail.el (quail-insert-kbd-layout):
1605 Insert invisible LRM characters before each character in a keyboard
1606 layout cell, to prevent their reordering by bidi display engine.
1607 For details, see the discussion in
1608 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1610 2012-03-08 Alan Mackenzie <acm@muc.de>
1612 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1613 the starting position; make it extend the marked region when
1614 invoked repeatedly - all under appropriate circumstances.
1615 Fixes bugs #5525, #10906.
1617 2012-03-08 Glenn Morris <rgm@gnu.org>
1619 * files.el (locate-dominating-file, dir-locals-find-file):
1620 Undo 2012-03-06 change.
1622 2012-03-07 Eli Zaretskii <eliz@gnu.org>
1624 * international/quail.el (quail-help):
1625 Force bidi-paragraph-direction be left-to-right. See discussion in
1626 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1629 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
1631 Avoid superfluous registering of signals. (Bug#10807)
1633 * notifications.el (notifications-on-action-object)
1634 (notifications-on-close-object): New defvars.
1635 (notifications-on-action-signal, notifications-on-closed-signal):
1636 Unregister the signal if not needed any longer.
1637 (notifications-notify): Register `notifications-action-signal' or
1638 `notifications-closed-signal', if :on-action or :on-close has been
1641 2012-03-07 Chong Yidong <cyd@gnu.org>
1643 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1646 2012-03-06 Glenn Morris <rgm@gnu.org>
1648 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1649 (x-disown-selection-internal, x-get-selection-internal):
1650 Doc fix (add arglist signatures). (Bug#10783)
1652 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1654 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1655 Handle breakpoints with no "type".
1657 2012-03-06 Glenn Morris <rgm@gnu.org>
1659 * files.el (locate-dominating-file): Add optional predicate argument.
1660 (dir-locals-find-file): Make use of above change.
1662 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1664 * info.el (Info-insert-dir): Also try "dir.gz".
1666 2012-03-06 Glenn Morris <rgm@gnu.org>
1668 * files.el (dir-locals-find-file):
1669 Ignore non-readable or non-regular files. (Bug#10928)
1671 * files.el (locate-dominating-file): Doc fix.
1673 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1675 * calendar/calendar.el (calendar-set-mode-line):
1676 `getenv' returns a string. (Bug#10951)
1678 2012-03-05 Leo Liu <sdl.web@gmail.com>
1680 * simple.el (backward-delete-char-untabify): Constrain point to
1683 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1685 2012-03-05 Chong Yidong <cyd@gnu.org>
1687 * simple.el (count-words): If called from Lisp, return the word
1688 count, for symmetry with `count-lines'. Arglist changed.
1689 (count-words--message): Args changed. Consolidate counting code
1690 from count-words and count-words-region.
1691 (count-words-region): Caller changed.
1692 (count-lines-region): Make it an obsolete alias.
1694 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1696 * saveplace.el (save-place-to-alist)
1697 (save-place-ignore-files-regexp): Allow value nil to disable this
1700 2012-03-04 Chong Yidong <cyd@gnu.org>
1702 * faces.el (face-spec-reset-face): For the default face, reset the
1703 attributes to default values (Bug#10748).
1705 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1707 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1708 previous patch: Check `message-send-mail-function', and not the
1709 default function (bug#10897).
1711 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
1713 * notifications.el (notifications-on-action-signal)
1714 (notifications-on-closed-signal): Check for unique service name of
1715 incoming event. Fix error in removing entry.
1716 (top): Register for signals with wildcard service name.
1717 (notifications-notify): Use daemon unique service name for map entries.
1719 2012-03-04 Chong Yidong <cyd@gnu.org>
1721 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
1723 2012-03-04 Glenn Morris <rgm@gnu.org>
1725 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1726 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1727 (expand-abbrev, define-abbrev-table): Doc fixes.
1729 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1731 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1732 `message-default-send-mail-function' and not `send-mail-function'
1733 when doing the prompting for `sendmail-query-once' before sending
1734 in Message buffers (bug#10897).
1736 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1737 This is inconsistent with all the other stream functions, which leave
1738 the setting up to the higher levels (if so wanted) (bug#10931).
1740 2012-03-02 Alan Mackenzie <acm@muc.de>
1742 Depessimize the handling of very large macros.
1744 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1745 (c-macro-cache-syntactic): New variables to implement a one
1746 element macro cache.
1747 (c-invalidate-macro-cache): New function.
1748 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1749 Adapt to use the new cache.
1750 (c-state-safe-place): Use better the cache of safe positions.
1751 (c-state-semi-nonlit-pos-cache)
1752 (c-state-semi-nonlit-pos-cache-limit):
1753 New variables for...
1754 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1755 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
1756 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1757 Use c-state-semi-safe-place.
1759 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1760 Add c-invalidate-macro-cache to the C, C++, Obj entries.
1762 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
1764 * jka-compr.el (jka-compr-call-process):
1765 Apply `file-accessible-directory-p' only when the default directory is
1768 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
1770 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1771 access of FILE2, if FILE1 does not exist.
1773 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1774 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1776 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1777 Add "PAGER=" to `process-environment'.
1779 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1781 * progmodes/sql.el: Bug fix
1782 (sql-get-login-ext): Save login values in globals.
1783 (sql-get-login): Use new version of `sql-get-login-ext'.
1784 (sql-interactive-mode): Set global `sql-connection' to nil.
1785 (sql-connect): Set global values for connection.
1786 (sql-product-interactive): Save global values as buffer local.
1788 2012-02-29 Leo Liu <sdl.web@gmail.com>
1790 * abbrev.el (define-abbrevs): Reset sys to nil.
1792 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1794 * files.el (file-equal-p): Rename from `files-equal-p'.
1795 Return nil when one or both files don't exist.
1796 (file-subdir-of-p): Now only top directory must exists,
1797 return nil if it doesn't.
1798 (copy-directory): No need to test with `file-subdir-of-p' after
1800 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1803 2012-02-28 Glenn Morris <rgm@gnu.org>
1805 * shell.el (shell-mode):
1806 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1807 * play/landmark.el (landmark-font-lock-face-O):
1808 * play/handwrite.el (handwrite):
1809 * play/gomoku.el (gomoku-O):
1810 * net/browse-url.el (browse-url-browser-display):
1811 * international/mule.el (define-charset):
1812 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1813 * filesets.el (filesets-find-file-delay):
1814 * eshell/em-xtra.el (eshell-xtra):
1815 * eshell/em-unix.el (eshell-grep):
1816 * emulation/viper.el (viper-mode):
1817 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1818 * emacs-lisp/easymenu.el (easy-menu-define):
1819 * calendar/timeclock.el (timeclock-use-display-time):
1821 * bookmark.el (bookmark-save-flag):
1822 Doc fix (standardize possessive apostrophe usage).
1824 2012-02-27 Chong Yidong <cyd@gnu.org>
1826 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1827 Fix key-binding lookup for ESC key (Bug#9146).
1829 * font-lock.el (font-lock-specified-p): Rename from
1830 font-lock-spec-present. Callers changed.
1832 2012-02-27 Daniel Hackney <dan@haxney.org>
1834 * emacs-lisp/package.el (package-compute-transaction):
1835 Handle holding a package version to t in package-load-list.
1837 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
1839 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1840 (tramp-get-inode, tramp-get-device): Use cached values.
1842 2012-02-26 Alan Mackenzie <acm@muc.de>
1844 Check there is a font-lock specification before doing initial
1847 * font-core.el (font-lock-mode): Move the conditional from
1848 :after-hook to font-lock-initial-fontify.
1849 (font-lock-default-function): Move the check for a specification
1850 to font-lock-spec-present.
1852 * font-lock.el (font-lock-initial-fontify): Call ...
1853 (font-lock-spec-present): New function.
1855 2012-02-26 Jim Blandy <jimb@red-bean.com>
1857 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1858 (gdb-send): Apply it to the operand of the '-interpreter-exec
1859 console' command, so that we can pass arguments with (say) quotes
1860 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1862 2012-02-26 Chong Yidong <cyd@gnu.org>
1864 * help-fns.el (describe-function-1): Clarify description of
1865 remapping (Bug#10844).
1867 * files.el (files-equal-p): Doc fix.
1868 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1869 and quit the loop once a mismatch is found.
1871 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
1873 * bs.el (bs--show-with-configuration): Don't throw an error
1874 if the window cannot be split; otherwise, subsequent calls to
1875 bs-show fail, restoring a stale window config. (Bug#10882)
1877 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1879 * term/ns-win.el (global-map): Bind ns-drag-file to
1880 ns-find-file (Bug#5855, Bug#10050).
1882 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1884 * calendar/parse-time.el (parse-time-string): Allow extractor to
1887 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
1889 * net/tramp.el (tramp-file-name-for-operation):
1890 Add `files-equal-p' and `file-subdir-of-p'.
1892 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1893 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1894 Add COPY-CONTENTS argument.
1896 2012-02-25 Chong Yidong <cyd@gnu.org>
1898 Add custom groups for VC backends, for consistency with vc-bzr.
1900 * vc/vc-arch.el (vc-arch):
1901 * vc/vc-cvs.el (vc-cvs):
1902 * vc/vc-git.el (vc-git):
1903 * vc/vc-hg.el (vc-hg):
1904 * vc/vc-mtn.el (vc-mtn):
1905 * vc/vc-rcs.el (vc-rcs):
1906 * vc/vc-sccs.el (vc-sccs):
1907 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1908 All relevant defcustoms reassigned.
1910 2012-02-25 Chong Yidong <cyd@gnu.org>
1912 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1914 * term/x-win.el (x-initialize-window-system): Reduce default for
1915 x-selection-timeout to 5 seconds (Bug#8869).
1917 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1919 * files.el (files-equal-p, file-subdir-of-p): New functions.
1920 (copy-directory): Error when trying to copy a directory on itself.
1921 Add missing copy-contents arg to tramp handler.
1922 * dired-aux.el (dired-copy-file-recursive): Same.
1923 (dired-create-files): Modify destination when source is equal to
1924 dest when copying files.
1925 Return also when dest is a subdir of source. (Bug#10489)
1927 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
1929 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1932 2012-02-23 Alan Mackenzie <acm@muc.de>
1934 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1935 parameter "after-hook:" to allow the expansion to run code after
1936 the execution of the mode hooks.
1938 * font-lock.el (font-lock-initial-fontify): New function extracted
1939 from font-lock-mode-internal.
1941 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
1944 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1946 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1947 (completion--cache-all-sorted-completions): New function.
1948 (completion-all-sorted-completions): Use it.
1949 (completion--do-completion, minibuffer-force-complete):
1950 Use it to re-instate the flush hook.
1952 * icomplete.el (icomplete-completions): Replace last fix with a better
1955 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1957 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1958 when it might call us back infinitely (bug#10797).
1960 2012-02-23 Glenn Morris <rgm@gnu.org>
1962 * minibuffer.el (completion-category-overrides): Doc fix.
1964 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1966 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1967 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1969 2012-02-23 Glenn Morris <rgm@gnu.org>
1971 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
1972 (authors-obsolete-files-regexps, authors-ignored-files)
1973 (authors-ambiguous-files, authors-renamed-files-alist):
1976 2012-02-23 Juri Linkov <juri@jurta.org>
1978 * isearch.el (isearch-occur): Sync interactive spec with occur's
1979 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1981 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1983 2012-02-22 Juri Linkov <juri@jurta.org>
1985 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1986 (ucs-insert): Doc fix. Check for hex digits in the string.
1987 Don't display `nil' in the error message. (Bug#10857)
1989 2012-02-22 Alan Mackenzie <acm@muc.de>
1991 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
1993 2012-02-22 Glenn Morris <rgm@gnu.org>
1995 * ffap.el (ffap-c-path):
1996 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1998 2012-02-22 Chong Yidong <cyd@gnu.org>
2000 * custom.el (load-theme): Doc fix.
2002 2012-02-22 Glenn Morris <rgm@gnu.org>
2004 * dired-x.el (dired-guess-shell-alist-default):
2005 Remove escape sequences from nroff output. (Bug#172)
2007 2012-02-21 Glenn Morris <rgm@gnu.org>
2009 * vc/emerge.el (emerge-defvar-local):
2010 Set `permanent-local' property rather than unused `preserved'.
2012 * textmodes/picture.el (picture-delete-char): New alias.
2013 (picture-mode-map): Use it. (Bug#10860)
2014 (picture-mode): Doc fix.
2016 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
2018 * newcomment.el (uncomment-region-default): Remove unused binding.
2020 2012-02-21 Glenn Morris <rgm@gnu.org>
2022 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2023 (picture-self-insert, picture-tab-chars): Doc fix.
2024 (picture-mode-map): Fix C-a, C-e.
2026 2012-02-20 Glenn Morris <rgm@gnu.org>
2028 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2030 2012-02-20 Leo Liu <sdl.web@gmail.com>
2032 * icomplete.el (icomplete-completions): Check FROM arg before
2033 passing to substring (Bug#10850).
2035 2012-02-19 Chong Yidong <cyd@gnu.org>
2037 * comint.el: Require ansi-color.
2038 (comint-output-filter-functions): Add ansi-color-process-output.
2040 * ansi-color.el: Don't set comint-output-filter-functions; it is
2041 now in the initial value defined in comint.el.
2042 (ansi-color-apply-face-function): New variable.
2043 (ansi-color-apply-on-region): Use it.
2044 (ansi-color-apply-overlay-face): New function.
2046 * shell.el (shell): No need to require ansi-color.
2047 (shell-mode): Use ansi-color-apply-face-function to highlight
2048 color escapes using font-lock-face property (Bug#10835).
2050 2012-02-19 Chong Yidong <cyd@gnu.org>
2052 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2053 mode-line formats (Bug#10839).
2055 2012-02-18 Glenn Morris <rgm@gnu.org>
2057 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2059 * mail/undigest.el (unforward-rmail-message): Doc fix.
2061 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2063 2012-02-18 Eli Zaretskii <eliz@gnu.org>
2065 * international/characters.el (script-list): Sync with the latest
2066 Unicode Character Database.
2068 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2070 * international/titdic-cnv.el: Remove duplicate coding tag.
2071 * language/cham.el: Likewise.
2072 * language/tai-viet.el: Likewise.
2074 2012-02-18 Glenn Morris <rgm@gnu.org>
2076 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2077 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2078 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2079 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2080 * calendar/holidays.el (holiday-bahai-holidays)
2081 (calendar-holidays, list-holidays):
2082 Use utf-8 Bahá'í in doc-strings, menus, etc.
2084 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2086 * saveplace.el (save-place-ignore-files-regexp): New variable
2087 allowing for excluding files from saving their location of point.
2088 The default value matches the temporary commit message editing
2089 files from Git, SVN, Bazaar, and Mercurial.
2090 (save-place-to-alist): Use it.
2092 2012-02-17 Lawrence Mitchell <wence@gmx.li>
2093 Stefan Monnier <monnier@iro.umontreal.ca>
2095 * newcomment.el (uncomment-region-default): Don't leave extra space
2096 when an arg is provided (bug#8150).
2098 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2100 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
2102 2012-02-17 Glenn Morris <rgm@gnu.org>
2104 * net/socks.el: Require network-stream. (Bug#10599)
2106 2012-02-17 Kenichi Handa <handa@m17n.org>
2108 * international/charprop.el:
2109 * international/uni-name.el:
2110 * international/uni-old-name.el:
2111 * international/uni-comment.el: Regenerate.
2113 2012-02-16 Glenn Morris <rgm@gnu.org>
2115 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2116 Interactively in calendar buffer, give an error if not on a date.
2118 2012-02-15 Glenn Morris <rgm@gnu.org>
2120 * shell.el (shell-delimiter-argument-list):
2121 Revert 2011-02-17 change. (Bug#8027)
2123 2012-02-15 Chong Yidong <cyd@gnu.org>
2125 * minibuffer.el (completion-at-point-functions): Doc fix.
2127 * custom.el (defcustom): Doc fix; note use of defvar.
2129 2012-02-15 Glenn Morris <rgm@gnu.org>
2131 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2134 2012-02-14 Glenn Morris <rgm@gnu.org>
2136 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2138 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2140 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2141 way the ports list is computed.
2142 (smtpmail-query-smtp-server): Prompt the user for a port number if
2143 we can't connect to any of the standard ports (bug#10810).
2145 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2147 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2149 2012-02-13 Glenn Morris <rgm@gnu.org>
2151 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2153 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2155 * net/gnutls.el (gnutls-trustfiles): New variable.
2156 (gnutls-negotiate): Use it.
2158 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2160 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2161 does its stuff if Gnus is running.
2163 2012-02-13 Alan Mackenzie <acm@muc.de>
2165 Fix a loop in c-set-fl-decl-start.
2167 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
2168 c-backward-syntactic-ws actually moves backwards.
2170 2012-02-13 Leo Liu <sdl.web@gmail.com>
2172 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2173 beginning so that all \C-o chars are removed.
2175 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2177 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
2179 2012-02-12 Alan Mackenzie <acm@muc.de>
2181 Fix infinite loop with long macros.
2182 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
2184 2012-02-12 Chong Yidong <cyd@gnu.org>
2186 * window.el (display-buffer): Doc fix (Bug#10785).
2188 2012-02-12 Glenn Morris <rgm@gnu.org>
2190 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2191 (x-disown-selection-internal, x-get-selection-internal):
2192 Sync docs with the xselect.c versions.
2194 * allout-widgets.el: Add missing license notice.
2196 2012-02-11 Glenn Morris <rgm@gnu.org>
2198 * select.el (x-get-selection-internal, x-own-selection-internal)
2199 (x-disown-selection-internal):
2200 * x-dnd.el (x-get-selection-internal): Update declarations.
2202 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2204 * window.el (window-sides-slots):
2205 * tool-bar.el (tool-bar-position):
2206 * term/xterm.el (xterm-extra-capabilities):
2207 * ses.el (ses-self-reference-early-detection):
2208 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2209 (verilog-auto-wire-type)
2210 (verilog-auto-delete-trailing-whitespace)
2211 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2212 (verilog-auto-tieoff-declaration):
2213 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2214 (sql-oracle-statement-starters, sql-oracle-scan-on):
2215 * progmodes/prolog.el (prolog-align-comments-flag)
2216 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2217 (prolog-left-indent-regexp, prolog-paren-indent-p)
2218 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2219 (prolog-types, prolog-mode-specificators)
2220 (prolog-determinism-specificators, prolog-directives)
2221 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2222 (prolog-electric-dot-flag)
2223 (prolog-electric-dot-full-predicate-template)
2224 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2225 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2226 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2227 (prolog-program-switches, prolog-prompt-regexp)
2228 (prolog-debug-on-string, prolog-debug-off-string)
2229 (prolog-trace-on-string, prolog-trace-off-string)
2230 (prolog-zip-on-string, prolog-zip-off-string)
2231 (prolog-use-standard-consult-compile-method-flag)
2232 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2233 (prolog-imenu-max-lines, prolog-info-predicate-index)
2234 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2235 (prolog-char-quote-workaround):
2236 * progmodes/cc-vars.el (c-defun-tactic):
2237 * net/tramp.el (tramp-encoding-command-interactive)
2238 (tramp-local-end-of-line):
2239 * net/soap-client.el (soap-client):
2240 * net/netrc.el (netrc-file):
2241 * net/gnutls.el (gnutls):
2242 * minibuffer.el (completion-category-overrides)
2243 (completion-cycle-threshold)
2244 (completion-pcm-complete-word-inserts-delimiters):
2245 * man.el (Man-name-local-regexp):
2246 * mail/feedmail.el (feedmail-display-full-frame):
2247 * international/characters.el (glyphless-char-display-control):
2248 * eshell/em-ls.el (eshell-ls-date-format):
2249 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2250 (lisp-lambda-list-keyword-parameter-indentation)
2251 (lisp-lambda-list-keyword-parameter-alignment):
2252 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2253 * dired-x.el (dired-omit-verbose):
2254 * cus-theme.el (custom-theme-allow-multiple-selections):
2255 * calc/calc.el (calc-highlight-selections-with-faces)
2256 (calc-lu-field-reference, calc-lu-power-reference)
2257 (calc-note-threshold):
2258 * battery.el (battery-mode-line-limit):
2259 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2260 (archive-7z-update):
2261 * allout.el (allout-prefixed-keybindings)
2262 (allout-unprefixed-keybindings)
2263 (allout-inhibit-auto-fill-on-headline)
2264 (allout-flattened-numbering-abbreviation):
2265 * allout-widgets.el (allout-widgets-auto-activation)
2266 (allout-widgets-icons-dark-subdir)
2267 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2268 (allout-widgets-theme-dark-background)
2269 (allout-widgets-theme-light-background)
2270 (allout-widgets-item-image-properties-emacs)
2271 (allout-widgets-item-image-properties-xemacs)
2272 (allout-widgets-run-unit-tests-on-load)
2273 (allout-widgets-time-decoration-activity)
2274 (allout-widgets-hook-error-post-time)
2275 (allout-widgets-track-decoration):
2276 Add missing :version tags to new defcustoms and defgroups.
2278 * progmodes/sql.el (sql-ansi-statement-starters)
2279 (sql-oracle-statement-starters): Add custom type.
2281 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2282 (prolog-system-version): Give it a type.
2284 2012-02-11 Eli Zaretskii <eliz@gnu.org>
2286 * term/pc-win.el (x-select-text, x-selection-owner-p)
2287 (x-own-selection-internal, x-disown-selection-internal)
2288 (x-get-selection-internal): Sync doc strings and argument lists
2289 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2291 2012-02-11 Leo Liu <sdl.web@gmail.com>
2293 * progmodes/python.el (python-end-of-statement): Fix infinite
2296 2012-02-10 Glenn Morris <rgm@gnu.org>
2298 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2299 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2301 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2303 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2304 about SMTP before checking the From header.
2306 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
2307 into own function for reuse by emacsbug.el.
2309 2012-02-10 Leo Liu <sdl.web@gmail.com>
2311 * subr.el (condition-case-unless-debug): Rename from
2312 condition-case-no-debug. All callers changed.
2313 (with-demoted-errors): Fix caller.
2315 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2316 * nxml/rng-valid.el (rng-do-some-validation):
2317 * emacs-lisp/package.el (package-refresh-contents)
2318 (package-menu-execute):
2319 * desktop.el (desktop-create-buffer):
2320 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
2322 2012-02-10 Glenn Morris <rgm@gnu.org>
2324 * textmodes/bibtex.el:
2325 Add missing :version tags for new/changed defcustoms.
2327 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2329 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
2331 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2332 (smtpmail-via-smtp): Use it, or fall back on the From address.
2333 (smtpmail-send-it): Ditto.
2335 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2337 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2338 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2339 (byte-compile-tmp-var): New const.
2340 (byte-compile-defvar): Use it to minimize .elc size.
2341 Just use `defvar' rather than simulate it (bug#10761).
2343 2012-02-09 Glenn Morris <rgm@gnu.org>
2345 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2347 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2350 * progmodes/compile.el (compilation-error-screen-columns)
2351 (compilation-first-column, compilation-filter-start): Doc fixes.
2353 * vc/log-view.el (log-view-toggle-entry-display):
2354 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2356 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2357 (report-emacs-bug-can-use-xdg-email):
2358 (report-emacs-bug-insert-to-mailer): Doc fixes.
2359 (report-emacs-bug): Message fix.
2361 * net/browse-url.el (browse-url-can-use-xdg-open)
2362 (browse-url-xdg-open): Doc fixes.
2364 * electric.el (electric-indent-mode, electric-pair-mode)
2365 (electric-layout-rules, electric-layout-mode): Doc fixes.
2366 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2368 2012-02-08 Martin Rudalics <rudalics@gmx.at>
2370 * server.el (server-unselect-display): Don't inadvertently kill
2371 the current buffer. (Bug#10729)
2373 2012-02-08 Glenn Morris <rgm@gnu.org>
2375 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2376 (sql-list-table): Doc fixes.
2378 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2379 Comment out (does nothing).
2381 * completion.el (dynamic-completion-mode):
2382 * dirtrack.el (dirtrack-debug-mode):
2383 * electric.el (electric-layout-mode):
2384 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2385 * face-remap.el (text-scale-mode, buffer-face-mode):
2386 * iimage.el (iimage-mode):
2387 * image-mode.el (image-transform-mode):
2388 * minibuffer.el (completion-in-region-mode):
2389 * scroll-lock.el (scroll-lock-mode):
2390 * simple.el (next-error-follow-minor-mode):
2391 * tar-mode.el (tar-subfile-mode):
2392 * tooltip.el (tooltip-mode):
2393 * vcursor.el (vcursor-use-vcursor-map):
2394 * wid-browse.el (widget-minor-mode):
2395 * emulation/tpu-edt.el (tpu-edt-mode):
2396 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2397 * international/iso-ascii.el (iso-ascii-mode):
2398 * language/thai-util.el (thai-word-mode):
2399 * mail/supercite.el (sc-minor-mode):
2400 * net/goto-addr.el (goto-address-mode):
2401 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2402 * progmodes/cwarn.el (cwarn-mode):
2403 * progmodes/flymake.el (flymake-mode):
2404 * progmodes/glasses.el (glasses-mode):
2405 * progmodes/hideshow.el (hs-minor-mode):
2406 * progmodes/pascal.el (pascal-outline-mode):
2407 * textmodes/enriched.el (enriched-mode):
2408 * vc/smerge-mode.el (smerge-mode):
2409 Doc fixes (minor mode argument).
2411 2012-02-07 Eli Zaretskii <eliz@gnu.org>
2413 * ls-lisp.el (ls-lisp-sanitize): New function.
2414 (ls-lisp-insert-directory): Use it to fix or remove any elements
2415 in file-alist with missing attributes. (Bug#4673)
2417 2012-02-07 Alan Mackenzie <acm@muc.de>
2419 Fix spurious recognition of c-in-knr-argdecl.
2421 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2422 putative K&R region.
2424 2012-02-07 Alan Mackenzie <acm@muc.de>
2426 * progmodes/cc-engine.el (c-forward-objc-directive):
2427 Prevent looping in "#pragma mark @implementation".
2429 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
2431 * notifications.el (notifications-on-closed-signal): Make `reason'
2432 optional. (Bug#10744)
2434 2012-02-07 Glenn Morris <rgm@gnu.org>
2436 * emacs-lisp/easy-mmode.el (define-minor-mode):
2437 Doc fixes for the macro and the mode it defines.
2439 * image.el (imagemagick-types-inhibit): Doc fix.
2441 * cus-start.el (imagemagick-render-type): Add it.
2443 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2445 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2446 Set the default at load time, too, so that `font-lock-fontify-buffer'
2447 can be called without setting up the entire mode first. This fixes
2448 a bug in `mm-inline-text' with C MIME parts.
2450 2012-02-06 Chong Yidong <cyd@gnu.org>
2452 * simple.el (list-processes--refresh): Delete exited processes
2455 * comint.el (comint-next-prompt): next-single-char-property-change
2456 and prev-single-char-property-change never return nil (Bug#8657).
2458 * custom.el (defcustom): Doc fix (Bug#9711).
2460 2012-02-05 Chong Yidong <cyd@gnu.org>
2462 * cus-edit.el (custom-variable-reset-backup): Quote the value
2463 before storing it in the customized-value property (Bug#6712).
2464 (custom-display): Add a customization type tag.
2465 (custom-buffer-create-internal): Improve tooltip message.
2467 * wid-edit.el (widget-field-value-get): New optional arg to
2468 suppress trailing whitespace truncation.
2469 (character): Use it (Bug#2689).
2471 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2473 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2474 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2476 2012-02-05 Chong Yidong <cyd@gnu.org>
2478 * cus-edit.el (custom-variable-value-create): For mismatched
2479 types, show the current value (Bug#7600).
2481 * custom.el (defcustom): Doc fix.
2483 2012-02-05 Glenn Morris <rgm@gnu.org>
2485 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2487 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
2489 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2490 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2491 (pp-last-sexp): Use `looking-at-p'.
2493 2012-02-04 Glenn Morris <rgm@gnu.org>
2495 * files.el (revert-buffer):
2496 Doc fix (mention revert-buffer-in-progress-p).
2498 * emacs-lisp/ert-x.el (ert-simulate-command):
2499 Check deferred-action-list (which is obsolete) is bound.
2501 * subr.el (with-wrapper-hook): Doc fixes.
2503 * simple.el (filter-buffer-substring-functions)
2504 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2506 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2508 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2509 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2511 2012-02-04 Leo Liu <sdl.web@gmail.com>
2513 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2515 2012-02-04 Glenn Morris <rgm@gnu.org>
2517 * image.el (image-extension-data): Add obsolete alias.
2519 * isearch.el (isearch-update): Doc fix.
2521 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2523 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2525 2012-02-03 Glenn Morris <rgm@gnu.org>
2527 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2528 (image-animate-timeout): Doc fix.
2530 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2532 2012-02-02 Glenn Morris <rgm@gnu.org>
2534 * server.el (server-auth-dir): Doc fix.
2535 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2537 * subr.el (run-mode-hooks): Doc fix.
2539 2012-02-02 Juri Linkov <juri@jurta.org>
2541 * image-mode.el (image-toggle-display-image): Remove tautological
2542 `major-mode' from the `derived-mode-p' test.
2544 2012-02-02 Kenichi Handa <handa@m17n.org>
2546 * composite.el (compose-region): Cancel previous change.
2548 2012-02-02 Kenichi Handa <handa@m17n.org>
2550 * composite.el (compose-region, compose-string): Signal error for
2551 a null string component (Bug#6988).
2553 2012-02-01 Chong Yidong <cyd@gnu.org>
2555 * view.el (view-buffer-other-window, view-buffer-other-frame):
2556 Handle special modes like view-buffer (Bug#10650).
2557 (view-buffer): Simplify.
2559 * frame.el (set-frame-font): Tweak meaning of third argument.
2561 * dynamic-setting.el (font-setting-change-default-font):
2562 Use set-frame-font (Bug#9982).
2564 2012-02-01 Glenn Morris <rgm@gnu.org>
2566 * progmodes/compile.el (compilation-internal-error-properties):
2567 Respect compilation-first-column in the "*compilation*" buffer.
2569 * emacs-lisp/easy-mmode.el (define-minor-mode):
2570 Relax :variable's test for a named function.
2572 2012-01-31 Alan Mackenzie <acm@muc.de>
2574 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2577 2012-01-31 Chong Yidong <cyd@gnu.org>
2579 * frame.el (set-frame-font): New arg ALL-FRAMES.
2581 * menu-bar.el (menu-set-font): Use set-frame-font.
2583 * faces.el (face-spec-reset-face): Don't apply unspecified
2584 attribute values to the default face.
2586 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
2588 * progmodes/cwarn.el (cwarn): Remove dead link.
2589 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2590 Remove * from defcustom docstrings.
2591 (turn-on-cwarn-mode): Make obsolete.
2592 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2593 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2595 2012-01-31 Glenn Morris <rgm@gnu.org>
2597 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2598 Fix :variable handling of mode a symbol not equal to modefun.
2599 Allow named functions to be used as the cdr of :variable.
2601 2012-01-30 Glenn Morris <rgm@gnu.org>
2603 * emacs-lisp/authors.el (authors-fixed-entries):
2604 Remove reference to deleted file rnewspost.el.
2606 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
2608 * window.el (window-with-parameter): Remove unused variable `windows'.
2609 (window--side-check): Remove unused variable `code'.
2610 (window--resize-siblings): Remove unused variable `first'.
2611 (adjust-window-trailing-edge): Remove unused variable `failed'.
2612 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2613 Use `let', not `let*'.
2614 (balance-windows-2): Remove unused variable `found'.
2615 (window--state-put-2): Remove unused variable `splits'.
2616 (window-state-put): Remove unused variable `selected'.
2617 (same-window-p): Use `string-match-p'.
2618 (display-buffer-assq-regexp): Remove unused variable `value'.
2619 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2620 Mark argument ALIST as ignored.
2621 (pop-to-buffer): Remove unused variable `old-window'.
2623 2012-01-29 Eli Zaretskii <eliz@gnu.org>
2625 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2626 and .lzma compressed files.
2628 2012-01-29 Chong Yidong <cyd@gnu.org>
2630 * frame.el (window-system-default-frame-alist): Doc fix.
2632 * dynamic-setting.el (font-setting-change-default-font): Don't
2633 change the default face if SET-FONT argument is non-nil (Bug#9982).
2635 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2637 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2639 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
2641 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2642 breakpoints in files outside current directory (Bug#6098).
2644 2012-01-29 Chong Yidong <cyd@gnu.org>
2646 * progmodes/python.el: Require ansi-color at top-level.
2648 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2649 Define and use in Emacs Lisp mode (Bug#9360).
2650 (lisp-mode-abbrev-table): Add doc.
2651 (lisp-mode-variables): Don't set local-abbrev-table.
2652 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2654 2012-01-28 Roland Winkler <winkler@gnu.org>
2656 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2658 2012-01-28 Roland Winkler <winkler@gnu.org>
2660 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2661 (bibtex-set-dialect): Use it. Either set global values of
2662 dialect-dependent variables or bind these variables buffer-locally
2664 (bibtex-mode): Call bibtex-set-dialect via
2665 hack-local-variables-hook.
2666 (bibtex-dialect): Update docstring.
2667 Add safe-local-variable predicate.
2668 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2670 (bibtex-mode-map): Define menu for each dialect.
2671 (bibtex-entry): Fix docstring.
2673 2012-01-28 Chong Yidong <cyd@gnu.org>
2675 * eshell/esh-arg.el (eshell-quote-argument): New function.
2677 * eshell/esh-ext.el (eshell-invoke-batch-file):
2678 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2679 first arg to eshell-parse-command (Bug#10523).
2681 2012-01-28 Drew Adams <drew.adams@oracle.com>
2683 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2684 `default-directory' is non-nil.
2686 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2688 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2689 line that displays system-configuration-options. (Bug#9924)
2691 2012-01-28 Drew Adams <drew.adams@oracle.com>
2693 * descr-text.el (describe-char): Show information about POS, in
2694 addition to information about the character at POS. Improve and
2695 update the doc string. Change "code point" to "code point in
2696 charset", to avoid confusion with the character's Unicode code
2697 point shown above that. (Bug#10129)
2699 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2701 * descr-text.el (describe-char): Show the raw character, not only
2702 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2703 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2706 2012-01-28 Phil Hagelberg <phil@hagelb.org>
2708 * emacs-lisp/package.el (package-install):
2709 Run package-refresh-contents if there is no archive yet (Bug#9798).
2711 2012-01-28 Chong Yidong <cyd@gnu.org>
2713 * emacs-lisp/package.el (package-maybe-load-descriptor):
2714 New function, split from package-maybe-load-descriptor.
2715 (package-maybe-load-descriptor): Use it.
2716 (package-download-transaction): Fully load required packages
2717 inside the loop, so that `require' calls work (Bug#10593).
2718 (package-install): No need to call package-initialize now.
2720 2012-01-28 Chong Yidong <cyd@gnu.org>
2722 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2724 * tooltip.el (tooltip-mode): Doc fix.
2725 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2727 * frame.el (set-cursor-color): Doc fix (Bug#352).
2729 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2730 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2732 * cus-edit.el (custom-buffer-create-internal): Fix search button
2734 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2736 2012-01-27 Eduard Wiebe <usenet@pusto.de>
2738 * dired.el (dired-mark-files-regexp):
2739 Include any subdirectory components. (Bug#10445)
2741 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2743 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2744 Handle [host]:port syntax. (Bug#10533)
2746 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
2748 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2750 2012-01-26 Glenn Morris <rgm@gnu.org>
2752 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2753 * term.el (term-raw-escape-map): Use Control-X-prefix.
2754 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2756 2012-01-25 Martin Rudalics <rudalics@gmx.at>
2758 * window.el (window-state-get, window--state-get-1): Don't deal
2759 with fixed-sizeness of windows. Simplify code.
2761 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2763 * window.el (window--state-get-1, window--state-put-2):
2764 Don't save and restore the mark.
2766 2012-01-25 Chong Yidong <cyd@gnu.org>
2768 * custom.el (custom-variable-p): Doc fix.
2770 2012-01-25 Glenn Morris <rgm@gnu.org>
2772 * dired.el (dired-goto-file): Handle some of the more common
2773 characters that `ls -b' escapes. (Bug#10596)
2775 * progmodes/compile.el (compilation-next-error-function):
2776 Respect compilation-first-column in the "*compilation*" buffer.
2777 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2779 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2781 2012-01-24 Glenn Morris <rgm@gnu.org>
2783 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2785 2012-01-24 Julien Danjou <julien@danjou.info>
2787 * color.el (color-rgb-to-hsl): Fix value computing.
2788 (color-hue-to-rgb): New function.
2789 (color-hsl-to-rgb): New function.
2790 (color-clamp, color-saturate-hsl, color-saturate-name)
2791 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2792 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2794 2012-01-24 Glenn Morris <rgm@gnu.org>
2796 * vc/vc-rcs.el (vc-rcs-create-tag):
2797 * vc/vc-sccs.el (vc-sccs-create-tag):
2798 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2800 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2802 * eshell/esh-util.el (eshell-read-hosts-file):
2803 Skip comment lines. (Bug#10549)
2805 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2807 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
2809 * subr.el (display-delayed-warnings): Doc fix.
2810 (collapse-delayed-warnings): New function to collapse identical
2812 (delayed-warnings-hook): Add it.
2814 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
2816 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2818 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2819 properties, when "login-as" is set.
2821 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2822 (tramp-default-user-alist): Don't add "pscp".
2823 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2824 property "login-as", if set. (Bug#10530)
2826 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
2828 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2829 "plink1" and "psftp". (Bug#10530)
2831 2012-01-21 Kenichi Handa <handa@m17n.org>
2833 * international/mule-cmds.el (prefer-coding-system): Show a
2834 warning message if the default value of file-name-coding-system
2837 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2839 * windmove.el (windmove-reference-loc):
2840 Fix windmove-reference-loc miscalculation.
2842 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2844 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2847 2012-01-21 Glenn Morris <rgm@gnu.org>
2849 * international/mule.el (auto-coding-alist): Add .tbz.
2851 * files.el (local-enable-local-variables): Doc fix.
2852 (inhibit-local-variables-regexps): Rename from
2853 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2854 Doc fix. Add some extensions from auto-coding-alist.
2855 (inhibit-local-variables-suffixes):
2856 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2857 (inhibit-local-variables-p):
2858 New function, extracted from set-auto-mode-1.
2859 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2860 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2861 (hack-local-variables): Doc fix. Make the mode-only case
2862 respect enable-local-variables and friends.
2863 Respect inhibit-local-variables-regexps for file-locals, but
2864 not for directory-locals.
2865 (set-visited-file-name):
2866 Take account of inhibit-local-variables-regexps.
2867 Whether it applies may change as the file name is changed.
2868 * jka-cmpr-hook.el (jka-compr-install):
2869 * jka-compr.el (jka-compr-uninstall):
2870 Update for inhibit-first-line-modes-suffixes name change.
2872 2012-01-20 Martin Rudalics <rudalics@gmx.at>
2874 * help-macro.el (make-help-screen): Temporarily restore original
2875 binding for minor-mode-map-alist (Bug#10454).
2877 2012-01-19 Julien Danjou <julien@danjou.info>
2879 * color.el (color-name-to-rgb): Use the white color to find the max
2880 color component value and return correctly computed values.
2881 (color-name-to-rgb): Add missing float conversion for max value.
2883 2012-01-19 Martin Rudalics <rudalics@gmx.at>
2885 * window.el (window--state-get-1, window-state-get): Do not use
2886 special state value for window-persistent-parameters.
2887 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
2888 (window--state-put-2): Reset all window parameters to nil before
2889 assigning values of persistent parameters.
2891 2012-01-18 Alan Mackenzie <acm@muc.de>
2893 Eliminate sluggishness and hangs in fontification of "semicolon
2896 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2897 Change value 10000 -> 3000.
2898 (c-state-safe-place): Reformulate so it doesn't stack up an
2899 infinite number of wrong entries in c-state-nonlit-pos-cache.
2900 (c-determine-limit-get-base, c-determine-limit): New functions to
2901 determine backward search limits disregarding literals.
2902 (c-find-decl-spots): Amend commenting.
2903 (c-cheap-inside-bracelist-p): New function which detects "={".
2905 * progmodes/cc-fonts.el
2906 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2908 (c-font-lock-declarations): Fix an occurrence of point being
2909 undefined. Check additionally for point being in a bracelist or
2910 near a macro invocation without a semicolon so as to avoid a
2911 fruitless time consuming search for a declarator. Give a more
2912 precise search limit for declarators using the new
2915 2012-01-18 Glenn Morris <rgm@gnu.org>
2917 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2918 (set-auto-mode): Doc fixes.
2920 2012-01-17 Glenn Morris <rgm@gnu.org>
2922 * isearch.el (search-nonincremental-instead): Fix doc typo.
2924 * dired.el (dired-insert-directory): Handle newlines in directory name.
2925 (dired-build-subdir-alist): Unescape newlines in directory name.
2927 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
2929 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2930 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2931 (tramp-action-terminal): Use it. (Bug#10530)
2933 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2935 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2937 2012-01-16 Martin Rudalics <rudalics@gmx.at>
2939 * window.el (window-state-ignored-parameters): Remove variable.
2940 (window--state-get-1): Rename argument MARKERS to IGNORE.
2941 Handle persistent window parameters. Make copy of clone-of
2942 parameter only if requested. (Bug#10348)
2943 (window--state-put-2): Install a window parameter only if it has
2944 a non-nil value or an existing parameter shall be overwritten.
2946 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
2948 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2950 2012-01-14 Eli Zaretskii <eliz@gnu.org>
2952 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2953 don't pass the (nil) value of `upnode' to string-match.
2955 2012-01-14 Chong Yidong <cyd@gnu.org>
2957 * startup.el (command-line): Fix X resource class for cursorColor.
2958 Fix values recognized by the cursorBlink resource.
2960 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2962 * epg.el (epg--make-temp-file): Avoid permission race condition
2963 when running on old Emacs versions (bug#10403).
2965 2012-01-14 Glenn Morris <rgm@gnu.org>
2967 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2969 2012-01-13 Alan Mackenzie <acm@muc.de>
2971 Fix filling for when filladapt mode is enabled.
2973 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2974 c-mask-paragraph, pass in `fill-paragraph' rather than
2975 `fill-region-as-paragraph'. (This is a reversion of a previous
2977 * progmodes/cc-mode.el (c-basic-common-init):
2978 Make fill-paragraph-handle-comment buffer local and set it to nil.
2980 2012-01-13 Glenn Morris <rgm@gnu.org>
2982 * dired.el (dired-switches-escape-p): New function.
2983 (dired-insert-directory): Use dired-switches-escape-p.
2984 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2986 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2988 2012-01-12 Glenn Morris <rgm@gnu.org>
2990 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2991 changes in adaptive-fill-regexp. (Bug#10276)
2993 2012-01-11 Alan Mackenzie <acm@muc.de>
2995 Fix Emacs bug #10463 - put `widen's around the critical spots.
2997 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2998 widen around each invocation of c-state-pp-to-literal. Remove an
2999 unused let variable.
3001 2012-01-11 Glenn Morris <rgm@gnu.org>
3003 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
3006 2012-01-10 Chong Yidong <cyd@gnu.org>
3008 * net/network-stream.el (network-stream-open-starttls):
3009 Avoid emitting a confusing error message when the server gives a bad
3010 response to the capability command.
3012 2012-01-10 Glenn Morris <rgm@gnu.org>
3014 * mail/unrmail.el (unrmail): Tweak previous change.
3016 2012-01-09 Chong Yidong <cyd@gnu.org>
3018 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3020 2012-01-08 Alan Mackenzie <acm@muc.de>
3022 Optimise font locking in long enum definitions.
3024 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3025 arm to a cond form to handle enums.
3026 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3027 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3029 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
3031 * files.el (move-file-to-trash): Preserve default file modes on error.
3034 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3036 * faces.el (set-face-attribute): Clarify the meaning of the nil
3039 * subr.el (with-selected-frame): Mention that the selected frame
3040 is restored (bug#9980).
3042 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3045 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
3046 (password-read): Don't autoload unused function.
3048 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
3050 * progmodes/which-func.el (which-func-mode): Turn into a
3051 non-interactive function and mark as obsolete (bug#10428).
3053 2012-01-06 Chong Yidong <cyd@gnu.org>
3055 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3056 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3057 functions, along with 1 and -1.
3059 2012-01-06 Eli Zaretskii <eliz@gnu.org>
3061 * time.el (display-time-load-average)
3062 (display-time-default-load-average): Doc fixes. See the thread
3064 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3067 2012-01-06 Glenn Morris <rgm@gnu.org>
3069 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3070 has no messages. (Bug#10377)
3072 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3073 than Info-edit. (Bug#10385)
3075 * time.el (display-time-load-average, display-time-next-load-average):
3078 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3079 local setting of buffer-read-only to the input buffer. (Bug#10419)
3081 * calendar/calendar.el (calendar-mode):
3082 Locally set scroll-margin to 0. (Bug#10379)
3084 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
3086 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3088 2012-01-05 Glenn Morris <rgm@gnu.org>
3090 * eshell/em-unix.el (diff-no-select): Autoload it.
3091 (eshell/diff): Use diff-no-select. (Bug#10420)
3093 2012-01-05 Chong Yidong <cyd@gnu.org>
3095 * shell.el (shell-dynamic-complete-functions): Revert last change.
3096 (shell-command-completion-function): New function.
3097 (shell-completion-vars): Use it to implement
3098 shell-completion-execonly (Bug#10417).
3100 * custom.el (enable-theme): Don't set custom-safe-themes.
3102 * cus-theme.el (custom-theme-merge-theme):
3103 Ignore custom-enabled-themes and custom-safe-themes.
3105 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3107 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3108 first prompt in `sql-interacive-mode'.
3109 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
3111 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
3112 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3113 context of original buffer. Invoke `sql-login-hook'.
3115 2012-01-04 Eli Zaretskii <eliz@gnu.org>
3117 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3118 letters in cite-prefix.
3120 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3122 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3124 2012-01-03 Chong Yidong <cyd@gnu.org>
3126 * shell.el (shell-dynamic-complete-functions):
3127 Put pcomplete-completions-at-point, so as to try
3128 comint-filename-completion first (Bug#10417).
3130 2012-01-02 Richard Stallman <rms@gnu.org>
3132 * battery.el (battery-status-function):
3133 Detect when to use battery-yeeloong-sysfs.
3134 (battery-echo-area-format): Add string for Yeeloong.
3135 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3136 (battery-yeeloong-sysfs): New function.
3138 2012-01-02 Chong Yidong <cyd@gnu.org>
3140 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3141 (dirtrack): Merge code for handling relative filenames in prompt
3142 from shell-dir-cookie-watcher.
3143 (dirtrack-debug-message): New arg to avoid excess format calls.
3145 * shell.el (shell-dir-cookie-re): Variable deleted.
3146 (shell-dir-cookie-watcher): Function deleted.
3147 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3150 2012-01-01 Eli Zaretskii <eliz@gnu.org>
3152 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3153 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
3156 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3158 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3160 2011-12-31 Eli Zaretskii <eliz@gnu.org>
3162 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3163 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3165 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
3167 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3168 also for alternative shells.
3169 (tramp-open-connection-setup-interactive-shell): Check, whether
3170 the shell is a busybox.
3171 (tramp-send-command): Don't suppress multiple prompts for
3172 busyboxes, it hurts.
3174 2011-12-28 Chong Yidong <cyd@gnu.org>
3176 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3177 (gdb-get-source-file): Move mode line update to
3178 gdb-get-source-file (Bug#10087).
3180 2011-12-25 Chong Yidong <cyd@gnu.org>
3182 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3183 gud-gdb-marker-filter without taking it as an argument.
3184 (gud-gdb-run-command-fetch-lines): Caller changed.
3185 (gud-gdb-completion-function): New variable.
3186 (gud-gdb-completion-at-point): Use it.
3187 (gud-gdb-completions-1): Split from gud-gdb-completions.
3189 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3190 function as separate arguments.
3191 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3192 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3193 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3194 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3195 (gdb-stopped, def-gdb-auto-update-trigger)
3196 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
3197 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3199 (gud-gdbmi-completions): New function.
3200 (gdb): Use it for generating the completion table.
3202 2011-12-24 Alan Mackenzie <acm@muc.de>
3204 Introduce a mechanism to widen the region used in context font
3205 locking. Use this to protect declarations from losing their contexts.
3207 * progmodes/cc-langs.el (c-before-font-lock-functions):
3208 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
3209 (c-before-context-fontification-functions): New defvar, a list of
3210 functions to be run just before context (etc.) font locking.
3212 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
3213 New, functionality extracted from
3214 c-neutralize-syntax-in-and-mark-CPP.
3215 (c-in-after-change-fontification): New variable.
3216 (c-after-change): Set c-in-after-change-fontification.
3217 (c-set-fl-decl-start): Rejig its interface, so it can be called
3218 from both after-change and context fontifying.
3219 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3221 (c-standard-font-lock-fontify-region-function): New variable.
3222 (c-font-lock-fontify-region): New function.
3224 2011-12-24 Juri Linkov <juri@jurta.org>
3226 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3229 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
3231 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3232 existence of source file. (Bug#10325)
3234 2011-12-23 Alan Mackenzie <acm@muc.de>
3236 Fix unstable fontification inside templates.
3238 * progmodes/cc-langs.el (c-before-font-lock-functions):
3239 Newly created from the singular version. The (c c++ objc) entry now
3240 additionally has c-set-fl-decl-start. The other languages (apart
3241 from AWK) have that as a single entry.
3243 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3244 The functionality for "local" declarations has been extracted to
3245 c-set-fl-decl-start.
3247 * progmodes/cc-mode.el (c-common-init, c-after-change):
3248 Changes due to pluralisation of c-before-font-lock-functions.
3249 (c-set-fl-decl-start): New function, extracted from
3250 c-font-lock-enclosing-decls and enhanced.
3252 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
3254 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3256 2011-12-22 Juri Linkov <juri@jurta.org>
3258 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3260 2011-12-22 Chong Yidong <cyd@gnu.org>
3262 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3264 2011-12-21 Drew Adams <drew.adams@oracle.com>
3266 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3268 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3270 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3272 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3274 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3275 highlighting and support. Fix up comments for capitalization.
3276 (cfengine-mode-debug): New var.
3277 (cfengine3-mode): Change the modeline indicator to "CFE3".
3278 (cfengine3-font-lock-keywords): Improve defun highlighting.
3279 (cfengine2-actions): Rename from `cfengine-actions'.
3280 (cfengine2-font-lock-keywords): Rename from
3281 `cfengine-font-lock-keywords'.
3282 (cfengine2-imenu-expression): Rename from
3283 `cfengine-imenu-expression'.
3284 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3285 (cfengine2-beginning-of-defun): Rename from
3286 `cfengine-beginning-of-defun'.
3287 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3288 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3289 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3290 modeline indicator to "CFE2".
3291 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3292 (cfengine-mode-abbrevs): Mark obsolete.
3294 2011-12-21 Chong Yidong <cyd@gnu.org>
3296 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3299 2011-12-20 Martin Rudalics <rudalics@gmx.at>
3301 * window.el (window-normalize-buffer-to-display): Remove.
3302 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3304 2011-12-19 Chong Yidong <cyd@gnu.org>
3306 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3307 Don't signal an error in a predicate function; return non-nil.
3308 (vc-dir-mark-file): Move the error here.
3309 (vc-dir-mark-unmark): If acting on the region, keep going if one
3310 of the entries cannot be marked/unmarked.
3311 (vc-dir-mark-all-files): If current entry is a directory, mark
3312 only child files, as documented.
3314 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3316 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3317 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3320 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3322 * term/ns-win.el (ns-get-selection-internal)
3323 (ns-store-selection-internal): Declare.
3324 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3325 Declare as obsolete.
3326 (ns-get-pasteboard, ns-paste-secondary):
3327 Use ns-get-selection-internal.
3328 (ns-set-pasteboard, ns-copy-including-secondary):
3329 Use ns-store-selection-internal.
3331 2011-12-17 Chong Yidong <cyd@gnu.org>
3333 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
3334 (vc-deduce-fileset): Doc fix.
3336 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3338 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3340 2011-12-13 Sam Steingold <sds@gnu.org>
3342 * man.el (Man-getpage-in-background): When running under a
3343 window-system, ignore $MANWIDTH and $COLUMNS.
3345 2011-12-15 Kenichi Handa <handa@m17n.org>
3347 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3348 (setup-ethiopic-environment-internal): Comment out key-binding for
3349 ethio-toggle-punctuation.
3351 2011-12-13 Alan Mackenzie <acm@muc.de>
3353 Add the switch statement to AWK Mode.
3355 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
3356 "default" to the keywords regexp.
3358 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
3359 expression as the rest.
3360 (c-nonlabel-token-key): Allow string literals for AWK.
3361 Refactor for the other modes.
3363 Large brace-block initialisation makes CC Mode slow: Fix.
3364 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
3365 routines. Limit backward searching in c-font-lock-enclosing.decl.
3367 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3368 pp-state and literal type in addition to the limits.
3369 (c-state-safe-place): New defun, extracted from c-state-literal-at.
3370 (c-state-literal-at): Use the above new defun.
3371 (c-slow-in-literal, c-fast-in-literal): Remove.
3372 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
3374 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3375 being in a literal. Add a limit for backward searching.
3377 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3380 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3382 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3384 2011-12-13 Martin Rudalics <rudalics@gmx.at>
3386 * window.el (delete-other-windows): Use correct frame in call to
3387 window-with-parameter.
3389 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3391 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3392 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3393 (makefile-gmake-statements, makefile-makepp-statements):
3394 Use it and add new makepp keywords.
3395 (makefile-makepp-font-lock-keywords): Add new patterns.
3396 (makefile-match-function-end): Match new [...] and [[...]].
3398 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
3400 * ses.el (ses-call-printer-return, ses-cell-property-get)
3401 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3402 (ses-create-cell-variable, ses-reset-header-string)
3403 (ses-cell-set-formula, ses-repair-cell-reference-all)
3404 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3405 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3406 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3407 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3408 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3409 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3410 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3411 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3412 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3413 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3414 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3415 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3417 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3419 * ses.el: The overall change is to add cell renaming, that is
3420 setting fancy names for cell symbols other than name matching
3421 "\\`[A-Z]+[0-9]+\\'" regexp .
3422 (ses-create-cell-variable): New defun.
3423 (ses-relocate-formula): Relocate formulas only for cells the
3424 symbols of which are not renamed, i.e. symbols whose names do not
3425 match regexp "\\`[A-Z]+[0-9]+\\'".
3426 (ses-relocate-all): Relocate values only for cells the symbols of
3427 which are not renamed.
3428 (ses-load): Create cells variables as the (ses-cell ...) are read,
3429 in order to check row col consistency with cell symbol name only
3430 for cells that are not renamed.
3431 (ses-replace-name-in-formula): New defun.
3432 (ses-rename-cell): New defun.
3434 2011-12-11 Chong Yidong <cyd@gnu.org>
3436 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3437 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3439 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3441 * window.el (other-window): Fix docstring.
3443 2011-12-10 Eli Zaretskii <eliz@gnu.org>
3445 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
3446 `from' or `to' address before taking its substring.
3447 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
3448 encoded name is chopped in the middle of the encoded string, and
3449 thus displayed encoded.
3451 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
3453 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3455 2011-12-10 Eli Zaretskii <eliz@gnu.org>
3457 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3458 to use texinfo-update-node and commands that call it if the
3459 Texinfo file uses @node lines without next/prev/up pointers.
3460 Correct outdated description about texinfo-master-menu.
3461 (texinfo-all-menus-update, texinfo-master-menu)
3462 (texinfo-update-node, texinfo-every-node-update)
3463 (texinfo-multiple-files-update): Doc fix. Warn against updating
3464 all the @node lines.
3465 (texinfo-master-menu): Only call texinfo-update-node if the prefix
3466 argument is numeric. Explain better in the doc string what the
3467 function really does.
3468 (texinfo-insert-master-menu-list): Improve the error message
3469 displayed if there's no menu in the Top node.
3470 (Bug#2975) See also this thread:
3471 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3473 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3475 * speedbar.el (speedbar-supported-extension-expressions):
3476 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3478 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
3480 * printing.el (pr-mode-alist):
3481 * simple.el (filter-buffer-substring-functions)
3482 (completion-list-insert-choice-function):
3483 * window.el (window-with-parameter, window-atom-root)
3484 (window-sides-slots, window-size-fixed, window-min-delta)
3485 (window-max-delta, window--resize-mini-window)
3486 (window--resize-child-windows-normal, window-tree)
3487 (delete-other-windows, quit-window, split-window)
3488 (display-buffer-record-window, special-display-buffer-names)
3489 (special-display-regexps, special-display-popup-frame)
3490 (same-window-p, split-window-sensibly)
3491 (display-buffer-overriding-action, display-buffer-alist)
3492 (display-buffer-base-action, display-buffer, switch-to-buffer)
3493 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3494 (fit-window-to-buffer, recenter-positions)
3495 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3496 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3497 and remove unneeded backslashes in docstrings.
3499 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3501 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3503 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3504 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3506 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3507 when reading the makefile (bug#10116).
3509 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3511 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3514 2011-12-06 Glenn Morris <rgm@gnu.org>
3516 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3518 2011-12-06 Chong Yidong <cyd@gnu.org>
3520 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3522 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
3524 * textmodes/table.el (table-shorten-cell): Fix typo.
3526 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3528 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3530 2011-12-05 Eli Zaretskii <eliz@gnu.org>
3532 * descr-text.el (describe-char): Fix display of strong
3533 right-to-left characters and directional embeddings and overrides.
3535 * simple.el (what-cursor-position): Fix display of codepoints of
3536 strong right-to-left characters.
3538 2011-12-05 Chong Yidong <cyd@gnu.org>
3540 * faces.el (read-color): Doc fix.
3542 2011-12-05 Glenn Morris <rgm@gnu.org>
3544 * align.el (align--set-marker): Add doc-string.
3545 Don't try to move something that is not a marker. (Bug#10216)
3547 2011-12-04 Glenn Morris <rgm@gnu.org>
3549 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3550 overly zealous deletion of trailing whitespace.
3552 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
3554 * server.el (server-delete-client): On Windows, do not try to delete
3556 (server-process-filter): On Windows, treat requests for a tty frame as
3557 if they were for a GUI frame if the running server is in GUI mode.
3559 2011-12-03 Glenn Morris <rgm@gnu.org>
3561 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3563 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3565 * electric.el: Streamline electric-indent's hook.
3566 (electric-indent-chars): Revert to simple list.
3567 (electric-indent-functions): New var.
3568 (electric-indent-post-self-insert-function): Use it.
3570 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3571 there's no inferior buffer (bug#10196).
3572 (prolog-consult-compile): Don't use toggle-read-only.
3574 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
3576 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3577 interrupt. (Bug#10187)
3579 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3581 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3584 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3587 2011-12-02 Juri Linkov <juri@jurta.org>
3589 * info.el (Info-search): Display "end of manual" when Isearch
3590 reaches the end of single-file Info manual. (Bug#9918)
3592 2011-12-02 Eli Zaretskii <eliz@gnu.org>
3594 * isearch.el (isearch-message-prefix): Run the input method part
3595 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3597 2011-12-02 Juri Linkov <juri@jurta.org>
3599 * isearch.el (isearch-occur): Use `word-search-regexp' for
3601 (isearch-search-and-update): Add condition for `isearch-word' and
3602 call `word-search-regexp'. (Bug#10145)
3604 2011-12-01 Glenn Morris <rgm@gnu.org>
3606 * eshell/em-hist.el (eshell-hist-initialize):
3607 Handle eshell-history-size nil and HISTSIZE set or unset.
3608 (eshell-history-file-name, eshell-history-size): Fix custom type.
3610 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3612 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3614 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
3616 * progmodes/verilog-mode.el (verilog-pretty-expr):
3617 Rework verilog-pretty-expr to handle new assignment operators in system
3618 verilog, such as += *= and the like.
3619 (verilog-assignment-operator-re): Regular expression to find the
3620 assigment operator in a verilog assignment.
3621 (verilog-assignment-operation-re): Regular expression to find an
3622 assignment statement for pretty-expr.
3623 (verilog-in-attribute-p): Query returns true if point is in an
3624 attribute context; used to skip these for expression line up from
3626 (verilog-in-parameter-p): Query returns true if point is in an
3627 parameter definition context; used to skip these for expression
3628 line up from pretty-expr.
3629 (verilog-in-parenthesis-p): Query returns true if point is in a
3630 parenthetical expression, specifically ( ) but not [ ] or { };
3631 used by pretty-expr.
3632 (verilog-just-one-space): If there is no space, don't add one.
3633 (verilog-get-lineup-indent-2): Specifically skip just attribute
3634 contexts for expression lineup, rather than skipping all
3635 parenthetical expressions.
3636 (verilog-calculate-indent): Fix comment, and fix indent.
3637 (verilog-do-indent): Indent declarations in lists (suggested by
3639 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3641 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3644 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
3646 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3647 parameters with embedded comments. Reported by Ray Stevens.
3648 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3649 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3650 Reported by Tim Holt.
3651 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3652 instantiated by upper module causing wrong expansion until AUTOed a
3653 second time. Reported by K C Buckenmaier.
3654 (verilog-diff-auto): Fix showing .* as a difference when
3655 `verilog-auto-star-save' off. Reported by Dan Dever.
3656 (verilog-auto-reset, verilog-read-always-signals)
3657 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3658 temporary signals in reset list if
3659 verilog-auto-reset-blocking-in-non is nil, and match assignment
3660 style to each signal's assignment type, bug381.
3661 Reported by Thomas Esposito.
3662 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3663 (verilog-uvm-statement-re): Support UVM indentation and
3664 highlighting, with old OVM keywords only.
3665 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
3666 Support AUTOTIEOFF creating non-wire data types.
3667 Suggested by Jonathan Greenlaw.
3668 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3669 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3670 (verilog-inject-sense, verilog-read-inst-pins)
3671 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3672 Fix mismatching parenthesis inside commented out code when deleting
3673 AUTOINST, bug383. Reported by Jonathan Greenlaw.
3674 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3675 non-numeric vector width. Reported by Alex Reed.
3676 (verilog-auto-ascii-enum): Add "onehot" option to work around not
3677 detecting signals with parameter widths. Reported by Alex Reed.
3678 (verilog-auto-delete-trailing-whitespace):
3679 With `verilog-auto-delete-trailing-whitespace' remove trailing
3680 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3681 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3682 Fix verilog-scan-cache corruption when running user AUTO expansion
3683 hooks that call indentation routines.
3684 (verilog-simplify-range-expression): Fix typo ignoring lower case
3686 (verilog-delete-auto): Fix delete-autos to also remove user created
3687 automatics, as long as they start with AUTO.
3688 (verilog-batch-diff-auto, verilog-diff-auto)
3689 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3690 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3691 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3692 (verilog-in-paren-quick, verilog-re-search-backward-quick)
3693 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3694 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
3695 is disabled and its cache will get corrupt, causing AUTOS not to
3696 expand. Instead use only -quick functions.
3697 (verilog-scan-region): Fix scanning over escaped quotes.
3698 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3699 (verilog-re-search-backward-quick)
3700 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3701 related functions now ignore strings, to fix misparsing of strings
3702 with magic comments embedded in them.
3703 (verilog-read-auto-template):
3704 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3705 Reported by Brad Dobbie.
3706 (verilog-read-auto-template):
3707 Fix 'verilog-auto-inst-template-numbers' with comments.
3708 Reported by Brad Dobbie.
3709 (verilog-auto-inst, verilog-auto-inst-param)
3710 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3711 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3712 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
3713 debugging templates without merge conflicts, bug357.
3714 Reported by Brad Dobbie.
3715 (verilog-read-auto-template):
3716 Fix verilog-auto-inst-template-numbers with multiple templates.
3717 Reported by Brad Dobbie.
3718 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3719 abbrevs so user won't be asked to save.
3720 (verilog-read-auto-lisp-present): Fix to start at beginning of
3721 buffer in case called outside of verilog-auto.
3722 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3723 to "X-2". Reported by Matthew Myers.
3724 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3725 all inputs from module templates. Reported by Leith Johnson.
3726 (verilog-module-inside-filename-p): Fix locating programs as with
3728 (verilog-auto-inst-port): Fix vl-width expressions when using
3729 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3730 (verilog-decls-get-regs, verilog-decls-get-signals,
3731 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3732 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3733 verilog-read-decls): Combine reg and wire structures into one var
3734 structure to represent SystemVerilog concepts.
3735 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3736 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
3737 (verilog-auto-wire-type, verilog-insert-definition):
3738 Add verilog-auto-wire-type and AUTOLOGIC to support using
3739 SystemVerilog "logic" keyword instead of "wire"/"reg".
3740 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3741 to declares outputs that also have assignments (presumably in an
3742 ifdef or generate if so there's not a driver conflict).
3743 Reported by Matthew Myers.
3744 (verilog-auto-declare-nettype, verilog-insert-definition):
3745 Add verilog-auto-declare-nettype to fix declarations using
3746 `default_nettype none. Reported by Julian Gorfajn.
3747 (verilog-read-always-signals-recurse, verilog-read-decls)
3748 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3749 malformed end statement, bug325. Reported by Joshua Wise and
3751 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3752 (verilog-inst-comment-re): Fix not deleting Interfaced comment
3753 when expanding .* in interfaces, bug320.
3754 Reported by Pierre-David Pfister.
3755 (verilog-read-module-name): Fix import statements between module
3756 name and open parenthesis, bug317.
3757 Reported by Pierre-David Pfister.
3758 (verilog-simplify-range-expression): Fix simplification of
3759 multiplications inside AUTOWIRE connections, bug303.
3760 (verilog-auto-inst-port): Support parameter expansion in
3761 multidimensional arrays.
3762 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3763 after "assert property". Reported by Julian Gorfajn.
3764 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3765 with multiplication, bug303.
3766 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3767 Reported by Jan Frode Lonnum.
3769 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
3771 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3772 (hfy-shell-file-name, hfy-shell):
3773 * international/fontset.el (x-decompose-font-name): Fix typos.
3775 2011-11-29 Ken Brown <kbrown@cornell.edu>
3777 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3778 (gdb-version): Remove defvar.
3779 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3780 (gdb-gud-context-command, gdb-non-stop-handler)
3781 (gdb-current-context-command, gdb-stopped): Use it.
3782 (gdb-init-1): Enable pretty printing here.
3783 (gdb-non-stop-handler): Don't enable pretty-printing here.
3784 Check to see if the target supports non-stop mode; if not, turn off
3785 non-stop mode. Use the following.
3786 (gdb-check-target-async): New defun.
3787 (gud-watch, gdb-stopped): Fix whitespace.
3788 (gdb-get-source-file): Don't try to display the source file if
3789 `gdb-main-file' is nil.
3791 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3793 * align.el: Try to generate fewer markers (bug#10047).
3794 (align--set-marker): New macro.
3795 (align-region): Use it.
3797 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3799 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3801 2011-11-29 Chong Yidong <cyd@gnu.org>
3803 * indent.el (indent-for-tab-command, indent-according-to-mode):
3805 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3807 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
3809 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3810 aware of remote file names. (Bug#10124)
3812 2011-11-29 Chong Yidong <cyd@gnu.org>
3814 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3816 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3818 * files.el (find-file): Don't use force-same-window (bug#10144).
3819 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3820 use pop-to-buffer if the selected window can't be used.
3821 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3823 2011-11-28 Eli Zaretskii <eliz@gnu.org>
3825 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3828 2011-11-28 Chong Yidong <cyd@gnu.org>
3830 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3832 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
3834 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3835 gdb-get-source-file-list on gdb-create-source-file-list.
3837 2011-11-26 Eli Zaretskii <eliz@gnu.org>
3839 * whitespace.el (whitespace-newline): Use a different foreground
3840 color for 16-color light-background displays.
3842 2011-11-24 Chong Yidong <cyd@gnu.org>
3844 * window.el (display-buffer--special-action): Doc fix.
3846 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
3848 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3849 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3850 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3851 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3852 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3853 (avl-tree-stack-first):
3854 * emacs-lisp/cconv.el (cconv--analyse-use):
3855 * net/gnutls.el (gnutls-negotiate): Fix typos.
3857 2011-11-24 Glenn Morris <rgm@gnu.org>
3859 * lpr.el (lpr-windows-system, lpr-lp-system):
3860 * mail/binhex.el (binhex-begin-line):
3861 * progmodes/grep.el (grep-history, grep-find-history):
3862 * textmodes/flyspell.el:
3863 * vc/pcvs-defs.el (cvs-global-menu):
3864 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3865 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3866 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3868 * net/tls.el: Fix case of "GnuTLS".
3870 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3872 * version.el (emacs-build-system): Give it a doc-string.
3874 2011-11-24 Juri Linkov <juri@jurta.org>
3876 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3878 2011-11-24 Glenn Morris <rgm@gnu.org>
3880 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3881 if called on a non-mime message just toggle the headers. (Bug#8006)
3883 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
3885 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3886 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3887 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3888 (allout-rebullet-heading, allout-open-sibtopic)
3889 (allout-toggle-current-subtree-encryption)
3890 (allout-toggle-subtree-encryption, allout-encrypt-string)
3891 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3892 (allout-distinctive-bullets-string, allout-auto-activation):
3893 * window.el (window-normalize-buffer-to-display):
3894 * progmodes/verilog-mode.el (verilog-batch-indent):
3895 * textmodes/bibtex.el (bibtex-field-braces-opt)
3896 (bibtex-field-strings-opt):
3897 * vc/cvs-status.el (cvs-tree-merge):
3900 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
3902 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3903 `non-essential' to t, in order to avoid remote connections.
3905 2011-11-23 Eli Zaretskii <eliz@gnu.org>
3907 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3908 On MS-DOS and MS-Windows, compare with loaddefs.el
3911 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3913 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3915 2011-11-23 Glenn Morris <rgm@gnu.org>
3917 * paths.el (rmail-file-name): Reformat the doc-string so that it
3920 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3921 (rmail-auto-file): Ignore case in the "special" field names,
3922 as mail-fetch-field does for all others.
3924 * mail/rmail.el (rmail-forward):
3925 * mail/rmailkwd.el (rmail-set-label):
3926 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3927 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3929 * mail/rmail.el (rmail-current-message): Doc fix.
3931 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3933 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3935 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3937 2011-11-22 Glenn Morris <rgm@gnu.org>
3939 * mail/rmailmm.el (test-rmail-mime-handler)
3940 (test-rmail-mime-bulk-handler)
3941 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3943 2011-11-21 Juri Linkov <juri@jurta.org>
3945 * calc/calc.el (calc-read-key-sequence):
3946 Let-bind `input-method-function' to nil. (Bug#10018)
3948 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3950 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3951 Tell the caller that the next line needs recomputation, even
3952 though it doesn't start a sexp (bug#10094).
3954 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3956 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3958 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3960 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3961 Use force-same-window.
3963 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
3965 * descr-text.el (describe-char-unicode-data):
3966 * json.el (json-string-escape):
3967 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3968 (Footnote-unicode, Footnote-style-p):
3969 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3971 2011-11-20 Chong Yidong <cyd@gnu.org>
3973 * window.el (replace-buffer-in-windows): Restore interactive spec.
3975 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3977 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3979 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3980 (byte-compile-global-not-obsolete-vars): New var.
3981 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3983 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3985 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
3987 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3988 * progmodes/pascal.el (electric-pascal-equal):
3989 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3990 * xml.el (xml-substitute-special): Fix typos.
3992 2011-11-20 Glenn Morris <rgm@gnu.org>
3994 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3995 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3997 (rmail-decode-mime-charset): Mark as obsolete.
3999 * mail/rmailsum.el (rmail-message-regexp-p-1):
4000 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4001 Before using mime functions, check they are set. (Bug#10077)
4003 2011-11-19 Juri Linkov <juri@jurta.org>
4005 * info.el (Info-finder-find-node): Use `package--builtins' instead
4006 of `package-alist'. Use node names formed by the pattern "Keyword "
4007 and the keyword name.
4009 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4011 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
4013 2011-11-19 Juri Linkov <juri@jurta.org>
4015 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4016 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4017 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4018 `old-history', `old-history-forward'. Add let-binding
4019 `window-selected'. Remove calls to `kill-buffer',
4020 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4021 before calling `Info-find-node', so `Info-find-node-2' will reread
4022 the Info file. Restore window positions only when `window-selected'
4025 2011-11-19 Juri Linkov <juri@jurta.org>
4027 * isearch.el (isearch-lazy-highlight-new-loop):
4028 Remove condition `(not isearch-error)'. (Bug#9918)
4030 * misearch.el (multi-isearch-search-fun): Add condition
4031 `(not bound)' to ignore lazy-highlighting search.
4032 Add the search-failed message "end of multi" when the end of
4033 multi-sequence is reached. Uncapitalize the search-failed
4034 message "Repeat for next buffer".
4036 * info.el (Info-search): Add the search-failed message
4037 "end of the manual" when the end of the manual is reached
4040 2011-11-19 Juri Linkov <juri@jurta.org>
4042 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4043 Use non-destructive `remove' instead of `delete' because
4044 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4045 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4047 2011-11-19 Juri Linkov <juri@jurta.org>
4049 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4050 to nil instead of binding `search-ring' and `regexp-search-ring'.
4053 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4055 * simple.el (line-move): Force movement by logical lines for any
4056 hscrolled window, not only when auto-hscroll-mode is on.
4057 (line-move-visual): Update doc string to that effect. (Bug#10076)
4059 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4061 * language/european.el (macintosh): Define as alias for mac-roman.
4063 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4065 * mail/rmailmm.el (rmail-mime-display-header)
4066 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4067 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4068 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4069 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4070 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4072 (rmail-mime-entity-segment): To get past the tagline, move forward
4073 2 more lines, to account for the 2 empty lines that precede and
4074 follow the line with the buttons.
4075 (rmail-mime-update-tagline): Move one more line, to get past the
4076 empty line that follows the buttons in the tagline. (Bug#9520)
4078 2011-11-19 Martin Rudalics <rudalics@gmx.at>
4080 * window.el (window-max-delta-1, window-min-delta-1)
4081 (window-min-size-1, window-state-get-1, window-state-put-1)
4082 (window-state-put-2): Use "window--" prefix.
4084 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4086 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4087 (smie-warning-count): New var.
4088 (smie-set-prec2tab): Use it.
4089 (smie-bnf->prec2): Improve warnings. Add docstring.
4090 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4091 (smie-bnf--set-class): New function.
4092 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4095 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4096 (compilation-error-properties, compilation-move-to-column):
4097 Handle compilation-first-column while in the target buffer.
4099 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4100 Don't hardcode point-min==1.
4102 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4103 (eshell-rewrite-for-command): Remove workaround.
4104 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4105 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4106 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4108 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4110 2011-11-17 Glenn Morris <rgm@gnu.org>
4112 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4113 Ignore buffer-local generated-autoload-file if it is the same
4114 as the global value. (Bug#10049)
4116 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
4118 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4119 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4120 (reftex-toc-previous-heading, reftex-toc-max-level)
4121 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4122 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4123 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4124 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4125 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4126 (reftex-toc-rename-label, reftex-toc-visit-location)
4127 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4128 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4129 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4130 leaving "*toc*" only for references to the buffer.
4132 2011-11-17 Martin Rudalics <rudalics@gmx.at>
4134 * window.el (window-resize, delete-window, split-window):
4135 Replace window-splits by window-combination-resize.
4136 * cus-start.el (window-splits): Replace by window-combination-resize.
4138 2011-11-17 Glenn Morris <rgm@gnu.org>
4140 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4141 Make bash entry derive from sh entry, not shell entry.
4143 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
4145 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4146 properties of linked files. (Bug#9879)
4148 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4151 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4153 * menu-bar.el (menu-bar-file-menu):
4154 * printing.el (pr-ps-utility):
4155 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4156 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4157 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4158 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4159 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4160 (icalendar--convert-cyclic-to-ical)
4161 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4162 (icalendar--convert-ical-to-diary)
4163 (icalendar--convert-recurring-to-diary)
4164 (icalendar--convert-non-recurring-all-day-to-diary)
4165 (icalendar-import-format-sample):
4166 * progmodes/idlw-shell.el (idlwave-shell-mode):
4167 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4168 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4169 (vhdl-ps-print-init): Fix typos.
4171 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4173 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4174 FSF and collapse date sequence, obscure author/maintainer email address
4175 better, remove extra version line, track relocation of author's webpage.
4177 * progmodes/python.el (python-pdbtrack-input-prompt)
4178 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4179 regular python pdb prompts. Adjustments shamelessly taken exactly as
4180 suggested in EmacsWiki page (tiny change):
4181 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
4183 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4185 * expand.el (expand-pos, expand-index, expand-point):
4186 Remove redundant info from docstring.
4187 (expand-add-abbrevs): Doc fix.
4188 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4189 (expand-sample-perl-mode-expand-list): Fix typos.
4191 * net/dbus.el (dbus-event-member-name):
4192 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4193 * term/pc-win.el (msdos-create-frame-with-faces):
4194 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4196 2011-11-16 Martin Rudalics <rudalics@gmx.at>
4198 * window.el (split-window, window-state-get-1)
4199 (window-state-put-1, window-state-put-2): Rename occurrences of
4200 window-nest to window-combination-limit.
4201 * cus-start.el (window-nest): Rename to window-combination-limit.
4203 2011-11-16 Chong Yidong <cyd@gnu.org>
4205 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4208 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4210 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4211 `completing-read' will remove *Completions* and will preserve
4212 current-buffer for us.
4213 (tmm-add-prompt): Users of *Completions* will always (re)set its
4215 (tmm-old-comp-map): Remove.
4217 2011-11-16 Glenn Morris <rgm@gnu.org>
4219 * mail/rmailedit.el: Require rmailmm when compiling.
4220 (rmail-old-mime-state): New declaration.
4221 (rmail-edit-current-message): If editing a mime message,
4222 edit the "raw" message from the mbox buffer.
4223 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4225 2011-11-15 Glenn Morris <rgm@gnu.org>
4227 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4228 which wasn't being used. Add optional arg to force given state.
4229 (rmail-mime): Add optional arg to force given state.
4231 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4233 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4234 * frame.el (display-mm-dimensions-alist):
4235 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4236 (outline-move-subtree-down):
4237 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4238 (newsticker--treeview-do-get-node):
4239 * net/quickurl.el (quickurl-list-buffer-name):
4240 * progmodes/dcl-mode.el (dcl-mode):
4241 * progmodes/gdb-mi.el (gdb-mapcar*):
4242 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4244 2011-11-15 Glenn Morris <rgm@gnu.org>
4246 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4247 in a boolean sense, so just make it a boolean, and fix the doc.
4248 (rmail-show-mime-function, rmail-mime-feature)
4249 (rmail-require-mime-maybe): Doc fixes.
4250 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4252 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4254 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4256 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4257 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4258 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4259 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4261 2011-11-15 Glenn Morris <rgm@gnu.org>
4263 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4264 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4265 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4266 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4267 (rmail-mime, rmail-show-mime): Doc fixes.
4269 * term/ns-win.el (mode-line-frame-identification):
4270 Leave it alone. (Bug#10051)
4272 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4274 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4275 Handle empty buffers. (Bug#9978)
4277 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
4279 * international/mule.el (define-charset):
4280 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4281 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4282 * progmodes/verilog-mode.el (verilog-backward-token):
4283 * textmodes/ispell.el (lookup-words):
4284 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4286 2011-11-14 Glenn Morris <rgm@gnu.org>
4288 * progmodes/executable.el
4289 (executable-make-buffer-file-executable-if-script-p):
4290 Handle file-modes returning nil.
4292 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4293 message - not necessary, and causes problems. (Bug#9831)
4295 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4297 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4299 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4300 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4301 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4303 2011-11-12 Martin Rudalics <rudalics@gmx.at>
4305 * window.el (window-resize, delete-window): Use window-splits
4306 variable instead of function.
4307 (window-state-get-1, window-state-put-2, window-state-put):
4308 Don't deal with windows' splits status.
4310 2011-11-12 Glenn Morris <rgm@gnu.org>
4312 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4313 (apropos-documentation): Doc fixes.
4315 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
4317 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4318 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4320 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4322 * electric.el (electric-indent-post-self-insert-function): Make it
4323 possible for a char to only indent in some circumstances.
4324 (electric-indent-mode): Simplify.
4326 2011-11-11 Martin Rudalics <rudalics@gmx.at>
4328 * window.el (windows-with-parameter): Remove unused function.
4329 (windows-at-side): Rename to window-at-side-list.
4330 (window-check, window-atom-check, window-atom-check-1)
4331 (window-side-check, window-size-ignore, window-size-fixed-1)
4332 (window-in-direction-2): Prefix with "window--".
4333 (window-tree-1): Rename to window--subtree, fix doc-string.
4335 2011-11-11 Glenn Morris <rgm@gnu.org>
4337 * subr.el (eval-after-load): If FILE is already loaded,
4338 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4340 2011-11-10 Glenn Morris <rgm@gnu.org>
4342 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4343 Call svn via vc-svn-command rather than vc-do-command.
4344 (vc-svn-command): Add --non-interactive. (Bug#9993)
4345 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4347 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4348 Add toggle-read-only. (Bug#7292)
4349 * files.el (toggle-read-only): Mention that it should only
4350 be used interactively. (Bug#10006)
4352 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4354 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4355 Adjust regexp for OCaml warnings.
4357 * electric.el (electric-pair-post-self-insert-function): Let user
4358 turn it off buffer-locally (bug#9932).
4360 * progmodes/python.el (python-beginning-of-statement):
4363 * progmodes/compile.el: Better handle TABs (bug#9749).
4364 (compilation-internal-error-properties)
4365 (compilation-next-error-function): Obey the target buffer's
4366 compilation-error-screen-columns.
4368 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
4370 * progmodes/meta-mode.el: Remove obsolete comments.
4371 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4372 Fix typos in docstrings.
4374 2011-11-09 Martin Rudalics <rudalics@gmx.at>
4376 * window.el (window-size-fixed-p): Rewrite doc-string.
4377 (window-resizable-p): Rename to window--resizable-p. Update callers.
4378 (window--resizable): New function. Make all callers of
4379 window-resizable call window--resizable instead.
4380 (window-resizable): Rewrite in terms of window--resizable.
4382 2011-11-08 Glenn Morris <rgm@gnu.org>
4384 * progmodes/delphi.el (delphi-mode-syntax-table):
4385 Let define-derived-mode define a proper syntax table. (Bug#9994)
4387 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4389 * window.el: Stay away from defsubst.
4390 (window-list-no-nils): Remove.
4391 (window-state-get-1, window-state-get): Use backquote instead.
4393 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4395 * emacs-lisp/find-func.el (find-function-read):
4396 Fix incorrect use of default argument in `completing-read'.
4398 2011-11-08 Martin Rudalics <rudalics@gmx.at>
4400 * window.el (display-buffer-function, special-display-function):
4401 Mention display-buffer-record-window but do not mention
4402 help-setup parameter in doc-strings.
4403 (window-min-delta): Fix doc-string typo.
4405 2011-11-08 Chong Yidong <cyd@gnu.org>
4407 * window.el (window-total-height, window-total-width): Doc fix.
4408 (window-body-size): Move from C.
4409 (window-body-height, window-body-width): Move to C.
4411 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4413 * window.el: Make special-display like display-buffer-alist (bug#9532).
4414 (display-buffer--special-action): New function, morphed
4415 from display-buffer--special.
4416 (display-buffer): Use it to handle special-display-buffers at higher
4417 priority (just after display-buffer-alist).
4418 (display-buffer-fallback-action, display-buffer--other-frame-action)
4419 (pop-to-buffer-same-window): Remove display-buffer--special.
4421 2011-11-07 Glenn Morris <rgm@gnu.org>
4423 * calendar/cal-menu.el (cal-menu-set-date-title):
4424 Do nothing if not in a calendar. (Bug#9976)
4426 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4428 * files.el (find-file): Always use selected-window.
4430 2011-11-07 Martin Rudalics <rudalics@gmx.at>
4432 * window.el (window-combinations): Make WINDOW argument
4433 mandatory. Rewrite doc-string.
4434 (walk-window-subtree, window-atom-check, window-min-delta)
4435 (window-max-delta, window--resize-this-window)
4436 (window--resize-root-window-vertically, window-tree)
4437 (balance-windows, window-state-put): Rewrite doc-strings as to
4438 not mention the term "subwindow".
4439 (window--resize-subwindows-skip-p): Rename to
4440 window--resize-child-windows-skip-p.
4441 (window--resize-subwindows-normal): Rename to
4442 window--resize-child-windows-normal.
4443 (window--resize-subwindows): Rename to
4444 window--resize-child-windows.
4445 (window-or-subwindow-p): Rename to window--in-subtree-p.
4447 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4449 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4450 Ensure that mbox format messages end in two newlines (Bug#9974).
4452 2011-11-06 Chong Yidong <cyd@gnu.org>
4454 * window.el (window-combination-p): Function deleted; its
4455 side-effect is not used in any existing code.
4456 (window-combinations, window-combined-p): Call window-*-child
4459 2011-11-05 Chong Yidong <cyd@gnu.org>
4461 * window.el (window-valid-p): Rename from window-any-p.
4462 (window-size-ignore, window-state-get): Callers changed.
4463 (window-normalize-window): Rename from window-normalize-any-window.
4464 New arg LIVE-ONLY, replacing window-normalize-live-window.
4465 (window-normalize-live-window): Delete.
4466 (window-combination-p, window-combined-p, window-combinations)
4467 (walk-window-subtree, window-atom-root, window-min-size)
4468 (window-sizable, window-sizable-p, window-size-fixed-p)
4469 (window-min-delta, window-max-delta, window-resizable)
4470 (window-resizable-p, window-full-height-p, window-full-width-p)
4471 (window-current-scroll-bars, window-point-1, set-window-point-1)
4472 (window-at-side-p, window-in-direction, window-resize)
4473 (adjust-window-trailing-edge, maximize-window, minimize-window)
4474 (window-deletable-p, delete-window, delete-other-windows)
4475 (record-window-buffer, unrecord-window-buffer)
4476 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4477 (quit-window, split-window, window-state-put)
4478 (set-window-text-height, fit-window-to-buffer)
4479 (shrink-window-if-larger-than-buffer): Callers changed.
4481 2011-11-04 Eli Zaretskii <eliz@gnu.org>
4483 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4484 rfc2047-decode-string.
4485 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4488 * window.el (window-body-height, window-body-width): Mention in
4489 the doc string that the return values are in frame's canonical
4492 2011-11-03 Alan Mackenzie <acm@muc.de>
4494 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4495 change in cc-engine.el.
4497 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4499 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4501 2011-11-02 Martin Rudalics <rudalics@gmx.at>
4503 * window.el (quit-window): Call unrecord-window-buffer after
4504 showing another buffer in the window. (Bug#9937)
4505 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
4507 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
4509 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4510 Accept status with more than 9 shelves. (Bug#9935)
4511 Reported by Colin D Bennett <colin@gibibit.com>.
4513 2011-11-01 Martin Rudalics <rudalics@gmx.at>
4515 * help.el (with-help-window): Don't reference
4516 temp-buffer-show-specifiers in doc-string.
4518 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4520 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4523 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4525 * whitespace.el: New version 13.2.2.
4526 (whitespace-newline-mode): Disable properly. Reported by Sarah
4529 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
4531 * net/newst-treeview.el: Remove "Time-stamp".
4532 (newsticker--group-manage-orphan-feeds): Do not call
4533 newsticker--treeview-tree-update.
4534 (newsticker-treeview-update, newsticker-treeview):
4535 Call newsticker--treeview-tree-update if necessary.
4537 2011-10-30 Martin Rudalics <rudalics@gmx.at>
4539 * window.el (window-iso-combination-p, window-iso-combined-p)
4540 (window-iso-combinations): Remove "iso-" infix.
4541 Suggested by Chong Yidong.
4542 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4543 (window-max-delta-1, window-resize, window--resize-siblings)
4544 (window--resize-this-window, adjust-window-trailing-edge)
4545 (split-window, balance-windows-1)
4546 (shrink-window-if-larger-than-buffer):
4547 * calendar/calendar.el (calendar-generate-window):
4548 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
4550 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4552 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4553 in place (bug#9907).
4554 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4555 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4556 (eshell-structure-basic-command, eshell-rewrite-while-command)
4557 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4558 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4559 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4560 (eshell-do-pipelines-synchronously, eshell-eval-command):
4561 Use backquotes and prefer setq to set.
4562 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4563 (eshell-macrop): Use functionp.
4564 (eshell-do-eval): Handle multiple expressions in `while' body.
4566 2011-10-30 Chong Yidong <cyd@gnu.org>
4568 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4569 instead of set-mark (Bug#9810).
4571 2011-10-30 Chong Yidong <cyd@gnu.org>
4573 * window.el (split-window-below, split-window-right): Rename from
4574 split-window-above-each-other and split-window-side-by-side
4575 respectively. All callers changed.
4576 (split-window-sensibly, split-window-sensibly): Use them.
4577 (split-window-keep-point): Doc fix.
4579 * isearch.el: Add isearch-scroll property to split-window-below
4580 and split-window-right.
4582 * follow.el (follow-mode):
4583 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4584 * progmodes/ada-xref.el (ada-gdb-application):
4585 * emulation/vip.el (vip-buffer-in-two-windows):
4586 * image-dired.el (image-dired-dired-with-window-configuration):
4587 * dired-x.el (dired-do-find-marked-files):
4588 * dired.el (dired-pop-to-buffer):
4589 * bs.el (bs--show-with-configuration):
4590 * vc/emerge.el (emerge-setup-windows):
4591 * textmodes/two-column.el (2C-two-columns):
4592 * textmodes/reftex-toc.el (reftex-toc):
4593 * progmodes/gdb-mi.el (gdb-setup-windows):
4594 * progmodes/fortran.el (fortran-window-create):
4595 * net/newst-treeview.el (newsticker--treeview-window-init):
4596 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4597 * emulation/tpu-edt.el (tpu-gold-map):
4598 * emulation/crisp.el (crisp-mode-map):
4599 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4601 2011-10-29 Chong Yidong <cyd@gnu.org>
4603 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4605 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4607 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4608 forged Ispell output (Bug#7904).
4610 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4612 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4614 * doc-view.el: Avoid ugly errors about not finding nil.
4615 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4616 (doc-view-dvipdf-program, doc-view-unoconv-program)
4617 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4618 Avoid nil or absolute file name as default value.
4619 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4621 2011-10-28 Alan Mackenzie <acm@muc.de>
4623 * progmodes/cc-defs.el (c-version): -> 5.32.2.
4625 2011-10-28 Alan Mackenzie <acm@muc.de>
4627 Amend the handling of c-beginning/end-of-defun in nested declaration
4630 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4631 cc-langs.el. Change it to a defcustom.
4633 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4636 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4637 Prevent "class foo : bar" being spuriously recognized as a label.
4639 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
4640 Add parameter `inclusive' (to include enclosing braces in the region).
4641 (c-widen-to-enclosing-decl-scope): New function.
4642 (c-while-widening-to-decl-block): New macro.
4643 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4644 outward for defun boundaries, and correspondingly change symbol
4645 `respect-enclosure' to `go-outward'.
4646 (c-declaration-limits): Change algorithm to report only the "innermost"
4649 2011-10-28 Deniz Dogan <deniz@dogan.se>
4651 * net/rcirc.el (rcirc-mode): Use hard newlines.
4653 2011-10-28 Alan Mackenzie <acm@muc.de>
4655 Amend to indent and fontify macros "which include their own semicolon"
4656 correctly, using the "virtual semicolon" mechanism.
4658 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
4660 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4661 Recode to scan one line at a time rather than having \n and \r
4662 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
4663 (c-forward-label): Amend for virtual semicolons.
4664 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
4666 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4667 of the new C macros.
4669 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
4670 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4671 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
4672 (c-opt-cpp-macro-define): Make into a full language variable.
4673 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4674 AWK Mode (including \n, \r) removed, no longer needed.
4676 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4677 Invoke c-make-macro-with-semi-re.
4679 * progmodes/cc-vars.el (c-macro-with-semi-re):
4680 (c-macro-names-with-semicolon): New variables.
4681 (c-make-macro-with-semi-re): New function.
4683 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4685 * vc/log-edit.el: Fill empty field rather than adding new one.
4686 (log-edit-add-field): New function.
4687 (log-edit-insert-changelog): Use it.
4689 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4691 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4693 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4695 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4696 (gdb--check-interpreter): New function.
4699 2011-10-27 Glenn Morris <rgm@gnu.org>
4701 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4702 (least-positive-float, least-negative-float)
4703 (least-positive-normalized-float, least-negative-normalized-float)
4704 (float-epsilon, float-negative-epsilon):
4705 Remove unnecessary declarations.
4707 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4708 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4709 (least-positive-float, least-negative-float)
4710 (least-positive-normalized-float, least-negative-normalized-float)
4711 (float-epsilon, float-negative-epsilon): Add doc-strings,
4712 based on those in cl.texi.
4714 * files.el (set-visited-file-name): If the major-mode changed,
4715 reload the local variables. (Bug#9796)
4717 2011-10-27 Chong Yidong <cyd@gnu.org>
4719 * subr.el (change-major-mode-after-body-hook): New hook.
4720 (run-mode-hooks): Run it.
4722 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4723 Use change-major-mode-before-body-hook.
4725 * simple.el (fundamental-mode):
4726 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4727 change introducing fundamental-mode-hook.
4729 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
4731 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
4733 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
4735 * ido.el (ido-file-name-all-completions-1): Do not require
4736 tramp.el explicitly. (Bug#7583)
4738 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4740 * progmodes/octave-mod.el:
4741 * progmodes/octave-inf.el: Update maintainer.
4743 2011-10-26 Chong Yidong <cyd@gnu.org>
4745 * subr.el (with-wrapper-hook): Rewrite doc.
4747 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
4749 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
4750 filenames "/method:foo:". (Bug#9793)
4752 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4754 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4757 2011-10-24 Glenn Morris <rgm@gnu.org>
4759 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4761 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
4763 * notifications.el: Add the requirement of a running D-Bus session
4764 bus to the Commentary.
4766 2011-10-24 Juri Linkov <juri@jurta.org>
4768 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4769 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4772 2011-10-24 Juri Linkov <juri@jurta.org>
4774 * info.el (Info-following-node-name-re): Add newline to the list
4775 of allowed characters for leading space. (Bug#9824)
4777 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4779 * progmodes/octave-inf.el (inferior-octave-mode-map):
4780 Fix C-c C-h binding.
4781 * progmodes/octave-mod.el (octave-help): Remove.
4783 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
4785 Sync with Tramp 2.2.3.
4787 * net/tramp-cache.el (top): Pacify byte-compiler using
4788 `init-file-user' and `site-run-file'.
4790 * net/trampver.el: Update release number.
4792 2011-10-23 Chong Yidong <cyd@gnu.org>
4794 * files.el (toggle-read-only): Remove obsolete comment about
4797 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4798 for toggle-read-only. Note that this hasn't called vc-next-action
4799 since 2008-05-02, though it wasn't documented at the time.
4801 * vc/ediff-init.el (ediff-toggle-read-only-function):
4802 Use toggle-read-only.
4804 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4806 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4809 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4810 correct faulty logical expression.
4811 (c-parse-state-state, c-record-parse-state-state):
4812 (c-replay-parse-state-state): New defvar/defuns.
4813 (c-debug-parse-state): Use new functions.
4815 2011-10-22 Martin Rudalics <rudalics@gmx.at>
4817 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
4818 last fix. Use window-in-direction correctly.
4820 2011-10-21 Chong Yidong <cyd@gnu.org>
4822 * progmodes/idlwave.el (idlwave-mode):
4823 * progmodes/vera-mode.el (vera-mode): No need to set
4824 require-final-newline; that's done in prog-mode.
4825 Suggested by Stefan Monnier.
4827 2011-10-21 Martin Rudalics <rudalics@gmx.at>
4829 * mouse.el (mouse-drag-window-above)
4830 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4831 (mouse-drag-mode-line-1, mouse-drag-header-line)
4832 (mouse-drag-vertical-line-rightward-window): Remove.
4833 (mouse-drag-line): New function.
4834 (mouse-drag-mode-line, mouse-drag-header-line)
4835 (mouse-drag-vertical-line): Call mouse-drag-line.
4836 * window.el (window-at-side-p, windows-at-side): New functions.
4838 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
4840 * tar-mode.el (tar-grind-file-mode):
4841 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4843 2011-10-21 Chong Yidong <cyd@gnu.org>
4845 * progmodes/idlwave.el (idlwave-mode):
4846 * progmodes/vera-mode.el (vera-mode):
4847 Use mode-require-final-newline.
4849 2011-10-20 Glenn Morris <rgm@gnu.org>
4851 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
4853 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4855 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4857 2011-10-20 Chong Yidong <cyd@gnu.org>
4859 * emulation/cua-base.el (cua-mode):
4860 * mail/footnote.el (footnote-mode):
4861 * mail/mailabbrev.el (mail-abbrevs-mode):
4862 * net/xesam.el (xesam-minor-mode):
4863 * progmodes/bug-reference.el (bug-reference-mode):
4864 * progmodes/cap-words.el (capitalized-words-mode):
4865 * progmodes/compile.el (compilation-minor-mode)
4866 (compilation-shell-minor-mode):
4867 * progmodes/gud.el (gud-tooltip-mode):
4868 * progmodes/hideif.el (hide-ifdef-mode):
4869 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4870 * progmodes/subword.el (subword-mode):
4871 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4872 * progmodes/which-func.el (which-function-mode):
4873 * term/tvi970.el (tvi970-set-keypad-mode):
4874 * term/vt100.el (vt100-wide-mode):
4875 * textmodes/flyspell.el (flyspell-mode):
4876 * textmodes/ispell.el (ispell-minor-mode):
4877 * textmodes/nroff-mode.el (nroff-electric-mode):
4878 * textmodes/paragraphs.el (use-hard-newlines):
4879 * textmodes/refill.el (refill-mode):
4880 * textmodes/reftex.el (reftex-mode):
4881 * textmodes/rst.el (rst-minor-mode):
4882 * textmodes/sgml-mode.el (html-autoview-mode)
4883 (sgml-electric-tag-pair-mode):
4884 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4885 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4886 * emulation/crisp.el (crisp-mode):
4887 * emacs-lisp/eldoc.el (eldoc-mode):
4888 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4889 minor mode behavior.
4891 2011-10-19 Juri Linkov <juri@jurta.org>
4893 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4894 the list of hard-coded chars with escape-glyph face.
4896 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4898 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4900 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
4902 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4905 2011-10-19 Glenn Morris <rgm@gnu.org>
4907 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4908 Ignore ignored files. (Bug#9726)
4910 2011-10-19 Chong Yidong <cyd@gnu.org>
4912 Doc fix for minor modes, stating that an omitted argument enables
4913 the mode unconditionally when called from Lisp.
4915 * abbrev.el (abbrev-mode):
4916 * allout.el (allout-mode):
4917 * autoinsert.el (auto-insert-mode):
4918 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4919 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4920 (global-auto-revert-mode):
4921 * battery.el (display-battery-mode):
4922 * composite.el (global-auto-composition-mode)
4923 (auto-composition-mode):
4924 * delsel.el (delete-selection-mode):
4925 * desktop.el (desktop-save-mode):
4926 * dired-x.el (dired-omit-mode):
4927 * dirtrack.el (dirtrack-mode):
4928 * doc-view.el (doc-view-minor-mode):
4929 * double.el (double-mode):
4930 * electric.el (electric-indent-mode, electric-pair-mode):
4931 * emacs-lock.el (emacs-lock-mode):
4932 * epa-hook.el (auto-encryption-mode):
4933 * follow.el (follow-mode):
4934 * font-core.el (font-lock-mode):
4935 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4936 * help.el (temp-buffer-resize-mode):
4937 * hilit-chg.el (highlight-changes-mode)
4938 (highlight-changes-visible-mode):
4939 * hi-lock.el (hi-lock-mode):
4940 * hl-line.el (hl-line-mode, global-hl-line-mode):
4941 * icomplete.el (icomplete-mode):
4942 * ido.el (ido-everywhere):
4943 * image-file.el (auto-image-file-mode):
4944 * image-mode.el (image-minor-mode):
4945 * iswitchb.el (iswitchb-mode):
4946 * jka-cmpr-hook.el (auto-compression-mode):
4947 * linum.el (linum-mode):
4948 * longlines.el (longlines-mode):
4949 * master.el (master-mode):
4950 * mb-depth.el (minibuffer-depth-indicate-mode):
4951 * menu-bar.el (menu-bar-mode):
4952 * minibuf-eldef.el (minibuffer-electric-default-mode):
4953 * mouse-sel.el (mouse-sel-mode):
4954 * msb.el (msb-mode):
4955 * mwheel.el (mouse-wheel-mode):
4956 * outline.el (outline-minor-mode):
4957 * paren.el (show-paren-mode):
4958 * recentf.el (recentf-mode):
4959 * reveal.el (reveal-mode, global-reveal-mode):
4960 * rfn-eshadow.el (file-name-shadow-mode):
4961 * ruler-mode.el (ruler-mode):
4962 * savehist.el (savehist-mode):
4963 * scroll-all.el (scroll-all-mode):
4964 * scroll-bar.el (scroll-bar-mode):
4965 * server.el (server-mode):
4966 * shell.el (shell-dirtrack-mode):
4967 * simple.el (auto-fill-mode, transient-mark-mode)
4968 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4969 (line-number-mode, column-number-mode, size-indication-mode)
4970 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4971 * strokes.el (strokes-mode):
4972 * time.el (display-time-mode):
4973 * t-mouse.el (gpm-mouse-mode):
4974 * tool-bar.el (tool-bar-mode):
4975 * tooltip.el (tooltip-mode):
4976 * type-break.el (type-break-mode-line-message-mode)
4977 (type-break-query-mode):
4978 * view.el (view-mode):
4979 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4980 (global-whitespace-mode, global-whitespace-newline-mode):
4981 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4983 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4984 Fix autogenerated docstring.
4986 2011-10-19 Juri Linkov <juri@jurta.org>
4988 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4989 by checking environment variables "DESKTOP_SESSION" and
4990 "XDG_CURRENT_DESKTOP". (Bug#9779)
4992 2011-10-19 Juri Linkov <juri@jurta.org>
4994 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4995 (browse-url-chromium-program, browse-url-chromium-arguments):
4997 (browse-url-default-browser): Check for `browse-url-chromium' and
4998 call `browse-url-chromium-program'.
4999 (browse-url-chromium): New command. (Bug#9779)
5001 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
5003 * facemenu.el (list-colors-duplicates): On Windows, detect more
5004 duplicates by assuming that only colors matching "^System" are
5005 special "system colors". (Bug#9722)
5007 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5009 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5010 to distinguish the author from the committer.
5012 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
5014 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5016 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5018 * international/mule.el (sgml-html-meta-auto-coding-function):
5019 Add support for detecting encoding in HTML5 specified only as
5020 <meta charset="UTF-8">. Implementation just makes http-equiv and
5021 content-type parts from HTML4 encoding string optional. (Bug#9716)
5023 2011-10-18 Glenn Morris <rgm@gnu.org>
5025 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5027 2011-10-18 Chong Yidong <cyd@gnu.org>
5029 * faces.el (cursor): Doc fix.
5031 2011-10-17 Chong Yidong <cyd@gnu.org>
5033 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5035 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
5037 * dirtrack.el (dirtrack): Support shell buffers with path
5038 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5040 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5042 * json.el: Bump version to 1.3 and note change in History.
5043 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5045 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5047 * comint.el (comint-insert-input, comint-send-input)
5048 (comint-get-old-input-default, comint-backward-matching-input)
5049 (comint-next-prompt): Use nil instead of `input' for field property of
5050 past user input (bug#114).
5052 * minibuffer.el (completion--replace): Inherit surrounding properties
5054 (minibuffer-complete-and-exit): Use it.
5056 * comint.el (comint--table-subvert): Quote the all-completions output
5059 2011-10-17 Martin Rudalics <rudalics@gmx.at>
5061 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
5063 * menu-bar.el (menu-bar-file-menu): Add entry for making new
5064 window on right of selected. (Bug#9350) Reword other window
5065 entries and separate them from frame entries.
5067 2011-10-15 Glenn Morris <rgm@gnu.org>
5069 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5072 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
5074 * net/network-stream.el (network-stream-open-starttls):
5075 Improve detection of failure due to lack of TLS support.
5077 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5078 putting the input text in front and in bold.
5080 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5082 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5084 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5087 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5088 unread-command-events rather than pushing yet-another event.
5090 2011-10-14 Eli Zaretskii <eliz@gnu.org>
5092 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5093 the explanation of the possible choices. Make the options passed
5094 to completing-read shorter.
5096 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5098 * textmodes/flyspell.el (flyspell-large-region): Make sure
5099 extended character mode is used if defined (Bug#1339).
5101 2011-10-13 Eli Zaretskii <eliz@gnu.org>
5103 * simple.el (what-cursor-position): Fix the display of the
5104 character info for LRE, LRO, RLE, and RLO characters by appending
5107 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5109 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5110 even in case of error; add debug spec; simplify data flow.
5111 (with-timeout-handler): Remove.
5113 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
5115 Fix Bug#6019, Bug#9315.
5117 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5118 complete `buffer-file-name', the local file name part could look
5119 remotely (for example on VMS).
5121 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5122 `tramp-run-real-handler'.
5123 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5124 already quoted by '"'.
5126 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5127 Let `file-name-handler-alist' be nil, the local file name part
5128 could look remotely (for example on VMS).
5130 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5132 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5134 (flyspell-post-command-hook): ...to here.
5136 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5138 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5140 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5141 using completion. Protect against "slow" callers.
5142 Remove the "message hack".
5144 2011-10-11 Juri Linkov <juri@jurta.org>
5146 * isearch.el (isearch-lazy-highlight-word): New variable.
5147 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5150 2011-10-11 Glenn Morris <rgm@gnu.org>
5152 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5153 like f90-previous-statement does.
5155 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5157 * eshell/eshell.el (eshell-command): History should be saved
5158 only in interactive use, to avoid error.
5160 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5162 * minibuffer.el (completion-file-name-table): Fix last change,
5163 i.e. ignore normal errors but not the other ones.
5165 2011-10-10 Martin Rudalics <rudalics@gmx.at>
5167 * window.el (special-display-buffer-names)
5168 (special-display-regexps): Remove some remnants of earlier
5169 changes from doc-strings.
5170 (quit-windows-on): New function.
5172 * vc/vc.el (vc-revert, vc-rollback):
5173 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5174 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
5175 (Bug#6183) (Bug#7074) (Bug#7447)
5177 2011-10-09 Martin Rudalics <rudalics@gmx.at>
5179 * window.el (frame-auto-hide-function): Add version tag.
5182 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
5184 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5187 2011-10-09 Leo Liu <sdl.web@gmail.com>
5189 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5192 2011-10-08 Glenn Morris <rgm@gnu.org>
5194 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5195 before the first code statement zero indent. (Bug#9690)
5197 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
5199 * simple.el (count-words-region): Always count in the region.
5200 Report the number of lines and characters too.
5201 (count-words): New command, which counts in the buffer if the
5202 region is inactive, as count-words-region used to.
5203 (count-words--message): New function. Handle plurals.
5204 (count-lines-region): Make it an alias for count-words-region.
5206 * bindings.el (esc-map): Replace count-lines-region with
5209 2011-10-08 Martin Rudalics <rudalics@gmx.at>
5211 * window.el (window--delete): Delete dedicated frame
5212 unconditionally when argument KILL is non-nil. (Bug#9699)
5213 (switch-to-buffer): Fix doc-string typo.
5215 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5217 * eshell/eshell.el (eshell-command): Avoid using hooks.
5219 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
5221 * bindings.el ([M-left],[M-right]): Bind to left-word and
5222 right-word respectively.
5224 2011-10-07 Glenn Morris <rgm@gnu.org>
5226 * cus-start.el (debug-on-quit): Fix custom type.
5228 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5230 * subr.el (define-key-after): Clarify that the function is not
5231 useful for non-menu keymaps.
5233 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5235 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5237 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
5238 in current minibuffer (Fix bug with recursive minibuffers).
5240 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
5242 * progmodes/gdb-mi.el (gdb): Doc fix.
5244 2011-10-05 Martin Rudalics <rudalics@gmx.at>
5246 * window.el (frame-auto-hide-function): New option replacing
5247 frame-auto-delete. Suggested by Stefan Monnier.
5248 (window--delete): Call frame-auto-hide-function instead of
5249 investigating frame-auto-delete.
5250 (window-point-1, set-window-point-1): New functions.
5251 (window-in-direction, record-window-buffer, window-state-get-1)
5252 (display-buffer-record-window): Use window-point-1 instead of
5254 (set-window-buffer-start-and-point): Use set-window-point-1.
5256 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5258 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5260 2011-10-05 Glenn Morris <rgm@gnu.org>
5262 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5263 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5265 2011-10-05 Leo Liu <sdl.web@gmail.com>
5267 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5268 works with buffer object.
5270 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5272 * mpc.el (mpc-tool-bar-map): Add labels.
5274 2011-10-04 Glenn Morris <rgm@gnu.org>
5276 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5278 2011-10-04 Martin Rudalics <rudalics@gmx.at>
5280 * window.el (window--delete): New function.
5281 (frame-auto-delete): Resuscitate option.
5282 (bury-buffer, replace-buffer-in-windows)
5283 (quit-window): Rewrite using window--delete.
5284 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5285 Pass display-buffer-mark-dedicated to window--display-buffer-2
5288 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5290 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5291 returns a list (bug#9554). Add remote file name completion.
5292 * comint.el (comint--table-subvert): Curry and get quote&unquote
5293 functions as arguments.
5294 (comint--complete-file-name-data): Adjust call accordingly.
5295 * pcomplete.el (pcomplete--table-subvert): Remove.
5296 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5298 * minibuffer.el (completion-table-case-fold): Use currying.
5299 (completion--styles-type, completion--cycling-threshold-type):
5301 (completion-styles, completion-category-overrides)
5302 (completion-cycle-threshold): Use them.
5303 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5304 completion-table-case-fold.
5306 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
5308 * minibuffer.el (completion-category-overrides): Fix type of styles
5309 and add more user friendly tags (bug#9660).
5311 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5313 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5314 (mule-input-method-string): New widget.
5315 (default-input-method, language-info-custom-alist): Use it.
5317 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5319 * pcomplete.el: Require comint.
5320 (pcomplete--common-suffix): Remove.
5321 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5322 (pcomplete--table-subvert): Sync with comint--table-subvert.
5323 (pcomplete--entries): Use comint-completion-file-name-table.
5324 * comint.el (comint-unquote-filename): Simplify.
5325 (comint-completion-file-name-table): New function (bug#9616).
5326 (comint--complete-file-name-data): Use it.
5328 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5329 (pcmpl-gnu-tar-buffer): Remove.
5330 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
5331 around. Make sure pcomplete-suffix-list is only changed temporarily.
5332 Don't look inside the tar's file if it's too large.
5334 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
5336 * cus-edit.el (custom-mode-map):
5337 * epa.el (epa-key-list-mode-map):
5338 * man.el (Man-mode-map):
5339 * startup.el (splash-screen-keymap):
5340 * simple.el (special-mode-map): Use scroll-up-command and
5341 scroll-down-command.
5343 * progmodes/idlw-help.el (idlwave-help-mode-map):
5344 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5345 * net/newst-plainview.el (newsticker-mode-map):
5346 * emulation/ws-mode.el (wordstar-mode-map):
5347 * emulation/vi.el (vi-com-map):
5348 * calc/calc-graph.el (calc-graph-show-dumb):
5349 * term/sun.el (terminal-init-sun):
5350 * term/ns-win.el (global-map):
5351 * progmodes/grep.el (grep-mode-map):
5352 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5353 * mail/rmail.el (rmail-mode-map):
5354 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5356 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5357 custom-safe-themes as special.
5359 2011-10-01 Julien Danjou <julien@danjou.info>
5361 * notifications.el (notifications-notify): Fix docstring.
5363 2011-10-01 Per Starbäck <per@starback.se>
5365 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5367 2011-09-30 Martin Rudalics <rudalics@gmx.at>
5369 * startup.el (command-line-1): Fix last fix by inserting
5370 initial-scratch-message into *scratch* before displaying it.
5371 (Bug#9605) and (Bug#9636)
5373 2011-09-29 Eli Zaretskii <eliz@gnu.org>
5375 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5376 window is hscrolled, move by logical lines. (Bug#9607)
5377 (line-move-visual): Update the doc string to the above effect.
5379 2011-09-29 Martin Rudalics <rudalics@gmx.at>
5381 * window.el (display-buffer-record-window): When WINDOW is the
5382 selected window use `point' instead of `window-point'. (Bug#9626)
5384 * startup.el (command-line-1): Use insert-before-markers when
5385 inserting initial-scratch-message. (Bug#9605)
5387 * help.el (help-window): Remove variable.
5389 2011-09-29 Glenn Morris <rgm@gnu.org>
5391 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5393 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
5395 * descr-text.el (describe-char-categories): Accept category
5396 descriptions more than one line long.
5398 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5400 * simple.el (delete-trailing-whitespace): Fix last change.
5402 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5403 Don't confuse "y => 3" as the beginning of a `y' operation.
5405 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5406 object has more than 4 slots (bug#9613).
5408 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
5410 * subr.el (with-output-to-temp-buffer):
5411 * net/quickurl.el (quickurl, quickurl-browse-url):
5412 Fix typos in docstrings.
5414 2011-09-27 Eli Zaretskii <eliz@gnu.org>
5416 * minibuffer.el (completion-styles)
5417 (completion-category-overrides): Cross reference each other in doc
5420 2011-09-27 Glenn Morris <rgm@gnu.org>
5422 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5423 to split-string. (Bug#9606)
5425 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5427 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5430 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
5432 * emacs-lisp/package.el (list-packages): Fix echo area message.
5434 2011-09-27 Leo Liu <sdl.web@gmail.com>
5436 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5438 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
5440 * net/dbus.el (dbus-unregister-object): Don't release services for
5441 registered signals. (Bug#9581)
5443 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5445 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5446 function that picks between cfengine 2 and 3 support
5447 automatically. Update docs accordingly.
5449 2011-09-22 Kenichi Handa <handa@m17n.org>
5451 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5453 (indian-itrans-v5-table-for-tamil): New variable.
5454 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5456 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5458 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5459 that's true if the current command involved collapsing of text.
5460 It's reset to false at the beginning of the next command.
5461 (allout-post-command-business): Move the cursor to the beginning
5462 of entry if the cursor is hidden and collapsing activity just
5465 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
5467 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5468 tracking (Bug#9541).
5470 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
5472 * net/newst-reader.el (newsticker-html-renderer)
5473 (newsticker-show-news): Automatically load html rendering package
5474 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5475 because w3m-fill-column is let-bound" and the error "Symbol's value
5476 as variable is void: w3m-fill-column".
5478 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
5480 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5481 Release services only if they are defined. (Bug#9581)
5483 2011-09-23 Richard Stallman <rms@gnu.org>
5485 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5486 distinguish start of paragraph from start of its text.
5488 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5490 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5491 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5492 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5494 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5496 * international/mule-diag.el (mule-diag): Insert a newline after
5497 each fontset description.
5499 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5501 * simple.el (delete-trailing-whitespace):
5502 Document last change; simplify.
5504 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5506 * simple.el (delete-trailing-whitespace): Also delete
5507 extra newlines at the end of the buffer.
5509 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5510 (picture-newline): Use forward-line so as to ignore fields.
5512 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5514 * subr.el (with-wrapper-hook): Fix edebug spec.
5516 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5518 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5521 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
5523 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5524 Fix nasty bug using wrong cached values.
5526 2011-09-23 Alan Mackenzie <acm@muc.de>
5528 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5530 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
5532 * window.el (pop-to-buffer): Ensure right window is selected if we
5533 chose another frame.
5535 2011-09-22 Eli Zaretskii <eliz@gnu.org>
5537 * simple.el (what-cursor-position): Use get-char-property-change
5538 and next-single-char-property-change, to be able to show display
5539 properties that come from overlays as well as text properties.
5541 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
5543 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5545 * cmuscheme.el (run-scheme, switch-to-scheme):
5546 * cus-edit.el (customize-group, custom-buffer-create)
5550 * mail/sendmail.el (mail):
5551 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5553 2011-09-22 Richard Stallman <rms@gnu.org>
5555 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5556 move back only to line beg, don't move back over blank lines.
5558 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
5560 * files.el (copy-directory): Set directory attributes only in case
5561 they could be retrieved from the source directory. (Bug#9565)
5563 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5565 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5566 (hs-find-block-beginning, hs-hide-level-recursive):
5567 Ignore strings as well as comments. (Bug#9502)
5569 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5571 * progmodes/sql.el (sql-comint-postgres):
5572 Convert port number to a string. (Bug#9566)
5574 2011-09-22 Martin Rudalics <rudalics@gmx.at>
5576 * window.el (quit-window): Undedicate window when switching to
5577 previous buffer. Reported by Thierry Volpiatto
5578 <thierry.volpiatto@gmail.com>.
5579 (special-display-popup-frame): When popping up a new frame reset
5580 its previous buffers to nil. Simplify code.
5582 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
5584 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5585 and process filter, as done also in `shell-command'.
5587 2011-09-21 Martin Rudalics <rudalics@gmx.at>
5589 * window.el (set-window-buffer-start-and-point):
5590 Call set-window-start with NOFORCE argument t.
5591 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5592 (quit-window): Reword doc-string. Handle new format of
5593 quit-restore parameter. Don't delete window if it has a
5594 previous buffer we can show instead of the present one.
5595 (display-buffer-record-window): Rewrite using a new format for
5596 the quit-restore window parameter
5597 (special-display-popup-frame, display-buffer-same-window)
5598 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5599 (display-buffer-pop-up-window, display-buffer-use-some-window):
5600 Adapt symbol passed to display-buffer-record-window.
5601 * help.el (help-window-setup): Handle new format of quit-restore
5604 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5606 * faces.el (face-list): Fix docstring (bug#9564).
5608 * window.el (display-buffer--action-function-custom-type):
5609 Don't include internal functions in the Custom interface.
5611 2011-09-20 Juri Linkov <juri@jurta.org>
5613 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5614 (Info-forward-node, Info-backward-node, Info-next-preorder)
5615 (Info-last-preorder): Use it. (Bug#9528)
5617 2011-09-20 Juri Linkov <juri@jurta.org>
5619 * info.el (Info-last-preorder): Visit last menu item only when
5620 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5622 2011-09-20 Julien Danjou <julien@danjou.info>
5624 * password-cache.el (password-cache-remove): Remove entries even if the
5625 value is nil, so that password with a nil value (negative caching) is
5626 possible to invalidate.
5628 2011-09-20 Lawrence Mitchell <wence@gmx.li>
5630 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5631 all whitespace around breakpoint. (Bug#9553)
5632 (f90-find-breakpoint): Only break at whitespace inside a comment.
5634 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5636 * minibuffer.el (completion-file-name-table): Keep track of errors.
5637 (completion-table-with-predicate): Handle the case where pred1 is nil.
5638 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5640 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5642 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5643 (debugger-return-value): Signal an error if the debugging context does
5644 not await any return value.
5646 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5647 * image-mode.el (image-toggle-display-text)
5648 (image-toggle-display-image): Stay away from evil `intangible'.
5650 2011-09-19 Leo Liu <sdl.web@gmail.com>
5652 * replace.el (occur-revert-arguments): Make it permanent-local.
5653 (occur-mode): Don't call font-lock-defontify.
5655 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
5657 * net/ldap.el (ldap-search-internal): Don't push empty search
5660 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5662 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5664 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
5666 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5667 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5669 2011-09-18 Juri Linkov <juri@jurta.org>
5671 * buff-menu.el (Buffer-menu-mode-map):
5672 * dired.el (dired-mode-map):
5673 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5674 (lisp-interaction-mode-map):
5675 * emacs-lisp/package.el (package-menu-mode-map):
5676 * epa.el (epa-key-list-mode-map):
5677 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5678 (menu-bar-options-menu):
5679 * outline.el (outline-mode-menu-bar-map):
5680 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5681 * vc/vc-dir.el (vc-dir-menu-map):
5682 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5683 Capitalize non-function content words in menu item strings.
5685 * dired.el (dired-mode-map): Add menu item for
5686 `image-dired-dired-toggle-marked-thumbs'.
5688 2011-09-18 Juri Linkov <juri@jurta.org>
5690 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5691 to `isearch-case-fold-search' and restore its original value
5692 after the `isearch-mode' call.
5694 2011-09-18 Juri Linkov <juri@jurta.org>
5696 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5697 because `zgrep' returns 1 for successful matches (bug#9226).
5699 2011-09-18 Juri Linkov <juri@jurta.org>
5701 * info.el (Info-extract-menu-node-name): Check the second match
5702 for empty string (second test-case of bug#9528).
5703 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5704 intermediate nodes to the history (first test-case of bug#9528).
5706 2011-09-18 Juri Linkov <juri@jurta.org>
5708 * info.el (Info-mode-syntax-table): New variable.
5709 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
5711 2011-09-18 Juri Linkov <juri@jurta.org>
5713 * info.el (Info-file-supports-index-cookies):
5714 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5715 outputs one more line for long file names (bug#4142).
5717 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
5719 * newcomment.el (comment-normalize-vars): If prompting for
5720 comment-start, set comment-start-skip too (Bug#8424).
5722 2011-09-18 Johan Bockgård <bojohan@gnu.org>
5724 * icomplete.el: Fix previous fix of Bug#5849.
5725 (icomplete-mode): Don't set completion-show-inline-help.
5726 (icomplete-minibuffer-setup): Set completion-show-inline-help
5727 locally during icompletion.
5729 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
5731 * woman.el (woman2-process-escapes): Don't delete unrecognized
5734 * files.el (inhibit-first-line-modes-regexps): Add image files.
5735 (hack-local-variables-prop-line): Return nil for malformed
5736 prop-lines (Bug#9044).
5738 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
5740 * net/tramp.el (top): Don't require 'shell.
5741 (tramp-methods): Fix docstring.
5742 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
5743 Return complete remote file name. Handle "smb" case.
5744 Use `tramp-tmpdir', if defined for the respective method.
5745 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5747 * net/tramp-compat.el (top): Require 'shell.
5749 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5750 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5751 `tramp-current-host'.
5752 (tramp-get-remote-tmpdir): Remove.
5754 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5755 `tramp-tmpdir' entries.
5756 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5757 (tramp-smb-handle-file-attributes): Ignore errors.
5758 (tramp-smb-wait-for-output): Check also for process end.
5760 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5762 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5763 when sending QUIT (bug#9312).
5765 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
5767 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5768 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5769 occur-mode-display-occurrence.
5770 (occur-edit-mode): Add usage message.
5771 (occur-cease-edit): New command.
5772 (occur-after-change-function): Use text properties to find the
5773 position of the prefix text.
5774 (occur-engine): Set stickiness of prefix text properties.
5776 2011-09-17 Glenn Morris <rgm@gnu.org>
5778 * progmodes/etags.el (complete-tag):
5779 Fix call to completion-in-region. (Bug#9526)
5781 2011-09-17 Juri Linkov <juri@jurta.org>
5783 * textmodes/ispell.el (ispell-word): Add to the error message
5784 the word, ispell program name and current dictionary (bug#9121).
5785 (ispell-tex-arg-end): Capitalize "error" in the error message.
5787 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5789 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5792 2011-09-17 Juri Linkov <juri@jurta.org>
5794 * window.el (window-safe-min-height, window-safe-min-width):
5795 Fix typos (followup to bug#9522).
5797 2011-09-17 Sven Joachim <svenjoac@gmx.de>
5799 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5801 2011-09-16 Eli Zaretskii <eliz@gnu.org>
5803 * simple.el (line-move): If goal-column is set, move by logical
5804 lines, not by display lines. (Bug#971)
5805 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5806 to reflect the above change.
5808 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5810 * image.el (imagemagick-register-types): Use regexp-opt.
5812 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
5814 * window.el (display-buffer-base-action): Rename from
5815 display-buffer-default-action. Make default value empty.
5816 (display-buffer-overriding-action): Convert to defvar.
5817 (display-buffer-fallback-action): New var.
5819 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
5821 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5823 (package--add-to-archive-contents): If there is a duplicate entry
5824 with an older version, remove it.
5825 (package-menu-mark-delete, package-menu-mark-install)
5826 (package-menu-mark-unmark): Make unused args optional.
5827 (package-menu-mark-obsolete-for-deletion):
5828 Use package-menu-get-status instead of a regexp search.
5829 (package-menu-get-status): Use tabulated-list-entry.
5830 (package-menu-mark-upgrades): New command.
5831 (package-menu-mode-map): Bind it to U. Add it to menu bar.
5832 (package-menu-execute): Do installation before deletion.
5833 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5834 instead of checking major-mode.
5835 (package-menu--find-upgrades): New function.
5837 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5839 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5840 passwords in the log buffer.
5841 (smtpmail-process-filter): Update the process marker so that the
5842 "broken by peer" status message is inserted in the right place.
5844 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5846 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5847 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5848 bibtex-completion-at-point-function.
5849 (bibtex-completion-at-point-function): Use them.
5851 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5853 * mpc.el (mpc-constraints-tag-lookup): New function.
5854 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5855 also to browser "album|playlist".
5857 2011-09-14 Juri Linkov <juri@jurta.org>
5859 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5860 (isearch-edit-string): Use length of `isearch-string' when
5861 `isearch-fail-pos' returns nil.
5862 (isearch-message): Remove duplicate code and call
5863 `isearch-fail-pos' with arg `t'.
5865 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
5867 * replace.el (occur-mode-goto-occurrence): Don't force using other
5870 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5872 2011-09-14 Martin Rudalics <rudalics@gmx.at>
5874 * window.el (display-buffer-window): Remove.
5875 (display-buffer-record-window): Use help-setup window parameter
5876 instead of variable display-buffer-window.
5877 (display-buffer-function, special-display-buffer-names)
5878 (special-display-function): Mention help-setup parameter instead
5879 of display-buffer-window in doc-string.
5880 * help.el (help-window-setup): New argument help-window.
5881 Use help-window-setup parameter instead of display-buffer-window.
5882 Reword some messages.
5883 (with-help-window): Pass window used for displaying the buffer
5884 to help-window-setup. Don't set display-buffer-window.
5886 2011-09-13 Glenn Morris <rgm@gnu.org>
5888 * emacs-lisp/debug.el (debugger-make-xrefs):
5889 Preserve point. (Bug#9462)
5891 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
5893 * window.el (window-deletable-p): Use next-frame.
5895 2011-09-13 Martin Rudalics <rudalics@gmx.at>
5897 * window.el (window-auto-delete): Remove.
5898 (window-deletable-p): Remove argument FORCE. Don't deal with
5899 dedication and previous buffers.
5900 (switch-to-prev-buffer): Don't delete window.
5901 (delete-windows-on): Delete a window's frame if and only if the
5902 window is dedicated.
5903 (replace-buffer-in-windows): Delete buffer's window or frame if
5904 and only if window is dedicated.
5905 (quit-window): Handle quit-restore as before last change.
5906 (bury-buffer): Delete window only if window-deletable-p returns t.
5908 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
5910 * window.el (window-deletable-p): Never delete the last frame on a
5913 2011-09-13 Glenn Morris <rgm@gnu.org>
5915 * help.el (describe-key-briefly): Copy previous standard-output change.
5917 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
5919 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5921 2011-09-13 Glenn Morris <rgm@gnu.org>
5923 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5924 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5926 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
5928 * dired-aux.el (dired-mark-read-string): Don't return default
5929 value on empty input (Bug#9361).
5930 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5931 Omit initial minibuffer contents.
5932 (dired-do-chmod): Signal an error on empty input.
5933 (dired-mark-read-string): Don't return default on empty input.
5935 * files.el (file-modes-symbolic-to-number): Doc fix.
5937 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5939 * international/mule-cmds.el (ucs-completions): Remove.
5940 (read-char-by-name): Use complete-with-action instead; add metadata.
5942 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
5944 * window.el (display-buffer--action-function-custom-type)
5945 (display-buffer--action-custom-type): New vars.
5946 (display-buffer-alist, display-buffer-default-action)
5947 (display-buffer-overriding-action): Add defcustom types.
5949 * frame.el (delete-other-frames): Doc fix (Bug#276).
5951 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5953 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5955 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
5957 Change modes that used same-window-* vars to use switch-to-buffer.
5959 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5960 Use switch-to-buffer.
5962 * cus-edit.el (customize-group, custom-buffer-create)
5963 (customize-browse, custom-buffer-create-other-window):
5964 Use switch-to-buffer or switch-to-buffer-other-window.
5966 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5967 (Info-prev, Info-up, Info-speedbar-goto-node)
5968 (info-display-manual): Use switch-to-buffer.
5969 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5971 * mail/sendmail.el (mail): Use switch-to-buffer.
5972 (mail-recover): Use switch-to-buffer-other-window.
5974 * cmuscheme.el (run-scheme, switch-to-scheme):
5977 * net/rlogin.el (rlogin):
5978 * net/telnet.el (telnet, rsh):
5979 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5981 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5983 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5985 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5987 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5988 so don't mention it (bug#9301).
5989 (dired-sort-toggle-or-edit): Clarify string further.
5991 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5992 match `x', `w32' and `ns', like the manual says (bug#9029).
5994 * subr.el (eval-after-load): Doc string clarification (bug#9125).
5995 (process-kill-buffer-query-function): Mention the buffer name in
5998 * image-mode.el (image-next-line): The line parameter is mandatory
6001 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6002 which can be useful (bug#9301).
6004 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6006 * subr.el (match-string): Mention that the current buffer should
6007 be the same as the search was done in (bug#9282).
6009 * facemenu.el: Disable the remove-* commands if the mark isn't
6012 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6014 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6016 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6018 * replace.el (occur-mode-goto-occurrence)
6019 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6022 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6025 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6026 special-display and same-window variables.
6027 (mail-other-window): Use switch-to-buffer-other-window.
6028 (mail-other-frame): USe switch-to-buffer-other-frame.
6030 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6031 Use display-buffer-other-frame.
6032 (gdb-display-gdb-buffer): Use pop-to-buffer.
6034 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6036 * progmodes/python.el: Don't set same-window-buffer-names.
6038 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6040 * window.el (display-buffer-alist): Add *Python*.
6042 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6044 * window.el (display-buffer-alist): Add entry for buffers
6045 previously handled same-window-*.
6046 (display-buffer-alist, display-buffer-default-action)
6047 (display-buffer-overriding-action): Mark as risky.
6048 (display-buffer-alist): Document action function changes.
6049 (display-buffer--same-window-action)
6050 (display-buffer--other-frame-action): New variables.
6051 (switch-to-buffer, display-buffer-other-frame): Use them.
6052 (display-buffer): Rename reuse-frame entry to reusable-frames.
6053 (display-buffer-reuse-selected-window): Function deleted.
6054 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6055 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6056 (display-buffer-special): New function.
6057 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6058 display-buffer-reuse-or-pop-window. Split off special-display
6059 part into display-buffer-special.
6060 (display-buffer-use-some-window): Don't perform any special
6061 pop-up-frames handling.
6062 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
6063 (display-buffer--maybe-same-window): Rename from
6064 display-buffer-maybe-same-window.
6066 * info.el: Don't set same-window-regexps.
6067 (info-setup): New function.
6068 (info-other-window, info): Call it.
6070 * cus-edit.el: Don't set same-window-regexps.
6071 (customize-group): New argument.
6072 (customize-group-other-window): Use it.
6073 (customize-face, customize-face-other-window): Likewise.
6074 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6078 * progmodes/gud.el: Don't set same-window-regexps.
6084 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6086 2011-09-10 Juri Linkov <juri@jurta.org>
6088 * isearch.el (isearch-edit-string): Remove obsolete mention of
6089 `C-w' (`isearch-yank-word-or-char') from docstring.
6090 (isearch-query-replace): Fix typo in docstring (bug#9466).
6092 2011-09-10 Juri Linkov <juri@jurta.org>
6094 * paren.el (show-paren-function): Don't show escaped parens.
6095 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6097 2011-09-10 Eli Zaretskii <eliz@gnu.org>
6099 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6100 (mm-default-file-encoding): Remove autoload forms, they are
6101 replaced with autoload cookies in mml.el and mm-encode.el.
6102 (mail-add-attachment): New command.
6103 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6104 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6106 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6108 2011-09-10 Reuben Thomas <rrt@sc3d.org>
6110 * simple.el (count-words-region): Use buffer if there's no region
6113 2011-09-09 Juri Linkov <juri@jurta.org>
6115 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6116 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6117 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6119 2011-09-09 Alan Mackenzie <acm@muc.de>
6121 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6122 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6124 2011-09-09 Eli Zaretskii <eliz@gnu.org>
6126 Fix for Savannah bug#9392.
6127 * simple.el (mail-encode-mml): New defvar.
6129 * mail/rmail.el (mail-encode-mml): Add a defvar.
6130 (rmail-enable-mime-composing): Default to t.
6131 (rmail-forward): Use MIME method of forwarding only if both
6132 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6133 Set mail-encode-mml non-nil if the MIME method was used.
6135 * mail/sendmail.el (mml-to-mime): Add autoload form.
6136 (mail-encode-mml): Add a defvar.
6137 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6139 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6140 message through mml-to-mime, and reset mail-encode-mml to nil.
6142 2011-09-09 Glenn Morris <rgm@gnu.org>
6144 * woman.el (woman-if-body): When processing an .el block,
6145 do not delete the next .el block as well. (Bug#9447)
6146 (woman-special-characters): Add oq, cq, and hy characters.
6148 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6150 * window.el (window-deletable-p): Make sure window is live before
6151 invoking window-prev-buffers.
6153 2011-09-08 Leo Liu <sdl.web@gmail.com>
6155 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6157 2011-09-08 Juri Linkov <juri@jurta.org>
6159 * progmodes/compile.el (compilation-environment): Make it
6160 a defcustom (bug#8340).
6162 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6164 * window.el (frame-auto-delete): Rename to window-auto-delete.
6165 Make it control auto-deletion of windows and/or frames.
6166 (window-deletable-p): New argument FORCE. Rewrite conditions
6167 for deleting window/frame. (Bug#9419)
6168 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6169 Rewrite handling of case when window/frame can be deleted.
6170 (delete-windows-on): Call window-deletable-p with new FORCE
6171 argument t. (Bug#9456)
6173 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
6175 * help-mode.el (help-mode): Restore autoload.
6177 2011-09-07 Juri Linkov <juri@jurta.org>
6179 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6180 `compilation-environment'. Set buffer-local
6181 `compilation-environment' to `thisenv' later after (funcall mode).
6184 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6185 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6186 instead of replacing its value. (Bug#8340)
6188 2011-09-07 Juri Linkov <juri@jurta.org>
6190 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6191 based on text properties put by `grep-filter' instead of matching
6193 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6194 to the value of `grep-error-screen-columns' (bug#9438).
6196 2011-09-07 Juri Linkov <juri@jurta.org>
6198 * simple.el (next-error-highlight, next-error-highlight-no-select):
6201 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6203 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6204 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6206 2011-09-07 Leo Liu <sdl.web@gmail.com>
6208 * net/rcirc.el (rcirc-mode): Conditionally initialize
6211 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6213 * emacs-lisp/find-func.el (find-function-C-source): Only set
6214 find-function-C-source-directory after checking that we found a source
6215 file there (bug#9440).
6217 2011-09-06 Alan Mackenzie <acm@muc.de>
6219 * isearch.el (isearch-other-meta-char): Wherever a key list is
6220 unread, "unread" the prefix arg, too. This fixes bug #8901.
6222 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6224 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6226 2011-09-05 Juri Linkov <juri@jurta.org>
6228 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6230 2011-09-05 Juri Linkov <juri@jurta.org>
6232 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6233 keeping point where processing of grep matches begins, and
6234 continue to delete remaining escape sequences from the same point.
6235 (grep-filter): Make leading zero optional in "0?1;31m" because
6236 git-grep emits "\033[1;31m" escape sequences unlike expected
6237 "\033[01;31m" as GNU Grep does (bug#9408).
6238 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6240 2011-09-05 Juri Linkov <juri@jurta.org>
6242 * subr.el (y-or-n-p): Capitalize "yes".
6244 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
6246 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6247 `tramp-cache-unload-hook' where appropriate.
6248 (tramp-methods): Rename `tramp-remote-sh' to
6249 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6250 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6252 * net/tramp-sh.el (top): Don't require 'shell.
6253 (tramp-methods): Add `tramp-remote-shell' and
6254 `tramp-remote-shell-args' entries.
6255 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6256 (tramp-sh-handle-shell-command): Remove.
6257 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6258 Use `tramp-remote-shell'.
6260 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
6262 * mail/sendmail.el (sendmail-query-once-function): Delete.
6263 (sendmail-query-once): Save directly to send-mail-function.
6264 Update message-send-mail-function too.
6266 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6268 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6270 * progmodes/python.el (python-mode-map): Use correct function to
6271 start python interpreter from menu-bar (as reported by Geert
6273 (inferior-python-mode-map): Fix typo.
6274 (python-shell-map): Remove.
6276 2011-09-03 Deniz Dogan <deniz@dogan.se>
6278 * net/rcirc.el (rcirc-print): Simplify code for
6279 rcirc-scroll-show-maximum-output. There is no need to walk
6280 through all windows to find the right one.
6282 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6284 * help.el (help-return-method): Doc fix.
6286 2011-09-03 Martin Rudalics <rudalics@gmx.at>
6288 * window.el (window-deletable-p): Don't return a non-nil value
6289 when there's a buffer that was shown in the window before.
6291 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6292 Set window's previous buffers to nil.
6294 2011-09-03 Eli Zaretskii <eliz@gnu.org>
6296 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6297 newline before and after the tag line, so it doesn't interfere
6298 with determining the paragraph direction of bidirectional text.
6300 2011-09-03 Leo Liu <sdl.web@gmail.com>
6302 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6304 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6306 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
6307 (pop-to-buffer): Change interactive spec. Pass second argument
6308 directly to display-buffer.
6309 (display-buffer): Fix interactive spec. Use functionp to
6310 distinguish between a function and a list of functions.
6312 * abbrev.el (edit-abbrevs):
6313 * arc-mode.el (archive-extract):
6314 * autoinsert.el (auto-insert):
6315 * bookmark.el (bookmark-bmenu-list):
6316 * files.el (find-file):
6317 * view.el (view-buffer):
6318 * progmodes/compile.el (compilation-goto-locus):
6319 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6321 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6323 * window.el (display-buffer-alist): Doc fix.
6324 (display-buffer): Add docstring. Don't treat
6325 display-buffer-default specially.
6326 (display-buffer-reuse-selected-window)
6327 (display-buffer-same-window, display-buffer-maybe-same-window)
6328 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6329 (display-buffer-pop-up-window)
6330 (display-buffer-reuse-or-pop-window)
6331 (display-buffer-use-some-window): New functions.
6332 (display-buffer-default-action): Use them.
6333 (display-buffer-default): Delete.
6334 (pop-to-buffer-1): Fix choice of actions.
6336 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6338 * minibuffer.el (completion--insert-strings): Don't get confused by
6339 completion entries that end with an LF char.
6341 2011-09-01 Eli Zaretskii <eliz@gnu.org>
6343 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6345 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
6347 * window.el (display-buffer): Restore interactive spec.
6348 (display-buffer-same-window, display-buffer-other-window):
6350 (pop-to-buffer-1): New function. Use the above.
6351 (pop-to-buffer, pop-to-buffer-same-window): Use it.
6352 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
6354 * view.el (view-buffer-other-window, view-buffer-other-frame):
6355 Just use pop-to-buffer.
6357 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6359 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6361 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6363 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6365 2011-08-31 Richard Stallman <rms@gnu.org>
6367 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6368 of the separation of rmail-view-buffer from rmail-buffer.
6369 If you say no to "replace original", the decrypt is in the
6370 view buffer. If you say yes, the decrypt goes into the
6373 2011-08-31 Martin Rudalics <rudalics@gmx.at>
6375 * window.el (display-buffer-window): Rewrite doc-string.
6376 (display-buffer-record-window): New function.
6377 (display-buffer-macro-specifiers)
6378 (display-buffer-even-window-sizes, display-buffer-set-height)
6379 (display-buffer-set-width, display-buffer-in-window)
6380 (display-buffer-reuse-window, display-buffer-split-specifiers)
6381 (display-buffer-side-specifiers, display-buffer-split-window-1)
6382 (display-buffer-split-window, display-buffer-split-atom-window)
6383 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6384 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6385 (display-buffer-other-window-means-other-frame)
6386 (display-buffer-normalize-special)
6387 (display-buffer-normalize-default)
6388 (display-buffer-normalize-argument)
6389 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6390 (display-buffer-normalize-specifiers, display-buffer-frame)
6391 (display-buffer-same-window, display-buffer-same-frame)
6392 (display-buffer-other-window)
6393 (display-buffer-same-frame-other-window)
6394 (display-buffer-other-frame, pop-to-buffer-same-window)
6395 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6396 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6397 (switch-to-buffer-same-frame)
6398 (switch-to-buffer-other-window-same-frame)
6399 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6400 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6401 (display-buffer-alist-set): Remove.
6402 (display-buffer-function, special-display-buffer-names)
6403 (special-display-regexps, special-display-function):
6404 In doc-string refer to display-buffer-window and quit-restore
6406 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6407 (special-display-frame-alist, special-display-popup-frame)
6408 (same-window-buffer-names, same-window-regexps, same-window-p)
6409 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6410 (split-window-preferred-function, split-height-threshold)
6411 (split-width-threshold, window-splittable-p)
6412 (split-window-sensibly, window--try-to-split-window)
6413 (window--frame-usable-p, even-window-heights)
6414 (window--even-window-heights, window--display-buffer-1)
6415 (window--display-buffer-2, display-buffer-other-frame):
6416 Restore old Emacs 23 code, order and doc-strings where applicable.
6417 (display-buffer-default, display-buffer-assq-regexp): New functions.
6418 (display-buffer-alist): Rewrite doc-string.
6419 (display-buffer-default-action)
6420 (display-buffer-overriding-action): New variables.
6421 (display-buffer, switch-to-buffer): Rewrite.
6422 (pop-to-buffer): Restore Emacs 23 behavior but use
6423 window-normalize-buffer-to-display.
6424 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6425 Restore Emacs 23 behavior but use
6426 window-normalize-buffer-to-switch-to.
6427 (pop-to-buffer-same-window): Rewrite.
6428 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6429 Rewrite using Emacs 23 options.
6431 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
6433 * net/tramp.el (tramp-root-regexp): Remove.
6434 (tramp-completion-file-name-regexp-unified)
6435 (tramp-completion-file-name-regexp-separate)
6436 (tramp-completion-file-name-regexp-url): Don't use leading volume
6437 letter on win32 systems. (Bug#5303, Bug#9311)
6438 (tramp-drop-volume-letter): Simplify definition.
6439 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
6441 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6443 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6446 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6448 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
6450 2011-08-29 Juri Linkov <juri@jurta.org>
6452 * isearch.el (isearch-done): Don't display message "Mark saved"
6453 when arg `edit' is non-nil to prevent its flicker in the echo area.
6455 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
6457 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6458 obsolete packages for deletion.
6460 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6462 * help-mode.el (help-mode-map): Add special-mode-map to parent.
6463 (help-mode): Derive help-mode from special-mode. Don't invoke
6464 view-mode from help-mode.
6465 (help-xref-override-view-map): Remove.
6466 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6467 view-mode is not used anymore.
6469 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
6471 * server.el (server-port): Doc fix.
6473 * cus-theme.el (custom-theme-choose-mode): Inherit from
6474 special-mode (Bug#9124).
6475 (custom-theme-choose-mode-map): Add special-mode to parent.
6477 2011-08-28 Alan Mackenzie <acm@muc.de>
6479 * progmodes/cc-fonts.el
6480 (c-make-font-lock-BO-decl-search-function): New function.
6481 (c-basic-matchers-after - "Fontify the clauses after various
6482 keywords"): Extract the three keyword lists for the 3 erroneous
6483 constructs from the list of four, and use the new function above
6484 in place of an old one.
6486 2011-08-28 Deniz Dogan <deniz@dogan.se>
6488 * net/rcirc.el (rcirc-insert-prev-input)
6489 (rcirc-insert-next-input): Remove unused argument.
6491 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6493 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6495 2011-08-27 Alan Mackenzie <acm@muc.de>
6497 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6498 handle function pointer parameters properly.
6500 2011-08-27 Martin Rudalics <rudalics@gmx.at>
6502 * window.el (display-buffer-reuse-window): Fix case where
6503 selected window was reused with non-nil OTHER-WINDOW argument.
6506 2011-08-27 Deniz Dogan <deniz@dogan.se>
6508 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6509 oftc's NickServ messages.
6511 2011-08-27 Glenn Morris <rgm@gnu.org>
6513 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6515 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
6517 * emacs-lisp/package.el (package-install): Call package-initialize
6518 if called interactively.
6520 2011-08-26 Leo Liu <sdl.web@gmail.com>
6522 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6524 2011-08-25 Juri Linkov <juri@jurta.org>
6526 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6527 `search-whitespace-regexp' (bug#9364).
6529 2011-08-25 Juri Linkov <juri@jurta.org>
6531 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6532 `regexp-search-ring' to their global values to protect from
6533 updating by `read-from-minibuffer' (bug#9185).
6535 2011-08-25 Juri Linkov <juri@jurta.org>
6537 * textmodes/ispell.el (ispell-command-loop): Add newline
6538 at the end of the "Use option `i'..." line.
6540 2011-08-25 Juri Linkov <juri@jurta.org>
6542 * battery.el (display-battery-mode): If `battery-status-function'
6543 or `battery-mode-line-format' is nil, display the message and set
6544 `display-battery-mode' to nil (bug#9363).
6546 2011-08-25 Eli Zaretskii <eliz@gnu.org>
6548 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6549 bidi-string-mark-left-to-right; they are unnecessary now.
6551 2011-08-25 Deniz Dogan <deniz@dogan.se>
6553 * net/quickurl.el: Documentation typo fixes.
6555 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
6557 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6559 2011-08-25 Glenn Morris <rgm@gnu.org>
6561 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6563 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6564 (smtpmail-via-smtp): Handle nil response from smtp.
6566 2011-08-24 Juri Linkov <juri@jurta.org>
6568 * proced.el (proced-marked): Inherit from `error' instead of
6569 `font-lock-warning-face'.
6571 * ibuffer.el (ibuffer-marked-face): Change default face from
6572 `font-lock-warning-face' to `warning'.
6573 (ibuffer-deletion-face): Change default face from
6574 `font-lock-type-face' to `error'.
6576 * battery.el (battery-update): Use the face `error' instead of
6577 `font-lock-warning-face' (bug#6117).
6579 2011-08-24 Juri Linkov <juri@jurta.org>
6581 * faces.el (success): Change face color from "Green3" to
6582 "ForestGreen" on light background (bug#9353).
6584 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
6586 * window.el (quit-window): Rename from quit-restore-window.
6587 Use same arglist as old quit-window.
6588 (frame-auto-delete): Doc fix.
6590 * view.el (view-mode-exit): Use quit-window.
6592 2011-08-24 Juri Linkov <juri@jurta.org>
6594 * isearch.el (isearch-ring-adjust1): Start visiting previous
6595 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6596 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6597 for empty search string (when the last search string is reused
6598 automatically) to adjust the isearch ring to the last element and
6599 prepare the correct index for further M-p commands (bug#9185).
6601 2011-08-24 Kenichi Handa <handa@m17n.org>
6603 * international/ucs-normalize.el: If decomposition property of
6604 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6606 (nfd, nfkd): Likewise.
6608 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6610 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6611 from process filters aren't reliably transmitted to the surrounding
6612 accept-process-output.
6613 (mpc-proc-check): New function.
6614 (mpc-proc-sync): Use it (bug#8293)
6616 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6618 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6619 Add compatibility functions (bug#9313).
6621 2011-08-23 Eli Zaretskii <eliz@gnu.org>
6623 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6625 * international/uni-bidi.el: Regenerate.
6627 2011-08-23 Kenichi Handa <handa@m17n.org>
6629 * international/charprop.el:
6630 * international/uni-bidi.el:
6631 * international/uni-category.el:
6632 * international/uni-combining.el:
6633 * international/uni-comment.el:
6634 * international/uni-decimal.el:
6635 * international/uni-decomposition.el:
6636 * international/uni-digit.el:
6637 * international/uni-lowercase.el:
6638 * international/uni-mirrored.el:
6639 * international/uni-name.el:
6640 * international/uni-numeric.el:
6641 * international/uni-old-name.el:
6642 * international/uni-titlecase.el:
6643 * international/uni-uppercase.el: Regenerate.
6645 2011-08-23 Martin Rudalics <rudalics@gmx.at>
6647 * help.el (help-window-setup): Fix message displayed when other
6648 window is reused. (Bug#9341)
6650 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6652 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6653 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6655 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6657 * shell.el (shell-parse-pcomplete-arguments): New function.
6658 (shell-completion-vars): Use it instead (bug#9160).
6660 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6662 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6663 strings and comments (bug#9333).
6665 * emacs-lisp/debug.el (debug-arglist): New function.
6666 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6667 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6669 2011-08-22 Juri Linkov <juri@jurta.org>
6671 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6672 Revert regexp that highlights output switches to its old
6673 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6675 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6676 to check for empty output (bug#9226).
6678 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
6680 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6681 symbol-constituent as the default, as that stops font-lock from
6682 working properly (Bug#8843).
6684 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6686 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6687 `coding-system-for-*' around the process open call to avoid
6688 auth-source side effects.
6689 (smtpmail-try-auth-methods): Expand the secret password.
6690 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6693 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6695 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6697 * emacs-lisp/find-func.el (find-function-noselect): New arg
6700 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6701 signal an error for built-in functions (Bug#6664).
6703 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6705 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6706 (smtpmail-try-auth-methods): Use it.
6708 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6710 * font-lock.el (font-lock-fontify-region)
6711 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6712 (font-lock-default-unfontify-buffer)
6713 (font-lock-default-fontify-region)
6714 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6716 * progmodes/compile.el (compilation-error-properties):
6717 Fix confusion between file struct and message struct (Bug#9319).
6718 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6721 * net/browse-url.el (browse-url-firefox): Don't call
6722 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6724 2011-08-20 Glenn Morris <rgm@gnu.org>
6726 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6728 * tutorial.el (tutorial--default-keys): Update some default bindings.
6730 * files.el (hack-local-variables): Fully ignore case for "mode:".
6732 2011-08-20 Alan Mackenzie <acm@muc.de>
6734 Resolve invalid use of a regexp in regexp-opt.
6736 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6737 detection for a java annotation.
6739 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
6740 detection for a java annotation.
6742 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6744 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6746 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
6748 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6751 2011-08-20 Alan Mackenzie <acm@muc.de>
6753 Fontify CPP expressions correctly when starting in the middle of
6754 such a construct. Mainly for when jit-lock etc. starts a chunk
6757 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
6759 (c-make-font-lock-search-form): New function, extracted from
6760 c-make-font-lock-search-function.
6761 (c-make-font-lock-search-function): Use the above function.
6762 (c-make-font-lock-context-search-function): New function.
6763 (c-cpp-matchers): Enhance the preprocessor expression case with
6765 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6766 which takes an expression.
6768 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6770 2011-08-20 Martin Rudalics <rudalics@gmx.at>
6772 * window.el (display-buffer-reuse-window)
6773 (display-buffer-pop-up-window): Don't reuse or split a side
6776 2011-08-19 Glenn Morris <rgm@gnu.org>
6778 * files.el (hack-local-variables-prop-line, hack-local-variables):
6779 Downcase "Mode:". (Bug#9331)
6781 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
6783 * international/characters.el: Add L and R categories.
6785 * subr.el (bidi-string-mark-left-to-right): Rename from
6786 string-mark-left-to-right. Use category search.
6788 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6790 2011-08-18 Juri Linkov <juri@jurta.org>
6792 * faces.el (error, warning, success): New faces with definitions
6793 copied from old default values of `font-lock-warning-face',
6794 `compilation-warning', `compilation-info' (bug#6117).
6796 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6798 * progmodes/compile.el (compilation-error): Inherit from `error'.
6799 (compilation-warning): Inherit from `warning'.
6800 (compilation-info): Inherit from `success'.
6802 * dired.el (dired-marked): Inherit from `warning'.
6803 (dired-flagged): Inherit from `error'.
6805 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6807 * mail/smtpmail.el (auth-source): Require to avoid problems with
6808 binding variables (bug#9298). Also clean up some unused
6811 * net/network-stream.el (network-stream-open-starttls):
6812 Support using starttls.el without using gnutls-cli.
6814 2011-08-17 Juri Linkov <juri@jurta.org>
6816 * progmodes/grep.el (rgrep): Handle the case when
6817 `grep-find-command' is a cons cell (bug#9278).
6819 2011-08-17 Martin Rudalics <rudalics@gmx.at>
6821 * window.el (display-buffer-pop-up-frame): Run frame creation
6822 function with BUFFER current (as special-display-popup-frame
6823 does). Reported by Drew Adams.
6825 2011-08-17 Daiki Ueno <ueno@unixuser.org>
6827 * epa-mail.el: Simplify GnuPG group expansion using
6829 (epa-mail-group-alist, epa-mail-group-modtime)
6830 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6831 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6832 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6835 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
6837 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6839 2011-08-16 Alan Mackenzie <acm@muc.de>
6841 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6842 Correct, to avoid the inside of macros.
6844 2011-08-16 Richard Stallman <rms@gnu.org>
6846 * epa-mail.el: Handle GnuPG group definitions.
6847 (epa-mail-group-alist, epa-mail-group-modtime)
6848 (epa-mail-gnupg-conf-file): New variables.
6849 (epa-mail-parse-groups, epa-mail-sync-groups)
6850 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6851 (epa-mail-expand-recipients): New functions.
6852 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6854 * mail/rmail.el (rmail-epa-decrypt): New command.
6856 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6857 Don't bind buffer-read-only, just inhibit-read-only.
6858 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6859 (epa-decrypt-armor-in-region): Make error message clearer.
6861 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6863 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6864 and "a2b" to "ab" for `prefix'.
6866 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
6868 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6870 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6871 Fourquet (Bug#8804).
6873 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
6875 * startup.el (argi): Declare as global variable (bug#9275).
6877 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
6879 * subr.el (string-mark-left-to-right): Search the entire string
6880 for RTL script, not just the terminating character. Doc fix.
6882 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6884 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6886 (js--regexp-literal, js-syntax-propertize-function): Remove.
6887 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6888 (js-mode-map): Don't rebind electric keys.
6889 (js-insert-and-indent): Remove.
6890 (js-mode): Setup electric-layout and electric-indent instead.
6892 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6894 2011-08-12 Daiki Ueno <ueno@unixuser.org>
6896 * epa.el (epa-progress-callback-function): Fix the logic of
6897 displaying progress.
6898 * epa-file.el (epa-file-insert-file-contents): Make progress
6899 display more user-friendly.
6900 (epa-file-write-region): Ditto.
6902 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
6904 * subr.el (string-mark-left-to-right): New function.
6906 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6907 Use string-mark-left-to-right.
6908 (list-buffers-noselect): Caller changed.
6910 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6911 Use string-mark-left-to-right.
6912 (tabulated-list-print): Recenter after moving point.
6914 2011-08-10 Juri Linkov <juri@jurta.org>
6916 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6917 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6918 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6920 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
6922 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6925 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
6927 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6928 character. (Bug#6594)
6930 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
6932 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6933 (image-dired--with-db-file): New macro.
6934 (image-dired-write-tags, image-dired-remove-tag)
6935 (image-dired-create-gallery-lists, image-dired-write-comments)
6936 (image-dired-get-comment, image-dired-mark-tagged-files)
6937 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6938 (image-dired-gallery-generate): Use insert-file-contents.
6940 * time.el (display-time-world-list, display-time-world-display):
6941 * time-stamp.el (time-stamp-string):
6942 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6943 set-time-zone-rule (Bug#7337).
6945 2011-08-08 Daiki Ueno <ueno@unixuser.org>
6947 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6948 (epg-error-to-string, epg-errors-to-string): New function.
6949 (epg-wait-for-completion): Reverse errors list.
6950 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6951 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6952 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6953 (epg-sign-keys, epg-generate-key-from-file)
6954 (epg-generate-key-from-string): Format errors by using
6955 epg-errors-to-string (bug#9255).
6956 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6958 2011-08-07 Juri Linkov <juri@jurta.org>
6960 * faces.el (list-faces-display): Remove extra angle bracket
6961 from `help-mode-map'.
6963 * info.el (Info-history-toc-nodes): Doc fix.
6965 * longlines.el (longlines-mode): Doc fix.
6967 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6969 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6970 of statements and in a few more cases (bug#9183).
6972 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6974 (cl-transform-lambda): Use them (bug#9239).
6976 2011-08-05 Martin Rudalics <rudalics@gmx.at>
6978 * window.el (display-buffer-same-window)
6979 (display-buffer-same-frame, display-buffer-other-window)
6980 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6981 (pop-to-buffer-other-window)
6982 (pop-to-buffer-same-frame-other-window)
6983 (pop-to-buffer-other-frame): Make them defuns.
6984 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6986 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6988 * subr.el (make-composed-keymap): Move from C. Change calling
6989 convention, and improve docstring to bring attention to a subtle point.
6990 * minibuffer.el (completing-read-default): Adjust accordingly.
6992 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
6994 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6995 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6997 * net/trampver.el: Update release number.
6999 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7001 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7004 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7006 * mail/sendmail.el (sendmail-query-once): Restore the current
7007 buffer after querying (bug#9074).
7009 * dired.el (dired-flagged): Use different faces for marked and
7010 flagged files (bug#6117).
7012 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7015 * ido.el (ido-mode): Switch off the message if called
7018 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7019 before 587, since it appears that that's more likely to work for
7022 * cus-edit.el (custom-file): When running under emacs -q, always
7023 refuse to save the customizations, even if the .emacs file doesn't
7026 * info.el: Remove the `Info-beginning-of-buffer' function
7029 * net/network-stream.el (network-stream-open-starttls):
7030 Use `starttls-available-p' to see whether starttls.el can be used.
7032 2011-08-01 Martin Rudalics <rudalics@gmx.at>
7034 * window.el (display-buffer-in-window): Don't set dedicated status
7035 of window here (Bug#9215).
7036 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7037 (display-buffer-pop-up-side-window)
7038 (display-buffer-in-side-window): Set dedicated status of window here.
7040 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7042 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7043 before binding generated-autoload-file.
7045 2011-08-01 Deniz Dogan <deniz@dogan.se>
7047 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7049 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
7051 Sync with Tramp 2.2.2.
7053 * net/trampver.el: Update release number.
7055 2011-07-30 Juri Linkov <juri@jurta.org>
7057 * dired-aux.el (dired-touch-initial): Remove function.
7058 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7059 current time, and `default' to the last modification time of the
7060 current marked file (bug#6887).
7062 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7064 * simple.el (goto-line): Use string-to-number to provide a
7065 numeric argument to read-number (bug#9163).
7067 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
7069 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7070 connection process, it could be nil.
7072 2011-07-27 Leo Liu <sdl.web@gmail.com>
7074 Simplify url handling in rcirc-mode.
7076 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7077 (rcirc-browse-url-at-mouse): Remove.
7078 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7080 2011-07-26 Alan Mackenzie <acm@muc.de>
7082 Fontify bitfield declarations properly.
7084 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7085 (c-symbol-chars): Now exported as a lang variable.
7086 (c-not-primitive-type-keywords): New lang variable.
7088 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7089 QT keyword "more" to prevent "more slots: ...." being spuriously
7090 parsed as a bitfield declaration.
7092 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7093 Refactor and enhance to handle bitfield declarations.
7094 (c-punctuation-in): New function.
7095 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7096 declarations properly.
7098 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
7100 * calendar/icalendar.el (icalendar--all-events): Take care of
7101 multiple vcalendars in a single file.
7102 (icalendar--convert-float-to-ical): Checkdoc fixes.
7104 2011-07-25 Deniz Dogan <deniz@dogan.se>
7106 * image.el (insert-image): Clarifying docstring.
7108 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
7110 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7111 `tramp-send-command-and-check' if there is no error.
7112 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7114 2011-07-22 Alan Mackenzie <acm@muc.de>
7116 Prevent cc-langs.elc being loaded at run time.
7118 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7121 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
7122 "(require 'cc-langs)". Quote a form so it will evaluate at
7123 (cc-mode's) compilation time.
7125 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
7127 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7130 2011-07-21 Martin Rudalics <rudalics@gmx.at>
7132 * window.el (display-buffer-pop-up-window)
7133 (display-buffer-pop-up-side-window)
7134 (display-buffer-in-side-window): Call display-buffer-set-height
7135 and display-buffer-set-width after setting the new window's
7136 buffer so `fit-window-to-buffer' and friends work on the right buffer.
7138 2011-07-20 Sam Steingold <sds@gnu.org>
7140 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7141 (etags-tags-included-tables): Call `convert-standard-filename' on
7142 the file names contained in TAGS so that windows Emacs can handle
7143 TAGS files created by cygwin ctags.
7145 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7147 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7148 which apparently didn't work.
7150 2011-07-19 Roland Winkler <winkler@gnu.org>
7152 * proced.el (proced-send-signal): For *Marked Processes* buffer
7153 put point at beginning of buffer.
7155 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
7157 * proced.el (proced-format): Make header lines align with the text
7160 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7162 * view.el (view-buffer): Allow running in `special' modes if we're
7163 visiting a file (bug#8615).
7165 2011-07-19 Martin Rudalics <rudalics@gmx.at>
7167 * window.el (display-buffer-alist-of-strings-p)
7168 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7170 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7173 2011-07-18 Alan Mackenzie <acm@muc.de>
7175 Fontify declarators properly when, e.g., a jit-lock chunk begins
7176 inside a declaration.
7178 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7180 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7182 (c-complex-decl-matchers): Insert reference to
7183 c-font-lock-enclosing-decls.
7185 * progmodes/cc-engine.el (c-backward-single-comment):
7186 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7187 to nil around calls to (forward-comment -1).
7189 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7191 * image.el (put-image): Doc typo fix.
7193 * progmodes/etags.el (tags-search): Doc typo fix.
7195 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7196 password if we get errors 550 to 554.
7198 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7200 * net/gnutls.el (gnutls-log-level): Remove.
7202 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7203 indentation character (bug#6380).
7205 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7207 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7208 to clarify what the problem is (bug#4291).
7210 * simple.el (current-kill): Clarify what
7211 `interprogram-paste-function' does (bug#7500).
7212 (auto-fill-mode): Document `auto-fill-function' in relation to
7213 `auto-fill-mode' (bug#2470).
7215 2011-07-16 Lawrence Mitchell <wence@gmx.li>
7217 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7218 method if slot is read-only (bug#9035).
7220 2011-07-16 Martin Rudalics <rudalics@gmx.at>
7222 * frame.el (select-frame-set-input-focus): New argument NORECORD.
7223 * window.el (pop-to-buffer): Select window used even if it was
7224 selected before, see discussion of (Bug#8615), (Bug#6954).
7225 Pass argument NORECORD on to select-frame-set-input-focus.
7227 2011-07-15 Glenn Morris <rgm@gnu.org>
7229 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
7232 2011-07-09 Lawrence Mitchell <wence@gmx.li>
7234 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7235 (gnutls-negotiate): Use it.
7237 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7239 * net/gnutls.el (gnutls-negotiate):
7240 Upcase `gnutls-algorithm-priority'.
7242 2011-07-15 Glenn Morris <rgm@gnu.org>
7244 * jka-compr.el (jka-compr-verbose): Move from here...
7245 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7246 Add missing :version tag.
7247 * info.el: No need to require jka-compr when compiling.
7249 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7251 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7252 (gnutls-negotiate): Use it.
7254 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7256 * info.el (Info-beginning-of-buffer): New command.
7257 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7258 announcing `b' as the key (bug#8325).
7259 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
7261 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7263 * international/mule-cmds.el
7264 (describe-specified-language-support): Make the error message
7267 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7269 * isearch.el (isearch-barrier): Add a doc string, since it's
7270 mentioned in a function doc string (bug#8678).
7272 2011-07-15 Martin Rudalics <rudalics@gmx.at>
7274 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7275 buffer argument (Bug#9083) and self-identifying label argument.
7277 2011-07-15 Glenn Morris <rgm@gnu.org>
7279 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7281 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7283 * man.el (Man-fontify-manpage): Fix message when formatting the
7284 man page (bug#7929).
7286 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7288 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7289 argument LRM; if non-nil, append an invisible LRM character to the
7291 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7292 last argument non-nil, when formatting buffer names.
7293 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7294 paragraph direction.
7296 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7298 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7299 the man page name (bug#7929).
7301 * image.el (put-image): Mention the `put-image' overlay property
7304 * scroll-bar.el (set-scroll-bar-mode): Mention that
7305 `scroll-bar-mode' lists the values (bug#7772).
7307 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7310 * rect.el (apply-on-rectangle): Return the point after the last
7312 (string-rectangle): Go to the point after the last operation
7315 * printing.el (pr-toggle-region): Clarify the documentation
7316 slightly (bug#7493).
7318 * time.el (display-time-update):
7319 Allow `display-time-mail-function' to return nil (bug#7158).
7320 Fix suggested by Detlev Zundel.
7322 * vc/diff.el (diff): Clarify the order the file names are read
7325 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7326 the doc string (bug#7015).
7328 * font-lock.el (font-lock-maximum-decoration): Mention what
7329 numeric levels mean (bug#6935).
7331 * startup.el (initial-buffer-choice): Don't mention the `none'
7332 selection, which is against policy.
7334 2011-07-14 Martin Rudalics <rudalics@gmx.at>
7336 * window.el (display-buffer-normalize-special):
7337 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
7339 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7341 * subr.el (version<, version<=, version=): Mention "-CVS" and
7342 "-12345" alpha version numbers.
7344 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7346 * bindings.el: Add advertised binding for set-mark-command
7349 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7351 * bindings.el (mode-line-other-buffer):
7352 * bookmark.el (bookmark-bmenu-2-window):
7353 * bs.el (bs-cycle-next, bs-cycle-previous):
7354 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7357 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7360 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
7362 * follow.el (follow-debug-message, follow-redisplay):
7363 * jka-cmpr-hook.el (with-auto-compression-mode):
7364 Fix typos in docstrings.
7366 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7368 * subr.el (with-silent-modifications): Clarify somewhat what the
7369 macro inhibits (bug#6525).
7371 * simple.el (eval-expression): Note what it does if called
7372 interactively (bug#6495).
7374 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7376 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7377 Use pop-to-buffer buffer-or-name if it is nil.
7379 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7380 Remove switch-to-buffer.
7382 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7384 * files.el (make-directory): Clarify that an error will be raised
7385 if there's an error (bug#6397).
7387 * startup.el (initial-buffer-choice): Add `none' as a choice
7390 * subr.el (add-hook): Clarify section about buffer-local hooks
7393 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7395 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7397 * tabify.el (untabify): Preserve the current column so that point
7398 doesn't move (bug#6032).
7400 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7402 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7403 Rewrite to avoid awkward possessive "s" (bug#5986).
7405 2011-07-13 Glenn Morris <rgm@gnu.org>
7407 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7408 (dired-insert-directory): Give a message the first time
7409 if ls is found not to support --dired.
7411 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7413 * simple.el (toggle-truncate-lines): Clarify what is toggled
7414 (bug#5580). Text by Drew Adams.
7416 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7418 * simple.el (blink-matching-open): Make the error message from the
7419 last change less verbose.
7421 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7423 * font-lock.el (font-lock-comment-face): Use the high contrast
7424 "yellow" color for font-lock-comment-face on low color terminals
7425 using a dark background color (bug#4221).
7427 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7429 * dired.el (dired-insert-set-properties): Make the doc string
7430 reflect what it does now (bug#5325).
7432 * simple.el (blink-matching-open): Say that we were unable to find
7433 the match within the limit, if we're limited (bug#5122).
7435 * international/mule-cmds.el (prefer-coding-system): Add an
7438 * progmodes/etags.el (tags-search): Document `file-list-form'
7441 2011-07-13 Lawrence Mitchell <wence@gmx.li>
7443 * net/browse-url.el (browse-url-default-browser)
7444 (browse-url-browser-function): Make the default browser choice a
7445 bit more logical (bug#4300). Also clean up the doc string.
7447 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7449 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7450 binary endings (bug#4440).
7452 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7454 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7455 which can be pretty annoying (bug#8971).
7457 * jka-compr.el (jka-compr-verbose): New variable, and use
7458 throughout (bug#8971).
7460 * info.el (Info-find-file): Fall back on the installation
7461 directory if we can't find the info node anywhere else.
7463 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7465 * vc/vc.el (vc-revert-file):
7466 Don't set file time-stamp in the past. (Bug#5181)
7468 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7470 * files.el (after-find-file): Give a better error message when
7471 trying to find a symlink that points to a file that doesn't exist
7474 * progmodes/cc-vars.el: Remove (probably) misleading comment
7477 2011-07-12 Johan Bockgård <bojohan@gnu.org>
7479 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7481 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
7483 * mouse-sel.el: Hack restoring functionality, while keeping
7484 compatibility with 2010-07-03 changes to mouse selection.
7485 (mouse-sel-primary-overlay): New var.
7486 (mouse-sel-selection-alist): Use it.
7487 (mouse-sel-mode): Doc fix; remove points that are default features
7490 2011-07-12 Johan Bockgård <bojohan@gnu.org>
7492 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7493 Fix previous fix (bug#2490).
7495 2011-07-12 Roland Winkler <winkler@gnu.org>
7497 * textmodes/bibtex.el (bibtex-initialize):
7498 Use pop-to-buffer-same-window.
7499 (bibtex-search-entries): Fix interactive call.
7501 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7503 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7504 Fontise bytecomp Error lines more correctly (bug#2490).
7505 Fix suggested by Johan Bockgård.
7507 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7509 * dired-x.el (dired-guess-default): Use `delete-dups'.
7511 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
7513 * dired.el (dired-mark-prompt):
7514 * dired-aux.el (dired-read-shell-command): Doc fix.
7516 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7518 * mail/sendmail.el (sendmail-query-once):
7519 Use `customize-save-variable' unconditionally, now that it works under
7522 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7524 * cus-edit.el (custom-file): Take an optional no-error variable.
7525 (customize-save-variable): Set the variable, and give a warning if
7526 running under "emacs -q".
7528 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
7530 * loadhist.el (unload-feature-special-hooks):
7531 Add `auto-coding-functions', `fill-nobreak-predicate' and
7532 `find-directory-functions' (bug#5327).
7534 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7536 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7538 * cus-edit.el (custom-guess-name-alist): -alist variables should
7539 use the `alist' type (bug#3120). Suggested by Drew Adams.
7541 * printing.el: Add documentation to all the `pr-toggle-' commands.
7543 2011-07-11 Leo Liu <sdl.web@gmail.com>
7545 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7546 backends where it makes sense (bug#2623).
7548 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7550 * dired-x.el (dired-guess-default): Remove duplicate shell command
7552 (dired-guess-default): Fix grammar in doc string (bug#2028).
7553 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
7555 * subr.el (remove-duplicates): New conveniency function.
7557 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7559 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7562 2011-07-10 Martin Rudalics <rudalics@gmx.at>
7564 * window.el (display-buffer-normalize-default): Don't invert
7565 meaning of even-window-heights. Reported by Eli Zaretskii
7568 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7570 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7572 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
7574 * window.el (display-buffer): Fix arguments to
7575 display-buffer-reuse-window in last change.
7577 * faces.el (link): Use a less saturated blue on light backgrounds.
7579 * startup.el (fancy-startup-text, fancy-about-text)
7580 (fancy-startup-tail): Use font-lock faces, for background safety.
7582 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7584 * emulation/viper-cmd.el (viper-change-state-to-vi):
7585 Limit triggering of abbrev expansion (Bug#9038).
7587 2011-07-09 Martin Rudalics <rudalics@gmx.at>
7589 * window.el (display-buffer-default-specifiers): Remove.
7590 (display-buffer-macro-specifiers): Remove default specifiers.
7591 (display-buffer-alist): Default to nil.
7592 (display-buffer-reuse-window): New optional argument other-window.
7593 (display-buffer-pop-up-window): Allow splitting internal
7594 windows. Check whether a live window was created.
7595 (display-buffer-other-window-means-other-frame)
7596 (display-buffer-normalize-arguments): Rename to
7597 display-buffer-normalize-argument and rewrite. Set the
7598 other-window specifier.
7599 (display-buffer-normalize-special): New function.
7600 (display-buffer-normalize-options): Rename to
7601 display-buffer-normalize-default and rewrite.
7602 (display-buffer-normalize-options-inhibit): Remove.
7603 (display-buffer-normalize-specifiers): Rewrite.
7604 (display-buffer): Process other-window specifier and call
7605 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7607 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
7608 (display-buffer-alist-set): Don't handle 'unset default values.
7609 (display-buffer-in-window, display-buffer-alist-set):
7610 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
7611 <tassilo@member.fsf.org>.
7613 2011-07-09 Leo Liu <sdl.web@gmail.com>
7615 * register.el (insert-register): Restore accidental change on
7616 2011-06-26. (Bug#9028)
7618 2011-07-09 Glenn Morris <rgm@gnu.org>
7620 * subr.el (remq): Handle the empty list. (Bug#9024)
7622 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7624 * mail/sendmail.el (send-mail-function): No longer delay custom
7626 * custom.el (custom-initialize-delay): Doc fix.
7628 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7630 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7632 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
7634 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7635 human-friendly prompt.
7637 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7639 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7640 provided by a particular plugin.
7642 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7644 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7645 save customizations (with "emacs -Q"), just set the variable
7646 instead of erroring out.
7648 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7650 2011-07-08 Juri Linkov <juri@jurta.org>
7652 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7653 (archive-zip-update-case): Use 7z if found by `executable-find'.
7654 The order of searching the available programs is the same as in
7655 `archive-zip-extract' (bug#8968).
7657 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7659 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7660 (menu-bar-options-menu): Tweak descriptions.
7662 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7664 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7665 menu items into verb phrases (bug#1421). Also refill to fit under
7668 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7670 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7671 (Info-read-node-name): Doc fix (Bug#1084).
7673 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7674 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7675 (end-of-sexp, beginning-of-sexp)
7676 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7677 (forward-symbol, forward-same-syntax, word-at-point)
7678 (sentence-at-point): Doc fix (Bug#1144).
7680 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7682 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7683 should cover it (bug#1281).
7685 * cus-edit.el (custom-show): Mark as obsolete.
7687 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
7688 negotiation fails, then possibly try again with a non-encrypted
7689 connection (bug#9017).
7691 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7694 2011-07-07 Richard Stallman <rms@gnu.org>
7696 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7697 property, and handle its changed format.
7698 Look for the correct line number.
7699 Use file's line contents (but not past first =) to find
7700 correct line in message.
7702 2011-07-07 Kenichi Handa <handa@m17n.org>
7704 * international/characters.el (build-unicode-category-table):
7706 (unicode-category-table): Set it by unicode-property-table-internal.
7708 * international/mule-cmds.el (char-code-property-alist): Move to
7710 (get-char-code-property): Call unicode-property-table-internal to
7711 load a file. Call get-unicode-property-internal where necessary.
7712 (put-char-code-property): Call unicode-property-table-internal to
7713 load a file. Call put-unicode-property-internal where necessary.
7714 put-unicode-property-internal where necessary.
7715 (char-code-property-description):
7716 Call unicode-property-table-internal to load a file.
7718 * international/charprop.el:
7719 * international/uni-bidi.el:
7720 * international/uni-category.el:
7721 * international/uni-combining.el:
7722 * international/uni-comment.el:
7723 * international/uni-decimal.el:
7724 * international/uni-decomposition.el:
7725 * international/uni-digit.el:
7726 * international/uni-lowercase.el:
7727 * international/uni-mirrored.el:
7728 * international/uni-name.el:
7729 * international/uni-numeric.el:
7730 * international/uni-old-name.el:
7731 * international/uni-titlecase.el:
7732 * international/uni-uppercase.el: Regenerate.
7734 * loadup.el: Load international/charprop.el before
7735 international/characters.
7737 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7739 * window.el (next-buffer, previous-buffer): Signal an error if
7740 called from a minibuffer window.
7742 * bindings.el: Revert 2011-07-04 change.
7744 2011-07-06 Richard Stallman <rms@gnu.org>
7746 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7747 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7748 Treat markers like ints.
7749 (rmail-mime-entity): Doc fix.
7751 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7753 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7754 defcustom again for backwards compatibility.
7756 * simple.el (shell-command-on-region): Fill.
7758 * dired-aux.el (dired-kill-line): Add a doc string.
7760 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7761 to "\\sw\\|\\s_" (bug#358).
7763 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7764 (dired-unmark-backward): Ditto.
7765 (dired-flag-backup-files): Ditto.
7767 * dired-x.el (dired-mark-sexp): Ditto.
7769 2011-07-06 Richard Stallman <rms@gnu.org>
7771 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7772 (rmail-mime-entity): New arg TRUNCATED.
7773 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7775 (rmail-mime-save): Warn if entity is truncated.
7776 (rmail-mime-toggle-hidden): Likewise, for showing.
7777 (rmail-mime-process-multipart): Record when an entity is truncated.
7779 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7780 if ENTITY is a string.
7782 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7784 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
7785 of faces when `M-C-x'-ing their definitions (bug#8378).
7786 Also clean up the code slightly.
7788 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
7789 because that makes the colors go away.
7791 * mail/sendmail.el (send-mail-function): Change the default to
7792 `sendmail-query-once'.
7793 (sendmail-query-once): Add an autoload cookie.
7795 * net/network-stream.el (network-stream-open-starttls): Try using
7796 a plain connection even if the server offered STARTTLS, and we
7797 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7798 capability. This should make smtpmail.el work in slightly more
7801 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
7803 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7805 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7807 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7809 * progmodes/sql.el: Version 3.0
7810 (sql-product-alist): Add product :completion-object,
7811 :completion-column, and :statement attributes.
7812 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
7813 (sql-mode-syntax-table): Mark all punctuation.
7814 (sql-font-lock-keywords-builder): Temporarily remove fallback on
7816 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
7817 (sql-mode-oracle-font-lock-keywords): Improve.
7818 (sql-oracle-show-reserved-words): New function for development.
7819 (sql-product-font-lock): Simplify for source code buffers.
7820 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7822 (sql-highlight-product): Set product specific syntax table.
7823 (sql-mode-map): Add statement movement functions.
7824 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7826 (sql-statement-regexp, sql-beginning-of-statement)
7827 (sql-end-of-statement, sql-signum): New functions.
7828 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
7829 (sql-show-sqli-buffer): Bug fix.
7830 (sql-interactive-mode): Store connection data as buffer local.
7831 (sql-connect): Add NEW-NAME parameter. Redesign interaction
7832 with sql-interactive-mode.
7833 (sql-save-connection): Save buffer local settings.
7834 (sql-connection-menu-filter): Change menu entry name.
7835 (sql-product-interactive): Bug fix.
7836 (sql-preoutput-hold): New variable.
7837 (sql-interactive-remove-continuation-prompt): Bug fixes.
7838 (sql-debug-redirect): New variable.
7839 (sql-str-literal): New function.
7840 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
7842 (sql-oracle-save-settings, sql-oracle-restore-settings)
7843 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7844 (sql-completion-object, sql-completion-column)
7845 (sql-completion-sqlbuf): New variables.
7846 (sql-build-completions-1, sql-build-completions)
7847 (sql-try-completion): New functions.
7848 (sql-read-table-name): Use them.
7849 (sql-contains-names): New buffer local variable.
7850 (sql-list-all, sql-list-table): Use it.
7851 (sql-oracle-completion-types): New variable.
7852 (sql-oracle-completion-object, sql-sqlite-completion-object)
7853 (sql-postgres-completion-object): New functions.
7855 2011-07-06 Glenn Morris <rgm@gnu.org>
7857 * window.el (pop-to-buffer): Doc fix.
7859 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
7861 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7863 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
7865 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7867 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
7869 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
7871 * button.el (button): Inherit from link face. Suggested by Dan
7874 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7876 * progmodes/gdb-mi.el: Fit in 80 columns.
7877 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7880 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7881 if imenu is simply not configured (bug#8941).
7883 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7885 * allout.el (allout-post-undo-hook): New allout outline-change
7886 event hook to signal undo activity.
7887 (allout-post-command-business): Run allout-post-undo-hook if an
7889 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7890 * allout-widgets.el (allout-widgets-after-undo-function):
7891 Ensure the integrity of the current item's decoration after it has been
7892 in the vicinity of an undo.
7893 (allout-widgets-mode): Include allout-widgets-after-undo-function
7894 on the new allout-post-undo-hook.
7896 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7898 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7899 Let define-derived-mode define it.
7900 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7901 cycles of abbrev-table inheritance (bug#8998).
7903 2011-07-05 Roland Winkler <winkler@gnu.org>
7905 * textmodes/bibtex.el: Add support for biblatex.
7906 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7907 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7908 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7909 (bibtex-entry-alist, bibtex-field-alist): New variables.
7910 (bibtex-entry-field-alist): Obsolete alias for
7911 bibtex-BibTeX-entry-alist.
7912 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7913 (bibtex-set-dialect): New command.
7914 (bibtex-entry-type, bibtex-entry-head)
7915 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7916 Bind via bibtex-set-dialect.
7917 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7918 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7919 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7920 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7921 Define via bibtex-set-dialect.
7922 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7923 Obey bibtex-no-opt-remove-re.
7924 (bibtex-vec-push, bibtex-vec-incr): New functions.
7925 (bibtex-format-entry, bibtex-field-list)
7926 (bibtex-print-help-message, bibtex-validate)
7927 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7929 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7931 * progmodes/compile.el (compilation-goto-locus):
7932 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7933 * bs.el (bs-cycle-next, bs-cycle-previous):
7934 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7935 * bindings.el (mode-line-other-buffer):
7936 * autoinsert.el (auto-insert):
7937 * arc-mode.el (archive-extract):
7938 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7940 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
7942 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7943 Fix check of `emacs-lock-unlockable-modes'.
7944 Coerce true values of `emacs-lock--try-unlocking' to t.
7946 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
7948 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7949 * emacs-lock.el: New file.
7951 2011-07-05 Julien Danjou <julien@danjou.info>
7953 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7954 than `boundp' to check if face is set.
7956 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
7958 * register.el (registerv-make):
7959 * window.el (window-min-height): Fix typos in docstrings.
7961 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7963 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7966 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
7968 * server.el (server-execute): Catch quit and call
7969 `server-return-error' to pass the error back to emacsclient and
7970 close the connection (bug#8942).
7972 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7974 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7975 insecure exception for current topic. Also note that auto-saves
7976 are handled differently.
7978 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7979 State variables for tracking auto-save inhibition situation.
7981 (allout-write-contents-hook-handler): Rename from
7982 'allout-write-file-hook-handler', and describe how it depends on
7983 write-contents-functions sensitivity to non-nil value to prevent
7986 (allout-auto-save-hook-handler): Remove. auto-save does not check
7987 this in individual buffers, only in the starting buffer, so this
7988 is not the right way for us to inhibit auto-save in a buffer
7989 according to its condition.
7991 (allout-mode): Use new allout-write-contents-hook-handler, and
7992 only with write-contents-functions. Remove auto-save provisions -
7993 they're implemented elsewhere.
7995 (allout-before-change-handler): If undo is in progress, note that
7996 for attention of allout-post-command-business.
7998 (allout-post-command-business): If the command we're following was
7999 an undo, check for change in the status of encrypted items and
8000 adjust auto-save inhibitions accordingly.
8002 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8003 according to whether there are or aren't any plain-text topics
8006 (allout-inhibit-auto-save-info-for-decryption):
8007 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8008 if there are plain-text topics pending encryption.
8010 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8011 buffer-saved-size and some allout state to not inhibit auto-saves
8012 if there are no longer any plain-text topics pending encryption.
8014 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8015 No longer provide for exemption of the current topic.
8017 2011-07-04 Juri Linkov <juri@jurta.org>
8019 Add 7z operations to delete and save changed members (bug#8968).
8020 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8022 (archive-7z-write-file-member): New function.
8023 (archive-7z-summarize): Fix the number of dashes in the
8026 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8028 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8031 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
8033 * bindings.el: Ignore next-buffer and previous-buffer in
8034 minibuffer-local-map.
8036 * font-lock.el (font-lock-builtin-face): Change light background
8037 color to dark slate blue (Bug#6693).
8039 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8041 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8043 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8045 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8046 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8047 Add switch-to-buffer.
8049 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8051 * isearch.el (isearch-search-fun-function): Clarify further the
8052 meaning of the function returned.
8054 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
8056 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8058 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8059 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8061 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8062 `tramp-default-remote-path' does not exist.
8063 (tramp-send-command-and-read): New optional argument NOERROR.
8064 (tramp-open-connection-setup-interactive-shell)
8065 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8066 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8067 (tramp-process-sentinel): Flush also process' connection property.
8068 (tramp-sh-handle-start-file-process): Do not set process
8069 sentinel. It is done now ...
8070 (tramp-maybe-open-connection): ... here. (Bug#8929)
8072 2011-07-04 MON KEY <monkey@sandpframing.com>
8074 * play/animate.el (animate-string): Doc fixes and allow changing
8075 the buffer name (bug#5417).
8077 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8079 * play/animate.el (animation-buffer-name): Rename from *animate*.
8081 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8083 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8084 This is simpler and helps future-proof the code.
8085 (timer-until): Use time-subtract and float-time.
8086 (timer--time-less-p): Use time-less-p.
8088 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8090 * type-break.el (timep): Use the value of `float-time' to avoid a
8091 byte-compiler warning.
8093 * server.el (server-eval-and-print): Return any result, even nil.
8095 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8097 * type-break.el: Accept time formats that the builtins accept.
8098 (timep, type-break-time-difference): Accept any format that
8099 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8100 This is simpler and helps future-proof the code.
8101 (type-break-time-difference): Round rather than ignoring
8102 subseconds components.
8104 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8106 * info.el (Info-apropos-matches): Make non-interactive, since it
8107 doesn't seem to do anything useful as a command (bug#8829).
8109 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
8111 * frame.el (frame-background-mode, frame-set-background-mode):
8113 (frame-default-terminal-background): New function.
8115 * custom.el (custom-push-theme): Don't record faces in `changed'
8116 theme; this doesn't work correctly for per-frame face settings.
8117 (disable-theme): Use face-set-after-frame-default to reset faces.
8118 (custom--frame-color-default): New function.
8120 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8122 * dired.el (dired-flagging-regexp): Remove unused variable
8125 2011-03-29 Kevin Ryde <user42@zip.com.au>
8127 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8128 `perl-Test2' extend to match possible "fail #N" rep count
8131 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8133 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8134 `smtpmail-via-smtp' now returns the error instead of nil.
8136 * isearch.el (isearch-search-fun-function): Clarify the doc string
8139 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
8141 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8142 unnecessary spaces (bug#8987).
8144 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8146 * net/network-stream.el (open-network-stream): Use the
8147 :end-of-capability command thoughout.
8149 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8151 * net/network-stream.el (open-network-stream): Add the
8152 :end-of-capability command parameter, used by pop3.el.
8154 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8156 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8158 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8159 for list)" (bug#6475).
8161 * files.el (file-expand-wildcards): Ignore non-readable
8162 sub-directories while trying to find matches instead of signaling
8163 an error (bug#6297).
8165 * man.el (Man-reference-regexp): Allow matching possible
8166 word-wrapped references (bug#6289).
8168 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8169 for consistency with the other vc buffers (bug#6197).
8170 (vc-checkin): Ditto.
8172 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8174 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8176 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8178 * custom.el (defcustom): Clarify that :set is only used in the
8179 Customize user interface (bug#6089).
8181 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8182 associated with a file, refuse to run instead of erroring out
8185 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8186 the doc string, since it appears that using `fill-column' always
8187 controls the width (bug#7845).
8189 * simple.el (shell-command-on-region): Say where the error output
8190 went if `shell-command-default-error-buffer' is set (bug#6857).
8192 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8194 * allout.el (allout-yank-processing): Adjust cursor position for
8195 backwards-deleted space.
8197 (allout-rebullet-heading): Register changes with
8198 allout-exposure-changed-hook, so the modified topic is properly
8201 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8203 * minibuffer.el (completion-in-region): Document PREDICATE
8206 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8207 of keyword/argument pairs (bug#6904).
8209 * replace.el (multi-occur):
8210 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
8212 2011-07-02 Drew Adams <drew.adams@oracle.com>
8214 * dired.el (dired-mark-if): Make the message about whether it's
8215 marking or unmarking clearer (bug#8523).
8217 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8219 * disp-table.el (display-table-print-array): New function.
8220 (describe-display-table): Use it to print the vectors more pretty
8223 2011-07-02 Martin Rudalics <rudalics@gmx.at>
8225 * window.el (window-state-get-1): Don't assign clone numbers.
8226 Add clone-of item to list of window parameters.
8227 (window-state-put-2): Don't process clone numbers.
8228 (display-buffer-alist): Fix doc-string.
8230 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8232 * subr.el (remq): Don't allocate if it's not needed.
8233 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8234 (keymap--merge-bindings): New functions.
8235 (keymap-canonicalize): Use them to refine the canonicalization.
8236 * minibuffer.el (minibuffer-local-completion-map)
8237 (minibuffer-local-must-match-map): Move initialization from C.
8238 (minibuffer-local-filename-completion-map): Move initialization from C;
8239 don't inherit from anything here.
8240 (minibuffer-local-filename-must-match-map): Make obsolete.
8241 (completing-read-default): Use make-composed-keymap to combine
8242 minibuffer-local-filename-completion-map with either
8243 minibuffer-local-must-match-map or
8244 minibuffer-local-filename-completion-map.
8246 2011-07-01 Glenn Morris <rgm@gnu.org>
8248 * type-break.el (type-break-time-sum): Use dolist.
8250 * textmodes/flyspell.el (flyspell-word-search-backward):
8251 Replace CL function.
8253 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8255 * mouse.el (mouse--strip-first-event): New function.
8256 (function-key-map): Use it to map fringe clicks to normal clicks
8259 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8260 (vc-bzr-revision-completion-table): Add support for annotate and date.
8262 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8263 inherit from parent.
8265 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8267 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
8268 (dired-show-file-type): Doc fixup (bug#8818).
8270 * dired.el (dired-mode): Fix up the doc string as suggested by
8271 Drew Adams (bug#8817).
8273 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8274 cookie, since the manual says that it should be possible to add
8275 this function to `find-file-hook' (bug#8709).
8277 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8279 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8280 here. Noted Ted Zlatanov as the maintainer.
8281 (cfengine-common-settings, cfengine-common-syntax): New functions
8282 to set up common things between `cfengine-mode' and
8284 (cfengine3-mode): New mode.
8285 (cfengine3-defuns cfengine3-defuns-regex
8286 (cfengine3-class-selector-regex cfengine3-category-regex)
8287 (cfengine3-vartypes cfengine3-font-lock-keywords)
8288 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
8289 (cfengine3-indent-line): Add from cfengine3.el.
8291 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
8293 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8295 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8297 2011-07-01 Martin Rudalics <rudalics@gmx.at>
8299 * window.el (same-window-buffer-names, same-window-regexps)
8300 (same-window-p, special-display-frame-alist)
8301 (special-display-popup-frame, special-display-function)
8302 (special-display-buffer-names, special-display-regexps)
8303 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8304 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8305 (split-window-preferred-function, split-height-threshold)
8306 (split-width-threshold, even-window-heights)
8307 (display-buffer-mark-dedicated, window-splittable-p)
8308 (split-window-sensibly, window-safely-shrinkable-p):
8310 (display-buffer): Don't spread args with function specifier
8311 because special-display-popup-frame won't like it.
8313 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8315 Time-stamp simplifications and fixes.
8316 These improve accuracy slightly, and future-proof the code
8317 against some potential changes to current-time format.
8319 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8320 by using time-since and float-time.
8322 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8323 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8324 + NNN microseconds".
8326 * type-break.el (type-break-time-sum): Rewrite using time-add.
8328 * play/hanoi.el (hanoi-current-time-float): Remove.
8329 All uses replaced by float-time.
8331 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8332 This yields a more-accurate answer.
8333 (rng-time-to-float): Remove; no longer needed.
8335 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8337 * calendar/timeclock.el (timeclock-seconds-to-time):
8338 Defalias to seconds-to-time, since they're the same thing.
8340 * emacs-lisp/elp.el (elp-elapsed-time):
8341 * emacs-lisp/benchmark.el (benchmark-elapse):
8342 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8344 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8346 * window.el (bury-buffer): Don't iconify the only frame.
8347 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8348 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8350 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
8352 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8353 Add mouse-yank-primary.
8355 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8357 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8359 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8361 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8362 (find-library-name): Use it to find relative load names when provided
8363 absolute file name (bug#8803).
8365 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8367 * textmodes/flyspell.el (flyspell-word): Consider words that
8368 differ only in case as potential doublons (bug#5687).
8370 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8371 Remove two rather uninteresting debugging-like messages to make
8372 debbugs.el more silent.
8374 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8375 a password-like phrase.
8377 2011-06-30 Masatake YAMATO <yamato@redhat.com>
8379 * progmodes/cc-guess.el: New file.
8381 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
8383 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8384 derived from `c-basic-common-init'.
8386 * progmodes/cc-mode.el (top-level): Require cc-guess.
8387 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8389 2011-06-30 Lawrence Mitchell <wence@gmx.li>
8391 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8393 2011-06-30 Alan Mackenzie <acm@muc.de>
8395 * progmodes/cc-engine.el (c-guess-continued-construct):
8396 Correct the handling of template-args-cont, particularly for when font
8397 lock is disabled. Name this case as "CASE G".
8399 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8401 * allout.el (allout-yank-processing): Fix injection of extra space
8402 between bullet and non-whitespace character in first topic when
8403 pasting, ensuring that the actual spacing in the pasted topic
8404 following the bullet char is preserved. This extra space was
8405 causing pasted encrypted topics to get a decrypted status even
8406 when the content was actually still encrypted. Now the decryption
8407 status from before the paste is preserved.
8409 (allout-flag-region): Set all allout overlays so they evaporate
8410 when reduced to zero length (evanescent), to prevent overlay
8413 2011-06-30 Glenn Morris <rgm@gnu.org>
8415 * w32-fns.el (w32-charset-info-alist): Declare.
8417 * find-dired.el (find-grep-options): Simplify.
8419 * term/ns-win.el (ns-set-resource): Declare.
8421 * ses.el (row, col): Declare dynamic variables honestly.
8423 * textmodes/reftex-parse.el (index-tags): Declare.
8425 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
8427 * cus-edit.el (customize-push-and-save): New function.
8429 * files.el (hack-local-variables-confirm): Use it.
8431 * custom.el (load-theme): New arg NO-CONFIRM.
8432 Use customize-push-and-save (Bug#8720).
8433 (custom-enabled-themes): Doc fix.
8435 * cus-theme.el (customize-create-theme)
8436 (custom-theme-merge-theme): Callers to load-theme changed.
8438 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8440 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8441 short URLs have at least one dot in them (bug #7614).
8443 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8444 nil, because using a pty is apparently too slow (bug #895).
8446 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8448 * mail/sendmail.el (sendmail-query-once): New function.
8449 (sendmail-query-once-function): New variable.
8451 2011-06-29 Glenn Morris <rgm@gnu.org>
8453 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8455 * ses.el (top-level): Require cl when compiling.
8456 (ses-set-localvars): Fix error statement.
8457 Call it at compile time to silence a storm of warnings.
8459 2011-06-29 Martin Rudalics <rudalics@gmx.at>
8461 * window.el (normalize-live-buffer): Rename to
8462 window-normalize-buffer.
8463 (normalize-live-frame): Rename to window-normalize-frame.
8464 (normalize-any-window): Rename to window-normalize-any-window.
8465 (normalize-live-window): Rename to window-normalize-live-window.
8466 (make-window-atom): Rename to window-make-atom.
8467 (window-resize-reset): Rename to window--resize-reset.
8468 (window-resize-reset-1): Rename to window--resize-reset-1.
8469 (resize-mini-window): Rename to window--resize-mini-window.
8470 (resize-subwindows-skip-p): Rename to
8471 window--resize-subwindows-skip-p.
8472 (resize-subwindows-normal): Rename to
8473 window--resize-subwindows-normal.
8474 (resize-subwindows): Rename to window--resize-subwindows.
8475 (resize-other-windows): Rename to window--resize-siblings.
8476 (resize-this-window): Rename to window--resize-this-window.
8477 (resize-root-window): Rename to window--resize-root-window.
8478 (resize-root-window-vertically): Rename to
8479 window--resize-root-window-vertically.
8480 (normalize-buffer-to-display): Rename to
8481 window-normalize-buffer-to-display.
8482 (normalize-buffer-to-switch-to): Rename to
8483 window-normalize-buffer-to-switch-to.
8484 Correspondingly update all callers of the functions listed
8486 (display-buffer-alist, display-buffer-normalize-arguments)
8487 (display-buffer-normalize-options, display-buffer)
8488 (display-buffer-alist-set): Use "function" instead of
8491 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
8493 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8494 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8495 debbugs.gnu.org. Mention acknowledgment email.
8497 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8499 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8500 buffer multibyteness, since it shouldn't matter.
8502 2011-06-28 Martin Rudalics <rudalics@gmx.at>
8504 * window.el (display-buffer-in-side-window): Handle dedicated
8505 windows as in display-buffer-reuse-window.
8506 (display-buffer-normalize-alist): Use value of override
8508 (display-buffer-normalize-specifiers): Use value of
8509 other-window-means-other-frame specifier.
8510 (display-buffer-alist): Rewrite some texts in widgets.
8511 (display-buffer): Spread arguments when calling function
8512 specified by fun-with-args.
8514 2011-06-28 Deniz Dogan <deniz@dogan.se>
8516 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8519 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8520 selectors (Bug#5732).
8521 (css-proprietary-nmstart-re): Use `regexp-opt'.
8523 2011-06-27 Jari Aalto <jari.aalto@cante.net>
8525 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8526 (eshell-ls-date-format): New defcustom.
8527 (eshell-ls-file): Use it.
8529 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8531 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8533 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8535 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8536 (ange-ftp-make-tmp-name): New arg.
8537 (ange-ftp-file-local-copy): Use it.
8539 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
8541 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8542 no-conversion (Bug#8870).
8544 2011-06-27 Martin Rudalics <rudalics@gmx.at>
8546 * window.el (window-right, window-left, window-child)
8547 (window-child-count, window-last-child)
8548 (window-iso-combination-p, walk-window-tree-1)
8549 (window-atom-check-1, window-tree-1, delete-window)
8550 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8551 new naming conventions - window-vchild, window-hchild,
8552 window-next and window-prev are now called window-top-child,
8553 window-left-child, window-next-sibling and window-prev-sibling
8555 (resize-window-reset): Rename to window-resize-reset.
8556 (resize-window-reset-1): Rename to window-resize-reset-1.
8557 (resize-window): Rename to window-resize.
8558 (window-min-height, window-min-width)
8559 (resize-mini-window, resize-this-window, resize-root-window)
8560 (resize-root-window-vertically, adjust-window-trailing-edge)
8561 (enlarge-window, shrink-window, maximize-window)
8562 (minimize-window, delete-window, quit-restore-window)
8563 (split-window, balance-windows, balance-windows-area-adjust)
8564 (balance-windows-area, window-state-put-2)
8565 (display-buffer-even-window-sizes, display-buffer-set-height)
8566 (display-buffer-set-width, set-window-text-height)
8567 (fit-window-to-buffer): Rename all "resize-window" prefixed
8568 calls to use the "window-resize" prefix convention.
8569 (display-buffer-alist): Fix symbol for label specifier.
8570 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8571 corresponding specifier.
8572 Reported by Juanma Barranquero <lekktu@gmail.com>.
8574 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8576 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8578 (ses-call-printer): Does not pass an empty string to formatter when the
8579 cell is empty to keep from barking printer Calc math-format-value.
8581 2011-06-27 Richard Stallman <rms@gnu.org>
8583 * battery.el (battery-mode-line-limit): New variable.
8584 (battery-update): Handle it.
8586 * mail/rmailmm.el (rmail-mime-process-multipart):
8587 Handle truncated messages.
8589 2011-06-27 Glenn Morris <rgm@gnu.org>
8591 * progmodes/flymake.el (flymake-err-line-patterns):
8592 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8594 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8596 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
8597 (ses--clean-!, ses--clean-_): New functions.
8598 (ses-range): Add configurability of readout order, and conversion
8601 * ses.el (ses-repair-cell-reference-all): New function.
8602 (ses-cell-symbol): Set macro as safe, so that it can be used in
8605 * ses.el: Update cycle detection algorithm.
8606 (ses-localvars): Add ses--Dijkstra-attempt-nb and
8607 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
8608 (ses-set-localvars): New function.
8609 (ses-make-cell): Add property-list as a cell element.
8610 (ses-cell-property-get-fun, ses-cell-property-get)
8611 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
8612 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8614 (ses-cell-property-set, ses-cell-property-pop)
8615 (ses-cell-property-get-handle): New macro.
8616 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8617 New aliases, used for code readability.
8618 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8620 (ses-self-reference-early-detection): New defcustom.
8621 (ses-formula-references): Robustify against self-referring cells.
8622 (ses-mode): Use ses-set-localvars.
8623 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8624 before lauching the update processing.
8625 (ses-initialize-Dijkstra-attempt): New function.
8626 (ses-recalculate-cell): Update for cycle detection based on
8629 * ses.el: Fix commenting and indenting convention.
8631 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8633 * bs.el (bs-cycle-next): Complete last change.
8635 2011-06-27 Drew Adams <drew.adams@oracle.com>
8637 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8639 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8641 * net/network-stream.el (network-stream-open-starttls):
8642 Don't re-get capabilities unless we've reestablished connection.
8643 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8645 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8646 to binary to possibly avoid line encoding issues on Windows (among
8649 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8651 * net/network-stream.el (open-network-stream): Return an :error
8652 saying what the problem was, if possible.
8654 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8657 * net/network-stream.el (network-stream-open-starttls): If we
8658 wanted to use STARTTLS, and the server offered it, but we weren't
8659 able to because we had no STARTTLS support, then close the connection.
8660 (open-network-stream): Return an :error element, if present.
8662 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
8664 * hl-line.el (hl-line-sticky-flag): Doc fix.
8665 (global-hl-line-sticky-flag): New option (Bug#8323).
8666 (global-hl-line-highlight): Obey it.
8668 * vc/vc.el (vc-revert-show-diff): Default to t.
8670 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8672 * allout-widgets.el (allout-widgets-post-command-business):
8673 Stop decorating intermediate isearch matches. They're not being
8674 undecorated when an isearch is continued past, and isearch
8675 automatically collapses them. This leads to "widget leaks", where
8676 decorated items accumulate in collapsed areas. Lines with lots of
8677 hidden widgets can slow down cursor travel, substantially.
8678 Too much complicated machinery would be needed to ensure undecoration,
8679 so we're doing without this nicety.
8681 (allout-widgets-tally-string): Don't try to do a hash-table-count
8682 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8683 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8684 *Messages* when allout-widgets-maintain-tally is t.
8686 2011-06-26 Martin Rudalics <rudalics@gmx.at>
8688 * window.el (display-buffer-normalize-argument): Rename to
8689 display-buffer-normalize-arguments. Handle special meaning of
8690 LABEL argument. Respect special-display-function when popping up
8691 a new frame. Fix code searching for a window showing the buffer
8693 (display-buffer-normalize-specifiers):
8694 Call display-buffer-normalize-arguments.
8695 (display-buffer-in-window): Don't undedicate the window if its
8696 buffer remains the same.
8697 Reported by Drew Adams <drew.adams@oracle.com>.
8698 (display-buffer-alist): Add choice for same-window macro
8700 (display-buffer): Mention special meaning of LABEL argument in
8701 doc-string. Fix quoting. Don't pop up a new frame even as
8704 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
8706 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8707 avoid deleting the current window in some cases (bug#8911).
8709 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8711 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8714 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8716 * net/network-stream.el (network-stream-open-starttls):
8717 Use built-in TLS support if `gnutls-available-p' is true.
8718 (network-stream-open-tls): Ditto.
8720 2011-06-26 Leo Liu <sdl.web@gmail.com>
8722 * register.el (registerv): New struct.
8723 (registerv-make): New function.
8724 (jump-to-register, describe-register-1, insert-register):
8725 Support the jump-func, print-func and insert-func slot of a registerv
8728 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
8730 * vc/vc.el (vc-revert-show-diff): New defcustom.
8731 (vc-diff-internal): New arg specifying diff buffer.
8732 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8733 reuse an existing *vc-diff* buffer (Bug#8927).
8735 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8737 2011-06-26 Glenn Morris <rgm@gnu.org>
8739 * progmodes/f90.el (f90-critical-indent): New option.
8740 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8741 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8742 (f90-mode): Doc fix.
8743 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8744 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8745 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8746 (f90-match-end): Handle block, critical.
8748 2011-06-25 Glenn Morris <rgm@gnu.org>
8750 * calendar/diary-lib.el (diary-included-files): Doc fix.
8751 (diary-include-files): New function, extracted from
8752 diary-include-other-diary-files and diary-mark-included-diary-files.
8753 (diary-include-other-diary-files, diary-mark-included-diary-files):
8754 Just call diary-include-files.
8755 (diary-mark-entries): Reset diary-included-files on first call.
8757 * calendar/diary-lib.el (diary-mark-entries)
8758 (diary-mark-included-diary-files):
8759 Visit included diary-files in temp buffers.
8761 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8762 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8763 (f90-start-block-re, f90-imenu-generic-expression)
8764 (f90-looking-at-program-block-start, f90-no-block-limit):
8765 Add support for submodules.
8767 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8768 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
8770 2011-06-25 Eli Zaretskii <eliz@gnu.org>
8772 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8773 buffer-file-type before setting its value, to avoid disastrous
8774 global effects on decoding files for DOS/Windows systems. (Bug#8780)
8776 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
8778 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8780 * ses.el (ses-unload-function):
8781 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8783 * proced.el (proced-unload-function):
8784 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8786 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8788 * server.el (server-create-window-system-frame): Add parameters arg.
8789 (server-process-filter): Doc fix. Handle frame-parameters.
8791 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
8793 Fix bug#8730, bug#8781.
8795 * loadhist.el (unload--set-major-mode): New function.
8796 (unload-feature): Use it.
8798 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8799 (python-unload-function): New function.
8801 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8803 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8805 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8807 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8808 the candidates list.
8810 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
8812 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8814 2011-06-23 Richard Stallman <rms@gnu.org>
8816 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8817 (rmail-variables): Set next-error-move-function.
8818 (rmail-what-message): Take argument POS.
8819 (rmail-next-error-move): New function.
8821 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8823 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8824 messages for adjacent non-terminals.
8826 2011-06-23 Richard Stallman <rms@gnu.org>
8828 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
8829 (rmail-show-message-1): Preserve buffer modified flag.
8830 (rmail-start-mail): Don't specify use of rmail-mail-return;
8831 that's done by mail-bury now.
8832 (rmail-mail-return): Handle arg NEWBUF.
8834 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
8836 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8839 2011-06-23 Martin Rudalics <rudalics@gmx.at>
8841 * window.el (get-lru-window, get-mru-window)
8842 (get-largest-window): Never return a minibuffer window.
8843 (display-buffer-pop-up-window): Fix a bug that could lead to
8844 reusing the minibuffer window.
8845 (display-buffer): Pass original specifier argument to
8846 display-buffer-function instead of the normalized one.
8847 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8849 2011-06-22 Leo Liu <sdl.web@gmail.com>
8851 * minibuffer.el (completing-read-function)
8852 (completing-read-default): Move from minibuf.c
8854 2011-06-22 Richard Stallman <rms@gnu.org>
8856 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8857 to Rmail even if not started by a special Rmail command.
8859 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8860 Copy the buffer currently showing just one message.
8862 2011-06-22 Roland Winkler <winkler@gnu.org>
8864 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8865 (bibtex-clean-entry): First delete the old key so that a
8866 customized algorithm for generating the new key does not get
8867 confused by the old key.
8868 (bibtex-url): Obey regexp of first step.
8869 (bibtex-search-entries): Do not use add-to-list with local
8872 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8874 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8875 stored a user name, then query for the password first, instead of
8876 waiting for SMTP to give an error message and the trying again.
8878 2011-06-22 Lawrence Mitchell <wence@gmx.li>
8880 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8881 BUFFER in call-process.
8883 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8885 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8887 (smtpmail-try-auth-methods): Require user name and password from
8890 2011-06-22 Martin Rudalics <rudalics@gmx.at>
8892 * window.el (display-buffer-default-specifiers)
8893 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8894 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
8895 (split-window): Normalize SIDE argument (Bug#8916).
8897 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8898 (special-display-frame-alist, special-display-popup-frame):
8899 Remove duplicate declarations. These are now in window.el.
8901 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8903 * mail/smtpmail.el (smtpmail-via-smtp):
8904 Set :use-starttls-if-possible so that we always use STARTTLS if the
8905 server supports it. SMTP servers that support STARTTLS commonly
8908 * net/network-stream.el (network-stream-open-starttls): Support
8909 upgrading to STARTTLS always, even if we don't have built-in support.
8910 (open-network-stream): Add the :always-query-capabilities keyword.
8912 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8913 upgrades with `open-network-stream', and rely solely on
8914 auth-source for all credentials. Big changes throughout the file,
8916 (smtpmail-auth-credentials): Remove.
8917 (smtpmail-starttls-credentials): Remove.
8918 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8921 * net/network-stream.el (network-stream-open-starttls):
8922 Provide support for client certificates both for external and built-in
8924 (auth-source): Require.
8925 (open-network-stream): Document the :client-certificate keyword.
8926 (network-stream-certificate): Change cert-cert to cert and
8929 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
8931 * net/tramp-cache.el (top): Don't load the persistency file when
8932 "emacs -Q" has been called.
8934 2011-06-21 Tim Harper <timcharper@gmail.com>
8936 * term/ns-win.el (ns-initialize-window-system):
8937 Set application-specific `ApplePressAndHoldEnabled' system
8938 resource to NO as it is not yet supported by the NS port.
8940 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
8942 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8943 (list-dynamic-libraries): ...not here.
8945 2011-06-21 Leo Liu <sdl.web@gmail.com>
8947 * subr.el (sha1): Implement sha1 using secure-hash.
8949 2011-06-21 Martin Rudalics <rudalics@gmx.at>
8951 * window.el (display-buffer-alist): In default value do not
8952 enforce searching a window on any but the selected frame.
8953 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8954 (display-buffer-select-window): Remove function.
8955 (display-buffer-in-window): When a window on another frame gets
8956 reused, do not select it any more but just raise its frame if
8957 necessary (Bug#8851) and (Bug#8856).
8958 (display-buffer-normalize-options): Handle pop-up-frames related
8959 options more faithfully.
8960 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8961 window if it is on another frame.
8962 (display-buffer-alist, display-buffer-default-specifiers):
8963 Don't make new frame unsplittable by default.
8964 (display-buffer-normalize-argument): Fix doc-string typo and use
8965 'same-frame-other-window instead of 'other-window when associating
8966 with display-buffer-macro-specifiers.
8968 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8970 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8972 (5x5-mode-map, 5x5-mode-menu): Bind them.
8973 (5x5-draw-grid): Tweak the solver's rendering.
8975 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8977 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8978 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8980 2011-06-21 Drew Adams <drew.adams@oracle.com>
8982 * menu-bar.el: Use function variable instead of switch-to-buffer.
8983 (menu-bar-select-buffer-function): New variable.
8984 (menu-bar-update-buffers): Use it (bug#8876).
8986 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8988 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8991 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8993 * x-dnd.el (x-dnd-version-from-flags)
8994 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8995 and long as number (Bug#8899).
8996 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8998 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9000 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
9001 (completion-try-completion, completion-all-completions): Compute the
9002 metadata argument if it's missing; make it optional (bug#8795).
9004 * wid-edit.el: Use lex-bind and move towards completion-at-point.
9005 (widget-complete): Use new :completion-function property.
9006 (widget-completions-at-point): New function.
9007 (default): Use :completion-function instead of :complete.
9008 (widget-default-completions): Rename from widget-default-complete;
9010 (widget-string-complete, widget-file-complete, widget-color-complete):
9012 (file, symbol, function, variable, coding-system, color):
9013 * international/mule-cmds.el (default-input-method, charset)
9014 (language-info-custom-alist):
9015 * cus-edit.el (face): Use new property :completions.
9017 * progmodes/pascal.el (pascal-completions-at-point): New function.
9018 (pascal-mode): Use it.
9019 (pascal-mode-map): Use completion-at-point.
9020 (pascal-toggle-completions): Make obsolete.
9021 (pascal-complete-word, pascal-show-completions):
9022 * progmodes/octave-mod.el (octave-complete-symbol):
9023 Redefine as obsolete alias.
9024 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9025 Signal absence of completion info for old Octave,
9026 (inferior-octave-complete): Redefine as obsolete alias.
9027 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9028 (meta-completions-at-point): Rename from meta-complete-symbol and
9029 adapt it for use on completion-at-point-functions.
9030 (meta-common-mode): Use it.
9031 (meta-looking-at-backward, meta-match-buffer): Remove.
9032 (meta-complete-symbol): Redefine as obsolete alias.
9033 (meta-common-mode-map): Use completion-at-point.
9034 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9035 (makefile-mode-map): Use completion-at-point.
9036 (makefile-completions-at-point): Rename from makefile-complete and
9037 adapt it for use on completion-at-point-functions.
9038 (makefile-mode): Use it.
9039 (makefile-complete): Redefine as obsolete alias.
9041 2011-06-20 Deniz Dogan <deniz@dogan.se>
9043 * net/rcirc.el: Delete trailing whitespaces once and for all.
9045 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9047 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9049 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
9051 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9053 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9055 2011-06-19 Martin Rudalics <rudalics@gmx.at>
9057 * window.el (display-buffer-other-window-means-other-frame):
9058 Call display-buffer-normalize-alist.
9059 (display-buffer-normalize-specifiers-1): Rename to
9060 display-buffer-normalize-argument. New argument other-frame.
9062 (display-buffer-normalize-specifiers-2): Rename to
9063 display-buffer-normalize-options.
9064 (display-buffer-normalize-alist-1): New function.
9065 (display-buffer-normalize-specifiers-3): Rename to
9066 display-buffer-normalize-alist.
9067 Call display-buffer-normalize-alist-1.
9068 (display-buffer-normalize-options-inhibit): New variable.
9069 (display-buffer-normalize-specifiers): Rewrite calling
9070 display-buffer-normalize-alist,
9071 display-buffer-normalize-argument, and
9072 display-buffer-normalize-options. Don't call the latter if
9073 display-buffer-normalize-options-inhibit is non-nil.
9074 (frame-auto-delete): New option.
9075 (window-deletable-p): Use frame-auto-delete.
9076 (window-list-no-nils, window-state-ignored-parameters)
9077 (window-state-get-1, window-state-get, window-state-put-list)
9078 (window-state-put-1, window-state-put-2, window-state-put):
9080 (display-buffer-normalize-options): Move special-display-p group
9081 after pop-up-frame group (Bug#8851) and (Bug#8856).
9083 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
9085 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9087 (rx-submatch-n): New function.
9090 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9093 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9095 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9097 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9098 anytime existing face settings are present (Bug#8889).
9100 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9101 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9102 Remove unused argument.
9104 2011-06-18 Martin Rudalics <rudalics@gmx.at>
9106 * window.el (display-buffer-default-specifiers):
9107 Remove pop-up-frame. Add pop-up-window-min-height,
9108 pop-up-window-min-width, and another reuse-window specifier
9109 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
9110 (display-buffer-normalize-specifiers-2):
9111 Handle split-height-threshold and split-width-threshold also when
9112 pop-up-windows is unset. Add a reuse-window specifier for the
9113 case popping up a new window fails.
9114 (special-display-popup-frame): Remove double quoting.
9115 (display-buffer-normalize-specifiers-1): Fix thinko.
9117 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9119 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9120 according to comint-completion-addsuffix.
9122 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9123 (pcomplete-suffix-list): Mark as obsolete.
9124 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9125 pcomplete-seen in the closure.
9126 (pcomplete-comint-setup): Setup completion-at-point as well.
9127 (pcomplete--entries): New function.
9128 (pcomplete--env-regexp): New var.
9129 (pcomplete-entries): Rewrite to work with partial-completion and
9130 without relying on pcomplete-suffix-list.
9131 (pcomplete-pare-list): Remove, unused.
9133 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9135 * window.el (display-buffer-alist): Set pop-up-window-min-height
9136 and pop-up-window-min-width in default value. Reported by
9137 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9138 other-window-means-other-frame.
9139 (display-buffer-macro-specifiers): Comment out entry for
9140 other-window specifier.
9141 (display-buffer-other-window-means-other-frame): New function.
9142 (display-buffer-normalize-specifiers-1): New arguments
9143 buffer-name and label. Treat other-window case specially.
9144 (display-buffer-normalize-specifiers-2): Treat other-window case
9146 (display-buffer-normalize-specifiers-3): New function.
9147 (display-buffer-normalize-specifiers):
9148 Call display-buffer-normalize-specifiers-3.
9150 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9152 * window.el (same-window-p): Fix two typos introduced when
9153 adding with-no-warnings.
9154 (display-buffer-normalize-specifiers-1): Don't check
9155 pop-up-frames for 'unset initialization.
9156 (display-buffer-normalize-specifiers-2): Major rewrite using
9157 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9158 (pop-up-frames, display-buffer-reuse-frames)
9159 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9160 Suggested by David Engster <deng@randomsample.de>.
9161 (even-window-heights): Initialize to 'unset.
9162 (display-buffer-alist-set): Handle new 'unset initializations.
9163 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9166 2011-06-16 Martin Rudalics <rudalics@gmx.at>
9168 * window.el (display-buffer-normalize-specifiers-1):
9169 Respect current value of pop-up-frames for most reasonable values of
9170 second argument of display-buffer (Bug#8865).
9171 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9172 (switch-to-buffer-other-window-same-frame)
9173 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9175 (display-buffer): Don't check noninteractive when calling
9176 display-buffer-pop-up-frame.
9177 (display-buffer-pop-up-frame): Never pop up a frame in
9178 noninteractive mode (Bug#8857).
9179 (enlarge-window, shrink-window): Don't report an error when the
9180 window can't be resized as requested (Bug#8862).
9182 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9184 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9186 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9188 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9190 2011-06-15 Alan Mackenzie <acm@muc.de>
9192 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9193 for declarators, disable knr checking to speed up for normal files.
9194 2: Refactor, replacing a sequence of nested if forms by a cond form.
9196 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9198 * net/network-stream.el (open-network-stream): Add the keyword
9199 :always-query-capabilities for the case where you want to force a
9200 `plain' network connection, but the protocol still requires the
9201 capabilitiy command (i.e., SMTP and EHLO).
9203 * subr.el (process-live-p): Rename from `process-alive-p' for
9204 consistency with other `-live-p' functions.
9206 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9208 * window.el (same-window-buffer-names, same-window-regexps)
9209 (special-display-frame-alist, special-display-popup-frame)
9210 (special-display-function, special-display-buffer-names)
9211 (special-display-regexps, pop-up-frame-alist)
9212 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9213 (pop-up-windows, split-window-preferred-function)
9214 (split-height-threshold, split-width-threshold, even-window-heights)
9215 (display-buffer-mark-dedicated): Don't encourage the use of
9216 display-buffer-alist from Elisp code.
9218 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9220 * progmodes/python.el (python-mode): Derive from prog-mode.
9221 * progmodes/ps-mode.el (ps-mode):
9222 * progmodes/mixal-mode.el (mixal-mode):
9223 * progmodes/cfengine.el (cfengine-mode):
9224 * progmodes/ld-script.el (ld-script-mode): Likewise.
9226 2011-06-15 Martin Rudalics <rudalics@gmx.at>
9228 * window.el (display-buffer-alist): Trim default value to avoid
9229 popping up a new frame (Bug#8857) or reusing an arbitrary window
9231 (display-buffer): Do not fall back on popping up a new frame in
9232 batch mode (Bug#8857).
9234 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
9236 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9237 (custom-theme-summary): New function.
9238 (customize-themes): Use it.
9240 2011-06-13 Glenn Morris <rgm@gnu.org>
9242 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9244 2011-06-13 Martin Rudalics <rudalics@gmx.at>
9246 * help.el (help-window): Remove variable.
9247 (help-window-point-marker, temp-buffer-max-height)
9248 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9249 (help-print-return-message): Don't set help-window.
9250 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9251 (help-window-setup-finish): Remove.
9252 (help-window-display-message, help-window-setup)
9253 (with-help-window): Major rewrite based on new
9254 display-buffer-window variable.
9256 * help-mode.el (help-mode-finish): Remove help-window related
9259 * view.el (view-exits-all-viewing-windows): Remove reference to
9260 view-return-to-alist in doc-string.
9261 (view-return-to-alist): Make obsolete.
9262 (view-buffer): Call pop-to-buffer-same-window and remove
9264 (view-buffer-other-window): Call pop-to-buffer-other-window and
9265 simplify code. Ignore second argument.
9266 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9267 simplify code. Ignore second argument.
9268 (view-return-to-alist-update): Make obsolete.
9269 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9270 Rewrite using quit-restore window parameters.
9271 (view-mode-exit): Rename second argument to EXIT-ONLY.
9272 Rewrite using quit-restore-window.
9273 (View-exit, View-exit-and-edit, View-leave, View-quit)
9274 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9275 appropriate arguments.
9276 (view-end-message): Use quit-restore window parameter.
9278 * window.el (display-buffer-function): Rewrite doc-string.
9279 (display-buffer-window, display-buffer-alist): New variables.
9280 (display-buffer-split-specifiers)
9281 (display-buffer-side-specifiers)
9282 (display-buffer-macro-specifiers): New constants.
9283 (display-buffer-even-window-sizes, display-buffer-set-height)
9284 (display-buffer-set-width, display-buffer-select-window)
9285 (display-buffer-in-window, display-buffer-reuse-window)
9286 (display-buffer-split-window-1, display-buffer-split-window)
9287 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9288 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9289 (display-buffer-in-side-window, normalize-buffer-to-display)
9290 (display-buffer-normalize-specifiers-1)
9291 (display-buffer-normalize-specifiers-2)
9292 (display-buffer-normalize-specifiers, display-buffer-frame):
9294 (display-buffer): Major rewrite.
9295 (display-buffer-other-window, display-buffer-other-frame)
9296 (pop-to-buffer, switch-to-buffer-other-window)
9297 (switch-to-buffer-other-frame): Rewrite.
9298 (display-buffer-same-window, display-buffer-same-frame)
9299 (display-buffer-same-frame-other-window)
9300 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9301 (pop-to-buffer-other-window)
9302 (pop-to-buffer-same-frame-other-window)
9303 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9304 (switch-to-buffer-other-window-same-frame): New functions.
9305 (same-window-p, special-display-p): Rewrite disabling warnings.
9307 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9308 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9310 (same-window-buffer-names, same-window-regexps)
9311 (special-display-frame-alist, special-display-popup-frame)
9312 (special-display-function, special-display-buffer-names)
9313 (special-display-regexps, pop-up-frame-alist)
9314 (pop-up-frame-function, split-window-preferred-function)
9315 (split-height-threshold, split-width-threshold)
9316 (even-window-heights): Make obsolete.
9318 2011-06-12 Glenn Morris <rgm@gnu.org>
9320 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
9321 Misc simplifications.
9323 2011-06-12 Martin Rudalics <rudalics@gmx.at>
9325 * window.el (window-safely-shrinkable-p): Restore function which
9326 was inadvertently removed in change from 2011-06-11. Declare as
9329 * calendar/calendar.el (calendar-generate-window):
9330 Use window-iso-combined-p instead of combination of one-window-p and
9331 window-safely-shrinkable-p.
9333 2011-06-12 Glenn Morris <rgm@gnu.org>
9335 * progmodes/fortran.el (fortran-mode-syntax-table):
9336 * progmodes/f90.el (f90-mode-syntax-table):
9337 Set % to punctuation. (Bug#8820)
9338 (f90-find-tag-default): Remove, no longer needed.
9340 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9342 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9344 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
9346 * image.el (image-animated-p): Return animation delay in seconds.
9347 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9348 (image-animate-timeout): Remove DELAY argument. Don't assume
9349 every subimage has the same delay; get it from image-animated-p.
9350 (image-animate): Caller changed.
9352 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
9354 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9355 to ignored backtrace functions.
9357 2011-06-11 Glenn Morris <rgm@gnu.org>
9359 * calendar/appt.el (appt-disp-window-function): Doc fix.
9360 (appt-check): Handle overlapping appointments. (Bug#8337)
9362 2011-06-11 Martin Rudalics <rudalics@gmx.at>
9364 * window.el (window-tree-1, window-tree): New functions, moving
9365 the latter to window.el.
9366 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9367 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9368 (bw-refresh-edges): Remove.
9369 (balance-windows-1, balance-windows-2): New functions.
9370 (balance-windows): Rewrite in terms of window tree functions,
9371 balance-windows-1 and balance-windows-2.
9372 (bw-adjust-window): Remove.
9373 (balance-windows-area-adjust): New function with functionality of
9374 bw-adjust-window but using resize-window.
9375 (set-window-text-height): Rewrite doc-string.
9376 Use normalize-live-window and resize-window.
9377 (enlarge-window-horizontally, shrink-window-horizontally):
9378 Rename argument to DELTA.
9379 (window-buffer-height): New function.
9380 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9381 Rewrite using new window resize routines.
9382 (kill-buffer-and-window, mouse-autoselect-window-select):
9383 Use ignore-errors instead of condition-case.
9384 (quit-window): Call delete-frame instead of delete-windows-on
9385 for the only buffer on frame.
9387 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9389 * loadup.el (top-level): Load window before files for the sake
9390 of replace-buffer-in-windows.
9392 * files.el (read-buffer-to-switch)
9393 (switch-to-buffer-other-window)
9394 (switch-to-buffer-other-frame, display-buffer-other-frame):
9397 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9398 (previous-buffer): Move to window.el.
9400 * bindings.el (unbury-buffer): Move to window.el.
9402 * window.el (delete-other-windows-vertically): Move after
9403 definition of delete-other-windows.
9404 (other-window, delete-windows-on, replace-buffer-in-windows):
9405 Move here from window.c.
9406 (record-window-buffer, unrecord-window-buffer)
9407 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9408 (switch-to-next-buffer): New functions.
9409 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9410 from simple.el. Call switch-to-next-buffer.
9411 (previous-buffer): Move here from simple.el.
9412 Call switch-to-prev-buffer.
9413 (bury-buffer): Move here from buffer.c. Switch to previous
9414 buffer when window cannot be deleted.
9415 (unbury-buffer): Move here from bindings.el.
9416 (ctl-x-map): Move binding for other-window from window.c to
9418 (read-buffer-to-switch, switch-to-buffer-other-window)
9419 (switch-to-buffer-other-frame): Move here from files.el.
9420 (normalize-buffer-to-switch-to): New functions.
9421 (switch-to-buffer): Move here from buffer.c.
9422 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9424 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9426 * window.el (window-min-height, window-min-width): Move here
9427 from window.c. Add defcustoms and rewrite doc-strings.
9428 (resize-mini-window, resize-window): New functions.
9429 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9430 Move here from window.c.
9431 (maximize-window, minimize-window): New functions.
9432 (delete-window, delete-other-windows, split-window): Move here
9434 (window-split-min-size): New function.
9435 (split-window-keep-point): Mention split-window-above-each-other
9436 instead of split-window-vertically.
9437 (split-window-above-each-other, split-window-vertically):
9438 Rename split-window-vertically to split-window-above-each-other
9439 and provide defalias for old definition.
9440 (split-window-side-by-side, split-window-horizontally):
9441 Rename split-window-horizontally to split-window-side-by-side
9442 and provide defalias for the old definition.
9443 (ctl-x-map): Move bindings for delete-window,
9444 delete-other-windows and enlarge-window here from window.c.
9445 Replace bindings for split-window-vertically and
9446 split-window-horizontally by bindings for
9447 split-window-above-each-other and split-window-side-by-side.
9449 * cus-start.el (all): Remove entries for window-min-height and
9450 window-min-width. Add entries for window-splits and
9453 2011-06-09 Glenn Morris <rgm@gnu.org>
9455 * calendar/appt.el (appt-mode-line): New function.
9456 (appt-check, appt-disp-window): Use it.
9458 * files.el (hack-one-local-variable-eval-safep):
9459 Allow minor-modes with explicit +/-1 arguments.
9461 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9463 * term/xterm.el (xterm): Add defgroup.
9464 (xterm-extra-capabilities): Add defcustom to supply known xterm
9465 capabilities, skip querying them, or query them (default).
9466 (terminal-init-xterm): Use it.
9467 (terminal-init-xterm-modify-other-keys): New function to set up
9468 modifyOtherKeys support to simplify `terminal-init-xterm'.
9470 2011-06-09 Martin Rudalics <rudalics@gmx.at>
9472 * window.el (resize-window-reset, resize-window-reset-1)
9473 (resize-subwindows-skip-p, resize-subwindows-normal)
9474 (resize-subwindows, resize-other-windows, resize-this-window)
9475 (resize-root-window, resize-root-window-vertically)
9476 (window-deletable-p, window-or-subwindow-p)
9477 (frame-root-window-p): New functions.
9479 2011-06-09 Glenn Morris <rgm@gnu.org>
9481 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9482 (ange-ftp-get-files): Use it.
9484 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9486 * mail/sendmail.el (mail-recover-1, mail-recover):
9487 * files.el (recover-file, recover-session):
9488 Handle dired-listing-switches not being just a single short option.
9490 2011-06-09 Glenn Morris <rgm@gnu.org>
9492 * calendar/appt.el (appt-display-message, appt-disp-window):
9493 Handle lists of appointments.
9495 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9497 * window.el (one-window-p): Move down in code.
9499 (window-current-scroll-bars): Rewrite doc-string.
9500 Normalize live window argument.
9501 (walk-windows, get-window-with-predicate, count-windows):
9502 Rewrite doc-string. Use window-list-1.
9503 (window-in-direction-2, window-in-direction, get-mru-window):
9506 2011-06-08 Reuben Thomas <rrt@sc3d.org>
9508 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9511 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
9513 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9515 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
9517 * loadhist.el (unload-feature-special-hooks):
9518 Add `comint-output-filter-functions'.
9520 2011-06-08 Ivan Kanis <gnu@kanis.fr>
9522 * calendar/appt.el (appt-check): Move some initializations into the let.
9524 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9526 * window.el (window-height): Defalias to window-total-height.
9527 (window-width): Defalias to window-body-width.
9529 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
9531 * image-mode.el (image-toggle-animation): New command.
9532 (image-mode-map): Bind it to RET.
9533 (image-mode): Update message.
9534 (image-toggle-display-image): Avoid a spurious cache flush.
9535 (image-transform-rotation): Doc fix.
9536 (image-transform-properties): Return quickly in the normal case.
9537 (image-animate-loop): Rename from image-animate-max-time.
9539 * image.el (image-animate-max-time): Move to image-mode.el.
9540 (create-animated-image): Remove unnecessary function.
9541 (image-animate): Rename from image-animate-start. New arg.
9542 (image-animate-stop): Remove; just use image-animate-timer.
9543 (image-animate-timer): Use car-safe.
9544 (image-animate-timeout): Rename argument.
9546 2011-06-07 Martin Rudalics <rudalics@gmx.at>
9548 * window.el (get-lru-window, get-largest-window): Move here from
9549 window.c. Rename first argument to ALL-FRAMES.
9550 Rephrase doc-strings.
9551 (get-buffer-window-list): Rewrite using window-list-1.
9552 Rephrase doc-string.
9553 (window-safe-min-height, window-safe-min-width): New constants.
9554 (window-size-ignore, window-min-size, window-min-size-1)
9555 (window-sizable, window-sizable-p, window-size-fixed-1)
9556 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9557 (window-max-delta-1, window-max-delta, window-resizable)
9558 (window-resizable-p, window-total-height, window-total-width)
9559 (window-body-width): New functions.
9560 (window-full-height-p, window-full-width-p): Rewrite using
9562 (window-body-height): Rewrite using window-body-size.
9564 2011-06-06 Martin Rudalics <rudalics@gmx.at>
9566 * window.el (window-right, window-left, window-child)
9567 (window-child-count, window-last-child, window-any-p)
9568 (normalize-live-buffer, normalize-live-frame)
9569 (normalize-any-window, normalize-live-window)
9570 (window-iso-combination-p, window-iso-combined-p)
9571 (window-iso-combinations)
9572 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9573 (windows-with-parameter, window-with-parameter)
9574 (window-atom-root, make-window-atom, window-atom-check-1)
9575 (window-atom-check, window-side-check, window-check):
9577 (ignore-window-parameters, window-sides, window-sides-vertical)
9578 (window-sides-slots): New variables.
9579 (window-size-fixed): Move down in code. Minor doc-string fix.
9581 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9583 * comint.el (comint-dynamic-complete-as-filename)
9584 (comint-dynamic-complete-filename): Correctly call
9585 completion-in-region.
9587 2011-06-05 Deniz Dogan <deniz@dogan.se>
9589 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9592 2011-06-05 Deniz Dogan <deniz@dogan.se>
9594 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9595 (rcirc): Use it to prompt for encryption.
9597 2011-06-05 Roland Winkler <winkler@gnu.org>
9599 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9600 (bibtex-search-entries): New command bound to C-c C-a.
9601 (bibtex-display-entries): New function.
9603 2011-06-05 Roland Winkler <winkler@gnu.org>
9605 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9606 (bibtex-insert-kill): After yanking insert newline if necessary.
9607 (bibtex-initialize): Call bibtex-string-files-init only once.
9608 (bibtex-mode): Do not call easy-menu-add.
9609 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9610 (bibtex-yank): Set arg properly if nil.
9612 2011-06-05 Roland Winkler <winkler@gnu.org>
9614 * textmodes/bibtex.el (bibtex-search-entry-globally):
9616 (bibtex-search-entry): Use it.
9618 2011-06-05 Roland Winkler <winkler@gnu.org>
9620 * textmodes/bibtex.el (bibtex-entry-format): New option
9622 (bibtex-format-entry, bibtex-reformat): Honor this option.
9623 (bibtex-parse-entry): Return fields in proper order.
9625 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
9627 * doc-view.el (doc-view-remove-if): Move computation of result out
9628 of `dolist' to silence misleading lexical-binding warning.
9630 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
9632 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9633 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9635 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9637 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9640 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9642 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9643 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9644 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9645 (tramp-parse-putty):
9646 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9647 (tramp-completion-function-alist-ssh)
9648 (tramp-completion-function-alist-telnet)
9649 (tramp-completion-function-alist-su)
9650 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9655 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9656 load "tramp.el" `tramp-set-completion-function'.
9658 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9660 * shell.el: Require and use pcomplete.
9661 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9662 (shell-completion-vars): Set pcomplete-default-completion-function.
9664 2011-06-04 Deniz Dogan <deniz@dogan.se>
9666 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9669 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9671 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9673 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
9675 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9676 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9677 * vc/log-view.el (log-view-beginning-of-defun):
9678 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9679 (smerge-refine-forward, smerge-refine-chopup-region):
9680 Silence warning for unused `dotimes' counter variables.
9682 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9684 * net/tramp.el (tramp-with-progress-reporter): Rename from
9685 with-progress-reporter. Use `declare'.
9688 * net/tramp-gvfs.el: Update all uses.
9690 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9692 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9693 buffer isn't killed before making it current.
9695 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9697 Silence various byte-compiler warnings.
9698 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9699 `access-type' and new obsolescence format.
9700 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9702 (byte-compile-check-variable): New `access-type' argument.
9703 Only warn if the access-type is obsolete.
9704 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9705 (byte-compile-variable-set): Adjust callers.
9706 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9707 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9708 setting it as obsolete.
9709 * simple.el (minibuffer-completing-symbol):
9710 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9712 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9714 * international/quail.el (quail-mouse-choose-completion): Remove unused
9715 code referring to obsolete var.
9716 (quail-choose-completion-string): Remove.
9717 * server.el (server-clients-with, server-kill-buffer-query-function)
9718 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9719 * proced.el (proced-send-signal):
9720 * emacs-lisp/lisp.el (lisp-complete-symbol):
9721 Replace completion-annotate-function with completion-extra-properties.
9723 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9725 * simple.el (goto-line): Use read-number.
9726 (overriding-map-is-bound): Remove.
9727 (saved-overriding-map): Change default.
9728 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9729 Take the map as argument.
9730 (universal-argument, negative-argument, digit-argument): Use it.
9731 (restore-overriding-map): Adjust.
9732 (do-auto-fill): Use fill-forward-paragraph.
9733 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9735 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9736 (minibuffer-inactive-mode): New major mode.
9737 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9738 the *Messages* buffer" hack.
9739 (mouse-popup-menubar): Don't burp if the event is a normal key.
9741 Miscellaneous tweaks.
9742 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9743 lexical scoping as in subr.el's dolist and dotimes.
9744 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9745 Silence compiler warning.
9746 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9747 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9748 * international/ccl.el (ccl-compile): Trivial simplification.
9749 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9750 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9751 `printflag' argument.
9752 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9753 Purecopy the whole obsolescence data.
9755 2011-06-01 Leo Liu <sdl.web@gmail.com>
9757 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9758 improve doc-string as suggested by Marco Pessotto
9759 <melmothx@gmail.com>.
9760 (rcirc-print): Fix last change.
9762 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9764 * minibuffer.el (complete-with-action): Return nil for the metadata and
9765 boundaries of non-functional tables.
9766 (completion-table-dynamic): Return nil for the metadata.
9767 (completion-table-with-terminator): Add default case, using
9768 complete-with-action.
9769 (completion--metadata): New function.
9770 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9771 to try and avoid pathological performance problems.
9772 (completion--embedded-envvar-table): Return `category' metadata.
9774 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9776 * subr.el (process-alive-p): New tiny convenience function.
9778 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9780 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9781 content but also its previous major mode.
9783 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
9785 * emacs-lisp/debug.el (debug): Restore the previous content of the
9786 *Backtrace* buffer when we exit with C-M-c.
9788 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9790 * minibuffer.el: Add metadata method to completion tables.
9791 (completion-category-overrides): New defcustom.
9792 (completion-metadata, completion--field-metadata)
9793 (completion-metadata-get, completion--styles)
9794 (completion--cycle-threshold): New functions.
9795 (completion-try-completion, completion-all-completions):
9796 Add `metadata' argument to choose completion-styles.
9797 (completion--do-completion): Use metadata to choose cycling.
9798 (completion-all-sorted-completions): Use metadata for sorting.
9799 Remove :completion-cycle-penalty which is not needed any more.
9800 (completion--try-word-completion): Add `metadata' argument.
9801 (minibuffer-completion-help): Check metadata for annotation function
9803 (completion-file-name-table): Return `category' metadata.
9804 (minibuffer-completing-file-name): Make obsolete.
9805 * simple.el (minibuffer-completing-symbol): Make obsolete.
9806 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9807 completion-try-completion.
9809 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9811 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9813 2011-05-30 Leo Liu <sdl.web@gmail.com>
9815 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
9816 (rcirc-print): Decode all incoming messages (bug#8744).
9817 (rcirc-decode-coding-system): Allow value nil for automatic coding
9820 2011-06-01 Glenn Morris <rgm@gnu.org>
9822 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9824 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9826 * image.el (image-animate-max-time): Allow nil and t values.
9828 (create-animated-image): Doc fix.
9829 (image-animate-start): Remove second arg; just use
9830 image-animate-max-time.
9831 (image-animate-timeout): Doc fix. Args changed.
9833 * image-mode.el (image-toggle-display-image): Ensure that the
9834 image spec passed to the animate timer is the same object as in
9835 the buffer's display property (Bug#6981).
9836 (image-transform-properties): Doc fix.
9838 * image.el (image-animate-max-time): Default to nil.
9840 2011-05-29 Martin Rudalics <rudalics@gmx.at>
9842 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9843 entire buffer list (Bug#8184).
9845 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9847 * image.el (imagemagick-types-inhibit)
9848 (imagemagick-register-types): Doc fix.
9850 2011-05-29 Deniz Dogan <deniz@dogan.se>
9852 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9855 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9857 * select.el: Don't perform clipboard-manager saving in hooks;
9858 leave the hooks empty.
9860 2011-05-28 Leo Liu <sdl.web@gmail.com>
9862 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9863 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9864 (occur-edit-mode): New major mode (Bug#8463).
9865 (occur-after-change-function): New function.
9866 (occur-engine): Give Occur tags a read-only property.
9868 2011-05-28 Kevin Ryde <user42@zip.com.au>
9870 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9872 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9874 * bindings.el (help-echo): Make the initial non-indicator dash
9875 empty on graphical terminals (Bug#7295).
9877 * files.el (auto-mode-alist): Move config rule after the
9878 in-stripping one (Bug#8547).
9880 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9882 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9885 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9887 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9888 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9891 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9893 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9895 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9897 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9898 (hs-hide-block-at-point, hs-find-block-beginning)
9899 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9902 2011-05-28 Glenn Morris <rgm@gnu.org>
9904 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9906 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9908 * help-fns.el (describe-function-1): If the function is a derived
9909 major mode, print the parent mode.
9911 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9912 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9914 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9916 * minibuffer.el (completion--capf-wrapper): Check applicability before
9917 returning non-nil for non-exclusive completion data.
9918 * progmodes/etags.el (tags-completion-at-point-function):
9919 * info-look.el (info-lookup-completions-at-point): Mark as
9921 (info-complete): Adjust accordingly.
9923 * info-look.el: Convert to lexical-binding and completion-at-point.
9924 (info-lookup-completions-at-point): New function.
9925 (info-complete): Use it and completion-in-region.
9927 2011-05-28 Drew Adams <drew.adams@oracle.com>
9929 * isearch.el: Let M-e start with point at the first mismatched char.
9930 (isearch-fail-pos): New function.
9931 (isearch-edit-string): Use it.
9933 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9935 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9937 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
9939 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9940 traversal functions for avl-trees.
9941 (avl-tree--stack): New struct.
9942 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9943 (avl-tree-enter): Add optional `updatefun' arg.
9944 (avl-tree--do-enter): Add optional `updatefun' arg.
9945 Change return value.
9946 (avl-tree-delete): Add optional `test' and `nilflag' args.
9947 (avl-tree--do-delete): Add `test' and `nilflag' args.
9948 Change return value.
9949 (avl-tree-member): Add optional `nilflag'
9950 (avl-tree-member-p): New function.
9951 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9952 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9953 (avl-tree-stack-empty-p): New functions.
9955 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9956 avl-tree--del-balance1 and make it work both ways.
9957 (avl-tree--del-balance2): Remove.
9958 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9959 make it work both ways.
9960 (avl-tree--enter-balance2): Remove.
9961 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9963 (avl-tree--mapc, avl-tree-map): Add direction argument.
9965 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
9967 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9969 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
9971 * select.el: Support clipboard managers with built-in function
9972 x-clipboard-manager-save, via delete-frame-functions and
9974 (xselect-convert-to-targets): Add MULTIPLE target to list.
9975 (xselect-convert-to-save-targets): New function.
9977 2011-05-27 Kenichi Handa <handa@m17n.org>
9979 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9980 let-binding rfc2047-encode-encoded-words to nil.
9982 2011-05-27 Glenn Morris <rgm@gnu.org>
9984 * mail/emacsbug.el: Don't require url-util.
9986 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9988 * files.el (set-auto-mode):
9989 Also respect mode: entries at the end of the file. (Bug#8586)
9991 2011-05-26 Glenn Morris <rgm@gnu.org>
9993 * files.el (hack-local-variables-prop-line, hack-local-variables):
9994 Downcase mode names, as seems to be traditional.
9995 (hack-local-variables, hack-local-variables-apply): Doc fixes.
9997 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9998 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10000 2011-05-25 Julien Danjou <julien@danjou.info>
10002 * textmodes/rst.el (rst-define-level-faces): Do not define face
10003 symbol if it is already defined.
10005 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10007 * play/5x5.el (5x5-new-game, 5x5-randomize):
10008 Reset 5x5-solver-output to nil when a new grid is cast.
10009 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10010 these debugging traces, as defmacro breaks the compiled code.
10012 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10014 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10016 2011-05-24 Leo Liu <sdl.web@gmail.com>
10018 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10019 (vc-bzr-sha1): Adapt.
10021 * sha1.el: Remove. Function `sha1' is now builtin.
10023 * bindings.el: Provide sha1 feature.
10025 2011-05-24 Kenichi Handa <handa@m17n.org>
10027 * mail/sendmail.el: Require `rfc2047'.
10028 (mail-insert-from-field): Do not perform RFC2047 encoding.
10029 (mail-encode-header): New function.
10030 (sendmail-send-it): Set buffer-file-coding-system of the work
10031 buffer to the return value of select-message-coding-system.
10032 Call mail-encode-header.
10034 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10036 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
10038 * mail/supercite.el (sc-default-cite-frame):
10039 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
10041 2011-05-24 Glenn Morris <rgm@gnu.org>
10043 * progmodes/python.el (brm-menu): Declare.
10045 * emulation/viper.el (viper-set-hooks): Declare.
10047 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10048 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10049 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10050 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10051 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10052 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10054 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10056 Add an :exit-function for completion-at-point.
10058 * minibuffer.el (completion--done): New fun.
10059 (completion--do-completion): Use it. New arg `expect-exact'.
10060 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10061 since completion--do-completion does it for us now.
10062 (minibuffer-force-complete): Use completion--done and
10063 completion--replace. Handle sole-completion case with more care.
10064 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10065 (completion-extra-properties): New var.
10066 (completion-annotate-function): Make obsolete.
10067 (minibuffer-completion-help): Adjust accordingly.
10068 Use completion-list-insert-choice-function.
10069 (completion-at-point, completion-help-at-point):
10070 Bind completion-extra-properties.
10071 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10072 * simple.el (completion-list-insert-choice-function): New var.
10073 (completion-setup-function): Preserve it.
10074 (choose-completion): Pay attention to it, shuffle the code a bit.
10075 (choose-completion-string): New arg `insert-function'.
10077 * textmodes/bibtex.el: Convert to lexical binding.
10078 (bibtex-mode-map): Use completion-at-point.
10079 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10080 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10081 (bibtex-complete): Define as obsolete alias.
10082 (bibtex-complete-internal): Remove.
10083 (bibtex-format-entry): Remove unused sub-group in regexp.
10084 * shell.el (shell--command-completion-data)
10085 (shell-environment-variable-completion):
10086 * pcomplete.el (pcomplete-completions-at-point):
10087 * comint.el (comint--complete-file-name-data): Use :exit-function
10088 instead of completion-table-with-terminator so it also works for
10091 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10093 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10095 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10098 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10100 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10102 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10103 customization variable and implement: If non-nil, auto-fill will
10104 be inhibited while on topic's header line.
10106 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10108 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
10109 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
10110 always have a solution in grid size = 5 cases.
10111 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10112 (5x5-solver-output, 5x5-log-buffer): New vars.
10113 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10114 Make these variables buffer local to achieve 5x5 multi-session-ness.
10115 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10116 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10117 (5x5-solve-suggest): New funs.
10118 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10119 randomize a grid so that we ensure that there is always a solution.
10120 (5x5-make-random-grid): Allow other movement than flipping.
10122 2011-05-23 Kevin Ryde <user42@zip.com.au>
10124 * emacs-lisp/advice.el (ad-read-advised-function):
10125 Use `function-called-at-point' as the default, if it has
10126 advice and passes PREDICATE.
10128 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10130 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10131 byte-compile-lambda if it's actually a lambda.
10133 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10134 Fix function quoting. Use backquote better.
10136 2011-05-22 Yuanle Song <sylecn@gmail.com>
10138 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10139 matching (Bug#8516).
10141 2011-01-22 Jari Aalto <jari.aalto@cante.net>
10143 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10144 different face (Bug#8178).
10146 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
10148 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10149 defface (Bug#8144).
10151 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10153 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10154 funcall as well (bug#8712). Warn when performing those conversions.
10155 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10157 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10159 2011-05-22 Glenn Morris <rgm@gnu.org>
10161 * files.el (hack-local-variables-prop-line): Small simplifications.
10162 (hack-local-variables, hack-local-variables-prop-line):
10163 If MODE-ONLY, return the mode, rather than just `t'.
10165 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10167 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10169 2011-05-21 Glenn Morris <rgm@gnu.org>
10171 * files.el (hack-local-variables-prop-line, hack-local-variables):
10172 If only interested in the mode, don't bother doing the other stuff.
10174 * image-mode.el (image-after-revert-hook):
10175 Redraw all frames on which the image is visible. (Bug#8567)
10177 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10179 * wid-edit.el (widget-checklist-match-inline):
10180 Fix 2011-04-19 change. (Bug#8649)
10182 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10184 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10185 Also allow singlespace after single-letter capitals followed by a dot.
10187 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10188 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10190 2011-05-20 Nix <nix@esperi.org.uk>
10192 * files.el (basic-save-buffer-2):
10193 Fix handling of break-hardlink-on-save with non-existent files.
10195 2011-05-19 Deniz Dogan <deniz@dogan.se>
10197 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
10198 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
10200 2011-05-19 Glenn Morris <rgm@gnu.org>
10202 * progmodes/f90.el (f90-type-def-re):
10203 Handle "type, bind(c)". (Bug#8691)
10205 * emacs-lisp/autoload.el (batch-update-autoloads):
10206 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10208 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
10210 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10211 property for the correct connection in case of multihops.
10213 2011-05-18 Glenn Morris <rgm@gnu.org>
10215 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
10216 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10218 Rationalize calendar handling of day and month abbrev-arrays.
10219 * calendar/calendar.el (calendar-customized-p): New function.
10220 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10221 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10223 (calendar-abbrev-length, calendar-day-abbrev-array)
10224 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10225 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10226 Elements may no longer be nil.
10227 (calendar-day-name, calendar-month-name):
10228 Update for changed nature of abbrev arrays.
10229 * calendar/diary-lib.el (diary-name-pattern):
10230 Update for changed nature of abbrev arrays.
10231 (diary-mark-entries-1): Update calendar-make-alist calls.
10232 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10233 * calendar/cal-html.el (cal-html-day-abbrev-array):
10234 Simply inherit from calendar-day-abbrev-array.
10236 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10238 * progmodes/grep.el (grep-mode): Disable default
10239 compilation-directory-matcher setting (bug#8684).
10241 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
10243 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10244 instead of "head" and "tail". There were problems with SunOS 5.9,
10245 and it performs better.
10247 2011-05-17 Glenn Morris <rgm@gnu.org>
10249 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10251 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10252 Replace obsolete function.
10254 * shell.el (pcomplete-parse-arguments-function): Declare.
10256 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10257 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10258 (appt-check): Doc fixes.
10259 (appt-disp-window-function, appt-delete-window-function):
10260 Remove needless special case in custom :type.
10261 (appt-display-count): Default to 0, not nil.
10262 (appt-check): Reset appt-display-count to 0, not nil.
10264 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
10266 * progmodes/python.el (python-font-lock-keywords):
10267 Add the Python 3.X keyword "nonlocal" (bug#8639).
10269 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10271 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10273 2011-05-16 Kevin Ryde <user42@zip.com.au>
10275 * info-look.el (makefile-automake-mode): New setups, looking in
10276 automake manual, then makefile-mode.
10277 (makefile-mode): Remove automake manual, have it just in
10278 makefile-automake-mode since there's various things different or
10279 not relevant to plain make.
10280 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10281 believe a hypothetical automake-mode would go to makefile-mode,
10282 not the other way around.
10284 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
10286 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10287 hunk-end tags (Bug#8672).
10289 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10290 vc-annotate-show-diff-revision-at-line (Bug#8671).
10292 2011-05-14 Glenn Morris <rgm@gnu.org>
10294 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10295 in the middle of an existing one with multiple authors. (Bug#8645)
10296 (change-log-font-lock-keywords): Also handle multiple author lines
10297 with leading tabs. (Bug#8644)
10299 * calendar/appt.el (appt-check): Rename some local variables.
10300 Some simplification/reordering.
10302 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10303 (feedmail-sendmail-f-doesnt-sell-me-out)
10304 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10305 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10306 (feedmail-queue-runner-message-sender): Set :version.
10307 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10308 (bbdb-dwim-net-address, vm-mail): Declare.
10309 (feedmail-binmail-gnulinuxish-template):
10310 Rename from feedmail-binmail-linuxish-template.
10311 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10312 Use insert-buffer-substring.
10314 2011-05-14 Bill Carpenter <bill@carpenter.org>
10316 * mail/feedmail.el (feedmail-patch-level): Increase.
10317 (feedmail-debug): New custom group.
10318 (feedmail-confirm-outgoing-timeout)
10319 (feedmail-sendmail-f-doesnt-sell-me-out)
10320 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10321 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10322 (feedmail-sender-line, feedmail-from-line)
10323 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
10324 (feedmail-spray-this-address)
10325 (feedmail-spray-address-fiddle-plex-list)
10326 (feedmail-queue-use-send-time-for-date)
10327 (feedmail-queue-use-send-time-for-message-id)
10328 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10329 (feedmail-buffer-eating-function):
10331 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10332 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10333 (feedmail-message-action-scroll-down): New functions.
10334 (feedmail-queue-directory, feedmail-queue-draft-directory):
10335 Use expand-file-name.
10336 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10337 Remove C-v help entry.
10338 (feedmail-queue-buffer-file-name): New variable.
10339 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10340 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10341 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10342 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10343 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10344 (feedmail-message-action-toggle-spray)
10345 (feedmail-run-the-queue-no-prompts)
10346 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10347 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10348 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10349 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10350 (feedmail-envelope-deducer, feedmail-fiddle-from)
10351 (feedmail-fiddle-sender, feedmail-default-date-generator)
10352 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10353 (feedmail-fiddle-spray-address)
10354 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10355 (feedmail-fiddle-list-of-fiddle-plexes)
10356 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10357 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10358 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10359 Change default. Doc fix.
10360 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10361 (feedmail-binmail-linuxish-template): New constant.
10362 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10363 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10364 (feedmail-send-it): Add debug call.
10365 Use feedmail-queue-buffer-file-name, and
10366 feedmail-send-it-immediately-wrapper.
10367 (feedmail-message-action-send): Add debug call.
10368 Use feedmail-send-it-immediately-wrapper.
10369 (feedmail-queue-express-to-queue): Add debug call.
10370 Run feedmail-queue-express-hook.
10371 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10372 (feedmail-message-action-help-blat):
10373 Rename from feedmail-queue-send-edit-prompt-help-first.
10374 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10375 Check line-endings. Handle errors better.
10376 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10377 Doc fix. Add debug call.
10378 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10379 Use feedmail-queue-send-edit-prompt-inner.
10380 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10381 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10382 from feedmail-queue-send-edit-prompt.
10383 (feedmail-queue-send-edit-prompt-help)
10384 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10385 (feedmail-tidy-up-slug): Add debug call.
10386 Respect feedmail-queue-slug-suspect-regexp.
10387 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10388 (feedmail-dump-message-to-queue): Add debug call.
10389 Expand queue-directory.
10390 (feedmail-dump-message-to-queue): Change message slightly.
10391 Use feedmail-say-chatter.
10392 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10393 (feedmail-send-it-immediately-wrapper): New function.
10394 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10395 Insert empty string rather than newline. Handle full-frame case.
10396 Use catch/throw. Use feedmail-say-chatter.
10397 (feedmail-fiddle-from): Try mail-host-address.
10398 (feedmail-default-message-id-generator): Doc fix.
10399 Bind system-time-locale. Handle missing end.
10400 (feedmail-fiddle-x-mailer): Add debug call.
10401 Handle feedmail-x-mailer-line being nil.
10402 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10403 Add debug call. Use buffer-substring-no-properties.
10404 (feedmail-say-debug, feedmail-say-chatter): New functions.
10405 (feedmail-find-eoh): Give an explicit error.
10407 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
10409 * net/newst-treeview.el (newsticker-treeview-face): Change default
10410 family from helvetica to sans.
10411 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
10412 etc/images/newsticker.
10414 * net/newst-reader.el (newsticker-feed-face): Change default
10415 family from helvetica to sans.
10417 * net/newst-plainview.el (newsticker-new-item-face)
10418 (newsticker-old-item-face, newsticker-immortal-item-face)
10419 (newsticker-obsolete-item-face, newsticker-date-face)
10420 (newsticker-statistics-face): Change default family from
10422 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
10423 etc/images/newsticker.
10425 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10426 (newsticker--process-auto-mark-filter-match): : Tell user about
10429 2011-05-13 Didier Verna <didier@xemacs.org>
10431 Common Lisp indentation improvements on defmethod and lambda-lists.
10432 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10434 (lisp-lambda-list-keyword-parameter-indentation)
10435 (lisp-lambda-list-keyword-parameter-alignment)
10436 (lisp-lambda-list-keyword-alignment): New customizable user options.
10437 (lisp-indent-defun-method): Improve docstring.
10438 (extended-loop-p): Fix comment.
10439 (lisp-indent-lambda-list-keywords-regexp): New variable.
10440 (lisp-indent-lambda-list): New function.
10441 (lisp-indent-259): Use it.
10442 (lisp-indent-defmethod): Support for more than one
10443 method qualifier and properly indent methods lambda-lists.
10444 (defgeneric): Provide a missing common-lisp-indent-function property.
10446 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10448 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10449 bounds for the empty string (bug#8667).
10451 2011-05-13 Glenn Morris <rgm@gnu.org>
10453 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10455 * mail/sendmail.el (sendmail-program): Try executable-find first.
10456 (sendmail-send-it): `sendmail-program' cannot be unbound.
10458 * calendar/appt.el (appt-make-list): Simplify.
10459 (appt-time-msg-list): Doc fix.
10460 (appt-check): Change mode-line message at the time of the appointment.
10462 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10464 * progmodes/ld-script.el (ld-script-keywords)
10465 (ld-script-builtins): Update keywords list.
10467 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10469 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10471 * shell.el (shell-completion-vars): New function.
10473 * simple.el (read-shell-command): Use it.
10474 (blink-matching-open): No need for " [...]" in minibuffer-message.
10476 2011-05-12 Glenn Morris <rgm@gnu.org>
10478 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10479 (appt-check): Simplify.
10481 2011-05-12 Eli Zaretskii <eliz@gnu.org>
10483 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
10484 literal "/dev/null".
10486 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10488 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10491 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
10493 * progmodes/which-func.el (which-function):
10494 Use add-log-current-defun instead of add-log-current-defun-function,
10495 which might not be defined (Bug#8260).
10497 2011-05-12 Glenn Morris <rgm@gnu.org>
10499 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10500 Let byte-compile-initial-macro-environment always take precedence.
10502 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10504 * net/rcirc.el: Add support for SSL/TLS connections.
10505 (rcirc-server-alist): New field `encryption'.
10506 (rcirc): Check `encryption' settings.
10507 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10508 Merge make-local-variable into `set'.
10509 (rcirc--connection-open-p): New function.
10510 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10511 the process is not a network process (e.g. running gnutls-cli).
10512 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10513 Make rcirc-(en|de)code-coding-system local here.
10514 (rcirc-mode): Merge make-local-variable into `set'.
10515 (rcirc-parent-buffer): Make permanent buffer-local.
10516 (rcirc-multiline-minor-mode): Don't do it here.
10517 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10518 there's no server buffer.
10520 2011-05-11 Glenn Morris <rgm@gnu.org>
10522 * newcomment.el (comment-kill): Prefix "unused" local.
10524 * term/w32console.el (get-screen-color): Declare.
10526 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10527 Handle symbol elements of byte-compile-initial-macro-environment.
10529 2011-05-10 Leo Liu <sdl.web@gmail.com>
10531 * bookmark.el (bookmark-bmenu-mode-map):
10532 Bind bookmark-bmenu-search to `/'.
10534 * mail/footnote.el: Convert to utf-8 encoding.
10535 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10536 (Footnote-unicode): New function.
10537 (footnote-style-alist): Add unicode style to the list.
10538 (footnote-style): Doc fix.
10540 2011-05-10 Jim Meyering <meyering@redhat.com>
10542 Fix doubled-word typos.
10543 * international/quail.el (quail-insert-kbd-layout): and and -> and
10544 * kermit.el: and and -> and
10545 * net/ldap.el (ldap-search-internal): to to -> to
10546 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10547 * progmodes/js.el (js-mode): and and -> and
10548 * textmodes/artist.el (artist-move-to-xy): at at -> at
10549 (artist-draw-region-trim-line-endings): if if -> if
10550 And Safetyc -> Safety.
10551 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10553 2011-05-10 Glenn Morris <rgm@gnu.org>
10554 Stefan Monnier <monnier@iro.umontreal.ca>
10556 * files.el (hack-one-local-variable-eval-safep):
10557 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10559 2011-05-10 Glenn Morris <rgm@gnu.org>
10561 * calendar/diary-lib.el (diary-list-entries-hook)
10562 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10563 (diary-nongregorian-marking-hook, diary-list-entries)
10564 (diary-include-other-diary-files, diary-mark-entries)
10565 (diary-mark-included-diary-files): Doc fixes.
10567 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10569 * misc.el: Require tabulated-list.el during compilation.
10571 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10573 * progmodes/compile.el (compilation-start):
10574 Run compilation-filter-hook for the async case too.
10575 (compilation-filter-hook): Doc fix.
10577 2011-05-09 Deniz Dogan <deniz@dogan.se>
10579 * wdired.el: Remove outdated installation comment. Fix usage
10582 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10584 * misc.el: Implement new command `list-dynamic-libraries'.
10585 (list-dynamic-libraries--loaded-only-p): New variable.
10586 (list-dynamic-libraries--refresh): New function.
10587 (list-dynamic-libraries): New command.
10589 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10591 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10592 Fix the ant regexp to handle end-line and end-column info from jikes.
10593 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10594 higher priority to avoid clobbering by gnu.
10596 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10598 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10599 if the face has existing theme settings (Bug#8454).
10601 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10603 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10604 Only match variables declared via `my' or `our' (Bug#8261).
10606 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10607 special file names `.' and `..' (Bug#8259).
10609 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10611 * progmodes/grep.el (grep-mode-font-lock-keywords):
10612 Remove buffer-changing entries.
10613 (grep-filter): New function.
10614 (grep-mode): Add it to compilation-filter-hook.
10616 * progmodes/compile.el (compilation-filter-hook)
10617 (compilation-filter-start): New defvars.
10618 (compilation-filter): Call compilation-filter-hook prior to
10619 updating the process mark.
10621 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10623 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10625 2011-05-07 Eli Zaretskii <eliz@gnu.org>
10627 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10628 mailclient-send-it even if window-system is nil. (Bug#8595)
10630 * term/w32console.el (terminal-init-w32console):
10631 Call get-screen-color and use its output to set the frame
10632 background-mode. (Bug#8597)
10634 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10636 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10637 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10639 (defgeneric, eieio--defmethod): Use them.
10640 (eieio-defgeneric): Remove.
10641 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10643 2011-05-07 Glenn Morris <rgm@gnu.org>
10645 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10646 Use let rather than let*.
10647 (timeclock-find-discrep): Remove unused local.
10649 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10651 * calendar/appt.el (appt-time-msg-list): Doc fix.
10653 2011-05-06 Noah Friedman <friedman@splode.com>
10655 * apropos.el (apropos-print-doc): Only use
10656 emacs-lisp-docstring-fill-column when it is bound to an integer,
10657 per that variable's documentation.
10659 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10661 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
10662 and warnings are not silently discarded (e.g. use -d instead of -P).
10664 2011-05-06 Glenn Morris <rgm@gnu.org>
10666 * calendar/appt.el (appt-message-warning-time): Doc fix.
10667 (appt-warning-time-regexp): New option.
10668 (appt-make-list): Respect appt-message-warning-time.
10670 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10672 (diary-add-to-list): Strip comments from the displayed string.
10673 (diary-mode): Set comment-start and comment-end.
10675 * vc/diff-mode.el (smerge-refine-subst): Declare.
10676 (diff-refine-hunk): Don't require smerge-mode when compiling.
10678 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
10680 * simple.el (list-processes): Return nil as the docstring says.
10682 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10684 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10686 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10687 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10688 determining of binary transfer. (Bug#7383)
10690 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10692 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10693 Fix port computation bug. (Bug#8618)
10695 2011-05-05 Glenn Morris <rgm@gnu.org>
10697 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10699 * simple.el (shell-dynamic-complete-functions)
10700 (comint-dynamic-complete-functions): Declare.
10702 * net/network-stream.el (gnutls-negotiate):
10703 * simple.el (tabulated-list-print): Fix declarations.
10705 * progmodes/gud.el (syntax-symbol, syntax-point):
10706 Remove unnecessary and incorrect declarations.
10708 * emacs-lisp/check-declare.el (check-declare-scan):
10709 Handle byte-compile-initial-macro-environment in bytecomp.el
10711 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10713 Fix earlier half-done eieio-defmethod change (bug#8338).
10714 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10715 Streamline and change calling convention.
10716 (defmethod): Adjust accordingly and simplify.
10717 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10718 new eieio--defmethod.
10719 (slot-boundp): Minor CSE simplification.
10721 2011-05-05 Milan Zamazal <pdm@zamazal.org>
10723 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10724 (glasses-make-readable): Use glasses-separate-capital-groups.
10726 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
10728 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10729 (warning-series): Doc fix.
10730 (display-warning): Don't try to create the buffer if we just found it.
10732 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
10734 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10735 (autoload-find-generated-file): New function.
10736 (generate-file-autoloads): Bind generated-autoload-file to
10738 (update-file-autoloads, update-directory-autoloads):
10739 Use autoload-find-generated-file. If called interactively, prompt for
10740 output file (Bug#7989).
10741 (batch-update-autoloads): Doc fix.
10743 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
10745 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10747 2011-05-04 Glenn Morris <rgm@gnu.org>
10749 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10750 function, so it follows changes in calendar-date-style.
10751 (diary-fancy-date-matcher): New function.
10752 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10753 (diary-fancy-font-lock-fontify-region-function):
10754 Use diary-fancy-date-pattern as a function.
10756 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10757 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10759 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10761 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10762 instead of positional arguments. Allow :keylist and :crlfiles
10764 (open-gnutls-stream): Call it.
10766 * net/network-stream.el (network-stream-open-starttls): Adjust to
10767 call `gnutls-negotiate' with :process and :hostname arguments.
10769 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10771 * minibuffer.el (completion--message): New function.
10772 (completion--do-completion, minibuffer-complete)
10773 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10774 (completion--do-completion): Don't ignore completion-auto-help when in
10777 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10778 internal encoding (e.g. tibetan zero is not whitespace).
10779 (global-whitespace-mode): Prefer save-current-buffer.
10780 (whitespace-trailing-regexp): Remove useless save-match-data.
10781 (whitespace-empty-at-bob-regexp): Minor simplification.
10783 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
10785 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10787 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10789 * textmodes/ispell.el (ispell-add-per-file-word-list):
10790 Use `concat' to create string for insertion.
10792 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10794 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10795 Avoid open-line which runs post-self-insert-hook.
10796 (bibtex-fill-entry): Remove unused `end' var.
10798 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10800 * textmodes/ispell.el (ispell-add-per-file-word-list):
10801 Protect against `nil' value of `comment-start' (Bug#8579).
10803 2011-05-03 Leo Liu <sdl.web@gmail.com>
10805 * isearch.el (isearch-yank-pop): New command.
10806 (isearch-mode-map): Bind it to `M-y'.
10807 (isearch-forward): Mention it.
10809 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10811 * simple.el (minibuffer-complete-shell-command): Remove.
10812 (minibuffer-local-shell-command-map): Use completion-at-point.
10813 (read-shell-command): Setup completion vars here instead.
10814 (read-expression-map): Bind TAB to symbol completion.
10816 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10817 error directly rather via storing it into `results'.
10819 2011-05-02 Leo Liu <sdl.web@gmail.com>
10821 * vc/diff.el: Fix description.
10823 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10825 * server.el (server-eval-at): New function.
10827 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10829 * net/network-stream.el (open-network-stream): Take a :nowait
10830 parameter and pass it on to `make-network-process'.
10831 (network-stream-open-plain): Ditto.
10833 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10835 * faces.el (face-spec-set-match-display): Don't match toolkit
10836 options on terminal frames.
10838 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10840 * progmodes/pascal.el: Use lexical binding.
10841 (pascal-mode-map): Remove author preferences.
10843 * pcomplete.el (pcomplete-std-complete): Don't abuse
10844 completion-at-point.
10846 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
10848 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10849 removing code that has been dead since 1991 or so.
10851 * startup.el (command-line): When warning about "_emacs", use a
10852 delayed warning to allow the user to filter it out.
10854 2011-04-28 Deniz Dogan <deniz@dogan.se>
10856 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10857 user has not joined.
10859 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10861 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10862 aren't any completions at point.
10864 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
10866 * subr.el (display-delayed-warnings): New function.
10867 (delayed-warnings-hook): New variable.
10869 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10871 * minibuffer.el (completion-at-point, completion-help-at-point):
10872 Don't presume that a given completion-at-point-function will always
10873 use the same calling convention.
10875 * pcomplete.el (pcomplete-completions-at-point):
10876 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10877 pcomplete-seen is non-nil.
10878 (pcomplete-comint-setup): Also recognize the new comint/shell
10879 completion functions.
10880 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10881 pcomplete-seen is non-nil.
10883 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
10885 * calendar/icalendar.el (diary-lib): Add require statement.
10886 (icalendar--create-uid): Read out a uid from a text-property on
10887 the first character in the entry. This allows for code to add its
10888 own uid to the entry.
10889 (icalendar--convert-float-to-ical): Add export of
10890 `diary-float'-entries save for those with the optional DAY
10893 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10895 * subr.el (shell-quote-argument): Use alternate escaping strategy
10896 when we spot a variable reference in a string.
10898 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10900 * cus-start.el (all): Define customization for debug-on-event.
10902 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10904 * subr.el (shell-quote-argument): Escape correctly under Windows.
10906 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10908 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10910 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
10912 * net/tramp.el (tramp-process-actions): Add POS argument.
10913 Delete region between POS and (pos).
10915 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10916 Use `nil' position in `tramp-process-actions' call.
10917 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10919 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10920 position in `tramp-process-actions' call.
10922 * net/trampver.el: Update release number.
10924 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10926 * custom.el (defcustom): Obey lexical-binding.
10928 Fix octave-inf completion problems reported by Alexander Klimov.
10929 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10930 Inherit from octave-mode-syntax-table.
10931 (inferior-octave-mode): Set info-lookup-mode.
10932 (inferior-octave-completion-at-point): New function.
10933 (inferior-octave-complete): Use it and completion-in-region.
10934 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10935 comint-filename-completion.
10936 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10937 symbol elements which shouldn't be word elements.
10938 (octave-font-lock-keywords, octave-beginning-of-defun)
10939 (octave-function-header-regexp): Adjust regexps accordingly.
10940 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10942 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
10944 * net/gnutls.el (gnutls-errorp): Declare before first use.
10946 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10948 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10949 verify-error, and verify-hostname-error parameters. Check whether
10950 default trustfile exists before going to use it. Add missing
10951 argument to gnutls-message-maybe call. Return value.
10952 Reported by Claudio Bley <claudio.bley@gmail.com>.
10953 (open-gnutls-stream): Add usage example.
10955 * net/network-stream.el (network-stream-open-starttls): Give host
10956 parameter to `gnutls-negotiate'.
10957 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
10958 * subr.el (shell-quote-argument): Escape correctly under Windows.
10960 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
10962 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10963 Use correct match group (bug#8438).
10965 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
10967 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10968 (package-menu--generate): New arg specifying packages to show.
10969 (package-menu-refresh, package-menu-execute, list-packages):
10971 (package-show-package-list): New function, replacing deleted
10972 package--list-packages (renamed because it is non-internal).
10974 * finder.el (finder-list-matches): Use package-show-package-list
10975 instead of deleted package--list-packages.
10977 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10978 Based on a previous implementation by Juanma Barranquero (Bug#8366).
10979 (vc-annotate-mode-map): Bind it to RET.
10981 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10983 * progmodes/etags.el (next-file): Don't use set-buffer to change
10984 buffers (Bug#8478).
10986 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
10988 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10990 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10991 (apropos-accumulator): Doc fix.
10992 (apropos-function, apropos-macro, apropos-command)
10993 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10994 (apropos-plist): Add face property.
10995 (apropos-symbols-internal): Fix indentation.
10996 (apropos-print): Simplify help, and recognize apropos-multi-type.
10997 (apropos-print-doc): Use button-type-get to extract the button's
10998 face property. Fill docstring (Bug#8352).
11000 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
11002 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11004 * play/mpuz.el (mpuz-silent): Doc fix.
11005 (mpuz-mode-map): Use mapc.
11006 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11007 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11008 Fix typos in docstrings.
11010 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11011 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11013 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11015 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
11017 * minibuffer.el (completion--do-completion): Avoid the "Next char
11018 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11020 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11021 mouse-2 into unread-command-events, it is interpreted correctly.
11023 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
11024 (image-toggle-display): Doc fix.
11026 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
11028 * textmodes/page.el (what-page): Use line-number-at-pos to
11029 calculate line number (Bug#6825).
11031 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11033 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11034 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11035 Pass argument NO-DEFAULT to `find-tag-interactive'.
11037 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11039 Lexical-binding cleanup.
11041 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11042 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11043 * progmodes/ada-prj.el (ada-prj-initialize-values)
11044 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11045 (ada-prj-show-value):
11046 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11047 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11048 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11049 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11050 * progmodes/bug-reference.el (bug-reference-push-button):
11051 * progmodes/fortran.el (fortran-line-length):
11052 * progmodes/glasses.el (glasses-change):
11053 * progmodes/octave-mod.el (octave-fill-paragraph):
11054 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11055 (python-pdbtrack-grub-for-buffer, python-sentinel):
11056 * progmodes/sql.el (sql-save-connection):
11057 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11058 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11059 Mark unused parameters.
11061 * progmodes/compile.el (compilation--flush-directory-cache)
11062 (compilation--flush-parse, compile-internal): Mark unused parameters.
11063 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11064 (compilation-next-error-function): Remove unused variable `timestamp'.
11066 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11067 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11069 * progmodes/dcl-mode.el (dcl-end-of-command):
11070 Remove unused variable `start'.
11071 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11072 (dcl-option-value-basic, dcl-option-value-offset)
11073 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11074 Mark unused parameters.
11075 (dcl-save-local-variable): Remove unused variable `val'.
11078 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11079 Mark unused parameters.
11080 (delphi-ignore-changes): Move before first use.
11081 (delphi-charset-token-at): Remove unused variable `start'.
11082 (delphi-else-start): Remove unused variable `if-count'.
11083 (delphi-comment-block-start, delphi-comment-block-end):
11084 Remove unused variable `kind'.
11085 (delphi-indent-line): Remove unused variable `new-point'.
11087 * progmodes/ebrowse.el (ebrowse-files-list)
11088 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11089 Mark unused parameters. Don't quote `lambda'.
11090 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11091 Don't quote `lambda'.
11092 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11093 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11094 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11095 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11096 Use `ignore-errors'.
11097 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11098 (ebrowse-view/find-file-and-search-pattern)
11099 (ebrowse-view/find-member-declaration/definition):
11100 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11101 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11102 Rename parameter PREFIX-ARG to PREFIX.
11103 (ebrowse-tags-read-name): Remove unused variables `start' and
11105 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11108 * progmodes/etags.el (local-find-tag-hook): Declare.
11109 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11110 Mark unused parameters.
11112 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11113 (executable-interpret): Mark unused parameter.
11115 * progmodes/flymake.el (flymake-process-sentinel)
11116 (flymake-after-change-function)
11117 (flymake-create-temp-with-folder-structure)
11118 (flymake-get-include-dirs-dot): Mark unused parameters.
11119 (flymake-safe-delete-directory): Remove unused variable `err'.
11121 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11122 (speedbar-timer-fn, speedbar-line-text)
11123 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11124 (speedbar-center-buffer-smartly): Declare functions.
11125 (gdb-find-watch-expression): Remove unused variable `array'.
11126 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11127 (gdb-starting): Mark unused parameters.
11128 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11129 (gdb-table-string): Remove unused variable `res'.
11130 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11131 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11132 (gdb-display-buffer): Remove unused variable `cur-size'.
11134 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11135 allow lexical-binding compilation.
11136 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11137 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11138 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11139 Mark unused parameters.
11140 (gud-gdb-marker-filter): Remove unused variable `match'.
11141 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11142 lambda expressions and funcall them, instead of using `fset'.
11144 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11145 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11147 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11148 variable `header-beg'; use `let'.
11150 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11151 `restart', `last-sexp' and `at-do'.
11153 * progmodes/js.el (js--debug): Mark unused parameter.
11154 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11155 (js--splice-into-items): Remove unused variable `item'.
11156 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11158 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11159 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11160 (makefile-complete): Remove unused variable `try'.
11161 (makefile-fill-paragraph, makefile-match-function-end):
11162 Mark unused parameters.
11164 * progmodes/octave-inf.el (inferior-octave-complete):
11165 Remove unused variable `proc'.
11166 (inferior-octave-output-digest): Mark unused parameter.
11168 * progmodes/perl-mode.el (perl-calculate-indent):
11169 Remove unused variable `err'.
11171 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11172 (prolog-indent-line): Mark unused parameters.
11173 (prolog-indent-line): Remove unused variable `beg'.
11175 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11176 (reporter-dont-compact-list): Declare.
11178 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11179 Remove unused variable `char'.
11180 (sh-debug): Mark unused parameter.
11181 (sh-get-indent-info): Remove unused variable `start'.
11182 (sh-calculate-indent): Remove unused variable `var'.
11184 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11185 (simula-electric-keyword): Remove unused variable `null'.
11186 (simula-search-backward, simula-search-forward): Remove unused
11187 variables `begin' and `end'.
11189 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11190 Remove unused variable `pos'.
11191 (vera-electric-tab, vera-comment-uncomment-region):
11192 Mark unused parameters.
11193 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11195 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
11197 * emacs-lisp/package.el (package--builtins, package-alist)
11198 (package-load-descriptor, package-built-in-p, package-activate)
11199 (define-package, package-installed-p)
11200 (package-compute-transaction, package-buffer-info)
11201 (package--push): Doc fix. Distinguish more clearly between
11202 version strings and version lists.
11204 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
11206 Lexical-binding cleanup.
11208 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11209 (5x5-make-mutate-best):
11210 * play/fortune.el (fortune-in-buffer):
11211 * play/gomoku.el (gomoku-init-display):
11212 * play/solitaire.el (solitaire, solitaire-do-check):
11213 * play/tetris.el (tetris-default-update-speed-function):
11214 Mark unused parameters.
11216 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11217 (bubbles--shift): Remove unused variable `char-org'.
11218 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11219 (bubbles--show-images): Remove unused variable `char'.
11221 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11222 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11223 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11224 (decipher-analyze-buffer): Use ?\s.
11225 (decipher-make-checkpoint): Remove unused variable `mapping'.
11227 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11229 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11230 Remove unused variable `result'; use `let'.
11232 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11233 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11234 (gametree-children-shown-p, gametree-compute-reduced-score):
11235 Use `ignore-errors'.
11237 * play/handwrite.el (ps-lpr-switches): Declare.
11238 (handwrite): Remove unused variables `pmin' and `lastp'.
11240 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11242 * play/landmark.el (landmark-init-display)
11243 (landmark-update-naught-weights): Mark unused parameters.
11244 (landmark-y): Remove unused variable `noise'. Simplify.
11245 (landmark-human-plays): Remove unused variable `score'.
11247 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11248 (mpuz-try-proposal): Remove unused variable `game'.
11250 * play/zone.el (life-patterns): Declare.
11252 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
11254 * vc/vc.el (ediff-vc-internal): Declare function.
11256 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11258 * shell.el: Use lexical-binding and std completion UI.
11259 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11260 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11261 comint-preoutput-filter-functions rather than on
11262 comint-output-filter-functions.
11263 (shell-command-completion, shell--command-completion-data)
11264 (shell-filename-completion, shell-environment-variable-completion)
11265 (shell-c-a-p-replace-by-expanded-directory): New functions.
11266 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11267 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11268 (shell-dynamic-complete-environment-variable): Use them.
11269 (shell-dynamic-complete-as-environment-variable)
11270 (shell-dynamic-complete-as-command): Remove.
11271 (shell-match-partial-variable): Match past point.
11272 * comint.el: Clean up use of completion-at-point-functions.
11273 (comint-completion-at-point): New function.
11274 (comint-mode): Use it completion-at-point-functions.
11275 (comint-dynamic-complete): Make it obsolete.
11276 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11277 (comint-c-a-p-replace-by-expanded-history): New function.
11278 (comint-dynamic-complete-functions)
11279 (comint-replace-by-expanded-history): Use it.
11280 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11281 termination strings. Try harder to avoid second try-completion.
11282 (completion-in-region-mode-map): Disable bindings that don't work yet.
11284 * comint.el: Use lexical-binding. Require CL.
11285 (comint-dynamic-complete-functions): Use comint-filename-completion.
11286 (comint-completion-addsuffix): Tweak custom type.
11287 (comint-filename-completion, comint--common-suffix)
11288 (comint--common-quoted-suffix, comint--table-subvert)
11289 (comint--complete-file-name-data): New functions.
11290 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11291 (comint-dynamic-list-filename-completions): Use them.
11292 (comint-dynamic-simple-complete): Make obsolete.
11294 * minibuffer.el (completion-in-region-mode):
11295 Keep completion-in-region-mode--predicate global.
11296 (completion-in-region--postch):
11297 Assume completion-in-region-mode--predicate is not null.
11299 * progmodes/flymake.el (flymake-start-syntax-check-process):
11300 Obey `dir'. Simplify.
11302 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11303 we're in VC after all.
11305 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11307 * vc/vc.el (vc-diff-build-argument-list-internal)
11308 (vc-version-ediff, vc-ediff): New commands.
11309 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11311 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11313 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11316 * obsolete/erc-hecomplete.el: Make obsolete.
11317 * obsolete/: Standardize obsolescence info in the header.
11319 2011-04-20 Glenn Morris <rgm@gnu.org>
11321 * calendar/solar.el (solar-horizontal-coordinates):
11322 Use the longitude argument rather than `calendar-longitude'.
11323 (solar-date-next-longitude): Remove unused locals.
11325 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11327 * whitespace.el: New version 13.2.1.
11329 2011-04-20 felix <EmacsWiki> (tiny change)
11331 * whitespace.el (global-whitespace-mode): Keep highlight when
11332 switching between major modes on a file.
11334 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11336 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11337 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11338 multi-line comments as well.
11340 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
11342 Lexical-binding cleanup.
11344 * arc-mode.el (archive-mode-revert):
11345 * cmuscheme.el (scheme-interactively-start-process):
11346 * custom.el (custom-initialize-delay):
11347 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11348 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11349 * emacs-lock.el (emacs-lock-clear-sentinel):
11350 * ezimage.el (defezimage):
11351 * follow.el (follow-avoid-tail-recenter):
11352 * fringe.el (set-fringe-mode-1):
11353 * generic-x.el (bat-generic-mode-compile):
11354 * help-mode.el (help-info-variable, help-do-xref)
11355 (help-mode-revert-buffer):
11356 * help.el (view-emacs-todo):
11357 * iswitchb.el (iswitchb-completion-help):
11358 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11359 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11360 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11361 * locate.el (locate-update):
11362 * longlines.el (longlines-encode-region)
11363 (longlines-after-change-function):
11364 * outline.el (outline-isearch-open-invisible):
11365 * ps-def.el (declare-function, charset-dimension, char-width)
11367 * ps-mule.el (ps-mule-plot-string):
11368 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11369 (recentf-edit-list-select, recentf-edit-list-validate)
11370 (recentf-open-files-action):
11371 * rect.el (delete-whitespace-rectangle-line)
11372 (rectangle-number-line-callback):
11373 * register.el (window-configuration-to-register)
11374 (frame-configuration-to-register):
11375 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11376 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11377 (xselect-convert-to-targets, xselect-convert-to-delete)
11378 (xselect-convert-to-filename, xselect-convert-to-charpos)
11379 (xselect-convert-to-lineno, xselect-convert-to-colno)
11380 (xselect-convert-to-os, xselect-convert-to-host)
11381 (xselect-convert-to-user, xselect-convert-to-class)
11382 (xselect-convert-to-name, xselect-convert-to-integer)
11383 (xselect-convert-to-atom, xselect-convert-to-identity):
11384 * subr.el (declare, ignore, process-kill-without-query)
11385 (text-clone-maintain):
11386 * terminal.el (te-get-char, te-tic-sentinel):
11387 * tool-bar.el (tool-bar-make-keymap):
11388 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11389 * type-break.el (type-break-mode, type-break-noninteractive-query):
11390 * view.el (View-back-to-mark):
11391 * wid-browse.el (widget-browse-action, widget-browse-widget)
11392 (widget-browse-widgets, widget-browse-sexp):
11393 * widget.el (define-widget-keywords):
11394 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11395 Mark unused parameters.
11397 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11398 (align-areas): Remove unused variable `look'.
11399 (align-region): Remove unused variables `real-end' and `pos-list'.
11401 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11403 * bindings.el (mode-line-modified, mode-line-remote):
11404 Mark unused parameters.
11405 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11407 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11408 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11410 * comint.el (comint-history-isearch-pop-state)
11411 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11412 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11413 (comint-substitute-in-file-name): Doc fix.
11415 * completion.el (cmpl-statistics-block): Mark unused parameter.
11416 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11417 (save-completions-to-file, load-completions-from-file):
11418 Remove unused local variable `e'.
11420 * composite.el (compose-chars): Remove unused variable `len'.
11421 (lgstring-insert-glyph): Remove unused variable `g'.
11422 (compose-glyph-string): Remove unused variables `ascent',
11423 `descent', `lbearing' and `rbearing'.
11424 (compose-glyph-string-relative): Remove unused variables
11425 `lbearing', `rbearing' and `wadjust'.
11426 (compose-gstring-for-graphic): Remove unused variables `header',
11427 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11428 (compose-gstring-for-terminal): Remove unused variables `header'
11429 and `nchars'. Use `let', not `let*'.
11431 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11432 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11433 (Custom-buffer-done, custom-buffer-create-internal)
11434 (custom-browse-visibility-action, custom-browse-group-tag-action)
11435 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11436 (widget-magic-mouse-down-action, custom-toggle-parent)
11437 (custom-add-parent-links, custom-toggle-hide-variable)
11438 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11439 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11440 (custom-face-menu-create, custom-variable-menu-create, get)
11441 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11442 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11443 (customize-apropos): Remove unused variable `tests'.
11444 (custom-group-value-create): Remove unused variable `hidden-p'.
11445 (sort-fold-case): Declare.
11447 * cus-theme.el (custom-reset-standard-faces-list)
11448 (custom-reset-standard-variables-list): Declare.
11449 (customize-create-theme, custom-theme-revert, custom-theme-write)
11450 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11451 Mark unused parameters.
11453 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11455 * delim-col.el (delimit-columns-max): Move defvar before first use.
11457 * descr-text.el (describe-char-categories): Don't quote `lambda'.
11458 (describe-char): Don't quote `lambda'. Mark unused parameter.
11460 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11461 (auto-insert): Declare.
11462 (desktop-restore-file-buffer): Rename desktop-* parameters;
11464 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11465 (desktop-buffer): Rename desktop-* parameters.
11467 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11468 (dframe-reposition-frame-xemacs, dframe-help-echo)
11469 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11470 Mark unused parameters.
11472 * dired-aux.el (backup-extract-version-start, overwrite-query)
11473 (overwrite-backup-query, rename-regexp-query)
11474 (rename-non-directory-query): Declare.
11475 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11476 (dired-add-entry): Remove unused variable `orig-file-name'.
11477 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11478 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11479 `dired-copy-preserve-time' directly.
11480 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11481 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11483 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11484 (dired-virtual-revert, dired-make-relative-symlink):
11485 Mark unused parameters.
11486 (manual-program): Declare.
11487 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11488 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11489 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11491 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11493 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11495 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11498 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11500 * electric.el (Electric-command-loop): Rename parameter
11501 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11503 * expand.el (expand-in-literal): Remove unused variable `here'.
11505 * facemenu.el (facemenu-add-new-color):
11506 Remove unused variable `docstring'.
11508 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11509 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11510 (face-attr-construct): Mark unused parameter. Doc fix.
11511 (read-color): Remove unused variable `hex-string'.
11513 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11514 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11515 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11516 (display-buffer-other-frame): Remove unused variable `old-window'.
11517 (kill-buffer-hook): Declare.
11518 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11519 Mark unused parameters.
11520 (after-find-file): Pass 1 to `auto-save-mode', not t.
11522 * files-x.el (auto-insert): Declare.
11523 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11525 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
11526 variable `buf'. Mark unused parameter.
11527 (find-lisp-insert-directory): Mark unused parameter.
11529 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11530 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11531 (format-common-tail): Remove, unused.
11532 (format-deannotate-region): Remove unused variable `loc'.
11533 (format-annotate-region): Remove unused variable `p'.
11534 (format-annotate-single-property-change): Remove unused variables
11535 `default' and `tail'.
11537 * forms.el (read-file-filter): Declare.
11538 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11540 * frame.el (frame-creation-function-alist): Mark unused parameter.
11541 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11543 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11544 Remove unused parameters.
11545 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11546 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11548 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11549 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11550 (hfy-prepare-tag-map): Mark unused parameters.
11551 (htmlfontify-buffer): Use `called-interactively-p'.
11553 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11554 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11555 (ibuffer-do-occur): Mark unused parameters.
11556 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11557 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11559 * ibuffer.el: Don't quote `lambda'.
11560 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11561 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11562 Mark unused parameters.
11564 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11565 (ido-completing-read): Mark unused parameters.
11566 (ido-copy-current-word): Mark unused parameters;
11567 remove unused variable `name'.
11568 (ido-sort-merged-list): Remove unused parameter `dirs'.
11570 * ielm.el (ielm-input-sender): Mark unused parameter.
11571 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11572 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11573 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11574 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11575 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11577 * image-dired.el (image-dired-display-thumbs): Remove unused
11578 variables `curr-file' and `count'.
11579 (image-dired-remove-tag): Remove unused variable `start'.
11580 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11581 variable `curr-file'
11582 (image-dired-rotate-original): Remove unused variable `temp-file'.
11583 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11584 Remove unused variable `file'.
11585 (image-dired-gallery-generate): Remove unused variable `curr'.
11586 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11588 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11590 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11592 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11594 * isearch.el (minibuffer-history-symbol): Declare.
11595 (isearch-edit-string): Remove unused variable `err'.
11596 (isearch-message-prefix, isearch-message-suffix):
11597 Mark unused parameters.
11599 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11601 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11603 * makesum.el (double-column): Remove unused variable `cnt'.
11605 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11606 (ido-ignore-item-temp-list): Declare.
11608 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11609 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11610 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11611 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11614 * mouse-sel.el (mouse-extend-internal):
11615 Remove unused variable `orig-window-frame'.
11617 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11618 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11619 Move declarations before first use.
11620 (pcomplete-opt): Mark unused parameters; doc fix.
11622 * proced.el (proced-revert): Mark unused parameter.
11623 (proced-send-signal): Remove unused variable `err'.
11625 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11626 Rename parameter PREFIX-ARG to ARG.
11627 (ps-basic-plot-string, ps-basic-plot-whitespace):
11628 Mark unused parameters.
11630 * replace.el (replace-count): Define.
11631 (occur-revert-function): Mark unused parameters.
11632 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11633 (isearch-case-fold-search, isearch-string): Declare.
11634 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11635 bind `case-fold-search'. Remove unused variables `beg' and `end',
11637 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11638 COUNT and bind `replace-count'.
11639 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11642 * savehist.el (print-readably, print-string-length): Declare.
11644 * shadowfile.el (shadow-expand-cluster-in-file-name):
11645 Remove unused variable `cluster'.
11646 (shadow-copy-file): Remove unused variable `i'.
11647 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11648 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11649 (shadow-define-literal-group, shadow-define-regexp-group)
11650 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11652 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11653 (shell): Use `called-interactively-p'.
11654 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11656 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11657 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11658 (delete-backward-char): Remove unused variable `ocol'.
11659 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11660 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11661 (event-apply-hyper-modifier, event-apply-shift-modifier)
11662 (event-apply-control-modifier, event-apply-meta-modifier):
11663 Mark unused parameters.
11664 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11665 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11667 * speedbar.el (speedbar-ignored-directory-expressions)
11668 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11669 (speedbar-find-file, speedbar-dir-follow)
11670 (speedbar-directory-buttons-follow, speedbar-tag-find)
11671 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11672 (speedbar-buffers-line-directory, speedbar-buffer-click):
11673 Mark unused parameters.
11674 (speedbar-tag-file): Remove unused variable `mode'.
11675 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11677 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11679 * talk.el (talk): Remove unused variable `display'.
11681 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11682 (tar-write-region-annotate): Mark unused parameter.
11684 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11685 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11686 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11687 warning by another.
11689 * time-stamp.el (time-stamp-string-preprocess):
11690 Remove unused variable `require-padding'.
11692 * tree-widget.el (widget-glyph-enable): Declare.
11693 (tree-widget-action): Mark unused parameter.
11695 * w32-fns.el (x-get-selection): Mark unused parameter.
11696 (autoload-make-program, generated-autoload-file): Declare.
11698 * wdired.el (wdired-revert): Mark unused parameters.
11699 (wdired-xcase-word): Remove unused variable `err'.
11701 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11702 (whitespace-help-scroll): Remove unused variable `data-help'.
11704 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11705 (widget-image-insert, widget-after-change, default)
11706 (widget-default-format-handler, widget-default-notify)
11707 (widget-default-prompt-value, widget-info-link-action)
11708 (widget-url-link-action, widget-function-link-action)
11709 (widget-variable-link-action, widget-file-link-action)
11710 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11711 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11712 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11713 (widget-insert-button-action, widget-delete-button-action, visibility)
11714 (widget-documentation-link-action, widget-documentation-string-action)
11715 (widget-const-prompt-value, widget-regexp-match, symbol)
11716 (widget-coding-system-prompt-value)
11717 (widget-key-sequence-value-to-external, sexp)
11718 (widget-sexp-value-to-internal, character, vector, cons)
11719 (widget-choice-prompt-value, widget-boolean-prompt-value)
11720 (widget-color--choose-action): Mark unused parameters.
11721 (widget-item-match-inline, widget-choice-match-inline)
11722 (widget-checklist-match, widget-checklist-match-inline)
11723 (widget-group-match): Rename parameter VALUES to VALS.
11724 (widget-field-value-set): Remove unused variable `size'.
11725 (widget-color-action): Remove unused variables `value' and `start'.
11727 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
11728 variable `dir'. Doc fix.
11729 (windmove-find-other-window): Don't pass it.
11731 * window.el (count-windows): Mark unused parameter.
11732 (bw-adjust-window): Remove unused variable `err'.
11734 * woman.el (woman-file-name): Remove unused variable `default'.
11735 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11736 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11737 (global-font-lock-mode): Declare.
11738 (woman-decode-region): Mark unused parameter.
11739 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11741 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11742 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11743 (x-dnd-handle-moz-url): Remove unused variable `title'.
11744 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11746 * xml.el (xml-parse-tag, xml-parse-attlist):
11747 Remove unused variable `pos'.
11749 2011-04-19 Glenn Morris <rgm@gnu.org>
11751 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11752 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11753 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11754 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11755 * calendar/cal-html.el (cal-html-insert-minical):
11756 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11757 (calendar-mark-date-pattern):
11758 Prefix "unused" locals.
11760 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11761 optional argument `style'.
11763 * calendar/appt.el (appt-make-list):
11764 * calendar/cal-china.el (calendar-chinese-date-string):
11765 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11766 (diary-hebrew-yahrzeit):
11767 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11768 * calendar/calendar.el (calendar-generate-window):
11769 * calendar/time-date.el (time-to-days):
11770 Remove unused local variables.
11772 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
11774 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11775 glyphless-char-display table.
11776 (tabulated-list-glyphless-char-display): New var.
11778 2011-04-18 Sam Steingold <sds@gnu.org>
11780 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11781 to acknowledgments.
11783 2011-04-17 Glenn Morris <rgm@gnu.org>
11785 * calendar/diary-lib.el (diary-sexp-entry):
11786 * calendar/holidays.el (holiday-sexp):
11787 Set debug-on-error rather than the removed stack-trace-on-error.
11789 2011-04-16 Glenn Morris <rgm@gnu.org>
11791 * progmodes/f90.el: Use lexical-binding.
11792 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11794 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11796 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11797 (mail-mode): Setup mailalias completion here instead.
11798 * mail/mailalias.el: Use lexical-binding.
11799 (pattern, mailalias-done): Declare dynamic.
11800 (mail-completion-at-point-function): New function, from mail-complete.
11801 (mail-complete): Use it.
11802 (mail-completion-expand): New function.
11803 (mail-get-names): Use it.
11804 (mail-directory, mail-directory-process, mail-directory-stream):
11805 Don't use `pattern' for lexically bound arg.
11807 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11809 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11810 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11811 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11813 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11814 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11815 (byte-interactive-p): Define them again, for use when inlining
11818 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
11820 * loadup.el: Use `string-to-number', not `string-to-int'.
11822 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11824 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11825 gud-gdb-complete-command.
11826 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11827 (gud-gdb-completion-at-point): New function.
11828 (gud-gdb-completions): Remove.
11830 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
11832 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11833 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11834 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11835 whether `executable-find' is bound.
11837 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11839 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11841 * minibuffer.el (completion-in-region-mode-predicate)
11842 (completion-in-region-mode--predicate): New vars.
11843 (completion-in-region, completion-in-region--postch)
11844 (completion-in-region-mode): Use them.
11845 (completion--capf-wrapper): Also return the hook function.
11846 (completion-at-point, completion-help-at-point):
11847 Adjust and provide a predicate.
11849 Preserve arg names for advice of subr and lexical functions (bug#8457).
11850 * help-fns.el (help-function-arglist): Consolidate the subr and
11851 new-byte-code cases. Add argument `preserve-names' to extract names
11852 from the docstring when needed.
11853 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11854 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11855 (ad-arglist): Use help-function-arglist's new arg.
11856 (ad-definition-type): Use cond.
11858 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
11860 * autorevert.el (auto-revert-handler):
11861 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11862 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11863 Don't quote lambda.
11865 * image-mode.el (image-transform-set-scale):
11866 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11868 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11870 * net/network-stream.el (network-stream-open-starttls): Only do
11871 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
11872 Upgrades via gnutls-cli are too slow to be done opportunistically.
11874 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
11876 * dframe.el (dframe-current-frame): Remove spurious quote.
11878 2011-04-12 Glenn Morris <rgm@gnu.org>
11880 * calendar/cal-tex.el (cal-tex-end-document):
11881 Try to automatically use latin1 input if needed.
11883 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11884 Don't try to cons a mark onto an empty element.
11886 2011-04-11 Leo Liu <sdl.web@gmail.com>
11888 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11890 (ido-kill-buffer-at-head): Support killing virtual buffers.
11892 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
11894 * minibuffer.el (completion-show-inline-help): New var.
11895 (completion--do-completion, minibuffer-complete)
11896 (minibuffer-force-complete, minibuffer-complete-word):
11897 Inhibit minibuffer messages if completion-show-inline-help is nil.
11899 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11900 to avoid interference from inline help (Bug#5849).
11902 2011-04-10 Leo Liu <sdl.web@gmail.com>
11904 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11907 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
11909 * image-mode.el (image-toggle-display-image): Signal an error if
11911 (image-transform-mode, image-transform-resize)
11912 (image-transform-set-rotation): Doc fix.
11913 (image-transform-set-resize): Delete.
11914 (image-transform-set-scale, image-transform-fit-to-height)
11915 (image-transform-fit-to-width): Handle image-toggle-display-image
11916 and image-transform-resize directly.
11918 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
11920 * doc-view.el (doc-view-fit-width-to-window)
11921 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11922 New functions for fitting the shown image to the Emacs window size.
11923 (doc-view-mode-map): Add bindings for the new functions.
11925 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
11927 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
11928 Fix typo in docstring.
11930 2011-04-08 Eli Zaretskii <eliz@gnu.org>
11932 * files.el (file-size-human-readable): Produce one digit after
11933 decimal, like "ls -lh" does.
11935 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11936 the file size representation.
11938 * simple.el (list-processes): If async subprocesses are not
11939 available, error out with a clear error message.
11941 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
11943 * help.el (help-form-show): New function, to be called from C.
11944 Put help-form output in a buffer named differently than *Help*.
11946 2011-04-08 Eli Zaretskii <eliz@gnu.org>
11948 * files.el (file-size-human-readable): New function.
11950 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11951 computing the representation inline. Don't require `cl'.
11953 2011-04-08 Glenn Morris <rgm@gnu.org>
11955 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11957 * net/browse-url.el (browse-url-firefox):
11958 Test system-type, not system-configuration.
11960 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11961 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11962 Use log-edit-empty-buffer-p. (Bug#7598)
11964 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11965 (rlogin-mode-map): Initialize in the defvar.
11966 (rlogin): Use ignore-errors.
11968 * replace.el (occur-mode-map): Some fixes for menu items.
11970 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11972 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11974 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
11976 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11977 issuing unused warnings.
11979 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11982 * simple.el: Lisp reimplement of list-processes. Based on an
11983 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11984 (process-menu-mode): New major mode.
11985 (list-processes--refresh, list-processes):
11986 (process-menu-visit-buffer): New functions.
11988 * files.el (save-buffers-kill-emacs): Don't assume any return
11989 value of list-processes, which is undocumented anyway.
11991 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
11993 * emacs-lisp/tabulated-list.el: New file.
11995 * emacs-lisp/package.el: Use Tabulated List mode.
11996 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11997 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11998 table format using Tabulated List mode variables.
11999 (package--push): New macro, replacing package-list-maybe-add.
12000 (package-menu--generate): Use package--push. Renamed from
12001 package--generate-package-list.
12002 (package-menu-refresh, list-packages): Use it.
12003 (package-menu--print-info): Rename from package-print-package.
12004 Return insertion data instead of inserting it directly.
12005 (package-menu-describe-package, package-menu-execute):
12006 Use tabulated-list-get-id.
12007 (package-menu-mark-delete, package-menu-mark-install)
12008 (package-menu-mark-unmark, package-menu-backup-unmark)
12009 (package-menu-mark-obsolete-for-deletion):
12010 Use tabulated-list-put-tag.
12011 (package--list-packages, package-menu-revert)
12012 (package-menu-get-package, package-menu-get-version)
12013 (package-menu-sort-by-column): Functions deleted.
12014 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12015 (package-menu--status-predicate, package-menu--version-predicate)
12016 (package-menu--name-predicate)
12017 (package-menu--description-predicate): Handle arguments in the
12018 Tabulated List format.
12019 (package-list-packages-no-fetch): Call list-packages.
12021 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
12023 * files.el (after-find-file-from-revert-buffer): Remove variable.
12024 (after-find-file): Don't bind it.
12025 (revert-buffer-in-progress-p): New variable.
12026 (revert-buffer): Bind it.
12027 Pass nil for `after-find-file-from-revert-buffer'.
12029 * saveplace.el (save-place-find-file-hook): Use new variable
12030 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12032 2011-04-06 Glenn Morris <rgm@gnu.org>
12034 * Makefile.in (AUTOGEN_VCS): New variable.
12035 (autoloads): Use $AUTOGEN_VCS.
12037 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12038 * calendar/calendar.el (calendar-mode-map):
12039 Check for toolkit scroll bars. (Bug#8305)
12041 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12043 * minibuffer.el (completion-in-region--postch)
12044 (completion-in-region-mode): Remove unnecessary messages.
12046 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
12048 * font-lock.el (font-lock-refresh-defaults):
12049 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12050 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12052 * info.el (Info-directory-list, Info-read-node-name-2)
12053 (Info-split-parameter-string): Doc fixes.
12054 (Info-virtual-nodes): Reflow docstring.
12055 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12056 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12057 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12058 Fix typos in docstrings.
12059 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12060 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12061 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12062 (Info-restore-desktop-buffer): Mark unused parameters.
12063 (Info-directory-find-file, Info-directory-find-node)
12064 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12065 (Info-virtual-index-find-node, Info-apropos-find-file)
12066 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
12067 Mark unused parameters; fix typos in docstrings.
12068 (Info-virtual-index): Remove unused local variable `nodename'.
12070 2011-04-05 Deniz Dogan <deniz@dogan.se>
12072 * net/rcirc.el: Update my e-mail address.
12073 (rcirc-mode-map): Remove M-o binding.
12075 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12077 * startup.el (command-line): Save the cursor's theme-face
12078 directly, instead of using face-override-spec.
12080 * custom.el (load-theme): Minor optimization in assigning faces.
12082 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12084 * help-fns.el (describe-variable): Complete all variables having
12085 documentation, including keywords.
12086 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12088 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12090 Convert to lexical-binding.
12092 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12093 (bs--get-marked-string, bs--get-modified-string)
12094 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12095 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12096 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12098 * ehelp.el (electric-help-execute-extended)
12099 (electric-help-ctrl-x-prefix):
12100 * hexl.el (hexl-revert-buffer-function):
12101 * linum.el (linum-after-change, linum-after-scroll):
12102 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12104 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12106 2011-04-04 Daiki Ueno <ueno@unixuser.org>
12113 * epg.el: Use lexical binding.
12115 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
12117 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12119 * textmodes/flyspell.el (flyspell-word): Recognize default
12120 dictionary case for flyspell-mark-duplications-exceptions.
12121 Use regexp matching for languages.
12122 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12123 default dictionary (Bug#7926).
12125 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
12127 * emacs-lisp/package.el (package--with-work-buffer):
12128 Recognize https URLs.
12130 * net/network-stream.el: Move from gnus/proto-stream.el.
12131 Change prefix to network-stream throughout.
12132 (open-protocol-stream): Merge into open-network-stream, leaving
12133 open-protocol-stream as an alias. Handle nil BUFFER args.
12135 * subr.el (open-network-stream): Move to net/network-stream.el.
12137 2011-04-02 Glenn Morris <rgm@gnu.org>
12139 * find-dired.el (find-exec-terminator): New option.
12140 (find-ls-option): Test for -ls support.
12141 (find-ls-subdir-switches): Test for -b in find-ls-option.
12142 (find-dired, find-grep-dired): Doc fixes.
12143 (find-dired): Use find-exec-terminator.
12145 * find-dired.el (find-ls-option, find-ls-subdir-switches)
12146 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12147 (find-name-arg): Remove purecopy.
12149 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12150 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12151 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12152 accordingly. Don't add the null-device if not needed.
12154 * files.el (save-some-buffers): Doc fix.
12156 2011-04-02 Eli Zaretskii <eliz@gnu.org>
12158 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12160 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
12162 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12163 Use `dolist' rather than `mapcar'.
12165 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12167 Add lexical binding.
12169 * subr.el (apply-partially): Use new closures rather than CL.
12170 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12171 (dolist, dotimes): Use slightly different expansion for lexical code.
12172 (functionp): Move to C.
12173 (letrec): New macro.
12174 (with-wrapper-hook): Use it and apply-partially instead of CL.
12175 (eval-after-load): Preserve lexical-binding.
12176 (save-window-excursion, with-output-to-temp-buffer): Turn them
12179 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12181 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12183 (help-add-fundoc-usage): Don't add `Not documented'.
12184 (help-function-arglist): Handle closures, subroutines, and new
12185 byte-code-functions.
12186 (help-make-usage): Remove leading underscores.
12187 (describe-function-1): Handle closures.
12188 (describe-variable): Use special-variable-p for completion.
12190 * files.el (lexical-binding): Declare safe.
12192 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12193 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12194 (pcase): Add `let' pattern.
12195 Change memoization so it actually works.
12196 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12197 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12200 * emacs-lisp/macroexp.el: Use lexical binding.
12201 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12202 Don't convert ' to #' without checking that it's indeed quoting
12205 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
12206 Use eval-sexp-add-defvars.
12207 (eval-sexp-add-defvars): New fun.
12209 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12211 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12213 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12214 than the internal `byte-compile-lambda'.
12215 (defmethod): Don't hide code under quotes.
12216 (eieio-defmethod): New `code' argument.
12218 * emacs-lisp/eieio-comp.el: Remove.
12220 * emacs-lisp/edebug.el (edebug-eval-defun)
12221 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12222 (edebug-toggle): Avoid `eval'.
12224 * emacs-lisp/disass.el (disassemble-internal): Handle new
12226 (disassemble-1): Handle new byte codes.
12228 * emacs-lisp/cl.el (pushnew): Silence warning.
12230 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12231 (cl-byte-compile-throw): Remove.
12232 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12234 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12237 * emacs-lisp/cconv.el: New file.
12239 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12240 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12241 (byte-compile-initial-macro-environment):
12242 Handle declare-function here.
12243 (byte-compile--lexical-environment): New var.
12244 (byte-stack-ref, byte-stack-set, byte-discardN)
12245 (byte-discardN-preserve-tos): New lap codes.
12246 (byte-interactive-p): Don't use any more.
12247 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12249 (byte-compile-lapcode): Use them and handle new lap codes.
12250 (byte-compile-obsolete): Remove.
12251 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12252 (byte-compile-arglist-warn): Check late def of inlinable funs.
12253 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12254 since they should have been expanded by now.
12255 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12256 (byte-compile-from-buffer): Remove unused second arg.
12257 (byte-compile-preprocess): New function.
12258 (byte-compile-toplevel-file-form): New function to distinguish
12259 file-form calls from outside from file-form calls from hunk-handlers.
12260 (byte-compile-file-form): Simplify.
12261 (byte-compile-file-form-defsubst): Remove.
12262 (byte-compile-file-form-defmumble): Simplify now that
12263 byte-compile-lambda always returns a byte-code-function.
12264 (byte-compile): Preprocess.
12265 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12266 Remove, not used any more.
12267 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12268 (byte-compile-make-args-desc): New funs.
12269 (byte-compile-lambda): Handle lexical functions. Always return
12270 a byte-code-function.
12271 (byte-compile-reserved-constants): New var, to make up room for
12272 closed-over variables.
12273 (byte-compile-constants-vector): Obey it.
12274 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12275 (byte-compile-macroexpand-declare-function): New function.
12276 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12277 byte-code-functions.
12278 (byte-compile-form): Check obsolescence here.
12279 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12280 (byte-compile-variable-ref): Remove.
12281 (byte-compile-dynamic-variable-op): New fun.
12282 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12283 (byte-compile-variable-set): New funs.
12284 (byte-compile-discard): Add 2 args.
12285 (byte-compile-stack-ref, byte-compile-stack-set)
12286 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12287 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12288 macroexpand-all instead.
12289 (byte-compile-quote-form): Remove.
12290 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12291 (byte-compile-bind, byte-compile-unbind): New funs.
12292 (byte-compile-let): Handle let* and lexical binding.
12293 (byte-compile-let*): Remove.
12294 (byte-compile-catch, byte-compile-unwind-protect)
12295 (byte-compile-track-mouse, byte-compile-condition-case):
12296 Handle a new :fun-body form, used for lexical scoping.
12297 (byte-compile-save-window-excursion)
12298 (byte-compile-with-output-to-temp-buffer): Remove.
12299 (byte-compile-defun): Simplify.
12300 (byte-compile-stack-adjustment): New fun.
12301 (byte-compile-out): Use it.
12302 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12304 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12307 * emacs-lisp/byte-opt.el: Use lexical binding.
12308 (byte-inline-lapcode): Remove (to bytecomp).
12309 (byte-compile-inline-expand): Pay attention to inlining to/from
12310 lexically bound code.
12311 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12313 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12314 any more and don't call compiler-macros.
12315 (byte-compile-splice-in-already-compiled-code): Remove.
12316 (byte-code): Don't inline any more.
12317 (disassemble-offset): Receive `bytes' as argument rather than via
12319 (byte-compile-tag-number): Declare before first use.
12320 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12321 `return' even if make-spliceable.
12322 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12323 obsolete interactive-p.
12324 (byte-optimize-lapcode): Optimize new lap-codes.
12325 Don't trip up on new form of `byte-constant' lap code.
12327 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12329 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12331 * custom.el (custom-initialize-default, custom-declare-variable):
12334 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12336 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12337 (COMPILE_FIRST): Add macroexp and cconv.
12338 * makefile.w32-in: Mirror changes in Makefile.in.
12340 * vc/cvs-status.el:
12344 * vc/smerge-mode.el:
12345 * textmodes/bibtex-style.el:
12346 * textmodes/css.el:
12354 * emacs-lisp/smie.el:
12357 * abbrev.el: Use lexical binding.
12359 2011-04-01 Eli Zaretskii <eliz@gnu.org>
12361 * info.el (info-display-manual): New function.
12363 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12365 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12367 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12369 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
12370 an entry for that server in rcirc-authinfo. (Bug#8385)
12372 2011-03-31 Glenn Morris <rgm@gnu.org>
12374 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12376 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12378 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12380 * progmodes/python.el (python-default-interpreter)
12381 (python-python-command-args, python-jython-command-args)
12382 (python-which-shell, python-which-args, python-which-bufname)
12383 (python-file-queue, python-comint-output-filter-function)
12384 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12385 variables and functions.
12387 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12389 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12390 (completion-in-region-mode): New minor mode.
12391 (completion-in-region): Use it.
12392 (completion-in-region--data, completion-in-region-mode-map): New vars.
12393 (completion-in-region--postch): New function.
12394 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12396 (completion--capf-wrapper): New function.
12397 (completion-at-point): Use it to track well-behavedness of
12399 (completion-help-at-point): New command.
12401 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12403 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12404 syntax class to search for whitespace on a single line
12405 (Message-ID: <4D938140.4030905@redhat.com>).
12407 2011-03-30 Leo Liu <sdl.web@gmail.com>
12409 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12411 (edit-abbrevs-map): Bind them here.
12412 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12414 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12416 * allout.el (allout-hide-by-annotation, allout-flag-region):
12417 Reduce possibility of overlay leakage by making them volatile.
12419 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12420 hash is not shared between buffers. Mode initialization is
12421 responsible for giving it a useful starting value.
12422 (allout-item-span): Reduce possibility of overlay leakage by
12423 making them volatile.
12424 (allout-widgets-count-buttons-in-region): Add diagnostic function
12425 for tracking down button overlay leaks.
12427 2011-03-29 Leo Liu <sdl.web@gmail.com>
12429 * ido.el (ido-read-internal): Use the default history var
12430 minibuffer-history if no HISTORY is specified.
12432 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12434 * net/imap.el (imap-shell-open, imap-process-connection-type):
12435 Use imap-process-connection-type for 'shell' streams as well as
12436 Kerberos, SSL, other subprocesses.
12438 2011-03-28 Leo Liu <sdl.web@gmail.com>
12440 * abbrev.el (abbrev-table-empty-p): New function.
12441 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12442 nonempty ones. (Bug#5937)
12444 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12446 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12448 2011-03-27 Leo Liu <sdl.web@gmail.com>
12450 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12451 for foreground and background colors.
12452 (ansi-color-make-color-map): Adapt.
12454 2011-03-25 Leo Liu <sdl.web@gmail.com>
12456 * midnight.el (midnight-time-float): Remove. Note it calculates
12457 the microsecond component incorrectly and seconds-to-time does the
12459 Remove redundant (require 'timer).
12461 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12462 (ido-completions): Remove unused arguments. (Bug#8329)
12464 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12466 * minibuffer.el (completion--flush-all-sorted-completions):
12467 Remove itself from hook.
12468 (completion-at-point): Let the functions perform the completion
12469 immediately and return nil or t.
12470 * comint.el (comint-dynamic-complete-functions): Now identical to
12471 completion-at-point-functions.
12472 (comint-dynamic-list-input-ring): Remove unused var `index'.
12473 (comint--match-partial-filename, comint--unquote&expand-filename):
12474 New funs, split from comint-match-partial-filename.
12475 (comint-dynamic-complete): Use completion-at-point.
12476 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12478 2011-03-24 Drew Adams <drew.adams@oracle.com>
12480 * thingatpt.el: Support `defun'.
12482 2011-03-23 Leo Liu <sdl.web@gmail.com>
12484 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12486 * help-mode.el (help-mode-finish): Tweak regexp.
12488 2011-03-23 Glenn Morris <rgm@gnu.org>
12490 * eshell/esh-opt.el (eshell-eval-using-options):
12491 Do not bind unused local variable `eshell-option-stub'.
12493 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12495 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12497 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12498 keymap variable in `with-no-warnings' to avoid a warning when the
12499 keymap has been already `defconst'ed.
12501 2011-03-22 Leo Liu <sdl.web@gmail.com>
12503 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12504 encode all chars in abbrevs; otherwise use emacs-mule or
12505 utf-8-emacs. (Bug#8308)
12507 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12509 * simple.el (backward-delete-char-untabify):
12510 Avoid warning about using `delete-backward-char'.
12512 * image.el (image-type-file-name-regexps): Make it variable.
12513 `imagemagick-register-types' modifies it, and the user may want
12514 to add new extensions for known image types.
12515 (imagemagick-register-types): Throw error if not using ImageMagick.
12517 2011-03-22 Leo Liu <sdl.web@gmail.com>
12519 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12520 located before rcirc-prompt-end-marker.
12521 (rcirc-complete): Error if point is not after rcirc prompt.
12522 Handle the case when table is nil.
12523 (rcirc-user-authenticated): Define to fix compiler warning.
12525 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
12527 * custom.el (custom--inhibit-theme-enable): Make it affect only
12528 custom-theme-set-variables and custom-theme-set-faces.
12529 (provide-theme): Ignore custom--inhibit-theme-enable.
12530 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12531 (custom-enabling-themes): Delete variable.
12532 (enable-theme): Accept only loaded themes as arguments.
12533 Ignore the special custom-enabled-themes variable.
12534 (custom-enabled-themes): Forbid themes from setting this.
12535 Eliminate use of custom-enabling-themes.
12536 (custom-push-theme): Quote "changed" custom var entry.
12538 2011-03-21 Leo Liu <sdl.web@gmail.com>
12540 * ido.el (ido-read-internal): Add ido-selected to history instead
12543 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12545 * subr.el (deferred-action-list, deferred-action-function):
12548 2011-03-21 Leo Liu <sdl.web@gmail.com>
12550 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12551 change on 2011-02-13 (bug#8309).
12553 * minibuffer.el (read-file-name-function): Change default value.
12554 (read-file-name--defaults): Rename from read-file-name-defaults.
12555 (read-file-name-default): Rename from read-file-name.
12556 (read-file-name): Call read-file-name-function.
12558 2011-03-21 Glenn Morris <rgm@gnu.org>
12560 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12563 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
12565 * cus-theme.el: Add missing provide statement.
12566 (customize-create-theme): Extract theme value correctly.
12567 (custom-theme-visit-theme): Autoload.
12568 (customize-create-theme): Prompt before inserting default faces.
12570 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12572 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12573 units and musical notes.
12575 2011-03-20 Leo Liu <sdl.web@gmail.com>
12577 * ido.el (ido-read-internal): Use completing-read-default.
12578 (ido-completing-read): Fix compatibility with completing-read.
12580 2011-03-20 Christian Ohler <ohler@gnu.org>
12582 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12583 (ert-delete-all-tests): Use `called-interactively-p' rather than
12585 (ert--make-xrefs-region): Respect END.
12587 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12589 * dired-aux.el (dired-create-directory): Signal an error if the
12590 directory already exists (Bug#8246).
12592 * facemenu.el (list-colors-display): Call list-faces-display
12593 inside with-help-window.
12594 (list-colors-print): Use display property to align the final
12595 column, instead of checking window-width.
12597 2011-03-19 Eli Zaretskii <eliz@gnu.org>
12599 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
12600 windows-nt systems.
12601 (emerge-protect-metachars): Quote correctly for ms-dos and
12602 windows-nt systems.
12604 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
12606 * info.el (info-initialize): Replace all uses of `:' with
12607 path-separator for compatibility with non-Unix systems.
12608 Cache quoting of path-separator. (Bug#8258)
12610 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
12612 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12613 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12614 (mouse-avoidance-mode): Fix typos in docstrings.
12616 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12618 * startup.el (package-subdirectory-regexp): Move from package.el.
12619 Omit \\` and \\', and let callers add them.
12621 * emacs-lisp/package.el (package-strip-version)
12622 (package-load-all-descriptors): Add \\` and \\' to
12623 package-subdirectory-regexp before using it.
12624 (package-untar-buffer): New arg DIR; ensure that file untars only
12625 into this expected directory. Remove superfluous delete-region.
12626 (package-unpack): Caller changed.
12627 (package-tar-file-info): Use package-subdirectory-regexp.
12629 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12631 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12632 diff-mode-shared-map (bug#8284).
12633 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
12635 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12637 * calendar/time-date.el (format-seconds): Use assoc instead of
12638 assoc-string, since assoc-string doesn't exist in XEmacs.
12640 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
12642 * custom.el (custom-known-themes): Reflow docstring.
12643 (custom-theme-load-path): Fix typo in docstring.
12644 (load-theme): Fix typo in error message.
12645 (custom-available-themes, custom-variable-theme-value):
12646 Use `let', not `let*'.
12648 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12650 * calc/README: Mention inclusion of musical notes.
12652 * calc/calc-units.el (calc-lu-quant): Rename from
12653 `calc-logunits-quantity'.
12654 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12655 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12656 (calc-db): Rename from `calc-dblevel'.
12657 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12658 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12659 (calc-np): Rename from `calc-nplevel'.
12660 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12661 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12662 (calc-lu-plus): Rename from `calc-logunits-add'.
12663 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12664 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12665 (calc-lu-minus): Rename from `calc-logunits-sub'.
12666 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12667 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12668 (calc-lu-times): Rename from `calc-logunits-mul'.
12669 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12670 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12671 (calc-lu-divide): Rename from `calc-logunits-div'.
12672 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12673 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12675 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12676 functions being autoloaded.
12678 * calc/calc.el (calc-lu-power-reference): Rename from
12679 `calc-logunits-power-reference'.
12680 (calc-lu-field-reference): Rename from
12681 `calc-logunits-field-reference'.
12683 * calc/calc-help.el (calc-l-prefix-help):
12684 Mention musical note functions.
12686 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12688 * minibuffer.el (completion-all-sorted-completions):
12689 Use :completion-cycle-penalty text property if present.
12691 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12693 * allout.el (allout-yank-processing): Adjust for new rebulleting
12694 regime so bullet being yanked is used without prompting the user
12697 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
12699 * startup.el (command-line): Warn the user that _emacs is deprecated.
12701 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
12703 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12704 (delphi-verbose, delphi-comment-face, delphi-string-face)
12705 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12706 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12707 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12708 (delphi-new-comment-line, delphi-font-lock-defaults)
12709 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12710 Fix typos in docstrings.
12712 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12714 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
12715 Invert the roles of character and string values for INSTEAD, so a
12716 string is used for the more common case of a defaulting prompt.
12718 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12720 * progmodes/ruby-mode.el (ruby-backward-sexp):
12721 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12722 * play/gamegrid.el (gamegrid-make-face):
12723 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12724 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12725 * notifications.el (notifications-notify):
12726 * net/xesam.el (xesam-search-engines):
12727 * net/quickurl.el (quickurl-list-insert):
12728 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12730 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
12732 * startup.el (command-line): Update package subdirectory regexp.
12734 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12736 * allout.el (allout-abbreviate-flattened-numbering)
12737 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12739 * subr.el (read-char-choice): Only show the cursor after the prompt,
12740 not after the answer.
12742 2011-03-15 Kevin Ryde <user42@zip.com.au>
12744 * help-fns.el (variable-at-point): Skip leading quotes, if any
12747 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12749 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12752 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
12754 * shell.el (shell): When called interactively, offer to change the
12755 shell file name on remote hosts.
12757 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12759 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12760 integration for LDAP parameters. The host, base, user or binddn,
12761 and secret tokens can be specified in a netrc file, for instance.
12762 This is optional because an `auth-source' parameter must be
12763 specified in the search attributes.
12765 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
12767 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12769 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12771 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12772 into declaration. Remove redundant and harmful binding.
12774 2011-03-12 Eli Zaretskii <eliz@gnu.org>
12776 * files.el (file-ownership-preserved-p): Pass `integer' as an
12777 explicit 2nd argument to `file-attributes'. If the file's owner
12778 is the Administrators group on Windows, and the current user is
12779 Administrator, consider that a match.
12781 * server.el (server-ensure-safe-dir): Consider server directory
12782 safe on MS-Windows if its owner is the Administrators group while
12783 the current Emacs user is Administrator. Use `=' to compare
12784 numerical UIDs, since they could be integers or floats.
12786 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
12788 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12790 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
12792 Sync with Tramp 2.2.1.
12794 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12796 * net/trampver.el: Update release number.
12798 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12800 * progmodes/compile.el (compilation--previous-directory): Fix up
12801 various nil/dead-marker mismatches (bug#8014).
12802 (compilation-directory-properties, compilation-error-properties):
12803 Don't call it at a position past the one we're about to change.
12805 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12806 Disable obsolescence warnings in the file that declares it.
12808 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12810 * allout-widgets.el (allout-widgets-tally):
12811 Initialize allout-widgets-tally as a hash table rather than nil to
12812 prevent mode-line redisplay warnings. Also, clarify the module
12813 description and fix a comment typo.
12815 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
12817 * help-fns.el (describe-variable): Don't complete keywords.
12818 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12820 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
12822 * emacs-lisp/package.el (package-version-join): Impose a standard
12823 string representation for pre/alpha/beta version lists.
12824 (package-unpack-single): Standardize the directory name by passing
12825 it through package-version-join.
12826 (package-strip-rcs-id): Accept any version string that does not
12827 signal an error in version-to-list.
12829 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
12831 * simple.el (delete-trailing-whitespace): Return nil for the
12832 benefit of `write-file-functions'.
12834 2011-03-10 Glenn Morris <rgm@gnu.org>
12836 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12838 * vc/vc-git.el (vc-git-program): New option.
12839 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12840 (vc-git--call): Use it.
12842 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12844 * cus-edit.el (Custom-newline): If no button at point, look
12845 for a subgroup button at start-of-line. (Bug#2298)
12847 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12849 2011-03-10 Julien Danjou <julien@danjou.info>
12851 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12852 `cursor-type' is nil.
12854 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12856 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12858 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12860 * allout.el: Change so yank of distinctive-bullet items
12861 preserves the existing header prefix, rebulleting it if necessary,
12862 rather than replacing it. This is necessary for proper operation
12863 of cooperative addons like allout-widgets.
12864 (allout-make-topic-prefix, allout-rebullet-heading):
12865 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12866 value as alternate bullet to be used, instead of prompting the user
12867 for a bullet character.
12869 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
12871 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12872 Do not use `tramp-file-name-port', because this returns also
12873 `tramp-default-port'.
12875 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12877 * net/rcirc.el (rcirc-handler-001): Remove useless
12878 with-rcirc-process-buffer.
12879 (rcirc-check-auth-status): Swap arguments to string-match.
12881 2011-03-09 Glenn Morris <rgm@gnu.org>
12883 * shell.el (shell-mode):
12884 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12886 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12887 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12889 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
12891 * emacs-lisp/package.el (package-refresh-contents)
12892 (package-menu-execute): Use condition-case-no-debug.
12894 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
12896 * simple.el (shell-command-to-string): Use `process-file'.
12898 * emacs-lisp/package.el (package-tar-file-info): Handle also
12901 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12902 Use `equal' for upload base check.
12904 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12906 * textmodes/texinfo.el (texinfo-environments):
12907 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12909 2011-03-08 Glenn Morris <rgm@gnu.org>
12911 * cus-start.el (cursor-in-non-selected-windows):
12912 Fix :set quoting oddness. (Bug#8192)
12914 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12915 in some setf expressions. (Bug#2159)
12917 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
12919 * custom.el (custom-available-themes): Return themes in
12920 alphabetical order.
12922 See ChangeLog.15 for earlier changes.
12924 ;; Local Variables:
12928 Copyright (C) 2011-2012 Free Software Foundation, Inc.
12930 This file is part of GNU Emacs.
12932 GNU Emacs is free software: you can redistribute it and/or modify
12933 it under the terms of the GNU General Public License as published by
12934 the Free Software Foundation, either version 3 of the License, or
12935 (at your option) any later version.
12937 GNU Emacs is distributed in the hope that it will be useful,
12938 but WITHOUT ANY WARRANTY; without even the implied warranty of
12939 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12940 GNU General Public License for more details.
12942 You should have received a copy of the GNU General Public License
12943 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.