1 2012-04-25 Leo Liu <sdl.web@gmail.com>
3 * progmodes/python.el (python-pdbtrack-get-source-buffer): Use
4 compilation-message if available to find real filename.
6 2012-04-25 Chong Yidong <cyd@gnu.org>
8 * vc/diff-mode.el (diff-setup-whitespace): New function.
11 * vc/diff.el (diff-sentinel):
12 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
13 Whitespace mode variables based on diff style (Bug#8612).
15 2012-04-25 Leo Liu <sdl.web@gmail.com>
17 * progmodes/python.el (python-send-region): Add suffix .py to the
20 * files.el (auto-mode-alist): Use javascript-mode instead.
22 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
24 Sync with soap-client repository. Support SOAP simpleType. (Bug#10331)
26 * soap-client.el (soap-resolve-references-for-sequence-type)
27 (soap-resolve-references-for-array-type): hack to prevent self
28 references, see Bug#9.
29 (soap-parse-envelope): report the contents of the 'detail' node
30 when receiving a fault reply.
31 (soap-parse-envelope): report the contents of the entire 'detail'
34 * soap-inspect.el (soap-sample-value-for-simple-type)
35 (soap-inspect-simple-type): new function
37 * soap-client.el (soap-simple-type): new struct
38 (soap-default-xsd-types, soap-default-soapenc-types)
39 (soap-decode-basic-type, soap-encode-basic-type): support
40 unsignedInt and double basic types
41 (soap-resolve-references-for-simple-type)
42 (soap-parse-simple-type, soap-encode-simple-type): new function
43 (soap-parse-schema): parse xsd:simpleType declarations
45 * soap-client.el (soap-default-xsd-types)
46 (soap-default-soapenc-types): add integer, byte and anyURI types
47 (soap-parse-complex-type-complex-content): use `soap-wk2l' to find
48 the local name of "soapenc:Array"
49 (soap-decode-basic-type, soap-encode-basic-type): support encoding
50 decoding integer, byte and anyURI xsd types.
52 2012-04-25 Chong Yidong <cyd@gnu.org>
54 * cus-edit.el (custom-buffer-create-internal): Update header text.
56 2012-04-25 Eli Zaretskii <eliz@gnu.org>
58 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
59 settings on 'system-type', not on 'window-system'. On MS-Windows,
60 set interactive-mode on in GDB.
62 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
64 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
65 (ruby-syntax-propertize-regexp): Remove.
66 (ruby-syntax-propertize-function): Split regexp into chunks.
67 Match following code directly.
69 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
71 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
72 (ruby-syntax-propertize-regexp): New function.
73 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
76 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
77 (ruby-syntax-general-delimiters-goto-beg)
78 (ruby-syntax-propertize-general-delimiters): New functions.
79 (ruby-syntax-propertize-function): Use them to handle GDL.
80 (ruby-font-lock-keywords): Move old handling of GDL...
81 (ruby-font-lock-syntactic-keywords): .. to here.
82 (ruby-calculate-indent): Adjust indentation for GDL.
84 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
86 * notifications.el (top): Remove unneeded declarations.
87 (notifications-specification-version): Change to "1.2".
88 (notifications-interface, notifications-notify-method)
89 (notifications-close-notification-method): Fix docstring.
90 (notifications-get-capabilities-method): New defconst.
91 (notifications-notify): Add :action-items, :resident and
92 :transient hints. Change "image_data" to "image-data" and
93 "image_path" to "image-path".
94 (notifications-get-capabilities): New defun.
96 2012-04-24 Leo Liu <sdl.web@gmail.com>
98 * progmodes/python.el: Move hideshow setup to the end.
100 2012-04-24 Martin Rudalics <rudalics@gmx.at>
102 * window.el (handle-select-window): Clear echo area since this is
103 no more done by read_char (Bug#11304).
105 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
107 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
108 and `/ M' to filter-derived-mode.
109 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
110 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
111 (ibuffer-mark-by-mode): Use default rather than initial-input.
112 (ibuffer-filter-by-derived-mode): Autoload and require-match.
114 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
116 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
117 (ibuffer-filter-by-derived-mode): New filter.
118 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
120 2012-04-23 Andreas Politz <politza@fh-trier.de>
122 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
124 2012-04-23 Chong Yidong <cyd@gnu.org>
126 * cus-edit.el (customize-apropos, customize-apropos-options):
127 Disable matching of non-option variables (Bug#11176).
128 (customize-option, customize-option-other-window)
129 (customize-changed-options): Doc fix.
130 (customize-apropos-options, customize-apropos-faces)
131 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
133 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
134 Fix word list splitting (Bug#11132).
135 (apropos-symbol, apropos-keybinding, apropos-label)
136 (apropos-property, apropos-function-button)
137 (apropos-variable-button, apropos-misc-button): New faces.
138 (apropos-symbol-face, apropos-keybinding-face)
139 (apropos-label-face, apropos-property-face, apropos-match-face):
140 Variables removed (Bug#8396).
141 (apropos-library-button, apropos-format-plist, apropos-print)
142 (apropos-print-doc, apropos-describe-plist): Callers changed.
144 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
146 * net/xesam.el (xesam-mode-map): Use let-bound map in
147 initialization. (Bug#11292)
149 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
151 Preserve ispell session localwords when switching back to
154 * ispell.el (ispell-buffer-session-localwords): New buffer-local
155 variable to hold buffer session localwords.
156 (ispell-kill-ispell): add option 'clear to delete session
158 (ispell-command-loop, ispell-change-dictionary)
159 (ispell-buffer-local-words): Preserve session localwords when
162 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
163 Preserve session localwords when needed.
165 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
167 * ispell.el (ispell-insert-word) Remove unneeded function using
168 obsolete `translation-table-for-input'.
169 (ispell-word, ispell-process-line, ispell-complete-word): Use
170 plain `insert' instead of removed `ispell-insert-word'.
172 2012-04-22 Chong Yidong <cyd@gnu.org>
174 * cus-edit.el (custom-variable-menu)
175 (custom-variable-reset-saved, custom-face-menu)
176 (custom-face-reset-saved): If there is no saved value, make the
177 "reset-saved" operation bring back the default (Bug#9509).
178 (custom-face-state): Properly detect themed faces.
180 * faces.el (face-spec-set): Stop supporting deprecated form of
183 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
185 Move functions from C to Lisp. Make non-blocking method calls
186 the default. Implement further D-Bus standard interfaces.
188 * net/dbus.el (dbus-message-internal): Declare function. Remove
189 unneeded function declarations.
190 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
191 (dbus-message-type-method-return, dbus-message-type-error)
192 (dbus-message-type-signal): Declare variables. Remove local
194 (dbus-interface-dbus, dbus-interface-peer)
195 (dbus-interface-introspectable, dbus-interface-properties)
196 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
198 (dbus-interface-objectmanager): New defconst.
199 (dbus-call-method, dbus-call-method-asynchronously)
200 (dbus-send-signal, dbus-method-return-internal)
201 (dbus-method-error-internal, dbus-register-service)
202 (dbus-register-signal, dbus-register-method): New defuns, moved
204 (dbus-call-method-handler, dbus-setenv)
205 (dbus-get-all-managed-objects, dbus-managed-objects-handler): New
207 (dbus-call-method-non-blocking): Make it an obsolete function.
208 (dbus-unregister-object, dbus-unregister-service)
209 (dbus-handle-event, dbus-register-property)
210 (dbus-property-handler): Obey the new structure of
211 `bus-registered-objects'.
212 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
213 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
214 Use `dbus-call-method'.
216 2012-04-22 Chong Yidong <cyd@gnu.org>
218 * cus-edit.el (custom-commands, custom-reset-menu)
219 (Custom-reset-standard): Tweak labels.
220 (custom-reset-button-menu): Change default to t.
221 (custom-buffer-create-internal): For the custom-reset-button-menu
222 case, put the revert button first.
223 (custom-group-subtitle): New face.
224 (custom-group-value-create): Align docstring to a specific column.
226 * wid-edit.el (widget-documentation-link-add): Don't handle
227 indentation in this function.
228 (widget-documentation-string-indent-to): New function.
229 (widget-documentation-string-value-create): Use it.
231 * autorevert.el (auto-revert):
232 * epg-config.el (epg):
233 * ibuffer.el (ibuffer):
236 * eshell/eshell.el (eshell):
237 * net/ange-ftp.el (ange-ftp):
238 * progmodes/ebnf2ps.el (postscript):
239 * progmodes/flymake.el (flymake):
240 * progmodes/prolog.el (prolog):
241 * progmodes/verilog-mode.el (verilog-mode):
242 * progmodes/which-func.el (which-func):
243 * term/xterm.el (xterm):
244 * textmodes/picture.el (picture):
245 * textmodes/tildify.el (tildify):
246 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
247 customization buffers.
249 2012-04-22 Alan Mackenzie <acm@muc.de>
251 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
252 Adding a ) can hide the resulting (..) from searches. Fix it.
253 Bound the backward search to the position of the existing (.
255 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
257 * progmodes/verilog-mode.el (verilog-mode): Check whether
258 which-func-modes is t before adding verilog-mode.
259 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
261 2012-04-21 Leo Liu <sdl.web@gmail.com>
263 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
265 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
267 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
268 filling of the last column of a table (Bug#5635).
269 (woman-find-next-control-line): New arg, specifying an additional
270 regexp component for the control line.
271 (woman2-roff-buffer): Use it.
272 (woman-break-table): New function.
275 2012-04-21 Chong Yidong <cyd@gnu.org>
277 * woman.el (woman-set-buffer-display-table, woman-decode-region)
278 (woman-horizontal-escapes, woman-negative-vertical-space)
279 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
280 (WoMan-warn-ignored): Use ?\s instead of ?\ .
282 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
284 * minibuffer.el (completion-file-name-table): Complete user names.
286 2012-04-20 Leo Liu <sdl.web@gmail.com>
288 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
291 2012-04-20 Chong Yidong <cyd@gnu.org>
293 * server.el (server-execute): Respect initial-buffer-choice if it
294 is a string and there are no files to open (Bug#2825).
295 (server-create-window-system-frame, server-create-tty-frame):
296 Don't switch buffers here.
297 (server-process-filter): Only try to open a window system frame if
298 compiled with graphical support (Bug#8314).
300 2012-04-20 Dan Nicolaescu <dann@gnu.org>
302 * battery.el (battery-echo-area-format): Display remaining time
303 for sysfs backend too (Bug#11269).
304 (battery-linux-sysfs): Fix conditional for the charge.
306 2012-04-20 Chong Yidong <cyd@gnu.org>
308 * progmodes/gdb-mi.el (gdb): Revert previous change.
309 (gdb-inferior-io--init-proc): New function.
310 (gdb-init-1): Use it.
311 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
312 responsible for allocating a new pty and hooking it to gdb when
313 the old pty gets an EIO due to process exit.
314 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
315 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
316 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
318 2012-04-20 Eli Zaretskii <eliz@gnu.org>
320 * window.el (window-min-size, window-sizable, window-min-delta)
321 (window-max-delta, window--resizable, window-resizable)
322 (window-total-size, window-full-height-p, window-full-width-p)
323 (window-in-direction, window--resize-mini-window, window-resize)
324 (window--resize-child-windows-normal)
325 (window--resize-child-windows, window--resize-siblings)
326 (window--resize-this-window, adjust-window-trailing-edge)
327 (enlarge-window, shrink-window): Doc fixes.
329 2012-04-20 Chong Yidong <cyd@gnu.org>
331 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty): New
332 function to call delete-process on the gdb-inferior buffer's pty.
333 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
334 pty process (Bug#11273).
335 (gdb-update): New arg to suppress talking to the gdb process.
336 (gdb-done-or-error): Use it.
337 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
338 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
339 sentinel not being called.
341 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
343 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
345 2012-04-20 Glenn Morris <rgm@gnu.org>
347 * net/network-stream.el (open-network-stream): Doc fix.
349 2012-04-20 Chong Yidong <cyd@gnu.org>
351 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
353 2012-04-20 Alan Mackenzie <acm@muc.de>
355 Ensure searching for keywords is case sensitive.
357 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
358 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
359 (c-defun-name, c-mark-function, c-cpp-define-name)
360 (c-comment-indent, c-scan-conditionals, c-indent-defun)
361 (c-context-line-break): Bind case-fold-search to nil.
363 * progmodes/cc-mode.el (c-font-lock-fontify-region): Bind
364 case-fold-search to nil.
366 2012-04-20 Chong Yidong <cyd@gnu.org>
368 * mail/sendmail.el (mail-bury): Call return action with the right
369 Rmail buffer (Bug#11242).
371 * server.el (server-process-filter): Handle corner case where both
372 tty and nowait options are present (Bug#11102).
374 2012-04-20 Eli Zaretskii <eliz@gnu.org>
376 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
377 (top level): Put into the executable the ident-style '$Id:' tag on
380 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
382 * electric.el (electric-indent-post-self-insert-function): Check that
383 electric-indent-mode is enabled in current buffer.
385 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
387 * imenu.el (imenu-progress-message): Restore; it is "used" in
388 erc/erc-imenu.el and net/snmp-mode.el.
390 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
392 * avoid.el (mouse-avoidance-mode): Mark unused arg.
393 (mouse-avoidance-nudge-mouse): Remove unused binding.
395 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
397 * descr-text.el (describe-char):
398 * progmodes/python.el (python-describe-symbol):
399 Don't call `toggle-read-only', set `buffer-read-only'.
401 * imenu.el (imenu-default-goto-function): Mark unused args.
402 (imenu-progress-message): Remove obsolete macro; all callers changed.
404 * subr.el (keymap-canonicalize): Remove unused binding.
405 (read-passwd): Mark unused arg.
407 * tutorial.el (tutorial--display-changes): Remove unused binding.
408 (tutorial--save-tutorial-to): Remove unused variable.
410 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
411 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
412 (package-generate-autoloads, package-menu--generate)
413 (package-menu--find-upgrades): Remove unused bindings.
415 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
416 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
417 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
418 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
419 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
420 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
421 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
422 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
423 (cua-delete-char-rectangle): Mark unused args.
424 (cua-align-rectangle): Remove unused binding.
426 * mail/rmail.el (compilation--message->loc)
427 (epa--find-coding-system-for-mime-charset): Declare.
429 * net/dbus.el (dbus-register-service): Declare.
430 (dbus-name-owner-changed-handler): Remove unused binding.
432 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
433 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
434 (nxml-scan-backward-within): Mark unused arg.
435 (nxml-dynamic-markup-word): Remove unused binding.
437 * mouse.el (mouse-menu-major-mode-map):
438 * emacs-lisp/authors.el (authors-scan-change-log)
439 (authors-add-to-author-list):
440 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
441 * emacs-lisp/smie.el (smie-auto-fill):
442 * mail/sendmail.el (mail-bury):
443 * mail/unrmail.el (unrmail):
444 * net/tls.el (open-tls-stream):
445 * textmodes/picture.el (picture-mouse-set-point):
446 Remove unused bindings.
448 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
450 * net/tramp.el (tramp-action-password): Let-bind
451 `enable-recursive-minibuffers' to t.
453 2012-04-18 Sam Steingold <sds@gnu.org>
455 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
456 instead of 'string to accommodate values like [f11].
457 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
458 * progmodes/gdb-mi.el: Likewise.
460 2012-04-18 Leo Liu <sdl.web@gmail.com>
462 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
464 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
467 2012-04-18 Chong Yidong <cyd@gnu.org>
469 * simple.el (line-move): Use forward-line if in batch mode
472 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
474 * files.el (after-find-file): Do not try to add a final newline if
475 the buffer is read-only (Bug#11156).
477 2012-04-17 Richard Stallman <rms@gnu.org>
479 * mail/rmail.el (rmail-start-mail):
480 Pass (rmail-mail-return...) for the return-action.
481 Pass (rmail-yank-current-message...) for the yank-action.
482 (rmail-yank-current-message): New function.
483 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
484 (rmail-reply): Likewise.
485 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
487 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
488 buffer, not the last. Reject temp buffers. Use the rmail-mode
491 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
493 * server.el (server-ensure-safe-dir): Simplify.
495 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
497 * emacs-lisp/smie.el: Provide smarter auto-filling.
498 (smie-auto-fill): New function.
499 (smie-setup): Use it.
501 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
503 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
505 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
506 (comment-indent): Use it.
508 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
510 * ses.el: The overall change is to add cell renaming, that is
511 setting fancy names for cell symbols other than name matching
512 "\\`[A-Z]+[0-9]+\\'" regexp .
513 (ses-localvars): Add ses--renamed-cell-symb-list.
514 (ses-create-cell-variable): New defun.
515 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
516 (ses-relocate-formula): Relocate formulas only for cells the
517 symbols of which are not renamed, i.e. symbols whose names do not
518 match regexp "\\`[A-Z]+[0-9]+\\'".
519 (ses-relocate-all): Relocate values only for cells the symbols of
520 which are not renamed.
521 (ses-load): Create cells variables as the (ses-cell ...) are read,
522 in order to check row col consistency with cell symbol name only
523 for cells that are not renamed.
524 (ses-replace-name-in-formula): New defun.
525 (ses-rename-cell): New defun.
527 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
529 * progmodes/perl-mode.el (perl-indent-parens-as-block):
530 New option (bug#11118).
531 (perl-calculate-indent): Respect it.
533 2012-04-17 Glenn Morris <rgm@gnu.org>
535 * dired-aux.el (dired-mark-read-string): Doc fix.
537 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
539 * dired-aux.el (dired-mark-read-string): Offer optional completion.
540 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
542 2012-04-17 Glenn Morris <rgm@gnu.org>
544 * mouse.el (mouse-drag-track):
545 * speedbar.el (speedbar-frame-mode):
546 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
548 2012-04-16 Leo Liu <sdl.web@gmail.com>
550 * progmodes/python.el: Trivial cleanup.
552 2012-04-16 Glenn Morris <rgm@gnu.org>
554 * vc/vc.el (vc-string-prefix-p):
555 * vc/pcvs-util.el (cvs-string-prefix-p):
556 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
557 * mpc.el (mpc-string-prefix-p):
558 Make all of these into obsolete aliases for string-prefix-p.
560 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
562 * textmodes/two-column.el: Move custom options to the start.
563 (frame-width): Remove compat definition.
564 (2C-associate-buffer, 2C-dissociate):
565 Use with-current-buffer rather than save-excursion.
566 (2C-dissociate): Force a mode-line update.
567 (2C-autoscroll): Use ignore-errors.
569 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
572 * emacs-lisp/cl-extra.el (*random-state*):
573 Remove unnecessary declaration.
575 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
577 * play/cookie1.el (cookie-snarf):
578 Give an explicit error if input file cannot be read.
580 * play/yow.el (yow-file): Use expand-file-name rather than concat.
582 * progmodes/perl-mode.el (c-macro-expand):
583 Remove unnecessary autoload (it is in loaddefs.el).
585 * textmodes/picture.el (picture-desired-column)
586 (picture-update-desired-column): Convert comments to doc-strings.
587 (picture-substitute): Remove function.
588 (picture-mode-map): Initialize in the defvar.
590 * woman.el: Remove eval-after-load for tar-mode.
591 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
592 (woman-tar-extract-file): Autoload it.
594 * frame.el (automatic-hscrolling): Make this alias obsolete.
596 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
598 * ispell.el (ispell-set-spellchecker-params): Post-process
599 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
600 (ispell-dictionary-base-alist): Revert to original XEmacs
601 friendly version for default. [:alpha:] will be added in
602 `ispell-set-spellchecker-params' if needed
604 2012-04-16 Chong Yidong <cyd@gnu.org>
606 * image.el (imagemagick--extension-regexp): New variable.
607 (imagemagick-register-types): Use it.
608 (imagemagick-types-inhibit): Add :set function. Allow new value
609 of t to inhibit all types.
611 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
612 so we can preload it.
614 * loadup.el (fboundp): Preload regexp-opt, needed by
615 imagemagick-register-types.
617 2012-04-15 Chong Yidong <cyd@gnu.org>
619 * frame.el (scrolling): Remove nearly unused customization group.
621 * scroll-all.el (scroll-all-mode): Move to windows group.
623 2012-04-15 Chong Yidong <cyd@gnu.org>
625 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
627 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
629 Avoid the use of ((lambda ...) ...) in lexical-binding code.
630 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
632 2012-04-15 Glenn Morris <rgm@gnu.org>
634 * simple.el (process-file-side-effects): Doc fix.
636 2012-04-15 Glenn Morris <rgm@gnu.org>
638 * international/mule-cmds.el (set-language-environment): Doc fix.
640 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
642 * server.el (server-auth-key, server-generate-key): Doc fixes.
643 (server-get-auth-key): Doc fix. Use `string-match-p'.
644 (server-start): Reflow docstring.
646 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
648 * server.el (server-generate-key): `called-interactively-p'
649 requires a parameter.
651 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
653 * server.el (server-auth-key): New variable.
654 (server-generate-key, server-get-auth-key): New function.
655 (server-start): Use the new variable and functions to allow
656 setting a permanent server key (bug#9423).
658 2012-04-14 Leo Liu <sdl.web@gmail.com>
660 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
662 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
665 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
666 Emacs uses American spelling.
668 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
670 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
671 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
672 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
673 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
675 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
677 * progmodes/which-func.el (which-func-modes): Change default.
679 2012-04-14 Kim F. Storm <storm@cua.dk>
681 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
682 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
684 2012-04-14 Chong Yidong <cyd@gnu.org>
686 * custom.el (custom-theme-set-variables): Doc fix.
688 2012-04-14 Glenn Morris <rgm@gnu.org>
690 * international/mule.el (set-auto-coding-for-load): Doc fix.
692 2012-04-14 Alan Mackenzie <acm@muc.de>
694 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
695 imenu work again for Objective C Mode. Correct the *-index values,
696 these having been disturbed by a previous change in 2011-08.
698 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
699 Correct two search limits.
701 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
703 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
705 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
707 * international/characters.el: Fix sorting.
709 2012-04-14 Eli Zaretskii <eliz@gnu.org>
711 * international/characters.el: Add more missing Latin case pairs.
713 2012-04-14 Glenn Morris <rgm@gnu.org>
715 * files.el (dir-locals-set-class-variables): Doc fix.
717 2012-04-14 Eli Zaretskii <eliz@gnu.org>
719 * international/characters.el: Add set-case-syntax-pair call for
720 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
721 counterpart. (Bug#11209)
723 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
725 2012-04-14 Glenn Morris <rgm@gnu.org>
727 * calendar/holidays.el (calendar-check-holidays): Doc fix.
729 2012-04-14 Eli Zaretskii <eliz@gnu.org>
731 * textmodes/ispell.el (ispell-dictionary-base-alist):
734 2012-04-14 Chong Yidong <cyd@gnu.org>
736 * net/rcirc.el (rcirc-cmd-quit):
737 Revert 2012-03-18 change (Bug#11192).
739 2012-04-14 Glenn Morris <rgm@gnu.org>
741 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
743 2012-04-14 Eli Zaretskii <eliz@gnu.org>
745 * minibuffer.el (completion-in-region-mode-map):
746 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
748 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
750 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
752 2012-04-13 Masatake YAMATO <yamato@redhat.com>
754 * minibuffer.el (minibuffer-local-filename-syntax): New variable
755 to allow `C-M-f' and `C-M-b' to move to the nearest path
756 separator (bug#9511).
758 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
760 * avoid.el: Require cl when compiling. And also move the
761 `provide' to the end.
763 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
765 * avoid.el (mouse-avoidance-banish-position): New variable.
766 (mouse-avoidance-banish-destination): Use it (bug#10165).
768 2012-04-13 Leo Liu <sdl.web@gmail.com>
770 * progmodes/which-func.el (which-func-modes): Add objc-mode.
772 2012-04-13 Ken Brown <kbrown@cornell.edu>
774 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
775 this is no longer needed now that cygstart understands file:// URLs.
776 (browse-url-filename-alist): For the same reason, don't modify
777 file:// URLs on Cygwin.
779 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
781 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
782 the region on shift if the binding is already shifted (bug#11221).
784 2012-04-12 Glenn Morris <rgm@gnu.org>
786 * mail/mailpost.el: Move to obsolete/.
788 2012-04-12 Drew Adams <drew.adams@oracle.com>
790 * imenu.el (imenu--generic-function): Ignore invisible definitions
793 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
795 * hexl.el (hexl-bits): New variable.
796 (hexl-options): Mention the variable in the doc string.
797 (hexl-rulerise, hexl-line-displen): New functions.
798 (hexl-mode): Mention the new variable.
799 (hexl-mode, hexl-current-address, hexl-current-address):
801 (hexl-ascii-start-column): New function.
802 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
803 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
805 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
807 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
808 '("-i" ENCODING), in 2 separate command-line arguments, to specify
809 the encoding, as expected by hunspell.
811 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
813 * battery.el (battery--linux-sysfs-regexp): New const.
814 (battery-status-function): Use it. Remove yeeloong special case.
815 (battery-yeeloong-sysfs): Remove.
816 (battery-echo-area-format): Remove yeeloong special case.
818 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
820 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
821 Reported by Noah Friedman.
823 * subr.el (read-passwd): Use read-string.
825 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
827 * vcursor.el (vcursor-move): Increase the priority of the overlay
830 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
832 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
833 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
835 2012-04-11 William Stevenson <yhvh2000@gmail.com>
837 * textmodes/artist.el (artist-mode): Convert artist-mode to use
838 define-minor-mode (bug#10760).
840 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
842 * progmodes/grep.el (rgrep): Tweak the find command line so
843 that directories matching `grep-find-ignored-files' won't be
846 2012-04-11 Chong Yidong <cyd@gnu.org>
848 * startup.el (command-line): Remove support for long-obsolete
849 variable font-lock-face-attributes.
851 2012-04-11 Glenn Morris <rgm@gnu.org>
853 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
855 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
857 * window.el (window--state-get-1): Obey window-point-insertion-type.
859 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
861 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
862 to previous function when point is on the first character of a
863 function. Take care of that in `narrow-to-defun' (bug#6157).
865 2012-04-11 Glenn Morris <rgm@gnu.org>
867 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
868 not just file-errors.
870 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
871 (vc-bzr-sha1): Use internal sha1.
873 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
875 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
877 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
879 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
880 that start in the middle of the line (bug#10496).
882 2012-04-10 Dan Nicolaescu <dann@gnu.org>
884 * battery.el (battery-linux-proc-acpi): Only one battery is
885 discharged at a time, but that seems to confuse battery.el when
886 computing `rate-type' for the battery not being discharged
889 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
891 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
893 * international/quail.el: Use dolist and simplify.
894 (quail-define-package, quail-update-keyboard-layout)
895 (quail-define-rules): Use dolist.
896 (quail-insert-kbd-layout, quail-get-translation): CSE.
898 * tmm.el: Use dolist, remove left over hook.
899 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
901 (calendar-load-hook): Don't mess with it.
903 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
904 Use derived-mode-p. Run the diff asynchronously.
906 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
908 * obsolete/mouse-sel.el: Add an Obsolete-since header.
910 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
912 * misc.el: Display absolute path of loaded DLLs (bug#10424).
913 (list-dynamic-libraries--loaded): New function.
914 (list-dynamic-libraries--refresh): Use it.
916 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
918 * progmodes/python.el (python-fill-paragraph):
919 Make python-fill-region in a multiline string work when font-lock is
922 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
924 * language/european.el (cp775): Add oem/legacy (en)coding on
925 DOS/MS Windows for the Baltic languages. There are still plenty
926 of texts written in this encoding/codepage (bug#6519).
928 2012-04-10 Glenn Morris <rgm@gnu.org>
930 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
931 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
933 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
935 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
936 next-line "n" and previous-line "p" in order to make recentf more
937 consistent with ibuffer, dired or org-mode (bug#9387).
939 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
941 * image.el (put-image): Return the overlay created instead of the
942 optional input string (bug#7834). Note that this may break code
943 that is (for some reason or other) depending on `put-image'
944 returning the string.
946 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
948 * simple.el (zap-to-char): Allow zapping using input methods
951 * textmodes/fill.el (fill-region): Leave point and mark where they
952 were before filling (bug#5399).
954 2012-04-09 Glenn Morris <rgm@gnu.org>
956 * version.el (emacs-bzr-get-version):
957 Handle lightweight checkouts of local branches.
959 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
961 * international/characters.el: Recover lost case pairs. (Bug#11209)
963 2012-04-09 Chong Yidong <cyd@gnu.org>
965 * custom.el (custom-variable-p): Return nil for non-symbol
966 arguments instead of signaling an error.
967 (user-variable-p): Obsolete alias for custom-variable-p.
969 * apropos.el (apropos-variable):
970 * files-x.el (read-file-local-variable):
971 * simple.el (set-variable):
972 * woman.el (woman-mini-help):
973 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
975 2012-04-09 Glenn Morris <rgm@gnu.org>
977 * startup.el (normal-top-level): Don't look for leim-list.el
978 in places where it will not be found. (Bug#910)
980 * international/mule-cmds.el (set-default-coding-systems):
981 * files.el (normal-mode):
982 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
983 This function was removed with ucs-tables.el in 2008.
985 2012-04-08 Eli Zaretskii <eliz@gnu.org>
987 * textmodes/ispell.el (ispell-check-version): For hunspell, set
988 ispell-encoding8-command to "-i", without a trailing space.
989 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
990 separate command-line arguments, to specify the encoding, since
991 that's how hunspell expects it.
993 2012-04-08 Glenn Morris <rgm@gnu.org>
995 * loadup.el: Load bindings before cus-start.
996 This reduces somewhat the number of "rogue" settings in emacs -Q.
998 2012-04-07 Glenn Morris <rgm@gnu.org>
1000 * version.el (emacs-bzr-get-version): New function.
1001 (emacs-bzr-version): New variable.
1002 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1003 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1005 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1007 * international/uni-bidi.el, international/uni-category.el:
1008 * international/uni-combining.el, international/uni-decimal.el:
1009 * international/uni-decomposition.el, international/uni-digit.el:
1010 * international/uni-lowercase.el, international/uni-mirrored.el:
1011 * international/uni-name.el, international/uni-numeric.el:
1012 * international/uni-titlecase.el, international/uni-uppercase.el:
1013 Update for Unicode 6.1.
1015 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1017 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1019 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1021 * window.el (shrink-window): Mention the `window-min-height'
1022 variable in the doc string.
1024 2012-04-05 Bastien Guerry <bzg@altern.org>
1026 * color.el (color-lighten-name): Fix typo.
1028 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1030 * server.el (server--on-display-p): New function.
1031 (server--on-display-p): Use it.
1033 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1035 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1038 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1040 * comint.el (comint--common-quoted-suffix): Check string boundary
1041 before comparing (bug#11158).
1042 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1044 2012-04-04 Chong Yidong <cyd@gnu.org>
1046 * minibuffer.el (completion-extra-properties): Doc fix.
1048 * subr.el (delayed-warnings-hook): Doc fix.
1050 2012-04-04 Daiki Ueno <ueno@unixuser.org>
1052 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1053 selection (Bug#11159).
1054 (epa-insert-keys): Inform that the default public key will be
1055 exported if no key is selected.
1057 2012-04-04 Richard Stallman <rms@gnu.org>
1059 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1061 2012-04-03 Chong Yidong <cyd@gnu.org>
1063 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1064 mail-insert-file, not its obsolete alias mail-attach-file.
1066 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
1068 * notifications.el (notifications-notify): Fix docstring.
1070 2012-04-02 Glenn Morris <rgm@gnu.org>
1072 * emacs-lisp/authors.el (authors-aliases): Another addition.
1074 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
1076 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1077 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1078 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1080 2012-04-01 Chong Yidong <cyd@gnu.org>
1082 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1083 Handle root directory properly.
1084 (copy-directory): Caller changed.
1086 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1087 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1089 2012-03-31 Glenn Morris <rgm@gnu.org>
1091 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1093 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1095 * calendar/calendar.el (calendar-window-list)
1096 (calendar-hide-window): Restore. (Bug#11140)
1097 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1099 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1101 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1103 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1104 Check if file is a symlink (Bug#10489).
1106 * files.el (copy-directory): Likewise.
1108 2012-03-30 Chong Yidong <cyd@gnu.org>
1110 * image.el (imagemagick-types-inhibit)
1111 (imagemagick-register-types): Doc fix.
1113 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1115 * ispell.el (ispell-get-extended-character-mode): Disable
1116 extended-char-mode for hunspell. hunspell does not support it
1117 and treats ~word as ordinary words in pipe mode.
1119 2012-03-30 Glenn Morris <rgm@gnu.org>
1121 * tutorial.el (help-with-tutorial): Ensure local variables don't
1122 happen to make the buffer read-only. (Bug#11127)
1124 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1126 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1127 (perl-calculate-indent): Return `noindent' in strings.
1129 2012-03-28 Sam Steingold <sds@gnu.org>
1131 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1132 instead of the broken adhockery which does not prevent calendar
1133 buffers from being displayed at random after exit.
1134 (calendar-window-list, calendar-hide-window): Remove the broken
1137 2012-03-28 Glenn Morris <rgm@gnu.org>
1139 * replace.el (query-replace-map): Doc fix.
1141 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1143 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1144 contents. (Bug#11109)
1146 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1148 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1150 (avl-tree--check, avl-tree--check-node): New funs.
1152 2012-03-27 Martin Rudalics <rudalics@gmx.at>
1154 * window.el (switch-to-visible-buffer): New option.
1155 (switch-to-prev-buffer, switch-to-next-buffer):
1156 Observe switch-to-visible-buffer. Make sure that checking for a window
1157 showing a buffer already is done on the same frame.
1159 2012-03-27 Glenn Morris <rgm@gnu.org>
1161 * startup.el (mail-host-address): Doc fix.
1163 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1165 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1168 2012-03-26 Ami Fischman <ami@fischman.org>
1170 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1172 2012-03-26 Glenn Morris <rgm@gnu.org>
1174 * files.el (save-buffers-kill-emacs): Doc fix.
1176 * startup.el (normal-top-level, command-line, command-line-1):
1177 Give them doc strings.
1179 2012-03-25 Eli Zaretskii <eliz@gnu.org>
1181 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
1182 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
1184 2012-03-25 Chong Yidong <cyd@gnu.org>
1186 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1187 theme if it was previously enabled before (Bug#11031).
1189 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1190 spec with custom-face-get-current-spec if its :shown-value is not
1191 determined yet (Bug#9337).
1192 (customize-create-theme, custom-theme-revert): Doc fixes.
1194 * button.el (button-at): Minor addition to docstring.
1196 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
1198 * vc/vc.el (vc-merge): Fix a prompt.
1200 2012-03-24 Chong Yidong <cyd@gnu.org>
1202 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1205 * button.el (button-at): Minor addition to docstring.
1207 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1209 * newcomment.el (comment-choose-indent): No space after BOL.
1211 2012-03-22 Sam Steingold <sds@gnu.org>
1213 * window.el (switch-to-prev-buffer): Revert last patch because the
1214 bug turned out to be an advertised feature (Elisp manual 28.14).
1216 2012-03-22 Glenn Morris <rgm@gnu.org>
1218 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1219 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1221 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1223 * net/network-stream.el (network-stream-open-starttls): Make error
1224 message under Windows be less misleading.
1226 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1228 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1229 understands (bug#9942).
1231 2012-03-22 Chong Yidong <cyd@gnu.org>
1233 * simple.el (end-of-visible-line): Handle return value of
1234 next-single-property-change properly (Bug#9371).
1236 2012-03-22 Kenichi Handa <handa@m17n.org>
1238 * international/quail.el (quail-insert-kbd-layout): Fix previous
1239 change. To avoid unwanted bidi reordering, use
1240 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1242 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1244 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1245 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1246 (ruby-beginning-of-indent): Be more careful with the difference
1247 between word-boundary and symbol boundary.
1248 (ruby-mode-syntax-table): Make : a symbol constituent.
1250 2012-03-21 Andreas Politz <politza@fh-trier.de>
1252 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1254 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1256 * progmodes/etags.el (tags-completion-at-point-function):
1259 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1261 2012-03-21 Sam Steingold <sds@gnu.org>
1263 * progmodes/etags.el (tags-completion-at-point-function):
1264 Avoid the error when point is inside the pattern.
1266 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1268 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1271 2012-03-21 Drew Adams <drew.adams@oracle.com>
1273 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1275 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1277 * ido.el (ido-set-current-directory, ido-read-internal)
1278 (ido-choose-completion-string, ido-completion-help): Handle nil
1279 value of ido-completion-buffer (Bug#11008).
1281 2012-03-21 Sam Steingold <sds@gnu.org>
1283 * window.el (switch-to-prev-buffer): Do not switch to a visible
1284 window previous buffer, just like with the frame previous buffers.
1286 2012-03-21 Chong Yidong <cyd@gnu.org>
1288 * faces.el (make-face, make-empty-face, copy-face):
1289 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1292 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1294 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1295 (widget-complete): Remove broken use of it.
1297 2012-03-20 Chong Yidong <cyd@gnu.org>
1299 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1300 Use string-width and truncate-string-width to handle arbitrary
1303 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1305 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1306 to draw rectangles, not squares. (Regression introduced by revno
1307 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1309 2012-03-18 Chong Yidong <cyd@gnu.org>
1311 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1312 it is not yet defined (for temacs).
1314 2012-03-18 Leo Liu <sdl.web@gmail.com>
1316 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
1318 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1320 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1321 (ispell-choices-win-default-height, ispell-silently-savep)
1322 (ispell-dictionary-alist, ispell-encoding8-command)
1323 (ispell-check-version, ispell-aspell-find-dictionary)
1324 (ispell-valid-dictionary-list, ispell-words-keyword)
1325 (ispell-get-word, ispell-internal-change-dictionary)
1326 (ispell-region, ispell-skip-region-list)
1327 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1328 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1329 (ispell-message-text-end, ispell-message)
1330 (ispell-buffer-local-parsing): Doc fix.
1332 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
1334 * htmlfontify.el: Add support for code block fontification for ODT
1336 (hfy-optimisations): Define new option
1338 (hfy-fontify-buffer): Honor above setting.
1339 (hfy-begin-span, hfy-end-span): New routines factored out form
1340 `hfy-fontify-buffer'.
1341 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1342 that permit insertion of custom tags.
1343 (hfy-fontify-buffer): Use above handlers.
1344 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1345 (hfy-face-to-css): Re-defined to be a variable.
1346 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
1347 over multiple runs. This is made possible by having the caller let
1348 bind a special variable `hfy-user-sheet-assoc'.
1349 (htmlfontify-string): New defun.
1350 (hfy-compile-face-map): Make sure that the last char in the
1351 buffer is correctly fontified.
1352 (hfy-face-resolve-face): Whitespace only change.
1354 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1356 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1359 2012-03-16 Leo Liu <sdl.web@gmail.com>
1361 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1363 2012-03-16 Alan Mackenzie <acm@muc.de>
1365 Further optimise the handling of large macros.
1367 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1368 limit to a call of `c-literal-limits'.
1369 (c-determine-+ve-limit): New function.
1370 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1371 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
1372 In CASE 5B, restrict a search limit to 500.
1373 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1375 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1376 Restrict macro bounds to +-500 from after-change's BEG END.
1378 2012-03-16 Leo Liu <sdl.web@gmail.com>
1380 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1382 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1384 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
1385 `special-mode' setting of `buffer-read-only'. (Bug#11010)
1387 2012-03-16 Glenn Morris <rgm@gnu.org>
1389 * view.el (view-buffer, view-buffer-other-window)
1390 (view-buffer-other-frame): Doc fixes re special mode-class.
1392 * subr.el (eval-after-load): If named feature is provided not from
1393 a file, run after-load forms. (Bug#10946)
1395 * calendar/calendar.el (calendar-insert-at-column):
1396 Handle non-unit-width characters a bit better. (Bug#10978)
1398 2012-03-15 Chong Yidong <cyd@gnu.org>
1400 * emacs-lisp/ring.el (ring-extend): New function.
1401 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1403 * comint.el (comint-read-input-ring)
1404 (comint-add-to-input-history): Grow comint-input-ring lazily.
1406 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1408 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1409 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1411 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1412 (imenu-add-to-menubar): Don't add a redundant index.
1413 (imenu-update-menubar): Handle a dynamically composed keymap.
1415 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1417 * mail/sendmail.el (mail-encode-header):
1418 Bind rfc2047-encode-encoded-words to nil.
1420 2012-03-13 Glenn Morris <rgm@gnu.org>
1422 * calendar/calendar.el (calendar-string-spread):
1423 Handle non-unit-width characters a bit better. (Bug#10978)
1425 2012-03-13 Leo Liu <sdl.web@gmail.com>
1427 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1428 directory and file as argument (Bug#10822).
1430 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1432 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1433 For dynamically generated code, follow $PC.
1434 (gdb-disassembly-handler-custom): Handle no function name case.
1436 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1438 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1439 * emulation/ws-mode.el (ws-query-replace):
1440 * sort.el (sort-regexp-fields):
1441 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1443 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1445 * dabbrev.el: Fix cycle completion order (bug#10963).
1446 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1447 (dabbrev-completion): Don't use an obarray; provide
1448 a cycle-sort-function.
1450 2012-03-12 Leo Liu <sdl.web@gmail.com>
1452 * simple.el (kill-new): Use equal-including-properties for comparison.
1453 (kill-do-not-save-duplicates): Doc fix.
1455 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1457 * dabbrev.el: Fix cycle completion (bug#10963).
1458 Use lexical binding and wrap to 80 columns.
1459 (dabbrev-completion): Delay computing the list of completions.
1461 2012-03-12 Kenichi Handa <handa@m17n.org>
1463 * international/quail.el (quail-insert-kbd-layout): Surround each
1464 row by LRO and PDF instead of inserting many LRMs. Pad the left
1465 and right of each non-spacing marks. Insert invisible space
1466 between lower and upper characters to prevent composition.
1468 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1470 * minibuffer.el (minibuffer-complete): Don't get confused when the
1471 function is run twice via different commands (bug#10958).
1472 (complete-with-action): Fix docstring.
1474 2012-03-12 Chong Yidong <cyd@gnu.org>
1476 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1477 (nxml-completion-at-point-function): New function.
1478 (nxml-mode): Use it.
1479 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1481 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1482 Load generated autoloads file before byte compiling (Bug#10970).
1483 (package--make-autoloads-and-compile): New helper fun.
1485 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1487 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1489 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
1491 * autorevert.el (auto-revert-handler): Ensure, that
1492 file-readable-p is applied only for local files or in
1493 auto-revert-tail-mode.
1495 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1497 * server.el (server-eval-at): Handle non-tcp connections.
1498 Decode result string.
1500 * server.el (server-msg-size): New constant.
1501 (server-reply-print): New function.
1502 (server-eval-and-print): Use it.
1503 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1506 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1508 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1511 2012-03-11 Chong Yidong <cyd@gnu.org>
1513 * simple.el (goto-line): Doc fix (Bug#9938).
1515 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1517 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1518 when finished (Bug#10963).
1520 2012-03-11 Martin Rudalics <rudalics@gmx.at>
1522 * window.el (split-window-below): Fix bug in case where
1523 split-window-keep-point is nil (Bug#10971).
1525 2012-03-11 Juri Linkov <juri@jurta.org>
1527 * replace.el (replace-highlight): Set isearch-word to nil
1528 unconditionally. (Bug#10887)
1530 2012-03-10 Eli Zaretskii <eliz@gnu.org>
1532 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1533 mairix-replace-illegal-chars; all callers changed. Don't remove
1534 ^, ~, and = characters: they are meaningful in mairix search specs.
1535 (mairix-widget-create-query): Add usage information about mairix
1536 search forms: negating words, searching for substrings, etc.
1538 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1540 * international/fontset.el (font-encoding-alist): Add an entry for
1543 2012-03-10 Richard Stallman <rms@gnu.org>
1545 * mail/sendmail.el (mail-encode-header):
1546 Set rfc2047-encode-encoded-words.
1548 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1550 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1551 view buffer means not swapped.
1552 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1553 (rmail-write-region-annotate): Error if real text has disappeared.
1555 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1557 2012-03-10 Chong Yidong <cyd@gnu.org>
1559 * emulation/cua-rect.el (cua--init-rectangles):
1560 * emulation/cua-base.el (cua--init-keymaps):
1561 Add delete-forward-char to remappings (Bug#9666).
1563 2012-03-10 Martin Rudalics <rudalics@gmx.at>
1565 * speedbar.el (speedbar-unhighlight-one-tag-line):
1566 Avoid unhighlighting due to frame switching (Bug#10275).
1568 2012-03-10 Chong Yidong <cyd@gnu.org>
1570 * minibuffer.el (completion-in-region, completion-help-at-point):
1571 Give the completion field overlay a high priority (Bug#6830).
1573 * dired.el (dired-goto-file): Recognize absolute file name
1574 listings (Bug#7126).
1575 (dired-goto-file-1): New helper function.
1576 (dired-toggle-read-only): Inhibit warnings.
1578 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
1580 * net/dbus.el (dbus-property-handler): Return empty array if
1581 there are no properties.
1583 2012-03-09 Leo Liu <sdl.web@gmail.com>
1585 * savehist.el (savehist-printable): Stricter check for string
1588 2012-03-09 Eli Zaretskii <eliz@gnu.org>
1590 * mail/smtpmail.el (smtpmail-send-it):
1591 Bind coding-system-for-write to *-unix, so that FCC files are kept in
1594 2012-03-09 Glenn Morris <rgm@gnu.org>
1596 * files.el (dir-locals-find-file):
1597 Don't check result is regular, readable.
1598 (dir-locals-read-from-file): Demote errors.
1600 2012-03-08 Eli Zaretskii <eliz@gnu.org>
1602 * international/quail.el (quail-insert-kbd-layout):
1603 Insert invisible LRM characters before each character in a keyboard
1604 layout cell, to prevent their reordering by bidi display engine.
1605 For details, see the discussion in
1606 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1608 2012-03-08 Alan Mackenzie <acm@muc.de>
1610 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1611 the starting position; make it extend the marked region when
1612 invoked repeatedly - all under appropriate circumstances.
1613 Fixes bugs #5525, #10906.
1615 2012-03-08 Glenn Morris <rgm@gnu.org>
1617 * files.el (locate-dominating-file, dir-locals-find-file):
1618 Undo 2012-03-06 change.
1620 2012-03-07 Eli Zaretskii <eliz@gnu.org>
1622 * international/quail.el (quail-help):
1623 Force bidi-paragraph-direction be left-to-right. See discussion in
1624 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1627 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
1629 Avoid superfluous registering of signals. (Bug#10807)
1631 * notifications.el (notifications-on-action-object)
1632 (notifications-on-close-object): New defvars.
1633 (notifications-on-action-signal, notifications-on-closed-signal):
1634 Unregister the signal if not needed any longer.
1635 (notifications-notify): Register `notifications-action-signal' or
1636 `notifications-closed-signal', if :on-action or :on-close has been
1639 2012-03-07 Chong Yidong <cyd@gnu.org>
1641 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1644 2012-03-06 Glenn Morris <rgm@gnu.org>
1646 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1647 (x-disown-selection-internal, x-get-selection-internal):
1648 Doc fix (add arglist signatures). (Bug#10783)
1650 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1652 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1653 Handle breakpoints with no "type".
1655 2012-03-06 Glenn Morris <rgm@gnu.org>
1657 * files.el (locate-dominating-file): Add optional predicate argument.
1658 (dir-locals-find-file): Make use of above change.
1660 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1662 * info.el (Info-insert-dir): Also try "dir.gz".
1664 2012-03-06 Glenn Morris <rgm@gnu.org>
1666 * files.el (dir-locals-find-file):
1667 Ignore non-readable or non-regular files. (Bug#10928)
1669 * files.el (locate-dominating-file): Doc fix.
1671 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1673 * calendar/calendar.el (calendar-set-mode-line):
1674 `getenv' returns a string. (Bug#10951)
1676 2012-03-05 Leo Liu <sdl.web@gmail.com>
1678 * simple.el (backward-delete-char-untabify): Constrain point to
1681 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1683 2012-03-05 Chong Yidong <cyd@gnu.org>
1685 * simple.el (count-words): If called from Lisp, return the word
1686 count, for symmetry with `count-lines'. Arglist changed.
1687 (count-words--message): Args changed. Consolidate counting code
1688 from count-words and count-words-region.
1689 (count-words-region): Caller changed.
1690 (count-lines-region): Make it an obsolete alias.
1692 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1694 * saveplace.el (save-place-to-alist)
1695 (save-place-ignore-files-regexp): Allow value nil to disable this
1698 2012-03-04 Chong Yidong <cyd@gnu.org>
1700 * faces.el (face-spec-reset-face): For the default face, reset the
1701 attributes to default values (Bug#10748).
1703 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1705 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1706 previous patch: Check `message-send-mail-function', and not the
1707 default function (bug#10897).
1709 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
1711 * notifications.el (notifications-on-action-signal)
1712 (notifications-on-closed-signal): Check for unique service name of
1713 incoming event. Fix error in removing entry.
1714 (top): Register for signals with wildcard service name.
1715 (notifications-notify): Use daemon unique service name for map entries.
1717 2012-03-04 Chong Yidong <cyd@gnu.org>
1719 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
1721 2012-03-04 Glenn Morris <rgm@gnu.org>
1723 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1724 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1725 (expand-abbrev, define-abbrev-table): Doc fixes.
1727 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1729 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1730 `message-default-send-mail-function' and not `send-mail-function'
1731 when doing the prompting for `sendmail-query-once' before sending
1732 in Message buffers (bug#10897).
1734 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1735 This is inconsistent with all the other stream functions, which leave
1736 the setting up to the higher levels (if so wanted) (bug#10931).
1738 2012-03-02 Alan Mackenzie <acm@muc.de>
1740 Depessimize the handling of very large macros.
1742 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1743 (c-macro-cache-syntactic): New variables to implement a one
1744 element macro cache.
1745 (c-invalidate-macro-cache): New function.
1746 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1747 Adapt to use the new cache.
1748 (c-state-safe-place): Use better the cache of safe positions.
1749 (c-state-semi-nonlit-pos-cache)
1750 (c-state-semi-nonlit-pos-cache-limit):
1751 New variables for...
1752 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1753 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
1754 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1755 Use c-state-semi-safe-place.
1757 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1758 Add c-invalidate-macro-cache to the C, C++, Obj entries.
1760 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
1762 * jka-compr.el (jka-compr-call-process):
1763 Apply `file-accessible-directory-p' only when the default directory is
1766 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
1768 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1769 access of FILE2, if FILE1 does not exist.
1771 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1772 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1774 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1775 Add "PAGER=" to `process-environment'.
1777 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1779 * progmodes/sql.el: Bug fix
1780 (sql-get-login-ext): Save login values in globals.
1781 (sql-get-login): Use new version of `sql-get-login-ext'.
1782 (sql-interactive-mode): Set global `sql-connection' to nil.
1783 (sql-connect): Set global values for connection.
1784 (sql-product-interactive): Save global values as buffer local.
1786 2012-02-29 Leo Liu <sdl.web@gmail.com>
1788 * abbrev.el (define-abbrevs): Reset sys to nil.
1790 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1792 * files.el (file-equal-p): Rename from `files-equal-p'.
1793 Return nil when one or both files don't exist.
1794 (file-subdir-of-p): Now only top directory must exists,
1795 return nil if it doesn't.
1796 (copy-directory): No need to test with `file-subdir-of-p' after
1798 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1801 2012-02-28 Glenn Morris <rgm@gnu.org>
1803 * shell.el (shell-mode):
1804 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1805 * play/landmark.el (landmark-font-lock-face-O):
1806 * play/handwrite.el (handwrite):
1807 * play/gomoku.el (gomoku-O):
1808 * net/browse-url.el (browse-url-browser-display):
1809 * international/mule.el (define-charset):
1810 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1811 * filesets.el (filesets-find-file-delay):
1812 * eshell/em-xtra.el (eshell-xtra):
1813 * eshell/em-unix.el (eshell-grep):
1814 * emulation/viper.el (viper-mode):
1815 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1816 * emacs-lisp/easymenu.el (easy-menu-define):
1817 * calendar/timeclock.el (timeclock-use-display-time):
1819 * bookmark.el (bookmark-save-flag):
1820 Doc fix (standardize possessive apostrophe usage).
1822 2012-02-27 Chong Yidong <cyd@gnu.org>
1824 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1825 Fix key-binding lookup for ESC key (Bug#9146).
1827 * font-lock.el (font-lock-specified-p): Rename from
1828 font-lock-spec-present. Callers changed.
1830 2012-02-27 Daniel Hackney <dan@haxney.org>
1832 * emacs-lisp/package.el (package-compute-transaction):
1833 Handle holding a package version to t in package-load-list.
1835 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
1837 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1838 (tramp-get-inode, tramp-get-device): Use cached values.
1840 2012-02-26 Alan Mackenzie <acm@muc.de>
1842 Check there is a font-lock specification before doing initial
1845 * font-core.el (font-lock-mode): Move the conditional from
1846 :after-hook to font-lock-initial-fontify.
1847 (font-lock-default-function): Move the check for a specification
1848 to font-lock-spec-present.
1850 * font-lock.el (font-lock-initial-fontify): Call ...
1851 (font-lock-spec-present): New function.
1853 2012-02-26 Jim Blandy <jimb@red-bean.com>
1855 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1856 (gdb-send): Apply it to the operand of the '-interpreter-exec
1857 console' command, so that we can pass arguments with (say) quotes
1858 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1860 2012-02-26 Chong Yidong <cyd@gnu.org>
1862 * help-fns.el (describe-function-1): Clarify description of
1863 remapping (Bug#10844).
1865 * files.el (files-equal-p): Doc fix.
1866 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1867 and quit the loop once a mismatch is found.
1869 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
1871 * bs.el (bs--show-with-configuration): Don't throw an error
1872 if the window cannot be split; otherwise, subsequent calls to
1873 bs-show fail, restoring a stale window config. (Bug#10882)
1875 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1877 * term/ns-win.el (global-map): Bind ns-drag-file to
1878 ns-find-file (Bug#5855, Bug#10050).
1880 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1882 * calendar/parse-time.el (parse-time-string): Allow extractor to
1885 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
1887 * net/tramp.el (tramp-file-name-for-operation):
1888 Add `files-equal-p' and `file-subdir-of-p'.
1890 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1891 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1892 Add COPY-CONTENTS argument.
1894 2012-02-25 Chong Yidong <cyd@gnu.org>
1896 Add custom groups for VC backends, for consistency with vc-bzr.
1898 * vc/vc-arch.el (vc-arch):
1899 * vc/vc-cvs.el (vc-cvs):
1900 * vc/vc-git.el (vc-git):
1901 * vc/vc-hg.el (vc-hg):
1902 * vc/vc-mtn.el (vc-mtn):
1903 * vc/vc-rcs.el (vc-rcs):
1904 * vc/vc-sccs.el (vc-sccs):
1905 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1906 All relevant defcustoms reassigned.
1908 2012-02-25 Chong Yidong <cyd@gnu.org>
1910 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1912 * term/x-win.el (x-initialize-window-system): Reduce default for
1913 x-selection-timeout to 5 seconds (Bug#8869).
1915 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1917 * files.el (files-equal-p, file-subdir-of-p): New functions.
1918 (copy-directory): Error when trying to copy a directory on itself.
1919 Add missing copy-contents arg to tramp handler.
1920 * dired-aux.el (dired-copy-file-recursive): Same.
1921 (dired-create-files): Modify destination when source is equal to
1922 dest when copying files.
1923 Return also when dest is a subdir of source. (Bug#10489)
1925 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
1927 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1930 2012-02-23 Alan Mackenzie <acm@muc.de>
1932 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1933 parameter "after-hook:" to allow the expansion to run code after
1934 the execution of the mode hooks.
1936 * font-lock.el (font-lock-initial-fontify): New function extracted
1937 from font-lock-mode-internal.
1939 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
1942 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1944 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1945 (completion--cache-all-sorted-completions): New function.
1946 (completion-all-sorted-completions): Use it.
1947 (completion--do-completion, minibuffer-force-complete):
1948 Use it to re-instate the flush hook.
1950 * icomplete.el (icomplete-completions): Replace last fix with a better
1953 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1955 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1956 when it might call us back infinitely (bug#10797).
1958 2012-02-23 Glenn Morris <rgm@gnu.org>
1960 * minibuffer.el (completion-category-overrides): Doc fix.
1962 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1964 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1965 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1967 2012-02-23 Glenn Morris <rgm@gnu.org>
1969 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
1970 (authors-obsolete-files-regexps, authors-ignored-files)
1971 (authors-ambiguous-files, authors-renamed-files-alist):
1974 2012-02-23 Juri Linkov <juri@jurta.org>
1976 * isearch.el (isearch-occur): Sync interactive spec with occur's
1977 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1979 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1981 2012-02-22 Juri Linkov <juri@jurta.org>
1983 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1984 (ucs-insert): Doc fix. Check for hex digits in the string.
1985 Don't display `nil' in the error message. (Bug#10857)
1987 2012-02-22 Alan Mackenzie <acm@muc.de>
1989 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
1991 2012-02-22 Glenn Morris <rgm@gnu.org>
1993 * ffap.el (ffap-c-path):
1994 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1996 2012-02-22 Chong Yidong <cyd@gnu.org>
1998 * custom.el (load-theme): Doc fix.
2000 2012-02-22 Glenn Morris <rgm@gnu.org>
2002 * dired-x.el (dired-guess-shell-alist-default):
2003 Remove escape sequences from nroff output. (Bug#172)
2005 2012-02-21 Glenn Morris <rgm@gnu.org>
2007 * vc/emerge.el (emerge-defvar-local):
2008 Set `permanent-local' property rather than unused `preserved'.
2010 * textmodes/picture.el (picture-delete-char): New alias.
2011 (picture-mode-map): Use it. (Bug#10860)
2012 (picture-mode): Doc fix.
2014 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
2016 * newcomment.el (uncomment-region-default): Remove unused binding.
2018 2012-02-21 Glenn Morris <rgm@gnu.org>
2020 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2021 (picture-self-insert, picture-tab-chars): Doc fix.
2022 (picture-mode-map): Fix C-a, C-e.
2024 2012-02-20 Glenn Morris <rgm@gnu.org>
2026 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2028 2012-02-20 Leo Liu <sdl.web@gmail.com>
2030 * icomplete.el (icomplete-completions): Check FROM arg before
2031 passing to substring (Bug#10850).
2033 2012-02-19 Chong Yidong <cyd@gnu.org>
2035 * comint.el: Require ansi-color.
2036 (comint-output-filter-functions): Add ansi-color-process-output.
2038 * ansi-color.el: Don't set comint-output-filter-functions; it is
2039 now in the initial value defined in comint.el.
2040 (ansi-color-apply-face-function): New variable.
2041 (ansi-color-apply-on-region): Use it.
2042 (ansi-color-apply-overlay-face): New function.
2044 * shell.el (shell): No need to require ansi-color.
2045 (shell-mode): Use ansi-color-apply-face-function to highlight
2046 color escapes using font-lock-face property (Bug#10835).
2048 2012-02-19 Chong Yidong <cyd@gnu.org>
2050 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2051 mode-line formats (Bug#10839).
2053 2012-02-18 Glenn Morris <rgm@gnu.org>
2055 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2057 * mail/undigest.el (unforward-rmail-message): Doc fix.
2059 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2061 2012-02-18 Eli Zaretskii <eliz@gnu.org>
2063 * international/characters.el (script-list): Sync with the latest
2064 Unicode Character Database.
2066 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2068 * international/titdic-cnv.el: Remove duplicate coding tag.
2069 * language/cham.el: Likewise.
2070 * language/tai-viet.el: Likewise.
2072 2012-02-18 Glenn Morris <rgm@gnu.org>
2074 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2075 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2076 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2077 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2078 * calendar/holidays.el (holiday-bahai-holidays)
2079 (calendar-holidays, list-holidays):
2080 Use utf-8 Bahá'í in doc-strings, menus, etc.
2082 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2084 * saveplace.el (save-place-ignore-files-regexp): New variable
2085 allowing for excluding files from saving their location of point.
2086 The default value matches the temporary commit message editing
2087 files from Git, SVN, Bazaar, and Mercurial.
2088 (save-place-to-alist): Use it.
2090 2012-02-17 Lawrence Mitchell <wence@gmx.li>
2091 Stefan Monnier <monnier@iro.umontreal.ca>
2093 * newcomment.el (uncomment-region-default): Don't leave extra space
2094 when an arg is provided (bug#8150).
2096 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2098 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
2100 2012-02-17 Glenn Morris <rgm@gnu.org>
2102 * net/socks.el: Require network-stream. (Bug#10599)
2104 2012-02-17 Kenichi Handa <handa@m17n.org>
2106 * international/charprop.el:
2107 * international/uni-name.el:
2108 * international/uni-old-name.el:
2109 * international/uni-comment.el: Regenerate.
2111 2012-02-16 Glenn Morris <rgm@gnu.org>
2113 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2114 Interactively in calendar buffer, give an error if not on a date.
2116 2012-02-15 Glenn Morris <rgm@gnu.org>
2118 * shell.el (shell-delimiter-argument-list):
2119 Revert 2011-02-17 change. (Bug#8027)
2121 2012-02-15 Chong Yidong <cyd@gnu.org>
2123 * minibuffer.el (completion-at-point-functions): Doc fix.
2125 * custom.el (defcustom): Doc fix; note use of defvar.
2127 2012-02-15 Glenn Morris <rgm@gnu.org>
2129 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2132 2012-02-14 Glenn Morris <rgm@gnu.org>
2134 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2136 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2138 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2139 way the ports list is computed.
2140 (smtpmail-query-smtp-server): Prompt the user for a port number if
2141 we can't connect to any of the standard ports (bug#10810).
2143 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2145 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2147 2012-02-13 Glenn Morris <rgm@gnu.org>
2149 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2151 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2153 * net/gnutls.el (gnutls-trustfiles): New variable.
2154 (gnutls-negotiate): Use it.
2156 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2158 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2159 does its stuff if Gnus is running.
2161 2012-02-13 Alan Mackenzie <acm@muc.de>
2163 Fix a loop in c-set-fl-decl-start.
2165 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
2166 c-backward-syntactic-ws actually moves backwards.
2168 2012-02-13 Leo Liu <sdl.web@gmail.com>
2170 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2171 beginning so that all \C-o chars are removed.
2173 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2175 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
2177 2012-02-12 Alan Mackenzie <acm@muc.de>
2179 Fix infinite loop with long macros.
2180 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
2182 2012-02-12 Chong Yidong <cyd@gnu.org>
2184 * window.el (display-buffer): Doc fix (Bug#10785).
2186 2012-02-12 Glenn Morris <rgm@gnu.org>
2188 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2189 (x-disown-selection-internal, x-get-selection-internal):
2190 Sync docs with the xselect.c versions.
2192 * allout-widgets.el: Add missing license notice.
2194 2012-02-11 Glenn Morris <rgm@gnu.org>
2196 * select.el (x-get-selection-internal, x-own-selection-internal)
2197 (x-disown-selection-internal):
2198 * x-dnd.el (x-get-selection-internal): Update declarations.
2200 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2202 * window.el (window-sides-slots):
2203 * tool-bar.el (tool-bar-position):
2204 * term/xterm.el (xterm-extra-capabilities):
2205 * ses.el (ses-self-reference-early-detection):
2206 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2207 (verilog-auto-wire-type)
2208 (verilog-auto-delete-trailing-whitespace)
2209 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2210 (verilog-auto-tieoff-declaration):
2211 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2212 (sql-oracle-statement-starters, sql-oracle-scan-on):
2213 * progmodes/prolog.el (prolog-align-comments-flag)
2214 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2215 (prolog-left-indent-regexp, prolog-paren-indent-p)
2216 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2217 (prolog-types, prolog-mode-specificators)
2218 (prolog-determinism-specificators, prolog-directives)
2219 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2220 (prolog-electric-dot-flag)
2221 (prolog-electric-dot-full-predicate-template)
2222 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2223 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2224 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2225 (prolog-program-switches, prolog-prompt-regexp)
2226 (prolog-debug-on-string, prolog-debug-off-string)
2227 (prolog-trace-on-string, prolog-trace-off-string)
2228 (prolog-zip-on-string, prolog-zip-off-string)
2229 (prolog-use-standard-consult-compile-method-flag)
2230 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2231 (prolog-imenu-max-lines, prolog-info-predicate-index)
2232 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2233 (prolog-char-quote-workaround):
2234 * progmodes/cc-vars.el (c-defun-tactic):
2235 * net/tramp.el (tramp-encoding-command-interactive)
2236 (tramp-local-end-of-line):
2237 * net/soap-client.el (soap-client):
2238 * net/netrc.el (netrc-file):
2239 * net/gnutls.el (gnutls):
2240 * minibuffer.el (completion-category-overrides)
2241 (completion-cycle-threshold)
2242 (completion-pcm-complete-word-inserts-delimiters):
2243 * man.el (Man-name-local-regexp):
2244 * mail/feedmail.el (feedmail-display-full-frame):
2245 * international/characters.el (glyphless-char-display-control):
2246 * eshell/em-ls.el (eshell-ls-date-format):
2247 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2248 (lisp-lambda-list-keyword-parameter-indentation)
2249 (lisp-lambda-list-keyword-parameter-alignment):
2250 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2251 * dired-x.el (dired-omit-verbose):
2252 * cus-theme.el (custom-theme-allow-multiple-selections):
2253 * calc/calc.el (calc-highlight-selections-with-faces)
2254 (calc-lu-field-reference, calc-lu-power-reference)
2255 (calc-note-threshold):
2256 * battery.el (battery-mode-line-limit):
2257 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2258 (archive-7z-update):
2259 * allout.el (allout-prefixed-keybindings)
2260 (allout-unprefixed-keybindings)
2261 (allout-inhibit-auto-fill-on-headline)
2262 (allout-flattened-numbering-abbreviation):
2263 * allout-widgets.el (allout-widgets-auto-activation)
2264 (allout-widgets-icons-dark-subdir)
2265 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2266 (allout-widgets-theme-dark-background)
2267 (allout-widgets-theme-light-background)
2268 (allout-widgets-item-image-properties-emacs)
2269 (allout-widgets-item-image-properties-xemacs)
2270 (allout-widgets-run-unit-tests-on-load)
2271 (allout-widgets-time-decoration-activity)
2272 (allout-widgets-hook-error-post-time)
2273 (allout-widgets-track-decoration):
2274 Add missing :version tags to new defcustoms and defgroups.
2276 * progmodes/sql.el (sql-ansi-statement-starters)
2277 (sql-oracle-statement-starters): Add custom type.
2279 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2280 (prolog-system-version): Give it a type.
2282 2012-02-11 Eli Zaretskii <eliz@gnu.org>
2284 * term/pc-win.el (x-select-text, x-selection-owner-p)
2285 (x-own-selection-internal, x-disown-selection-internal)
2286 (x-get-selection-internal): Sync doc strings and argument lists
2287 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2289 2012-02-11 Leo Liu <sdl.web@gmail.com>
2291 * progmodes/python.el (python-end-of-statement): Fix infinite
2294 2012-02-10 Glenn Morris <rgm@gnu.org>
2296 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2297 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2299 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2301 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2302 about SMTP before checking the From header.
2304 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
2305 into own function for reuse by emacsbug.el.
2307 2012-02-10 Leo Liu <sdl.web@gmail.com>
2309 * subr.el (condition-case-unless-debug): Rename from
2310 condition-case-no-debug. All callers changed.
2311 (with-demoted-errors): Fix caller.
2313 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2314 * nxml/rng-valid.el (rng-do-some-validation):
2315 * emacs-lisp/package.el (package-refresh-contents)
2316 (package-menu-execute):
2317 * desktop.el (desktop-create-buffer):
2318 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
2320 2012-02-10 Glenn Morris <rgm@gnu.org>
2322 * textmodes/bibtex.el:
2323 Add missing :version tags for new/changed defcustoms.
2325 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2327 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
2329 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2330 (smtpmail-via-smtp): Use it, or fall back on the From address.
2331 (smtpmail-send-it): Ditto.
2333 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2335 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2336 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2337 (byte-compile-tmp-var): New const.
2338 (byte-compile-defvar): Use it to minimize .elc size.
2339 Just use `defvar' rather than simulate it (bug#10761).
2341 2012-02-09 Glenn Morris <rgm@gnu.org>
2343 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2345 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2348 * progmodes/compile.el (compilation-error-screen-columns)
2349 (compilation-first-column, compilation-filter-start): Doc fixes.
2351 * vc/log-view.el (log-view-toggle-entry-display):
2352 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2354 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2355 (report-emacs-bug-can-use-xdg-email):
2356 (report-emacs-bug-insert-to-mailer): Doc fixes.
2357 (report-emacs-bug): Message fix.
2359 * net/browse-url.el (browse-url-can-use-xdg-open)
2360 (browse-url-xdg-open): Doc fixes.
2362 * electric.el (electric-indent-mode, electric-pair-mode)
2363 (electric-layout-rules, electric-layout-mode): Doc fixes.
2364 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2366 2012-02-08 Martin Rudalics <rudalics@gmx.at>
2368 * server.el (server-unselect-display): Don't inadvertently kill
2369 the current buffer. (Bug#10729)
2371 2012-02-08 Glenn Morris <rgm@gnu.org>
2373 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2374 (sql-list-table): Doc fixes.
2376 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2377 Comment out (does nothing).
2379 * completion.el (dynamic-completion-mode):
2380 * dirtrack.el (dirtrack-debug-mode):
2381 * electric.el (electric-layout-mode):
2382 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2383 * face-remap.el (text-scale-mode, buffer-face-mode):
2384 * iimage.el (iimage-mode):
2385 * image-mode.el (image-transform-mode):
2386 * minibuffer.el (completion-in-region-mode):
2387 * scroll-lock.el (scroll-lock-mode):
2388 * simple.el (next-error-follow-minor-mode):
2389 * tar-mode.el (tar-subfile-mode):
2390 * tooltip.el (tooltip-mode):
2391 * vcursor.el (vcursor-use-vcursor-map):
2392 * wid-browse.el (widget-minor-mode):
2393 * emulation/tpu-edt.el (tpu-edt-mode):
2394 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2395 * international/iso-ascii.el (iso-ascii-mode):
2396 * language/thai-util.el (thai-word-mode):
2397 * mail/supercite.el (sc-minor-mode):
2398 * net/goto-addr.el (goto-address-mode):
2399 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2400 * progmodes/cwarn.el (cwarn-mode):
2401 * progmodes/flymake.el (flymake-mode):
2402 * progmodes/glasses.el (glasses-mode):
2403 * progmodes/hideshow.el (hs-minor-mode):
2404 * progmodes/pascal.el (pascal-outline-mode):
2405 * textmodes/enriched.el (enriched-mode):
2406 * vc/smerge-mode.el (smerge-mode):
2407 Doc fixes (minor mode argument).
2409 2012-02-07 Eli Zaretskii <eliz@gnu.org>
2411 * ls-lisp.el (ls-lisp-sanitize): New function.
2412 (ls-lisp-insert-directory): Use it to fix or remove any elements
2413 in file-alist with missing attributes. (Bug#4673)
2415 2012-02-07 Alan Mackenzie <acm@muc.de>
2417 Fix spurious recognition of c-in-knr-argdecl.
2419 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2420 putative K&R region.
2422 2012-02-07 Alan Mackenzie <acm@muc.de>
2424 * progmodes/cc-engine.el (c-forward-objc-directive):
2425 Prevent looping in "#pragma mark @implementation".
2427 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
2429 * notifications.el (notifications-on-closed-signal): Make `reason'
2430 optional. (Bug#10744)
2432 2012-02-07 Glenn Morris <rgm@gnu.org>
2434 * emacs-lisp/easy-mmode.el (define-minor-mode):
2435 Doc fixes for the macro and the mode it defines.
2437 * image.el (imagemagick-types-inhibit): Doc fix.
2439 * cus-start.el (imagemagick-render-type): Add it.
2441 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2443 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2444 Set the default at load time, too, so that `font-lock-fontify-buffer'
2445 can be called without setting up the entire mode first. This fixes
2446 a bug in `mm-inline-text' with C MIME parts.
2448 2012-02-06 Chong Yidong <cyd@gnu.org>
2450 * simple.el (list-processes--refresh): Delete exited processes
2453 * comint.el (comint-next-prompt): next-single-char-property-change
2454 and prev-single-char-property-change never return nil (Bug#8657).
2456 * custom.el (defcustom): Doc fix (Bug#9711).
2458 2012-02-05 Chong Yidong <cyd@gnu.org>
2460 * cus-edit.el (custom-variable-reset-backup): Quote the value
2461 before storing it in the customized-value property (Bug#6712).
2462 (custom-display): Add a customization type tag.
2463 (custom-buffer-create-internal): Improve tooltip message.
2465 * wid-edit.el (widget-field-value-get): New optional arg to
2466 suppress trailing whitespace truncation.
2467 (character): Use it (Bug#2689).
2469 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2471 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2472 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2474 2012-02-05 Chong Yidong <cyd@gnu.org>
2476 * cus-edit.el (custom-variable-value-create): For mismatched
2477 types, show the current value (Bug#7600).
2479 * custom.el (defcustom): Doc fix.
2481 2012-02-05 Glenn Morris <rgm@gnu.org>
2483 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2485 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
2487 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2488 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2489 (pp-last-sexp): Use `looking-at-p'.
2491 2012-02-04 Glenn Morris <rgm@gnu.org>
2493 * files.el (revert-buffer):
2494 Doc fix (mention revert-buffer-in-progress-p).
2496 * emacs-lisp/ert-x.el (ert-simulate-command):
2497 Check deferred-action-list (which is obsolete) is bound.
2499 * subr.el (with-wrapper-hook): Doc fixes.
2501 * simple.el (filter-buffer-substring-functions)
2502 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2504 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2506 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2507 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2509 2012-02-04 Leo Liu <sdl.web@gmail.com>
2511 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2513 2012-02-04 Glenn Morris <rgm@gnu.org>
2515 * image.el (image-extension-data): Add obsolete alias.
2517 * isearch.el (isearch-update): Doc fix.
2519 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2521 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2523 2012-02-03 Glenn Morris <rgm@gnu.org>
2525 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2526 (image-animate-timeout): Doc fix.
2528 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2530 2012-02-02 Glenn Morris <rgm@gnu.org>
2532 * server.el (server-auth-dir): Doc fix.
2533 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2535 * subr.el (run-mode-hooks): Doc fix.
2537 2012-02-02 Juri Linkov <juri@jurta.org>
2539 * image-mode.el (image-toggle-display-image): Remove tautological
2540 `major-mode' from the `derived-mode-p' test.
2542 2012-02-02 Kenichi Handa <handa@m17n.org>
2544 * composite.el (compose-region): Cancel previous change.
2546 2012-02-02 Kenichi Handa <handa@m17n.org>
2548 * composite.el (compose-region, compose-string): Signal error for
2549 a null string component (Bug#6988).
2551 2012-02-01 Chong Yidong <cyd@gnu.org>
2553 * view.el (view-buffer-other-window, view-buffer-other-frame):
2554 Handle special modes like view-buffer (Bug#10650).
2555 (view-buffer): Simplify.
2557 * frame.el (set-frame-font): Tweak meaning of third argument.
2559 * dynamic-setting.el (font-setting-change-default-font):
2560 Use set-frame-font (Bug#9982).
2562 2012-02-01 Glenn Morris <rgm@gnu.org>
2564 * progmodes/compile.el (compilation-internal-error-properties):
2565 Respect compilation-first-column in the "*compilation*" buffer.
2567 * emacs-lisp/easy-mmode.el (define-minor-mode):
2568 Relax :variable's test for a named function.
2570 2012-01-31 Alan Mackenzie <acm@muc.de>
2572 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2575 2012-01-31 Chong Yidong <cyd@gnu.org>
2577 * frame.el (set-frame-font): New arg ALL-FRAMES.
2579 * menu-bar.el (menu-set-font): Use set-frame-font.
2581 * faces.el (face-spec-reset-face): Don't apply unspecified
2582 attribute values to the default face.
2584 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
2586 * progmodes/cwarn.el (cwarn): Remove dead link.
2587 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2588 Remove * from defcustom docstrings.
2589 (turn-on-cwarn-mode): Make obsolete.
2590 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2591 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2593 2012-01-31 Glenn Morris <rgm@gnu.org>
2595 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2596 Fix :variable handling of mode a symbol not equal to modefun.
2597 Allow named functions to be used as the cdr of :variable.
2599 2012-01-30 Glenn Morris <rgm@gnu.org>
2601 * emacs-lisp/authors.el (authors-fixed-entries):
2602 Remove reference to deleted file rnewspost.el.
2604 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
2606 * window.el (window-with-parameter): Remove unused variable `windows'.
2607 (window--side-check): Remove unused variable `code'.
2608 (window--resize-siblings): Remove unused variable `first'.
2609 (adjust-window-trailing-edge): Remove unused variable `failed'.
2610 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2611 Use `let', not `let*'.
2612 (balance-windows-2): Remove unused variable `found'.
2613 (window--state-put-2): Remove unused variable `splits'.
2614 (window-state-put): Remove unused variable `selected'.
2615 (same-window-p): Use `string-match-p'.
2616 (display-buffer-assq-regexp): Remove unused variable `value'.
2617 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2618 Mark argument ALIST as ignored.
2619 (pop-to-buffer): Remove unused variable `old-window'.
2621 2012-01-29 Eli Zaretskii <eliz@gnu.org>
2623 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2624 and .lzma compressed files.
2626 2012-01-29 Chong Yidong <cyd@gnu.org>
2628 * frame.el (window-system-default-frame-alist): Doc fix.
2630 * dynamic-setting.el (font-setting-change-default-font): Don't
2631 change the default face if SET-FONT argument is non-nil (Bug#9982).
2633 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2635 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2637 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
2639 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2640 breakpoints in files outside current directory (Bug#6098).
2642 2012-01-29 Chong Yidong <cyd@gnu.org>
2644 * progmodes/python.el: Require ansi-color at top-level.
2646 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2647 Define and use in Emacs Lisp mode (Bug#9360).
2648 (lisp-mode-abbrev-table): Add doc.
2649 (lisp-mode-variables): Don't set local-abbrev-table.
2650 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2652 2012-01-28 Roland Winkler <winkler@gnu.org>
2654 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2656 2012-01-28 Roland Winkler <winkler@gnu.org>
2658 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2659 (bibtex-set-dialect): Use it. Either set global values of
2660 dialect-dependent variables or bind these variables buffer-locally
2662 (bibtex-mode): Call bibtex-set-dialect via
2663 hack-local-variables-hook.
2664 (bibtex-dialect): Update docstring.
2665 Add safe-local-variable predicate.
2666 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2668 (bibtex-mode-map): Define menu for each dialect.
2669 (bibtex-entry): Fix docstring.
2671 2012-01-28 Chong Yidong <cyd@gnu.org>
2673 * eshell/esh-arg.el (eshell-quote-argument): New function.
2675 * eshell/esh-ext.el (eshell-invoke-batch-file):
2676 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2677 first arg to eshell-parse-command (Bug#10523).
2679 2012-01-28 Drew Adams <drew.adams@oracle.com>
2681 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2682 `default-directory' is non-nil.
2684 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2686 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2687 line that displays system-configuration-options. (Bug#9924)
2689 2012-01-28 Drew Adams <drew.adams@oracle.com>
2691 * descr-text.el (describe-char): Show information about POS, in
2692 addition to information about the character at POS. Improve and
2693 update the doc string. Change "code point" to "code point in
2694 charset", to avoid confusion with the character's Unicode code
2695 point shown above that. (Bug#10129)
2697 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2699 * descr-text.el (describe-char): Show the raw character, not only
2700 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2701 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2704 2012-01-28 Phil Hagelberg <phil@hagelb.org>
2706 * emacs-lisp/package.el (package-install):
2707 Run package-refresh-contents if there is no archive yet (Bug#9798).
2709 2012-01-28 Chong Yidong <cyd@gnu.org>
2711 * emacs-lisp/package.el (package-maybe-load-descriptor):
2712 New function, split from package-maybe-load-descriptor.
2713 (package-maybe-load-descriptor): Use it.
2714 (package-download-transaction): Fully load required packages
2715 inside the loop, so that `require' calls work (Bug#10593).
2716 (package-install): No need to call package-initialize now.
2718 2012-01-28 Chong Yidong <cyd@gnu.org>
2720 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2722 * tooltip.el (tooltip-mode): Doc fix.
2723 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2725 * frame.el (set-cursor-color): Doc fix (Bug#352).
2727 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2728 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2730 * cus-edit.el (custom-buffer-create-internal): Fix search button
2732 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2734 2012-01-27 Eduard Wiebe <usenet@pusto.de>
2736 * dired.el (dired-mark-files-regexp):
2737 Include any subdirectory components. (Bug#10445)
2739 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2741 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2742 Handle [host]:port syntax. (Bug#10533)
2744 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
2746 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2748 2012-01-26 Glenn Morris <rgm@gnu.org>
2750 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2751 * term.el (term-raw-escape-map): Use Control-X-prefix.
2752 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2754 2012-01-25 Martin Rudalics <rudalics@gmx.at>
2756 * window.el (window-state-get, window--state-get-1): Don't deal
2757 with fixed-sizeness of windows. Simplify code.
2759 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2761 * window.el (window--state-get-1, window--state-put-2):
2762 Don't save and restore the mark.
2764 2012-01-25 Chong Yidong <cyd@gnu.org>
2766 * custom.el (custom-variable-p): Doc fix.
2768 2012-01-25 Glenn Morris <rgm@gnu.org>
2770 * dired.el (dired-goto-file): Handle some of the more common
2771 characters that `ls -b' escapes. (Bug#10596)
2773 * progmodes/compile.el (compilation-next-error-function):
2774 Respect compilation-first-column in the "*compilation*" buffer.
2775 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2777 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2779 2012-01-24 Glenn Morris <rgm@gnu.org>
2781 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2783 2012-01-24 Julien Danjou <julien@danjou.info>
2785 * color.el (color-rgb-to-hsl): Fix value computing.
2786 (color-hue-to-rgb): New function.
2787 (color-hsl-to-rgb): New function.
2788 (color-clamp, color-saturate-hsl, color-saturate-name)
2789 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2790 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2792 2012-01-24 Glenn Morris <rgm@gnu.org>
2794 * vc/vc-rcs.el (vc-rcs-create-tag):
2795 * vc/vc-sccs.el (vc-sccs-create-tag):
2796 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2798 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2800 * eshell/esh-util.el (eshell-read-hosts-file):
2801 Skip comment lines. (Bug#10549)
2803 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2805 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
2807 * subr.el (display-delayed-warnings): Doc fix.
2808 (collapse-delayed-warnings): New function to collapse identical
2810 (delayed-warnings-hook): Add it.
2812 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
2814 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2816 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2817 properties, when "login-as" is set.
2819 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2820 (tramp-default-user-alist): Don't add "pscp".
2821 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2822 property "login-as", if set. (Bug#10530)
2824 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
2826 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2827 "plink1" and "psftp". (Bug#10530)
2829 2012-01-21 Kenichi Handa <handa@m17n.org>
2831 * international/mule-cmds.el (prefer-coding-system): Show a
2832 warning message if the default value of file-name-coding-system
2835 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2837 * windmove.el (windmove-reference-loc):
2838 Fix windmove-reference-loc miscalculation.
2840 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2842 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2845 2012-01-21 Glenn Morris <rgm@gnu.org>
2847 * international/mule.el (auto-coding-alist): Add .tbz.
2849 * files.el (local-enable-local-variables): Doc fix.
2850 (inhibit-local-variables-regexps): Rename from
2851 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2852 Doc fix. Add some extensions from auto-coding-alist.
2853 (inhibit-local-variables-suffixes):
2854 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2855 (inhibit-local-variables-p):
2856 New function, extracted from set-auto-mode-1.
2857 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2858 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2859 (hack-local-variables): Doc fix. Make the mode-only case
2860 respect enable-local-variables and friends.
2861 Respect inhibit-local-variables-regexps for file-locals, but
2862 not for directory-locals.
2863 (set-visited-file-name):
2864 Take account of inhibit-local-variables-regexps.
2865 Whether it applies may change as the file name is changed.
2866 * jka-cmpr-hook.el (jka-compr-install):
2867 * jka-compr.el (jka-compr-uninstall):
2868 Update for inhibit-first-line-modes-suffixes name change.
2870 2012-01-20 Martin Rudalics <rudalics@gmx.at>
2872 * help-macro.el (make-help-screen): Temporarily restore original
2873 binding for minor-mode-map-alist (Bug#10454).
2875 2012-01-19 Julien Danjou <julien@danjou.info>
2877 * color.el (color-name-to-rgb): Use the white color to find the max
2878 color component value and return correctly computed values.
2879 (color-name-to-rgb): Add missing float conversion for max value.
2881 2012-01-19 Martin Rudalics <rudalics@gmx.at>
2883 * window.el (window--state-get-1, window-state-get): Do not use
2884 special state value for window-persistent-parameters.
2885 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
2886 (window--state-put-2): Reset all window parameters to nil before
2887 assigning values of persistent parameters.
2889 2012-01-18 Alan Mackenzie <acm@muc.de>
2891 Eliminate sluggishness and hangs in fontification of "semicolon
2894 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2895 Change value 10000 -> 3000.
2896 (c-state-safe-place): Reformulate so it doesn't stack up an
2897 infinite number of wrong entries in c-state-nonlit-pos-cache.
2898 (c-determine-limit-get-base, c-determine-limit): New functions to
2899 determine backward search limits disregarding literals.
2900 (c-find-decl-spots): Amend commenting.
2901 (c-cheap-inside-bracelist-p): New function which detects "={".
2903 * progmodes/cc-fonts.el
2904 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2906 (c-font-lock-declarations): Fix an occurrence of point being
2907 undefined. Check additionally for point being in a bracelist or
2908 near a macro invocation without a semicolon so as to avoid a
2909 fruitless time consuming search for a declarator. Give a more
2910 precise search limit for declarators using the new
2913 2012-01-18 Glenn Morris <rgm@gnu.org>
2915 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2916 (set-auto-mode): Doc fixes.
2918 2012-01-17 Glenn Morris <rgm@gnu.org>
2920 * isearch.el (search-nonincremental-instead): Fix doc typo.
2922 * dired.el (dired-insert-directory): Handle newlines in directory name.
2923 (dired-build-subdir-alist): Unescape newlines in directory name.
2925 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
2927 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2928 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2929 (tramp-action-terminal): Use it. (Bug#10530)
2931 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2933 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2935 2012-01-16 Martin Rudalics <rudalics@gmx.at>
2937 * window.el (window-state-ignored-parameters): Remove variable.
2938 (window--state-get-1): Rename argument MARKERS to IGNORE.
2939 Handle persistent window parameters. Make copy of clone-of
2940 parameter only if requested. (Bug#10348)
2941 (window--state-put-2): Install a window parameter only if it has
2942 a non-nil value or an existing parameter shall be overwritten.
2944 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
2946 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2948 2012-01-14 Eli Zaretskii <eliz@gnu.org>
2950 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2951 don't pass the (nil) value of `upnode' to string-match.
2953 2012-01-14 Chong Yidong <cyd@gnu.org>
2955 * startup.el (command-line): Fix X resource class for cursorColor.
2956 Fix values recognized by the cursorBlink resource.
2958 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2960 * epg.el (epg--make-temp-file): Avoid permission race condition
2961 when running on old Emacs versions (bug#10403).
2963 2012-01-14 Glenn Morris <rgm@gnu.org>
2965 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2967 2012-01-13 Alan Mackenzie <acm@muc.de>
2969 Fix filling for when filladapt mode is enabled.
2971 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2972 c-mask-paragraph, pass in `fill-paragraph' rather than
2973 `fill-region-as-paragraph'. (This is a reversion of a previous
2975 * progmodes/cc-mode.el (c-basic-common-init):
2976 Make fill-paragraph-handle-comment buffer local and set it to nil.
2978 2012-01-13 Glenn Morris <rgm@gnu.org>
2980 * dired.el (dired-switches-escape-p): New function.
2981 (dired-insert-directory): Use dired-switches-escape-p.
2982 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2984 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2986 2012-01-12 Glenn Morris <rgm@gnu.org>
2988 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2989 changes in adaptive-fill-regexp. (Bug#10276)
2991 2012-01-11 Alan Mackenzie <acm@muc.de>
2993 Fix Emacs bug #10463 - put `widen's around the critical spots.
2995 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2996 widen around each invocation of c-state-pp-to-literal. Remove an
2997 unused let variable.
2999 2012-01-11 Glenn Morris <rgm@gnu.org>
3001 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
3004 2012-01-10 Chong Yidong <cyd@gnu.org>
3006 * net/network-stream.el (network-stream-open-starttls):
3007 Avoid emitting a confusing error message when the server gives a bad
3008 response to the capability command.
3010 2012-01-10 Glenn Morris <rgm@gnu.org>
3012 * mail/unrmail.el (unrmail): Tweak previous change.
3014 2012-01-09 Chong Yidong <cyd@gnu.org>
3016 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3018 2012-01-08 Alan Mackenzie <acm@muc.de>
3020 Optimise font locking in long enum definitions.
3022 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3023 arm to a cond form to handle enums.
3024 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3025 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3027 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
3029 * files.el (move-file-to-trash): Preserve default file modes on error.
3032 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3034 * faces.el (set-face-attribute): Clarify the meaning of the nil
3037 * subr.el (with-selected-frame): Mention that the selected frame
3038 is restored (bug#9980).
3040 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3043 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
3044 (password-read): Don't autoload unused function.
3046 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
3048 * progmodes/which-func.el (which-func-mode): Turn into a
3049 non-interactive function and mark as obsolete (bug#10428).
3051 2012-01-06 Chong Yidong <cyd@gnu.org>
3053 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3054 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3055 functions, along with 1 and -1.
3057 2012-01-06 Eli Zaretskii <eliz@gnu.org>
3059 * time.el (display-time-load-average)
3060 (display-time-default-load-average): Doc fixes. See the thread
3062 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3065 2012-01-06 Glenn Morris <rgm@gnu.org>
3067 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3068 has no messages. (Bug#10377)
3070 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3071 than Info-edit. (Bug#10385)
3073 * time.el (display-time-load-average, display-time-next-load-average):
3076 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3077 local setting of buffer-read-only to the input buffer. (Bug#10419)
3079 * calendar/calendar.el (calendar-mode):
3080 Locally set scroll-margin to 0. (Bug#10379)
3082 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
3084 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3086 2012-01-05 Glenn Morris <rgm@gnu.org>
3088 * eshell/em-unix.el (diff-no-select): Autoload it.
3089 (eshell/diff): Use diff-no-select. (Bug#10420)
3091 2012-01-05 Chong Yidong <cyd@gnu.org>
3093 * shell.el (shell-dynamic-complete-functions): Revert last change.
3094 (shell-command-completion-function): New function.
3095 (shell-completion-vars): Use it to implement
3096 shell-completion-execonly (Bug#10417).
3098 * custom.el (enable-theme): Don't set custom-safe-themes.
3100 * cus-theme.el (custom-theme-merge-theme):
3101 Ignore custom-enabled-themes and custom-safe-themes.
3103 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3105 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3106 first prompt in `sql-interacive-mode'.
3107 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
3109 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
3110 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3111 context of original buffer. Invoke `sql-login-hook'.
3113 2012-01-04 Eli Zaretskii <eliz@gnu.org>
3115 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3116 letters in cite-prefix.
3118 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3120 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3122 2012-01-03 Chong Yidong <cyd@gnu.org>
3124 * shell.el (shell-dynamic-complete-functions):
3125 Put pcomplete-completions-at-point, so as to try
3126 comint-filename-completion first (Bug#10417).
3128 2012-01-02 Richard Stallman <rms@gnu.org>
3130 * battery.el (battery-status-function):
3131 Detect when to use battery-yeeloong-sysfs.
3132 (battery-echo-area-format): Add string for Yeeloong.
3133 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3134 (battery-yeeloong-sysfs): New function.
3136 2012-01-02 Chong Yidong <cyd@gnu.org>
3138 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3139 (dirtrack): Merge code for handling relative filenames in prompt
3140 from shell-dir-cookie-watcher.
3141 (dirtrack-debug-message): New arg to avoid excess format calls.
3143 * shell.el (shell-dir-cookie-re): Variable deleted.
3144 (shell-dir-cookie-watcher): Function deleted.
3145 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3148 2012-01-01 Eli Zaretskii <eliz@gnu.org>
3150 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3151 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
3154 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3156 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3158 2011-12-31 Eli Zaretskii <eliz@gnu.org>
3160 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3161 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3163 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
3165 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3166 also for alternative shells.
3167 (tramp-open-connection-setup-interactive-shell): Check, whether
3168 the shell is a busybox.
3169 (tramp-send-command): Don't suppress multiple prompts for
3170 busyboxes, it hurts.
3172 2011-12-28 Chong Yidong <cyd@gnu.org>
3174 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3175 (gdb-get-source-file): Move mode line update to
3176 gdb-get-source-file (Bug#10087).
3178 2011-12-25 Chong Yidong <cyd@gnu.org>
3180 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3181 gud-gdb-marker-filter without taking it as an argument.
3182 (gud-gdb-run-command-fetch-lines): Caller changed.
3183 (gud-gdb-completion-function): New variable.
3184 (gud-gdb-completion-at-point): Use it.
3185 (gud-gdb-completions-1): Split from gud-gdb-completions.
3187 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3188 function as separate arguments.
3189 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3190 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3191 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3192 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3193 (gdb-stopped, def-gdb-auto-update-trigger)
3194 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
3195 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3197 (gud-gdbmi-completions): New function.
3198 (gdb): Use it for generating the completion table.
3200 2011-12-24 Alan Mackenzie <acm@muc.de>
3202 Introduce a mechanism to widen the region used in context font
3203 locking. Use this to protect declarations from losing their contexts.
3205 * progmodes/cc-langs.el (c-before-font-lock-functions):
3206 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
3207 (c-before-context-fontification-functions): New defvar, a list of
3208 functions to be run just before context (etc.) font locking.
3210 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
3211 New, functionality extracted from
3212 c-neutralize-syntax-in-and-mark-CPP.
3213 (c-in-after-change-fontification): New variable.
3214 (c-after-change): Set c-in-after-change-fontification.
3215 (c-set-fl-decl-start): Rejig its interface, so it can be called
3216 from both after-change and context fontifying.
3217 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3219 (c-standard-font-lock-fontify-region-function): New variable.
3220 (c-font-lock-fontify-region): New function.
3222 2011-12-24 Juri Linkov <juri@jurta.org>
3224 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3227 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
3229 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3230 existence of source file. (Bug#10325)
3232 2011-12-23 Alan Mackenzie <acm@muc.de>
3234 Fix unstable fontification inside templates.
3236 * progmodes/cc-langs.el (c-before-font-lock-functions):
3237 Newly created from the singular version. The (c c++ objc) entry now
3238 additionally has c-set-fl-decl-start. The other languages (apart
3239 from AWK) have that as a single entry.
3241 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3242 The functionality for "local" declarations has been extracted to
3243 c-set-fl-decl-start.
3245 * progmodes/cc-mode.el (c-common-init, c-after-change):
3246 Changes due to pluralisation of c-before-font-lock-functions.
3247 (c-set-fl-decl-start): New function, extracted from
3248 c-font-lock-enclosing-decls and enhanced.
3250 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
3252 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3254 2011-12-22 Juri Linkov <juri@jurta.org>
3256 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3258 2011-12-22 Chong Yidong <cyd@gnu.org>
3260 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3262 2011-12-21 Drew Adams <drew.adams@oracle.com>
3264 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3266 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3268 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3270 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3272 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3273 highlighting and support. Fix up comments for capitalization.
3274 (cfengine-mode-debug): New var.
3275 (cfengine3-mode): Change the modeline indicator to "CFE3".
3276 (cfengine3-font-lock-keywords): Improve defun highlighting.
3277 (cfengine2-actions): Rename from `cfengine-actions'.
3278 (cfengine2-font-lock-keywords): Rename from
3279 `cfengine-font-lock-keywords'.
3280 (cfengine2-imenu-expression): Rename from
3281 `cfengine-imenu-expression'.
3282 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3283 (cfengine2-beginning-of-defun): Rename from
3284 `cfengine-beginning-of-defun'.
3285 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3286 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3287 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3288 modeline indicator to "CFE2".
3289 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3290 (cfengine-mode-abbrevs): Mark obsolete.
3292 2011-12-21 Chong Yidong <cyd@gnu.org>
3294 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3297 2011-12-20 Martin Rudalics <rudalics@gmx.at>
3299 * window.el (window-normalize-buffer-to-display): Remove.
3300 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3302 2011-12-19 Chong Yidong <cyd@gnu.org>
3304 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3305 Don't signal an error in a predicate function; return non-nil.
3306 (vc-dir-mark-file): Move the error here.
3307 (vc-dir-mark-unmark): If acting on the region, keep going if one
3308 of the entries cannot be marked/unmarked.
3309 (vc-dir-mark-all-files): If current entry is a directory, mark
3310 only child files, as documented.
3312 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3314 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3315 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3318 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3320 * term/ns-win.el (ns-get-selection-internal)
3321 (ns-store-selection-internal): Declare.
3322 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3323 Declare as obsolete.
3324 (ns-get-pasteboard, ns-paste-secondary):
3325 Use ns-get-selection-internal.
3326 (ns-set-pasteboard, ns-copy-including-secondary):
3327 Use ns-store-selection-internal.
3329 2011-12-17 Chong Yidong <cyd@gnu.org>
3331 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
3332 (vc-deduce-fileset): Doc fix.
3334 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3336 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3338 2011-12-13 Sam Steingold <sds@gnu.org>
3340 * man.el (Man-getpage-in-background): When running under a
3341 window-system, ignore $MANWIDTH and $COLUMNS.
3343 2011-12-15 Kenichi Handa <handa@m17n.org>
3345 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3346 (setup-ethiopic-environment-internal): Comment out key-binding for
3347 ethio-toggle-punctuation.
3349 2011-12-13 Alan Mackenzie <acm@muc.de>
3351 Add the switch statement to AWK Mode.
3353 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
3354 "default" to the keywords regexp.
3356 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
3357 expression as the rest.
3358 (c-nonlabel-token-key): Allow string literals for AWK.
3359 Refactor for the other modes.
3361 Large brace-block initialisation makes CC Mode slow: Fix.
3362 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
3363 routines. Limit backward searching in c-font-lock-enclosing.decl.
3365 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3366 pp-state and literal type in addition to the limits.
3367 (c-state-safe-place): New defun, extracted from c-state-literal-at.
3368 (c-state-literal-at): Use the above new defun.
3369 (c-slow-in-literal, c-fast-in-literal): Remove.
3370 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
3372 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3373 being in a literal. Add a limit for backward searching.
3375 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3378 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3380 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3382 2011-12-13 Martin Rudalics <rudalics@gmx.at>
3384 * window.el (delete-other-windows): Use correct frame in call to
3385 window-with-parameter.
3387 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3389 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3390 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3391 (makefile-gmake-statements, makefile-makepp-statements):
3392 Use it and add new makepp keywords.
3393 (makefile-makepp-font-lock-keywords): Add new patterns.
3394 (makefile-match-function-end): Match new [...] and [[...]].
3396 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
3398 * ses.el (ses-call-printer-return, ses-cell-property-get)
3399 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3400 (ses-create-cell-variable, ses-reset-header-string)
3401 (ses-cell-set-formula, ses-repair-cell-reference-all)
3402 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3403 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3404 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3405 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3406 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3407 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3408 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3409 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3410 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3411 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3412 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3413 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3415 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3417 * ses.el: The overall change is to add cell renaming, that is
3418 setting fancy names for cell symbols other than name matching
3419 "\\`[A-Z]+[0-9]+\\'" regexp .
3420 (ses-create-cell-variable): New defun.
3421 (ses-relocate-formula): Relocate formulas only for cells the
3422 symbols of which are not renamed, i.e. symbols whose names do not
3423 match regexp "\\`[A-Z]+[0-9]+\\'".
3424 (ses-relocate-all): Relocate values only for cells the symbols of
3425 which are not renamed.
3426 (ses-load): Create cells variables as the (ses-cell ...) are read,
3427 in order to check row col consistency with cell symbol name only
3428 for cells that are not renamed.
3429 (ses-replace-name-in-formula): New defun.
3430 (ses-rename-cell): New defun.
3432 2011-12-11 Chong Yidong <cyd@gnu.org>
3434 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3435 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3437 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3439 * window.el (other-window): Fix docstring.
3441 2011-12-10 Eli Zaretskii <eliz@gnu.org>
3443 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
3444 `from' or `to' address before taking its substring.
3445 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
3446 encoded name is chopped in the middle of the encoded string, and
3447 thus displayed encoded.
3449 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
3451 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3453 2011-12-10 Eli Zaretskii <eliz@gnu.org>
3455 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3456 to use texinfo-update-node and commands that call it if the
3457 Texinfo file uses @node lines without next/prev/up pointers.
3458 Correct outdated description about texinfo-master-menu.
3459 (texinfo-all-menus-update, texinfo-master-menu)
3460 (texinfo-update-node, texinfo-every-node-update)
3461 (texinfo-multiple-files-update): Doc fix. Warn against updating
3462 all the @node lines.
3463 (texinfo-master-menu): Only call texinfo-update-node if the prefix
3464 argument is numeric. Explain better in the doc string what the
3465 function really does.
3466 (texinfo-insert-master-menu-list): Improve the error message
3467 displayed if there's no menu in the Top node.
3468 (Bug#2975) See also this thread:
3469 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3471 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3473 * speedbar.el (speedbar-supported-extension-expressions):
3474 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3476 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
3478 * printing.el (pr-mode-alist):
3479 * simple.el (filter-buffer-substring-functions)
3480 (completion-list-insert-choice-function):
3481 * window.el (window-with-parameter, window-atom-root)
3482 (window-sides-slots, window-size-fixed, window-min-delta)
3483 (window-max-delta, window--resize-mini-window)
3484 (window--resize-child-windows-normal, window-tree)
3485 (delete-other-windows, quit-window, split-window)
3486 (display-buffer-record-window, special-display-buffer-names)
3487 (special-display-regexps, special-display-popup-frame)
3488 (same-window-p, split-window-sensibly)
3489 (display-buffer-overriding-action, display-buffer-alist)
3490 (display-buffer-base-action, display-buffer, switch-to-buffer)
3491 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3492 (fit-window-to-buffer, recenter-positions)
3493 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3494 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3495 and remove unneeded backslashes in docstrings.
3497 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3499 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3501 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3502 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3504 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3505 when reading the makefile (bug#10116).
3507 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3509 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3512 2011-12-06 Glenn Morris <rgm@gnu.org>
3514 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3516 2011-12-06 Chong Yidong <cyd@gnu.org>
3518 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3520 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
3522 * textmodes/table.el (table-shorten-cell): Fix typo.
3524 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3526 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3528 2011-12-05 Eli Zaretskii <eliz@gnu.org>
3530 * descr-text.el (describe-char): Fix display of strong
3531 right-to-left characters and directional embeddings and overrides.
3533 * simple.el (what-cursor-position): Fix display of codepoints of
3534 strong right-to-left characters.
3536 2011-12-05 Chong Yidong <cyd@gnu.org>
3538 * faces.el (read-color): Doc fix.
3540 2011-12-05 Glenn Morris <rgm@gnu.org>
3542 * align.el (align--set-marker): Add doc-string.
3543 Don't try to move something that is not a marker. (Bug#10216)
3545 2011-12-04 Glenn Morris <rgm@gnu.org>
3547 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3548 overly zealous deletion of trailing whitespace.
3550 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
3552 * server.el (server-delete-client): On Windows, do not try to delete
3554 (server-process-filter): On Windows, treat requests for a tty frame as
3555 if they were for a GUI frame if the running server is in GUI mode.
3557 2011-12-03 Glenn Morris <rgm@gnu.org>
3559 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3561 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3563 * electric.el: Streamline electric-indent's hook.
3564 (electric-indent-chars): Revert to simple list.
3565 (electric-indent-functions): New var.
3566 (electric-indent-post-self-insert-function): Use it.
3568 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3569 there's no inferior buffer (bug#10196).
3570 (prolog-consult-compile): Don't use toggle-read-only.
3572 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
3574 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3575 interrupt. (Bug#10187)
3577 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3579 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3582 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3585 2011-12-02 Juri Linkov <juri@jurta.org>
3587 * info.el (Info-search): Display "end of manual" when Isearch
3588 reaches the end of single-file Info manual. (Bug#9918)
3590 2011-12-02 Eli Zaretskii <eliz@gnu.org>
3592 * isearch.el (isearch-message-prefix): Run the input method part
3593 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3595 2011-12-02 Juri Linkov <juri@jurta.org>
3597 * isearch.el (isearch-occur): Use `word-search-regexp' for
3599 (isearch-search-and-update): Add condition for `isearch-word' and
3600 call `word-search-regexp'. (Bug#10145)
3602 2011-12-01 Glenn Morris <rgm@gnu.org>
3604 * eshell/em-hist.el (eshell-hist-initialize):
3605 Handle eshell-history-size nil and HISTSIZE set or unset.
3606 (eshell-history-file-name, eshell-history-size): Fix custom type.
3608 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3610 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3612 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
3614 * progmodes/verilog-mode.el (verilog-pretty-expr):
3615 Rework verilog-pretty-expr to handle new assignment operators in system
3616 verilog, such as += *= and the like.
3617 (verilog-assignment-operator-re): Regular expression to find the
3618 assigment operator in a verilog assignment.
3619 (verilog-assignment-operation-re): Regular expression to find an
3620 assignment statement for pretty-expr.
3621 (verilog-in-attribute-p): Query returns true if point is in an
3622 attribute context; used to skip these for expression line up from
3624 (verilog-in-parameter-p): Query returns true if point is in an
3625 parameter definition context; used to skip these for expression
3626 line up from pretty-expr.
3627 (verilog-in-parenthesis-p): Query returns true if point is in a
3628 parenthetical expression, specifically ( ) but not [ ] or { };
3629 used by pretty-expr.
3630 (verilog-just-one-space): If there is no space, don't add one.
3631 (verilog-get-lineup-indent-2): Specifically skip just attribute
3632 contexts for expression lineup, rather than skipping all
3633 parenthetical expressions.
3634 (verilog-calculate-indent): Fix comment, and fix indent.
3635 (verilog-do-indent): Indent declarations in lists (suggested by
3637 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3639 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3642 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
3644 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3645 parameters with embedded comments. Reported by Ray Stevens.
3646 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3647 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3648 Reported by Tim Holt.
3649 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3650 instantiated by upper module causing wrong expansion until AUTOed a
3651 second time. Reported by K C Buckenmaier.
3652 (verilog-diff-auto): Fix showing .* as a difference when
3653 `verilog-auto-star-save' off. Reported by Dan Dever.
3654 (verilog-auto-reset, verilog-read-always-signals)
3655 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3656 temporary signals in reset list if
3657 verilog-auto-reset-blocking-in-non is nil, and match assignment
3658 style to each signal's assignment type, bug381.
3659 Reported by Thomas Esposito.
3660 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3661 (verilog-uvm-statement-re): Support UVM indentation and
3662 highlighting, with old OVM keywords only.
3663 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
3664 Support AUTOTIEOFF creating non-wire data types.
3665 Suggested by Jonathan Greenlaw.
3666 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3667 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3668 (verilog-inject-sense, verilog-read-inst-pins)
3669 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3670 Fix mismatching parenthesis inside commented out code when deleting
3671 AUTOINST, bug383. Reported by Jonathan Greenlaw.
3672 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3673 non-numeric vector width. Reported by Alex Reed.
3674 (verilog-auto-ascii-enum): Add "onehot" option to work around not
3675 detecting signals with parameter widths. Reported by Alex Reed.
3676 (verilog-auto-delete-trailing-whitespace):
3677 With `verilog-auto-delete-trailing-whitespace' remove trailing
3678 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3679 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3680 Fix verilog-scan-cache corruption when running user AUTO expansion
3681 hooks that call indentation routines.
3682 (verilog-simplify-range-expression): Fix typo ignoring lower case
3684 (verilog-delete-auto): Fix delete-autos to also remove user created
3685 automatics, as long as they start with AUTO.
3686 (verilog-batch-diff-auto, verilog-diff-auto)
3687 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3688 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3689 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3690 (verilog-in-paren-quick, verilog-re-search-backward-quick)
3691 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3692 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
3693 is disabled and its cache will get corrupt, causing AUTOS not to
3694 expand. Instead use only -quick functions.
3695 (verilog-scan-region): Fix scanning over escaped quotes.
3696 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3697 (verilog-re-search-backward-quick)
3698 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3699 related functions now ignore strings, to fix misparsing of strings
3700 with magic comments embedded in them.
3701 (verilog-read-auto-template):
3702 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3703 Reported by Brad Dobbie.
3704 (verilog-read-auto-template):
3705 Fix 'verilog-auto-inst-template-numbers' with comments.
3706 Reported by Brad Dobbie.
3707 (verilog-auto-inst, verilog-auto-inst-param)
3708 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3709 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3710 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
3711 debugging templates without merge conflicts, bug357.
3712 Reported by Brad Dobbie.
3713 (verilog-read-auto-template):
3714 Fix verilog-auto-inst-template-numbers with multiple templates.
3715 Reported by Brad Dobbie.
3716 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3717 abbrevs so user won't be asked to save.
3718 (verilog-read-auto-lisp-present): Fix to start at beginning of
3719 buffer in case called outside of verilog-auto.
3720 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3721 to "X-2". Reported by Matthew Myers.
3722 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3723 all inputs from module templates. Reported by Leith Johnson.
3724 (verilog-module-inside-filename-p): Fix locating programs as with
3726 (verilog-auto-inst-port): Fix vl-width expressions when using
3727 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3728 (verilog-decls-get-regs, verilog-decls-get-signals,
3729 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3730 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3731 verilog-read-decls): Combine reg and wire structures into one var
3732 structure to represent SystemVerilog concepts.
3733 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3734 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
3735 (verilog-auto-wire-type, verilog-insert-definition):
3736 Add verilog-auto-wire-type and AUTOLOGIC to support using
3737 SystemVerilog "logic" keyword instead of "wire"/"reg".
3738 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3739 to declares outputs that also have assignments (presumably in an
3740 ifdef or generate if so there's not a driver conflict).
3741 Reported by Matthew Myers.
3742 (verilog-auto-declare-nettype, verilog-insert-definition):
3743 Add verilog-auto-declare-nettype to fix declarations using
3744 `default_nettype none. Reported by Julian Gorfajn.
3745 (verilog-read-always-signals-recurse, verilog-read-decls)
3746 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3747 malformed end statement, bug325. Reported by Joshua Wise and
3749 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3750 (verilog-inst-comment-re): Fix not deleting Interfaced comment
3751 when expanding .* in interfaces, bug320.
3752 Reported by Pierre-David Pfister.
3753 (verilog-read-module-name): Fix import statements between module
3754 name and open parenthesis, bug317.
3755 Reported by Pierre-David Pfister.
3756 (verilog-simplify-range-expression): Fix simplification of
3757 multiplications inside AUTOWIRE connections, bug303.
3758 (verilog-auto-inst-port): Support parameter expansion in
3759 multidimensional arrays.
3760 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3761 after "assert property". Reported by Julian Gorfajn.
3762 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3763 with multiplication, bug303.
3764 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3765 Reported by Jan Frode Lonnum.
3767 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
3769 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3770 (hfy-shell-file-name, hfy-shell):
3771 * international/fontset.el (x-decompose-font-name): Fix typos.
3773 2011-11-29 Ken Brown <kbrown@cornell.edu>
3775 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3776 (gdb-version): Remove defvar.
3777 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3778 (gdb-gud-context-command, gdb-non-stop-handler)
3779 (gdb-current-context-command, gdb-stopped): Use it.
3780 (gdb-init-1): Enable pretty printing here.
3781 (gdb-non-stop-handler): Don't enable pretty-printing here.
3782 Check to see if the target supports non-stop mode; if not, turn off
3783 non-stop mode. Use the following.
3784 (gdb-check-target-async): New defun.
3785 (gud-watch, gdb-stopped): Fix whitespace.
3786 (gdb-get-source-file): Don't try to display the source file if
3787 `gdb-main-file' is nil.
3789 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3791 * align.el: Try to generate fewer markers (bug#10047).
3792 (align--set-marker): New macro.
3793 (align-region): Use it.
3795 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3797 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3799 2011-11-29 Chong Yidong <cyd@gnu.org>
3801 * indent.el (indent-for-tab-command, indent-according-to-mode):
3803 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3805 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
3807 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3808 aware of remote file names. (Bug#10124)
3810 2011-11-29 Chong Yidong <cyd@gnu.org>
3812 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3814 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3816 * files.el (find-file): Don't use force-same-window (bug#10144).
3817 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3818 use pop-to-buffer if the selected window can't be used.
3819 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3821 2011-11-28 Eli Zaretskii <eliz@gnu.org>
3823 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3826 2011-11-28 Chong Yidong <cyd@gnu.org>
3828 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3830 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
3832 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3833 gdb-get-source-file-list on gdb-create-source-file-list.
3835 2011-11-26 Eli Zaretskii <eliz@gnu.org>
3837 * whitespace.el (whitespace-newline): Use a different foreground
3838 color for 16-color light-background displays.
3840 2011-11-24 Chong Yidong <cyd@gnu.org>
3842 * window.el (display-buffer--special-action): Doc fix.
3844 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
3846 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3847 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3848 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3849 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3850 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3851 (avl-tree-stack-first):
3852 * emacs-lisp/cconv.el (cconv--analyse-use):
3853 * net/gnutls.el (gnutls-negotiate): Fix typos.
3855 2011-11-24 Glenn Morris <rgm@gnu.org>
3857 * lpr.el (lpr-windows-system, lpr-lp-system):
3858 * mail/binhex.el (binhex-begin-line):
3859 * progmodes/grep.el (grep-history, grep-find-history):
3860 * textmodes/flyspell.el:
3861 * vc/pcvs-defs.el (cvs-global-menu):
3862 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3863 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3864 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3866 * net/tls.el: Fix case of "GnuTLS".
3868 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3870 * version.el (emacs-build-system): Give it a doc-string.
3872 2011-11-24 Juri Linkov <juri@jurta.org>
3874 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3876 2011-11-24 Glenn Morris <rgm@gnu.org>
3878 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3879 if called on a non-mime message just toggle the headers. (Bug#8006)
3881 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
3883 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3884 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3885 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3886 (allout-rebullet-heading, allout-open-sibtopic)
3887 (allout-toggle-current-subtree-encryption)
3888 (allout-toggle-subtree-encryption, allout-encrypt-string)
3889 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3890 (allout-distinctive-bullets-string, allout-auto-activation):
3891 * window.el (window-normalize-buffer-to-display):
3892 * progmodes/verilog-mode.el (verilog-batch-indent):
3893 * textmodes/bibtex.el (bibtex-field-braces-opt)
3894 (bibtex-field-strings-opt):
3895 * vc/cvs-status.el (cvs-tree-merge):
3898 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
3900 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3901 `non-essential' to t, in order to avoid remote connections.
3903 2011-11-23 Eli Zaretskii <eliz@gnu.org>
3905 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3906 On MS-DOS and MS-Windows, compare with loaddefs.el
3909 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3911 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3913 2011-11-23 Glenn Morris <rgm@gnu.org>
3915 * paths.el (rmail-file-name): Reformat the doc-string so that it
3918 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3919 (rmail-auto-file): Ignore case in the "special" field names,
3920 as mail-fetch-field does for all others.
3922 * mail/rmail.el (rmail-forward):
3923 * mail/rmailkwd.el (rmail-set-label):
3924 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3925 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3927 * mail/rmail.el (rmail-current-message): Doc fix.
3929 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3931 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3933 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3935 2011-11-22 Glenn Morris <rgm@gnu.org>
3937 * mail/rmailmm.el (test-rmail-mime-handler)
3938 (test-rmail-mime-bulk-handler)
3939 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3941 2011-11-21 Juri Linkov <juri@jurta.org>
3943 * calc/calc.el (calc-read-key-sequence):
3944 Let-bind `input-method-function' to nil. (Bug#10018)
3946 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3948 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3949 Tell the caller that the next line needs recomputation, even
3950 though it doesn't start a sexp (bug#10094).
3952 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3954 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3956 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3958 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3959 Use force-same-window.
3961 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
3963 * descr-text.el (describe-char-unicode-data):
3964 * json.el (json-string-escape):
3965 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3966 (Footnote-unicode, Footnote-style-p):
3967 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3969 2011-11-20 Chong Yidong <cyd@gnu.org>
3971 * window.el (replace-buffer-in-windows): Restore interactive spec.
3973 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3975 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3977 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3978 (byte-compile-global-not-obsolete-vars): New var.
3979 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3981 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3983 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
3985 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3986 * progmodes/pascal.el (electric-pascal-equal):
3987 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3988 * xml.el (xml-substitute-special): Fix typos.
3990 2011-11-20 Glenn Morris <rgm@gnu.org>
3992 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3993 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3995 (rmail-decode-mime-charset): Mark as obsolete.
3997 * mail/rmailsum.el (rmail-message-regexp-p-1):
3998 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3999 Before using mime functions, check they are set. (Bug#10077)
4001 2011-11-19 Juri Linkov <juri@jurta.org>
4003 * info.el (Info-finder-find-node): Use `package--builtins' instead
4004 of `package-alist'. Use node names formed by the pattern "Keyword "
4005 and the keyword name.
4007 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4009 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
4011 2011-11-19 Juri Linkov <juri@jurta.org>
4013 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4014 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4015 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4016 `old-history', `old-history-forward'. Add let-binding
4017 `window-selected'. Remove calls to `kill-buffer',
4018 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4019 before calling `Info-find-node', so `Info-find-node-2' will reread
4020 the Info file. Restore window positions only when `window-selected'
4023 2011-11-19 Juri Linkov <juri@jurta.org>
4025 * isearch.el (isearch-lazy-highlight-new-loop):
4026 Remove condition `(not isearch-error)'. (Bug#9918)
4028 * misearch.el (multi-isearch-search-fun): Add condition
4029 `(not bound)' to ignore lazy-highlighting search.
4030 Add the search-failed message "end of multi" when the end of
4031 multi-sequence is reached. Uncapitalize the search-failed
4032 message "Repeat for next buffer".
4034 * info.el (Info-search): Add the search-failed message
4035 "end of the manual" when the end of the manual is reached
4038 2011-11-19 Juri Linkov <juri@jurta.org>
4040 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4041 Use non-destructive `remove' instead of `delete' because
4042 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4043 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4045 2011-11-19 Juri Linkov <juri@jurta.org>
4047 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4048 to nil instead of binding `search-ring' and `regexp-search-ring'.
4051 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4053 * simple.el (line-move): Force movement by logical lines for any
4054 hscrolled window, not only when auto-hscroll-mode is on.
4055 (line-move-visual): Update doc string to that effect. (Bug#10076)
4057 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4059 * language/european.el (macintosh): Define as alias for mac-roman.
4061 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4063 * mail/rmailmm.el (rmail-mime-display-header)
4064 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4065 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4066 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4067 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4068 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4070 (rmail-mime-entity-segment): To get past the tagline, move forward
4071 2 more lines, to account for the 2 empty lines that precede and
4072 follow the line with the buttons.
4073 (rmail-mime-update-tagline): Move one more line, to get past the
4074 empty line that follows the buttons in the tagline. (Bug#9520)
4076 2011-11-19 Martin Rudalics <rudalics@gmx.at>
4078 * window.el (window-max-delta-1, window-min-delta-1)
4079 (window-min-size-1, window-state-get-1, window-state-put-1)
4080 (window-state-put-2): Use "window--" prefix.
4082 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4084 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4085 (smie-warning-count): New var.
4086 (smie-set-prec2tab): Use it.
4087 (smie-bnf->prec2): Improve warnings. Add docstring.
4088 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4089 (smie-bnf--set-class): New function.
4090 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4093 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4094 (compilation-error-properties, compilation-move-to-column):
4095 Handle compilation-first-column while in the target buffer.
4097 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4098 Don't hardcode point-min==1.
4100 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4101 (eshell-rewrite-for-command): Remove workaround.
4102 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4103 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4104 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4106 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4108 2011-11-17 Glenn Morris <rgm@gnu.org>
4110 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4111 Ignore buffer-local generated-autoload-file if it is the same
4112 as the global value. (Bug#10049)
4114 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
4116 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4117 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4118 (reftex-toc-previous-heading, reftex-toc-max-level)
4119 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4120 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4121 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4122 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4123 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4124 (reftex-toc-rename-label, reftex-toc-visit-location)
4125 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4126 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4127 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4128 leaving "*toc*" only for references to the buffer.
4130 2011-11-17 Martin Rudalics <rudalics@gmx.at>
4132 * window.el (window-resize, delete-window, split-window):
4133 Replace window-splits by window-combination-resize.
4134 * cus-start.el (window-splits): Replace by window-combination-resize.
4136 2011-11-17 Glenn Morris <rgm@gnu.org>
4138 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4139 Make bash entry derive from sh entry, not shell entry.
4141 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
4143 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4144 properties of linked files. (Bug#9879)
4146 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4149 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4151 * menu-bar.el (menu-bar-file-menu):
4152 * printing.el (pr-ps-utility):
4153 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4154 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4155 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4156 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4157 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4158 (icalendar--convert-cyclic-to-ical)
4159 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4160 (icalendar--convert-ical-to-diary)
4161 (icalendar--convert-recurring-to-diary)
4162 (icalendar--convert-non-recurring-all-day-to-diary)
4163 (icalendar-import-format-sample):
4164 * progmodes/idlw-shell.el (idlwave-shell-mode):
4165 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4166 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4167 (vhdl-ps-print-init): Fix typos.
4169 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4171 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4172 FSF and collapse date sequence, obscure author/maintainer email address
4173 better, remove extra version line, track relocation of author's webpage.
4175 * progmodes/python.el (python-pdbtrack-input-prompt)
4176 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4177 regular python pdb prompts. Adjustments shamelessly taken exactly as
4178 suggested in EmacsWiki page (tiny change):
4179 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
4181 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4183 * expand.el (expand-pos, expand-index, expand-point):
4184 Remove redundant info from docstring.
4185 (expand-add-abbrevs): Doc fix.
4186 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4187 (expand-sample-perl-mode-expand-list): Fix typos.
4189 * net/dbus.el (dbus-event-member-name):
4190 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4191 * term/pc-win.el (msdos-create-frame-with-faces):
4192 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4194 2011-11-16 Martin Rudalics <rudalics@gmx.at>
4196 * window.el (split-window, window-state-get-1)
4197 (window-state-put-1, window-state-put-2): Rename occurrences of
4198 window-nest to window-combination-limit.
4199 * cus-start.el (window-nest): Rename to window-combination-limit.
4201 2011-11-16 Chong Yidong <cyd@gnu.org>
4203 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4206 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4208 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4209 `completing-read' will remove *Completions* and will preserve
4210 current-buffer for us.
4211 (tmm-add-prompt): Users of *Completions* will always (re)set its
4213 (tmm-old-comp-map): Remove.
4215 2011-11-16 Glenn Morris <rgm@gnu.org>
4217 * mail/rmailedit.el: Require rmailmm when compiling.
4218 (rmail-old-mime-state): New declaration.
4219 (rmail-edit-current-message): If editing a mime message,
4220 edit the "raw" message from the mbox buffer.
4221 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4223 2011-11-15 Glenn Morris <rgm@gnu.org>
4225 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4226 which wasn't being used. Add optional arg to force given state.
4227 (rmail-mime): Add optional arg to force given state.
4229 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4231 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4232 * frame.el (display-mm-dimensions-alist):
4233 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4234 (outline-move-subtree-down):
4235 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4236 (newsticker--treeview-do-get-node):
4237 * net/quickurl.el (quickurl-list-buffer-name):
4238 * progmodes/dcl-mode.el (dcl-mode):
4239 * progmodes/gdb-mi.el (gdb-mapcar*):
4240 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4242 2011-11-15 Glenn Morris <rgm@gnu.org>
4244 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4245 in a boolean sense, so just make it a boolean, and fix the doc.
4246 (rmail-show-mime-function, rmail-mime-feature)
4247 (rmail-require-mime-maybe): Doc fixes.
4248 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4250 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4252 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4254 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4255 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4256 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4257 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4259 2011-11-15 Glenn Morris <rgm@gnu.org>
4261 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4262 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4263 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4264 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4265 (rmail-mime, rmail-show-mime): Doc fixes.
4267 * term/ns-win.el (mode-line-frame-identification):
4268 Leave it alone. (Bug#10051)
4270 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4272 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4273 Handle empty buffers. (Bug#9978)
4275 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
4277 * international/mule.el (define-charset):
4278 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4279 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4280 * progmodes/verilog-mode.el (verilog-backward-token):
4281 * textmodes/ispell.el (lookup-words):
4282 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4284 2011-11-14 Glenn Morris <rgm@gnu.org>
4286 * progmodes/executable.el
4287 (executable-make-buffer-file-executable-if-script-p):
4288 Handle file-modes returning nil.
4290 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4291 message - not necessary, and causes problems. (Bug#9831)
4293 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4295 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4297 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4298 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4299 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4301 2011-11-12 Martin Rudalics <rudalics@gmx.at>
4303 * window.el (window-resize, delete-window): Use window-splits
4304 variable instead of function.
4305 (window-state-get-1, window-state-put-2, window-state-put):
4306 Don't deal with windows' splits status.
4308 2011-11-12 Glenn Morris <rgm@gnu.org>
4310 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4311 (apropos-documentation): Doc fixes.
4313 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
4315 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4316 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4318 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4320 * electric.el (electric-indent-post-self-insert-function): Make it
4321 possible for a char to only indent in some circumstances.
4322 (electric-indent-mode): Simplify.
4324 2011-11-11 Martin Rudalics <rudalics@gmx.at>
4326 * window.el (windows-with-parameter): Remove unused function.
4327 (windows-at-side): Rename to window-at-side-list.
4328 (window-check, window-atom-check, window-atom-check-1)
4329 (window-side-check, window-size-ignore, window-size-fixed-1)
4330 (window-in-direction-2): Prefix with "window--".
4331 (window-tree-1): Rename to window--subtree, fix doc-string.
4333 2011-11-11 Glenn Morris <rgm@gnu.org>
4335 * subr.el (eval-after-load): If FILE is already loaded,
4336 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4338 2011-11-10 Glenn Morris <rgm@gnu.org>
4340 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4341 Call svn via vc-svn-command rather than vc-do-command.
4342 (vc-svn-command): Add --non-interactive. (Bug#9993)
4343 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4345 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4346 Add toggle-read-only. (Bug#7292)
4347 * files.el (toggle-read-only): Mention that it should only
4348 be used interactively. (Bug#10006)
4350 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4352 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4353 Adjust regexp for OCaml warnings.
4355 * electric.el (electric-pair-post-self-insert-function): Let user
4356 turn it off buffer-locally (bug#9932).
4358 * progmodes/python.el (python-beginning-of-statement):
4361 * progmodes/compile.el: Better handle TABs (bug#9749).
4362 (compilation-internal-error-properties)
4363 (compilation-next-error-function): Obey the target buffer's
4364 compilation-error-screen-columns.
4366 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
4368 * progmodes/meta-mode.el: Remove obsolete comments.
4369 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4370 Fix typos in docstrings.
4372 2011-11-09 Martin Rudalics <rudalics@gmx.at>
4374 * window.el (window-size-fixed-p): Rewrite doc-string.
4375 (window-resizable-p): Rename to window--resizable-p. Update callers.
4376 (window--resizable): New function. Make all callers of
4377 window-resizable call window--resizable instead.
4378 (window-resizable): Rewrite in terms of window--resizable.
4380 2011-11-08 Glenn Morris <rgm@gnu.org>
4382 * progmodes/delphi.el (delphi-mode-syntax-table):
4383 Let define-derived-mode define a proper syntax table. (Bug#9994)
4385 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4387 * window.el: Stay away from defsubst.
4388 (window-list-no-nils): Remove.
4389 (window-state-get-1, window-state-get): Use backquote instead.
4391 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4393 * emacs-lisp/find-func.el (find-function-read):
4394 Fix incorrect use of default argument in `completing-read'.
4396 2011-11-08 Martin Rudalics <rudalics@gmx.at>
4398 * window.el (display-buffer-function, special-display-function):
4399 Mention display-buffer-record-window but do not mention
4400 help-setup parameter in doc-strings.
4401 (window-min-delta): Fix doc-string typo.
4403 2011-11-08 Chong Yidong <cyd@gnu.org>
4405 * window.el (window-total-height, window-total-width): Doc fix.
4406 (window-body-size): Move from C.
4407 (window-body-height, window-body-width): Move to C.
4409 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4411 * window.el: Make special-display like display-buffer-alist (bug#9532).
4412 (display-buffer--special-action): New function, morphed
4413 from display-buffer--special.
4414 (display-buffer): Use it to handle special-display-buffers at higher
4415 priority (just after display-buffer-alist).
4416 (display-buffer-fallback-action, display-buffer--other-frame-action)
4417 (pop-to-buffer-same-window): Remove display-buffer--special.
4419 2011-11-07 Glenn Morris <rgm@gnu.org>
4421 * calendar/cal-menu.el (cal-menu-set-date-title):
4422 Do nothing if not in a calendar. (Bug#9976)
4424 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4426 * files.el (find-file): Always use selected-window.
4428 2011-11-07 Martin Rudalics <rudalics@gmx.at>
4430 * window.el (window-combinations): Make WINDOW argument
4431 mandatory. Rewrite doc-string.
4432 (walk-window-subtree, window-atom-check, window-min-delta)
4433 (window-max-delta, window--resize-this-window)
4434 (window--resize-root-window-vertically, window-tree)
4435 (balance-windows, window-state-put): Rewrite doc-strings as to
4436 not mention the term "subwindow".
4437 (window--resize-subwindows-skip-p): Rename to
4438 window--resize-child-windows-skip-p.
4439 (window--resize-subwindows-normal): Rename to
4440 window--resize-child-windows-normal.
4441 (window--resize-subwindows): Rename to
4442 window--resize-child-windows.
4443 (window-or-subwindow-p): Rename to window--in-subtree-p.
4445 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4447 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4448 Ensure that mbox format messages end in two newlines (Bug#9974).
4450 2011-11-06 Chong Yidong <cyd@gnu.org>
4452 * window.el (window-combination-p): Function deleted; its
4453 side-effect is not used in any existing code.
4454 (window-combinations, window-combined-p): Call window-*-child
4457 2011-11-05 Chong Yidong <cyd@gnu.org>
4459 * window.el (window-valid-p): Rename from window-any-p.
4460 (window-size-ignore, window-state-get): Callers changed.
4461 (window-normalize-window): Rename from window-normalize-any-window.
4462 New arg LIVE-ONLY, replacing window-normalize-live-window.
4463 (window-normalize-live-window): Delete.
4464 (window-combination-p, window-combined-p, window-combinations)
4465 (walk-window-subtree, window-atom-root, window-min-size)
4466 (window-sizable, window-sizable-p, window-size-fixed-p)
4467 (window-min-delta, window-max-delta, window-resizable)
4468 (window-resizable-p, window-full-height-p, window-full-width-p)
4469 (window-current-scroll-bars, window-point-1, set-window-point-1)
4470 (window-at-side-p, window-in-direction, window-resize)
4471 (adjust-window-trailing-edge, maximize-window, minimize-window)
4472 (window-deletable-p, delete-window, delete-other-windows)
4473 (record-window-buffer, unrecord-window-buffer)
4474 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4475 (quit-window, split-window, window-state-put)
4476 (set-window-text-height, fit-window-to-buffer)
4477 (shrink-window-if-larger-than-buffer): Callers changed.
4479 2011-11-04 Eli Zaretskii <eliz@gnu.org>
4481 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4482 rfc2047-decode-string.
4483 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4486 * window.el (window-body-height, window-body-width): Mention in
4487 the doc string that the return values are in frame's canonical
4490 2011-11-03 Alan Mackenzie <acm@muc.de>
4492 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4493 change in cc-engine.el.
4495 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4497 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4499 2011-11-02 Martin Rudalics <rudalics@gmx.at>
4501 * window.el (quit-window): Call unrecord-window-buffer after
4502 showing another buffer in the window. (Bug#9937)
4503 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
4505 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
4507 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4508 Accept status with more than 9 shelves. (Bug#9935)
4509 Reported by Colin D Bennett <colin@gibibit.com>.
4511 2011-11-01 Martin Rudalics <rudalics@gmx.at>
4513 * help.el (with-help-window): Don't reference
4514 temp-buffer-show-specifiers in doc-string.
4516 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4518 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4521 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4523 * whitespace.el: New version 13.2.2.
4524 (whitespace-newline-mode): Disable properly. Reported by Sarah
4527 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
4529 * net/newst-treeview.el: Remove "Time-stamp".
4530 (newsticker--group-manage-orphan-feeds): Do not call
4531 newsticker--treeview-tree-update.
4532 (newsticker-treeview-update, newsticker-treeview):
4533 Call newsticker--treeview-tree-update if necessary.
4535 2011-10-30 Martin Rudalics <rudalics@gmx.at>
4537 * window.el (window-iso-combination-p, window-iso-combined-p)
4538 (window-iso-combinations): Remove "iso-" infix.
4539 Suggested by Chong Yidong.
4540 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4541 (window-max-delta-1, window-resize, window--resize-siblings)
4542 (window--resize-this-window, adjust-window-trailing-edge)
4543 (split-window, balance-windows-1)
4544 (shrink-window-if-larger-than-buffer):
4545 * calendar/calendar.el (calendar-generate-window):
4546 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
4548 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4550 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4551 in place (bug#9907).
4552 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4553 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4554 (eshell-structure-basic-command, eshell-rewrite-while-command)
4555 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4556 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4557 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4558 (eshell-do-pipelines-synchronously, eshell-eval-command):
4559 Use backquotes and prefer setq to set.
4560 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4561 (eshell-macrop): Use functionp.
4562 (eshell-do-eval): Handle multiple expressions in `while' body.
4564 2011-10-30 Chong Yidong <cyd@gnu.org>
4566 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4567 instead of set-mark (Bug#9810).
4569 2011-10-30 Chong Yidong <cyd@gnu.org>
4571 * window.el (split-window-below, split-window-right): Rename from
4572 split-window-above-each-other and split-window-side-by-side
4573 respectively. All callers changed.
4574 (split-window-sensibly, split-window-sensibly): Use them.
4575 (split-window-keep-point): Doc fix.
4577 * isearch.el: Add isearch-scroll property to split-window-below
4578 and split-window-right.
4580 * follow.el (follow-mode):
4581 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4582 * progmodes/ada-xref.el (ada-gdb-application):
4583 * emulation/vip.el (vip-buffer-in-two-windows):
4584 * image-dired.el (image-dired-dired-with-window-configuration):
4585 * dired-x.el (dired-do-find-marked-files):
4586 * dired.el (dired-pop-to-buffer):
4587 * bs.el (bs--show-with-configuration):
4588 * vc/emerge.el (emerge-setup-windows):
4589 * textmodes/two-column.el (2C-two-columns):
4590 * textmodes/reftex-toc.el (reftex-toc):
4591 * progmodes/gdb-mi.el (gdb-setup-windows):
4592 * progmodes/fortran.el (fortran-window-create):
4593 * net/newst-treeview.el (newsticker--treeview-window-init):
4594 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4595 * emulation/tpu-edt.el (tpu-gold-map):
4596 * emulation/crisp.el (crisp-mode-map):
4597 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4599 2011-10-29 Chong Yidong <cyd@gnu.org>
4601 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4603 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4605 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4606 forged Ispell output (Bug#7904).
4608 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4610 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4612 * doc-view.el: Avoid ugly errors about not finding nil.
4613 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4614 (doc-view-dvipdf-program, doc-view-unoconv-program)
4615 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4616 Avoid nil or absolute file name as default value.
4617 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4619 2011-10-28 Alan Mackenzie <acm@muc.de>
4621 * progmodes/cc-defs.el (c-version): -> 5.32.2.
4623 2011-10-28 Alan Mackenzie <acm@muc.de>
4625 Amend the handling of c-beginning/end-of-defun in nested declaration
4628 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4629 cc-langs.el. Change it to a defcustom.
4631 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4634 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4635 Prevent "class foo : bar" being spuriously recognized as a label.
4637 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
4638 Add parameter `inclusive' (to include enclosing braces in the region).
4639 (c-widen-to-enclosing-decl-scope): New function.
4640 (c-while-widening-to-decl-block): New macro.
4641 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4642 outward for defun boundaries, and correspondingly change symbol
4643 `respect-enclosure' to `go-outward'.
4644 (c-declaration-limits): Change algorithm to report only the "innermost"
4647 2011-10-28 Deniz Dogan <deniz@dogan.se>
4649 * net/rcirc.el (rcirc-mode): Use hard newlines.
4651 2011-10-28 Alan Mackenzie <acm@muc.de>
4653 Amend to indent and fontify macros "which include their own semicolon"
4654 correctly, using the "virtual semicolon" mechanism.
4656 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
4658 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4659 Recode to scan one line at a time rather than having \n and \r
4660 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
4661 (c-forward-label): Amend for virtual semicolons.
4662 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
4664 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4665 of the new C macros.
4667 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
4668 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4669 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
4670 (c-opt-cpp-macro-define): Make into a full language variable.
4671 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4672 AWK Mode (including \n, \r) removed, no longer needed.
4674 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4675 Invoke c-make-macro-with-semi-re.
4677 * progmodes/cc-vars.el (c-macro-with-semi-re):
4678 (c-macro-names-with-semicolon): New variables.
4679 (c-make-macro-with-semi-re): New function.
4681 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4683 * vc/log-edit.el: Fill empty field rather than adding new one.
4684 (log-edit-add-field): New function.
4685 (log-edit-insert-changelog): Use it.
4687 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4689 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4691 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4693 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4694 (gdb--check-interpreter): New function.
4697 2011-10-27 Glenn Morris <rgm@gnu.org>
4699 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4700 (least-positive-float, least-negative-float)
4701 (least-positive-normalized-float, least-negative-normalized-float)
4702 (float-epsilon, float-negative-epsilon):
4703 Remove unnecessary declarations.
4705 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4706 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4707 (least-positive-float, least-negative-float)
4708 (least-positive-normalized-float, least-negative-normalized-float)
4709 (float-epsilon, float-negative-epsilon): Add doc-strings,
4710 based on those in cl.texi.
4712 * files.el (set-visited-file-name): If the major-mode changed,
4713 reload the local variables. (Bug#9796)
4715 2011-10-27 Chong Yidong <cyd@gnu.org>
4717 * subr.el (change-major-mode-after-body-hook): New hook.
4718 (run-mode-hooks): Run it.
4720 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4721 Use change-major-mode-before-body-hook.
4723 * simple.el (fundamental-mode):
4724 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4725 change introducing fundamental-mode-hook.
4727 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
4729 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
4731 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
4733 * ido.el (ido-file-name-all-completions-1): Do not require
4734 tramp.el explicitly. (Bug#7583)
4736 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4738 * progmodes/octave-mod.el:
4739 * progmodes/octave-inf.el: Update maintainer.
4741 2011-10-26 Chong Yidong <cyd@gnu.org>
4743 * subr.el (with-wrapper-hook): Rewrite doc.
4745 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
4747 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
4748 filenames "/method:foo:". (Bug#9793)
4750 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4752 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4755 2011-10-24 Glenn Morris <rgm@gnu.org>
4757 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4759 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
4761 * notifications.el: Add the requirement of a running D-Bus session
4762 bus to the Commentary.
4764 2011-10-24 Juri Linkov <juri@jurta.org>
4766 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4767 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4770 2011-10-24 Juri Linkov <juri@jurta.org>
4772 * info.el (Info-following-node-name-re): Add newline to the list
4773 of allowed characters for leading space. (Bug#9824)
4775 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4777 * progmodes/octave-inf.el (inferior-octave-mode-map):
4778 Fix C-c C-h binding.
4779 * progmodes/octave-mod.el (octave-help): Remove.
4781 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
4783 Sync with Tramp 2.2.3.
4785 * net/tramp-cache.el (top): Pacify byte-compiler using
4786 `init-file-user' and `site-run-file'.
4788 * net/trampver.el: Update release number.
4790 2011-10-23 Chong Yidong <cyd@gnu.org>
4792 * files.el (toggle-read-only): Remove obsolete comment about
4795 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4796 for toggle-read-only. Note that this hasn't called vc-next-action
4797 since 2008-05-02, though it wasn't documented at the time.
4799 * vc/ediff-init.el (ediff-toggle-read-only-function):
4800 Use toggle-read-only.
4802 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4804 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4807 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4808 correct faulty logical expression.
4809 (c-parse-state-state, c-record-parse-state-state):
4810 (c-replay-parse-state-state): New defvar/defuns.
4811 (c-debug-parse-state): Use new functions.
4813 2011-10-22 Martin Rudalics <rudalics@gmx.at>
4815 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
4816 last fix. Use window-in-direction correctly.
4818 2011-10-21 Chong Yidong <cyd@gnu.org>
4820 * progmodes/idlwave.el (idlwave-mode):
4821 * progmodes/vera-mode.el (vera-mode): No need to set
4822 require-final-newline; that's done in prog-mode.
4823 Suggested by Stefan Monnier.
4825 2011-10-21 Martin Rudalics <rudalics@gmx.at>
4827 * mouse.el (mouse-drag-window-above)
4828 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4829 (mouse-drag-mode-line-1, mouse-drag-header-line)
4830 (mouse-drag-vertical-line-rightward-window): Remove.
4831 (mouse-drag-line): New function.
4832 (mouse-drag-mode-line, mouse-drag-header-line)
4833 (mouse-drag-vertical-line): Call mouse-drag-line.
4834 * window.el (window-at-side-p, windows-at-side): New functions.
4836 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
4838 * tar-mode.el (tar-grind-file-mode):
4839 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4841 2011-10-21 Chong Yidong <cyd@gnu.org>
4843 * progmodes/idlwave.el (idlwave-mode):
4844 * progmodes/vera-mode.el (vera-mode):
4845 Use mode-require-final-newline.
4847 2011-10-20 Glenn Morris <rgm@gnu.org>
4849 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
4851 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4853 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4855 2011-10-20 Chong Yidong <cyd@gnu.org>
4857 * emulation/cua-base.el (cua-mode):
4858 * mail/footnote.el (footnote-mode):
4859 * mail/mailabbrev.el (mail-abbrevs-mode):
4860 * net/xesam.el (xesam-minor-mode):
4861 * progmodes/bug-reference.el (bug-reference-mode):
4862 * progmodes/cap-words.el (capitalized-words-mode):
4863 * progmodes/compile.el (compilation-minor-mode)
4864 (compilation-shell-minor-mode):
4865 * progmodes/gud.el (gud-tooltip-mode):
4866 * progmodes/hideif.el (hide-ifdef-mode):
4867 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4868 * progmodes/subword.el (subword-mode):
4869 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4870 * progmodes/which-func.el (which-function-mode):
4871 * term/tvi970.el (tvi970-set-keypad-mode):
4872 * term/vt100.el (vt100-wide-mode):
4873 * textmodes/flyspell.el (flyspell-mode):
4874 * textmodes/ispell.el (ispell-minor-mode):
4875 * textmodes/nroff-mode.el (nroff-electric-mode):
4876 * textmodes/paragraphs.el (use-hard-newlines):
4877 * textmodes/refill.el (refill-mode):
4878 * textmodes/reftex.el (reftex-mode):
4879 * textmodes/rst.el (rst-minor-mode):
4880 * textmodes/sgml-mode.el (html-autoview-mode)
4881 (sgml-electric-tag-pair-mode):
4882 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4883 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4884 * emulation/crisp.el (crisp-mode):
4885 * emacs-lisp/eldoc.el (eldoc-mode):
4886 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4887 minor mode behavior.
4889 2011-10-19 Juri Linkov <juri@jurta.org>
4891 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4892 the list of hard-coded chars with escape-glyph face.
4894 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4896 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4898 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
4900 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4903 2011-10-19 Glenn Morris <rgm@gnu.org>
4905 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4906 Ignore ignored files. (Bug#9726)
4908 2011-10-19 Chong Yidong <cyd@gnu.org>
4910 Doc fix for minor modes, stating that an omitted argument enables
4911 the mode unconditionally when called from Lisp.
4913 * abbrev.el (abbrev-mode):
4914 * allout.el (allout-mode):
4915 * autoinsert.el (auto-insert-mode):
4916 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4917 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4918 (global-auto-revert-mode):
4919 * battery.el (display-battery-mode):
4920 * composite.el (global-auto-composition-mode)
4921 (auto-composition-mode):
4922 * delsel.el (delete-selection-mode):
4923 * desktop.el (desktop-save-mode):
4924 * dired-x.el (dired-omit-mode):
4925 * dirtrack.el (dirtrack-mode):
4926 * doc-view.el (doc-view-minor-mode):
4927 * double.el (double-mode):
4928 * electric.el (electric-indent-mode, electric-pair-mode):
4929 * emacs-lock.el (emacs-lock-mode):
4930 * epa-hook.el (auto-encryption-mode):
4931 * follow.el (follow-mode):
4932 * font-core.el (font-lock-mode):
4933 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4934 * help.el (temp-buffer-resize-mode):
4935 * hilit-chg.el (highlight-changes-mode)
4936 (highlight-changes-visible-mode):
4937 * hi-lock.el (hi-lock-mode):
4938 * hl-line.el (hl-line-mode, global-hl-line-mode):
4939 * icomplete.el (icomplete-mode):
4940 * ido.el (ido-everywhere):
4941 * image-file.el (auto-image-file-mode):
4942 * image-mode.el (image-minor-mode):
4943 * iswitchb.el (iswitchb-mode):
4944 * jka-cmpr-hook.el (auto-compression-mode):
4945 * linum.el (linum-mode):
4946 * longlines.el (longlines-mode):
4947 * master.el (master-mode):
4948 * mb-depth.el (minibuffer-depth-indicate-mode):
4949 * menu-bar.el (menu-bar-mode):
4950 * minibuf-eldef.el (minibuffer-electric-default-mode):
4951 * mouse-sel.el (mouse-sel-mode):
4952 * msb.el (msb-mode):
4953 * mwheel.el (mouse-wheel-mode):
4954 * outline.el (outline-minor-mode):
4955 * paren.el (show-paren-mode):
4956 * recentf.el (recentf-mode):
4957 * reveal.el (reveal-mode, global-reveal-mode):
4958 * rfn-eshadow.el (file-name-shadow-mode):
4959 * ruler-mode.el (ruler-mode):
4960 * savehist.el (savehist-mode):
4961 * scroll-all.el (scroll-all-mode):
4962 * scroll-bar.el (scroll-bar-mode):
4963 * server.el (server-mode):
4964 * shell.el (shell-dirtrack-mode):
4965 * simple.el (auto-fill-mode, transient-mark-mode)
4966 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4967 (line-number-mode, column-number-mode, size-indication-mode)
4968 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4969 * strokes.el (strokes-mode):
4970 * time.el (display-time-mode):
4971 * t-mouse.el (gpm-mouse-mode):
4972 * tool-bar.el (tool-bar-mode):
4973 * tooltip.el (tooltip-mode):
4974 * type-break.el (type-break-mode-line-message-mode)
4975 (type-break-query-mode):
4976 * view.el (view-mode):
4977 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4978 (global-whitespace-mode, global-whitespace-newline-mode):
4979 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4981 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4982 Fix autogenerated docstring.
4984 2011-10-19 Juri Linkov <juri@jurta.org>
4986 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4987 by checking environment variables "DESKTOP_SESSION" and
4988 "XDG_CURRENT_DESKTOP". (Bug#9779)
4990 2011-10-19 Juri Linkov <juri@jurta.org>
4992 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4993 (browse-url-chromium-program, browse-url-chromium-arguments):
4995 (browse-url-default-browser): Check for `browse-url-chromium' and
4996 call `browse-url-chromium-program'.
4997 (browse-url-chromium): New command. (Bug#9779)
4999 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
5001 * facemenu.el (list-colors-duplicates): On Windows, detect more
5002 duplicates by assuming that only colors matching "^System" are
5003 special "system colors". (Bug#9722)
5005 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5007 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5008 to distinguish the author from the committer.
5010 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
5012 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5014 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5016 * international/mule.el (sgml-html-meta-auto-coding-function):
5017 Add support for detecting encoding in HTML5 specified only as
5018 <meta charset="UTF-8">. Implementation just makes http-equiv and
5019 content-type parts from HTML4 encoding string optional. (Bug#9716)
5021 2011-10-18 Glenn Morris <rgm@gnu.org>
5023 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5025 2011-10-18 Chong Yidong <cyd@gnu.org>
5027 * faces.el (cursor): Doc fix.
5029 2011-10-17 Chong Yidong <cyd@gnu.org>
5031 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5033 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
5035 * dirtrack.el (dirtrack): Support shell buffers with path
5036 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5038 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5040 * json.el: Bump version to 1.3 and note change in History.
5041 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5043 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5045 * comint.el (comint-insert-input, comint-send-input)
5046 (comint-get-old-input-default, comint-backward-matching-input)
5047 (comint-next-prompt): Use nil instead of `input' for field property of
5048 past user input (bug#114).
5050 * minibuffer.el (completion--replace): Inherit surrounding properties
5052 (minibuffer-complete-and-exit): Use it.
5054 * comint.el (comint--table-subvert): Quote the all-completions output
5057 2011-10-17 Martin Rudalics <rudalics@gmx.at>
5059 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
5061 * menu-bar.el (menu-bar-file-menu): Add entry for making new
5062 window on right of selected. (Bug#9350) Reword other window
5063 entries and separate them from frame entries.
5065 2011-10-15 Glenn Morris <rgm@gnu.org>
5067 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5070 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
5072 * net/network-stream.el (network-stream-open-starttls):
5073 Improve detection of failure due to lack of TLS support.
5075 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5076 putting the input text in front and in bold.
5078 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5080 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5082 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5085 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5086 unread-command-events rather than pushing yet-another event.
5088 2011-10-14 Eli Zaretskii <eliz@gnu.org>
5090 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5091 the explanation of the possible choices. Make the options passed
5092 to completing-read shorter.
5094 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5096 * textmodes/flyspell.el (flyspell-large-region): Make sure
5097 extended character mode is used if defined (Bug#1339).
5099 2011-10-13 Eli Zaretskii <eliz@gnu.org>
5101 * simple.el (what-cursor-position): Fix the display of the
5102 character info for LRE, LRO, RLE, and RLO characters by appending
5105 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5107 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5108 even in case of error; add debug spec; simplify data flow.
5109 (with-timeout-handler): Remove.
5111 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
5113 Fix Bug#6019, Bug#9315.
5115 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5116 complete `buffer-file-name', the local file name part could look
5117 remotely (for example on VMS).
5119 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5120 `tramp-run-real-handler'.
5121 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5122 already quoted by '"'.
5124 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5125 Let `file-name-handler-alist' be nil, the local file name part
5126 could look remotely (for example on VMS).
5128 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5130 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5132 (flyspell-post-command-hook): ...to here.
5134 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5136 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5138 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5139 using completion. Protect against "slow" callers.
5140 Remove the "message hack".
5142 2011-10-11 Juri Linkov <juri@jurta.org>
5144 * isearch.el (isearch-lazy-highlight-word): New variable.
5145 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5148 2011-10-11 Glenn Morris <rgm@gnu.org>
5150 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5151 like f90-previous-statement does.
5153 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5155 * eshell/eshell.el (eshell-command): History should be saved
5156 only in interactive use, to avoid error.
5158 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5160 * minibuffer.el (completion-file-name-table): Fix last change,
5161 i.e. ignore normal errors but not the other ones.
5163 2011-10-10 Martin Rudalics <rudalics@gmx.at>
5165 * window.el (special-display-buffer-names)
5166 (special-display-regexps): Remove some remnants of earlier
5167 changes from doc-strings.
5168 (quit-windows-on): New function.
5170 * vc/vc.el (vc-revert, vc-rollback):
5171 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5172 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
5173 (Bug#6183) (Bug#7074) (Bug#7447)
5175 2011-10-09 Martin Rudalics <rudalics@gmx.at>
5177 * window.el (frame-auto-hide-function): Add version tag.
5180 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
5182 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5185 2011-10-09 Leo Liu <sdl.web@gmail.com>
5187 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5190 2011-10-08 Glenn Morris <rgm@gnu.org>
5192 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5193 before the first code statement zero indent. (Bug#9690)
5195 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
5197 * simple.el (count-words-region): Always count in the region.
5198 Report the number of lines and characters too.
5199 (count-words): New command, which counts in the buffer if the
5200 region is inactive, as count-words-region used to.
5201 (count-words--message): New function. Handle plurals.
5202 (count-lines-region): Make it an alias for count-words-region.
5204 * bindings.el (esc-map): Replace count-lines-region with
5207 2011-10-08 Martin Rudalics <rudalics@gmx.at>
5209 * window.el (window--delete): Delete dedicated frame
5210 unconditionally when argument KILL is non-nil. (Bug#9699)
5211 (switch-to-buffer): Fix doc-string typo.
5213 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5215 * eshell/eshell.el (eshell-command): Avoid using hooks.
5217 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
5219 * bindings.el ([M-left],[M-right]): Bind to left-word and
5220 right-word respectively.
5222 2011-10-07 Glenn Morris <rgm@gnu.org>
5224 * cus-start.el (debug-on-quit): Fix custom type.
5226 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5228 * subr.el (define-key-after): Clarify that the function is not
5229 useful for non-menu keymaps.
5231 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5233 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5235 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
5236 in current minibuffer (Fix bug with recursive minibuffers).
5238 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
5240 * progmodes/gdb-mi.el (gdb): Doc fix.
5242 2011-10-05 Martin Rudalics <rudalics@gmx.at>
5244 * window.el (frame-auto-hide-function): New option replacing
5245 frame-auto-delete. Suggested by Stefan Monnier.
5246 (window--delete): Call frame-auto-hide-function instead of
5247 investigating frame-auto-delete.
5248 (window-point-1, set-window-point-1): New functions.
5249 (window-in-direction, record-window-buffer, window-state-get-1)
5250 (display-buffer-record-window): Use window-point-1 instead of
5252 (set-window-buffer-start-and-point): Use set-window-point-1.
5254 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5256 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5258 2011-10-05 Glenn Morris <rgm@gnu.org>
5260 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5261 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5263 2011-10-05 Leo Liu <sdl.web@gmail.com>
5265 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5266 works with buffer object.
5268 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5270 * mpc.el (mpc-tool-bar-map): Add labels.
5272 2011-10-04 Glenn Morris <rgm@gnu.org>
5274 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5276 2011-10-04 Martin Rudalics <rudalics@gmx.at>
5278 * window.el (window--delete): New function.
5279 (frame-auto-delete): Resuscitate option.
5280 (bury-buffer, replace-buffer-in-windows)
5281 (quit-window): Rewrite using window--delete.
5282 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5283 Pass display-buffer-mark-dedicated to window--display-buffer-2
5286 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5288 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5289 returns a list (bug#9554). Add remote file name completion.
5290 * comint.el (comint--table-subvert): Curry and get quote&unquote
5291 functions as arguments.
5292 (comint--complete-file-name-data): Adjust call accordingly.
5293 * pcomplete.el (pcomplete--table-subvert): Remove.
5294 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5296 * minibuffer.el (completion-table-case-fold): Use currying.
5297 (completion--styles-type, completion--cycling-threshold-type):
5299 (completion-styles, completion-category-overrides)
5300 (completion-cycle-threshold): Use them.
5301 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5302 completion-table-case-fold.
5304 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
5306 * minibuffer.el (completion-category-overrides): Fix type of styles
5307 and add more user friendly tags (bug#9660).
5309 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5311 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5312 (mule-input-method-string): New widget.
5313 (default-input-method, language-info-custom-alist): Use it.
5315 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5317 * pcomplete.el: Require comint.
5318 (pcomplete--common-suffix): Remove.
5319 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5320 (pcomplete--table-subvert): Sync with comint--table-subvert.
5321 (pcomplete--entries): Use comint-completion-file-name-table.
5322 * comint.el (comint-unquote-filename): Simplify.
5323 (comint-completion-file-name-table): New function (bug#9616).
5324 (comint--complete-file-name-data): Use it.
5326 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5327 (pcmpl-gnu-tar-buffer): Remove.
5328 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
5329 around. Make sure pcomplete-suffix-list is only changed temporarily.
5330 Don't look inside the tar's file if it's too large.
5332 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
5334 * cus-edit.el (custom-mode-map):
5335 * epa.el (epa-key-list-mode-map):
5336 * man.el (Man-mode-map):
5337 * startup.el (splash-screen-keymap):
5338 * simple.el (special-mode-map): Use scroll-up-command and
5339 scroll-down-command.
5341 * progmodes/idlw-help.el (idlwave-help-mode-map):
5342 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5343 * net/newst-plainview.el (newsticker-mode-map):
5344 * emulation/ws-mode.el (wordstar-mode-map):
5345 * emulation/vi.el (vi-com-map):
5346 * calc/calc-graph.el (calc-graph-show-dumb):
5347 * term/sun.el (terminal-init-sun):
5348 * term/ns-win.el (global-map):
5349 * progmodes/grep.el (grep-mode-map):
5350 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5351 * mail/rmail.el (rmail-mode-map):
5352 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5354 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5355 custom-safe-themes as special.
5357 2011-10-01 Julien Danjou <julien@danjou.info>
5359 * notifications.el (notifications-notify): Fix docstring.
5361 2011-10-01 Per Starbäck <per@starback.se>
5363 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5365 2011-09-30 Martin Rudalics <rudalics@gmx.at>
5367 * startup.el (command-line-1): Fix last fix by inserting
5368 initial-scratch-message into *scratch* before displaying it.
5369 (Bug#9605) and (Bug#9636)
5371 2011-09-29 Eli Zaretskii <eliz@gnu.org>
5373 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5374 window is hscrolled, move by logical lines. (Bug#9607)
5375 (line-move-visual): Update the doc string to the above effect.
5377 2011-09-29 Martin Rudalics <rudalics@gmx.at>
5379 * window.el (display-buffer-record-window): When WINDOW is the
5380 selected window use `point' instead of `window-point'. (Bug#9626)
5382 * startup.el (command-line-1): Use insert-before-markers when
5383 inserting initial-scratch-message. (Bug#9605)
5385 * help.el (help-window): Remove variable.
5387 2011-09-29 Glenn Morris <rgm@gnu.org>
5389 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5391 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
5393 * descr-text.el (describe-char-categories): Accept category
5394 descriptions more than one line long.
5396 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5398 * simple.el (delete-trailing-whitespace): Fix last change.
5400 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5401 Don't confuse "y => 3" as the beginning of a `y' operation.
5403 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5404 object has more than 4 slots (bug#9613).
5406 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
5408 * subr.el (with-output-to-temp-buffer):
5409 * net/quickurl.el (quickurl, quickurl-browse-url):
5410 Fix typos in docstrings.
5412 2011-09-27 Eli Zaretskii <eliz@gnu.org>
5414 * minibuffer.el (completion-styles)
5415 (completion-category-overrides): Cross reference each other in doc
5418 2011-09-27 Glenn Morris <rgm@gnu.org>
5420 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5421 to split-string. (Bug#9606)
5423 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5425 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5428 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
5430 * emacs-lisp/package.el (list-packages): Fix echo area message.
5432 2011-09-27 Leo Liu <sdl.web@gmail.com>
5434 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5436 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
5438 * net/dbus.el (dbus-unregister-object): Don't release services for
5439 registered signals. (Bug#9581)
5441 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5443 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5444 function that picks between cfengine 2 and 3 support
5445 automatically. Update docs accordingly.
5447 2011-09-22 Kenichi Handa <handa@m17n.org>
5449 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5451 (indian-itrans-v5-table-for-tamil): New variable.
5452 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5454 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5456 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5457 that's true if the current command involved collapsing of text.
5458 It's reset to false at the beginning of the next command.
5459 (allout-post-command-business): Move the cursor to the beginning
5460 of entry if the cursor is hidden and collapsing activity just
5463 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
5465 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5466 tracking (Bug#9541).
5468 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
5470 * net/newst-reader.el (newsticker-html-renderer)
5471 (newsticker-show-news): Automatically load html rendering package
5472 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5473 because w3m-fill-column is let-bound" and the error "Symbol's value
5474 as variable is void: w3m-fill-column".
5476 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
5478 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5479 Release services only if they are defined. (Bug#9581)
5481 2011-09-23 Richard Stallman <rms@gnu.org>
5483 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5484 distinguish start of paragraph from start of its text.
5486 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5488 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5489 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5490 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5492 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5494 * international/mule-diag.el (mule-diag): Insert a newline after
5495 each fontset description.
5497 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5499 * simple.el (delete-trailing-whitespace):
5500 Document last change; simplify.
5502 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5504 * simple.el (delete-trailing-whitespace): Also delete
5505 extra newlines at the end of the buffer.
5507 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5508 (picture-newline): Use forward-line so as to ignore fields.
5510 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5512 * subr.el (with-wrapper-hook): Fix edebug spec.
5514 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5516 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5519 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
5521 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5522 Fix nasty bug using wrong cached values.
5524 2011-09-23 Alan Mackenzie <acm@muc.de>
5526 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5528 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
5530 * window.el (pop-to-buffer): Ensure right window is selected if we
5531 chose another frame.
5533 2011-09-22 Eli Zaretskii <eliz@gnu.org>
5535 * simple.el (what-cursor-position): Use get-char-property-change
5536 and next-single-char-property-change, to be able to show display
5537 properties that come from overlays as well as text properties.
5539 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
5541 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5543 * cmuscheme.el (run-scheme, switch-to-scheme):
5544 * cus-edit.el (customize-group, custom-buffer-create)
5548 * mail/sendmail.el (mail):
5549 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5551 2011-09-22 Richard Stallman <rms@gnu.org>
5553 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5554 move back only to line beg, don't move back over blank lines.
5556 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
5558 * files.el (copy-directory): Set directory attributes only in case
5559 they could be retrieved from the source directory. (Bug#9565)
5561 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5563 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5564 (hs-find-block-beginning, hs-hide-level-recursive):
5565 Ignore strings as well as comments. (Bug#9502)
5567 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5569 * progmodes/sql.el (sql-comint-postgres):
5570 Convert port number to a string. (Bug#9566)
5572 2011-09-22 Martin Rudalics <rudalics@gmx.at>
5574 * window.el (quit-window): Undedicate window when switching to
5575 previous buffer. Reported by Thierry Volpiatto
5576 <thierry.volpiatto@gmail.com>.
5577 (special-display-popup-frame): When popping up a new frame reset
5578 its previous buffers to nil. Simplify code.
5580 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
5582 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5583 and process filter, as done also in `shell-command'.
5585 2011-09-21 Martin Rudalics <rudalics@gmx.at>
5587 * window.el (set-window-buffer-start-and-point):
5588 Call set-window-start with NOFORCE argument t.
5589 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5590 (quit-window): Reword doc-string. Handle new format of
5591 quit-restore parameter. Don't delete window if it has a
5592 previous buffer we can show instead of the present one.
5593 (display-buffer-record-window): Rewrite using a new format for
5594 the quit-restore window parameter
5595 (special-display-popup-frame, display-buffer-same-window)
5596 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5597 (display-buffer-pop-up-window, display-buffer-use-some-window):
5598 Adapt symbol passed to display-buffer-record-window.
5599 * help.el (help-window-setup): Handle new format of quit-restore
5602 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5604 * faces.el (face-list): Fix docstring (bug#9564).
5606 * window.el (display-buffer--action-function-custom-type):
5607 Don't include internal functions in the Custom interface.
5609 2011-09-20 Juri Linkov <juri@jurta.org>
5611 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5612 (Info-forward-node, Info-backward-node, Info-next-preorder)
5613 (Info-last-preorder): Use it. (Bug#9528)
5615 2011-09-20 Juri Linkov <juri@jurta.org>
5617 * info.el (Info-last-preorder): Visit last menu item only when
5618 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5620 2011-09-20 Julien Danjou <julien@danjou.info>
5622 * password-cache.el (password-cache-remove): Remove entries even if the
5623 value is nil, so that password with a nil value (negative caching) is
5624 possible to invalidate.
5626 2011-09-20 Lawrence Mitchell <wence@gmx.li>
5628 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5629 all whitespace around breakpoint. (Bug#9553)
5630 (f90-find-breakpoint): Only break at whitespace inside a comment.
5632 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5634 * minibuffer.el (completion-file-name-table): Keep track of errors.
5635 (completion-table-with-predicate): Handle the case where pred1 is nil.
5636 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5638 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5640 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5641 (debugger-return-value): Signal an error if the debugging context does
5642 not await any return value.
5644 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5645 * image-mode.el (image-toggle-display-text)
5646 (image-toggle-display-image): Stay away from evil `intangible'.
5648 2011-09-19 Leo Liu <sdl.web@gmail.com>
5650 * replace.el (occur-revert-arguments): Make it permanent-local.
5651 (occur-mode): Don't call font-lock-defontify.
5653 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
5655 * net/ldap.el (ldap-search-internal): Don't push empty search
5658 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5660 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5662 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
5664 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5665 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5667 2011-09-18 Juri Linkov <juri@jurta.org>
5669 * buff-menu.el (Buffer-menu-mode-map):
5670 * dired.el (dired-mode-map):
5671 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5672 (lisp-interaction-mode-map):
5673 * emacs-lisp/package.el (package-menu-mode-map):
5674 * epa.el (epa-key-list-mode-map):
5675 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5676 (menu-bar-options-menu):
5677 * outline.el (outline-mode-menu-bar-map):
5678 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5679 * vc/vc-dir.el (vc-dir-menu-map):
5680 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5681 Capitalize non-function content words in menu item strings.
5683 * dired.el (dired-mode-map): Add menu item for
5684 `image-dired-dired-toggle-marked-thumbs'.
5686 2011-09-18 Juri Linkov <juri@jurta.org>
5688 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5689 to `isearch-case-fold-search' and restore its original value
5690 after the `isearch-mode' call.
5692 2011-09-18 Juri Linkov <juri@jurta.org>
5694 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5695 because `zgrep' returns 1 for successful matches (bug#9226).
5697 2011-09-18 Juri Linkov <juri@jurta.org>
5699 * info.el (Info-extract-menu-node-name): Check the second match
5700 for empty string (second test-case of bug#9528).
5701 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5702 intermediate nodes to the history (first test-case of bug#9528).
5704 2011-09-18 Juri Linkov <juri@jurta.org>
5706 * info.el (Info-mode-syntax-table): New variable.
5707 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
5709 2011-09-18 Juri Linkov <juri@jurta.org>
5711 * info.el (Info-file-supports-index-cookies):
5712 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5713 outputs one more line for long file names (bug#4142).
5715 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
5717 * newcomment.el (comment-normalize-vars): If prompting for
5718 comment-start, set comment-start-skip too (Bug#8424).
5720 2011-09-18 Johan Bockgård <bojohan@gnu.org>
5722 * icomplete.el: Fix previous fix of Bug#5849.
5723 (icomplete-mode): Don't set completion-show-inline-help.
5724 (icomplete-minibuffer-setup): Set completion-show-inline-help
5725 locally during icompletion.
5727 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
5729 * woman.el (woman2-process-escapes): Don't delete unrecognized
5732 * files.el (inhibit-first-line-modes-regexps): Add image files.
5733 (hack-local-variables-prop-line): Return nil for malformed
5734 prop-lines (Bug#9044).
5736 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
5738 * net/tramp.el (top): Don't require 'shell.
5739 (tramp-methods): Fix docstring.
5740 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
5741 Return complete remote file name. Handle "smb" case.
5742 Use `tramp-tmpdir', if defined for the respective method.
5743 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5745 * net/tramp-compat.el (top): Require 'shell.
5747 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5748 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5749 `tramp-current-host'.
5750 (tramp-get-remote-tmpdir): Remove.
5752 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5753 `tramp-tmpdir' entries.
5754 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5755 (tramp-smb-handle-file-attributes): Ignore errors.
5756 (tramp-smb-wait-for-output): Check also for process end.
5758 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5760 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5761 when sending QUIT (bug#9312).
5763 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
5765 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5766 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5767 occur-mode-display-occurrence.
5768 (occur-edit-mode): Add usage message.
5769 (occur-cease-edit): New command.
5770 (occur-after-change-function): Use text properties to find the
5771 position of the prefix text.
5772 (occur-engine): Set stickiness of prefix text properties.
5774 2011-09-17 Glenn Morris <rgm@gnu.org>
5776 * progmodes/etags.el (complete-tag):
5777 Fix call to completion-in-region. (Bug#9526)
5779 2011-09-17 Juri Linkov <juri@jurta.org>
5781 * textmodes/ispell.el (ispell-word): Add to the error message
5782 the word, ispell program name and current dictionary (bug#9121).
5783 (ispell-tex-arg-end): Capitalize "error" in the error message.
5785 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5787 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5790 2011-09-17 Juri Linkov <juri@jurta.org>
5792 * window.el (window-safe-min-height, window-safe-min-width):
5793 Fix typos (followup to bug#9522).
5795 2011-09-17 Sven Joachim <svenjoac@gmx.de>
5797 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5799 2011-09-16 Eli Zaretskii <eliz@gnu.org>
5801 * simple.el (line-move): If goal-column is set, move by logical
5802 lines, not by display lines. (Bug#971)
5803 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5804 to reflect the above change.
5806 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5808 * image.el (imagemagick-register-types): Use regexp-opt.
5810 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
5812 * window.el (display-buffer-base-action): Rename from
5813 display-buffer-default-action. Make default value empty.
5814 (display-buffer-overriding-action): Convert to defvar.
5815 (display-buffer-fallback-action): New var.
5817 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
5819 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5821 (package--add-to-archive-contents): If there is a duplicate entry
5822 with an older version, remove it.
5823 (package-menu-mark-delete, package-menu-mark-install)
5824 (package-menu-mark-unmark): Make unused args optional.
5825 (package-menu-mark-obsolete-for-deletion):
5826 Use package-menu-get-status instead of a regexp search.
5827 (package-menu-get-status): Use tabulated-list-entry.
5828 (package-menu-mark-upgrades): New command.
5829 (package-menu-mode-map): Bind it to U. Add it to menu bar.
5830 (package-menu-execute): Do installation before deletion.
5831 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5832 instead of checking major-mode.
5833 (package-menu--find-upgrades): New function.
5835 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5837 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5838 passwords in the log buffer.
5839 (smtpmail-process-filter): Update the process marker so that the
5840 "broken by peer" status message is inserted in the right place.
5842 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5844 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5845 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5846 bibtex-completion-at-point-function.
5847 (bibtex-completion-at-point-function): Use them.
5849 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5851 * mpc.el (mpc-constraints-tag-lookup): New function.
5852 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5853 also to browser "album|playlist".
5855 2011-09-14 Juri Linkov <juri@jurta.org>
5857 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5858 (isearch-edit-string): Use length of `isearch-string' when
5859 `isearch-fail-pos' returns nil.
5860 (isearch-message): Remove duplicate code and call
5861 `isearch-fail-pos' with arg `t'.
5863 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
5865 * replace.el (occur-mode-goto-occurrence): Don't force using other
5868 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5870 2011-09-14 Martin Rudalics <rudalics@gmx.at>
5872 * window.el (display-buffer-window): Remove.
5873 (display-buffer-record-window): Use help-setup window parameter
5874 instead of variable display-buffer-window.
5875 (display-buffer-function, special-display-buffer-names)
5876 (special-display-function): Mention help-setup parameter instead
5877 of display-buffer-window in doc-string.
5878 * help.el (help-window-setup): New argument help-window.
5879 Use help-window-setup parameter instead of display-buffer-window.
5880 Reword some messages.
5881 (with-help-window): Pass window used for displaying the buffer
5882 to help-window-setup. Don't set display-buffer-window.
5884 2011-09-13 Glenn Morris <rgm@gnu.org>
5886 * emacs-lisp/debug.el (debugger-make-xrefs):
5887 Preserve point. (Bug#9462)
5889 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
5891 * window.el (window-deletable-p): Use next-frame.
5893 2011-09-13 Martin Rudalics <rudalics@gmx.at>
5895 * window.el (window-auto-delete): Remove.
5896 (window-deletable-p): Remove argument FORCE. Don't deal with
5897 dedication and previous buffers.
5898 (switch-to-prev-buffer): Don't delete window.
5899 (delete-windows-on): Delete a window's frame if and only if the
5900 window is dedicated.
5901 (replace-buffer-in-windows): Delete buffer's window or frame if
5902 and only if window is dedicated.
5903 (quit-window): Handle quit-restore as before last change.
5904 (bury-buffer): Delete window only if window-deletable-p returns t.
5906 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
5908 * window.el (window-deletable-p): Never delete the last frame on a
5911 2011-09-13 Glenn Morris <rgm@gnu.org>
5913 * help.el (describe-key-briefly): Copy previous standard-output change.
5915 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
5917 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5919 2011-09-13 Glenn Morris <rgm@gnu.org>
5921 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5922 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5924 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
5926 * dired-aux.el (dired-mark-read-string): Don't return default
5927 value on empty input (Bug#9361).
5928 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5929 Omit initial minibuffer contents.
5930 (dired-do-chmod): Signal an error on empty input.
5931 (dired-mark-read-string): Don't return default on empty input.
5933 * files.el (file-modes-symbolic-to-number): Doc fix.
5935 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5937 * international/mule-cmds.el (ucs-completions): Remove.
5938 (read-char-by-name): Use complete-with-action instead; add metadata.
5940 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
5942 * window.el (display-buffer--action-function-custom-type)
5943 (display-buffer--action-custom-type): New vars.
5944 (display-buffer-alist, display-buffer-default-action)
5945 (display-buffer-overriding-action): Add defcustom types.
5947 * frame.el (delete-other-frames): Doc fix (Bug#276).
5949 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5951 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5953 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
5955 Change modes that used same-window-* vars to use switch-to-buffer.
5957 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5958 Use switch-to-buffer.
5960 * cus-edit.el (customize-group, custom-buffer-create)
5961 (customize-browse, custom-buffer-create-other-window):
5962 Use switch-to-buffer or switch-to-buffer-other-window.
5964 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5965 (Info-prev, Info-up, Info-speedbar-goto-node)
5966 (info-display-manual): Use switch-to-buffer.
5967 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5969 * mail/sendmail.el (mail): Use switch-to-buffer.
5970 (mail-recover): Use switch-to-buffer-other-window.
5972 * cmuscheme.el (run-scheme, switch-to-scheme):
5975 * net/rlogin.el (rlogin):
5976 * net/telnet.el (telnet, rsh):
5977 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5979 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5981 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5983 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5985 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5986 so don't mention it (bug#9301).
5987 (dired-sort-toggle-or-edit): Clarify string further.
5989 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5990 match `x', `w32' and `ns', like the manual says (bug#9029).
5992 * subr.el (eval-after-load): Doc string clarification (bug#9125).
5993 (process-kill-buffer-query-function): Mention the buffer name in
5996 * image-mode.el (image-next-line): The line parameter is mandatory
5999 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6000 which can be useful (bug#9301).
6002 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6004 * subr.el (match-string): Mention that the current buffer should
6005 be the same as the search was done in (bug#9282).
6007 * facemenu.el: Disable the remove-* commands if the mark isn't
6010 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6012 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6014 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6016 * replace.el (occur-mode-goto-occurrence)
6017 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6020 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6023 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6024 special-display and same-window variables.
6025 (mail-other-window): Use switch-to-buffer-other-window.
6026 (mail-other-frame): USe switch-to-buffer-other-frame.
6028 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6029 Use display-buffer-other-frame.
6030 (gdb-display-gdb-buffer): Use pop-to-buffer.
6032 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6034 * progmodes/python.el: Don't set same-window-buffer-names.
6036 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6038 * window.el (display-buffer-alist): Add *Python*.
6040 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6042 * window.el (display-buffer-alist): Add entry for buffers
6043 previously handled same-window-*.
6044 (display-buffer-alist, display-buffer-default-action)
6045 (display-buffer-overriding-action): Mark as risky.
6046 (display-buffer-alist): Document action function changes.
6047 (display-buffer--same-window-action)
6048 (display-buffer--other-frame-action): New variables.
6049 (switch-to-buffer, display-buffer-other-frame): Use them.
6050 (display-buffer): Rename reuse-frame entry to reusable-frames.
6051 (display-buffer-reuse-selected-window): Function deleted.
6052 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6053 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6054 (display-buffer-special): New function.
6055 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6056 display-buffer-reuse-or-pop-window. Split off special-display
6057 part into display-buffer-special.
6058 (display-buffer-use-some-window): Don't perform any special
6059 pop-up-frames handling.
6060 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
6061 (display-buffer--maybe-same-window): Rename from
6062 display-buffer-maybe-same-window.
6064 * info.el: Don't set same-window-regexps.
6065 (info-setup): New function.
6066 (info-other-window, info): Call it.
6068 * cus-edit.el: Don't set same-window-regexps.
6069 (customize-group): New argument.
6070 (customize-group-other-window): Use it.
6071 (customize-face, customize-face-other-window): Likewise.
6072 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6076 * progmodes/gud.el: Don't set same-window-regexps.
6082 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6084 2011-09-10 Juri Linkov <juri@jurta.org>
6086 * isearch.el (isearch-edit-string): Remove obsolete mention of
6087 `C-w' (`isearch-yank-word-or-char') from docstring.
6088 (isearch-query-replace): Fix typo in docstring (bug#9466).
6090 2011-09-10 Juri Linkov <juri@jurta.org>
6092 * paren.el (show-paren-function): Don't show escaped parens.
6093 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6095 2011-09-10 Eli Zaretskii <eliz@gnu.org>
6097 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6098 (mm-default-file-encoding): Remove autoload forms, they are
6099 replaced with autoload cookies in mml.el and mm-encode.el.
6100 (mail-add-attachment): New command.
6101 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6102 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6104 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6106 2011-09-10 Reuben Thomas <rrt@sc3d.org>
6108 * simple.el (count-words-region): Use buffer if there's no region
6111 2011-09-09 Juri Linkov <juri@jurta.org>
6113 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6114 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6115 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6117 2011-09-09 Alan Mackenzie <acm@muc.de>
6119 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6120 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6122 2011-09-09 Eli Zaretskii <eliz@gnu.org>
6124 Fix for Savannah bug#9392.
6125 * simple.el (mail-encode-mml): New defvar.
6127 * mail/rmail.el (mail-encode-mml): Add a defvar.
6128 (rmail-enable-mime-composing): Default to t.
6129 (rmail-forward): Use MIME method of forwarding only if both
6130 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6131 Set mail-encode-mml non-nil if the MIME method was used.
6133 * mail/sendmail.el (mml-to-mime): Add autoload form.
6134 (mail-encode-mml): Add a defvar.
6135 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6137 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6138 message through mml-to-mime, and reset mail-encode-mml to nil.
6140 2011-09-09 Glenn Morris <rgm@gnu.org>
6142 * woman.el (woman-if-body): When processing an .el block,
6143 do not delete the next .el block as well. (Bug#9447)
6144 (woman-special-characters): Add oq, cq, and hy characters.
6146 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6148 * window.el (window-deletable-p): Make sure window is live before
6149 invoking window-prev-buffers.
6151 2011-09-08 Leo Liu <sdl.web@gmail.com>
6153 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6155 2011-09-08 Juri Linkov <juri@jurta.org>
6157 * progmodes/compile.el (compilation-environment): Make it
6158 a defcustom (bug#8340).
6160 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6162 * window.el (frame-auto-delete): Rename to window-auto-delete.
6163 Make it control auto-deletion of windows and/or frames.
6164 (window-deletable-p): New argument FORCE. Rewrite conditions
6165 for deleting window/frame. (Bug#9419)
6166 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6167 Rewrite handling of case when window/frame can be deleted.
6168 (delete-windows-on): Call window-deletable-p with new FORCE
6169 argument t. (Bug#9456)
6171 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
6173 * help-mode.el (help-mode): Restore autoload.
6175 2011-09-07 Juri Linkov <juri@jurta.org>
6177 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6178 `compilation-environment'. Set buffer-local
6179 `compilation-environment' to `thisenv' later after (funcall mode).
6182 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6183 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6184 instead of replacing its value. (Bug#8340)
6186 2011-09-07 Juri Linkov <juri@jurta.org>
6188 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6189 based on text properties put by `grep-filter' instead of matching
6191 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6192 to the value of `grep-error-screen-columns' (bug#9438).
6194 2011-09-07 Juri Linkov <juri@jurta.org>
6196 * simple.el (next-error-highlight, next-error-highlight-no-select):
6199 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6201 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6202 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6204 2011-09-07 Leo Liu <sdl.web@gmail.com>
6206 * net/rcirc.el (rcirc-mode): Conditionally initialize
6209 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6211 * emacs-lisp/find-func.el (find-function-C-source): Only set
6212 find-function-C-source-directory after checking that we found a source
6213 file there (bug#9440).
6215 2011-09-06 Alan Mackenzie <acm@muc.de>
6217 * isearch.el (isearch-other-meta-char): Wherever a key list is
6218 unread, "unread" the prefix arg, too. This fixes bug #8901.
6220 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6222 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6224 2011-09-05 Juri Linkov <juri@jurta.org>
6226 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6228 2011-09-05 Juri Linkov <juri@jurta.org>
6230 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6231 keeping point where processing of grep matches begins, and
6232 continue to delete remaining escape sequences from the same point.
6233 (grep-filter): Make leading zero optional in "0?1;31m" because
6234 git-grep emits "\033[1;31m" escape sequences unlike expected
6235 "\033[01;31m" as GNU Grep does (bug#9408).
6236 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6238 2011-09-05 Juri Linkov <juri@jurta.org>
6240 * subr.el (y-or-n-p): Capitalize "yes".
6242 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
6244 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6245 `tramp-cache-unload-hook' where appropriate.
6246 (tramp-methods): Rename `tramp-remote-sh' to
6247 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6248 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6250 * net/tramp-sh.el (top): Don't require 'shell.
6251 (tramp-methods): Add `tramp-remote-shell' and
6252 `tramp-remote-shell-args' entries.
6253 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6254 (tramp-sh-handle-shell-command): Remove.
6255 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6256 Use `tramp-remote-shell'.
6258 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
6260 * mail/sendmail.el (sendmail-query-once-function): Delete.
6261 (sendmail-query-once): Save directly to send-mail-function.
6262 Update message-send-mail-function too.
6264 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6266 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6268 * progmodes/python.el (python-mode-map): Use correct function to
6269 start python interpreter from menu-bar (as reported by Geert
6271 (inferior-python-mode-map): Fix typo.
6272 (python-shell-map): Remove.
6274 2011-09-03 Deniz Dogan <deniz@dogan.se>
6276 * net/rcirc.el (rcirc-print): Simplify code for
6277 rcirc-scroll-show-maximum-output. There is no need to walk
6278 through all windows to find the right one.
6280 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6282 * help.el (help-return-method): Doc fix.
6284 2011-09-03 Martin Rudalics <rudalics@gmx.at>
6286 * window.el (window-deletable-p): Don't return a non-nil value
6287 when there's a buffer that was shown in the window before.
6289 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6290 Set window's previous buffers to nil.
6292 2011-09-03 Eli Zaretskii <eliz@gnu.org>
6294 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6295 newline before and after the tag line, so it doesn't interfere
6296 with determining the paragraph direction of bidirectional text.
6298 2011-09-03 Leo Liu <sdl.web@gmail.com>
6300 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6302 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6304 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
6305 (pop-to-buffer): Change interactive spec. Pass second argument
6306 directly to display-buffer.
6307 (display-buffer): Fix interactive spec. Use functionp to
6308 distinguish between a function and a list of functions.
6310 * abbrev.el (edit-abbrevs):
6311 * arc-mode.el (archive-extract):
6312 * autoinsert.el (auto-insert):
6313 * bookmark.el (bookmark-bmenu-list):
6314 * files.el (find-file):
6315 * view.el (view-buffer):
6316 * progmodes/compile.el (compilation-goto-locus):
6317 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6319 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6321 * window.el (display-buffer-alist): Doc fix.
6322 (display-buffer): Add docstring. Don't treat
6323 display-buffer-default specially.
6324 (display-buffer-reuse-selected-window)
6325 (display-buffer-same-window, display-buffer-maybe-same-window)
6326 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6327 (display-buffer-pop-up-window)
6328 (display-buffer-reuse-or-pop-window)
6329 (display-buffer-use-some-window): New functions.
6330 (display-buffer-default-action): Use them.
6331 (display-buffer-default): Delete.
6332 (pop-to-buffer-1): Fix choice of actions.
6334 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6336 * minibuffer.el (completion--insert-strings): Don't get confused by
6337 completion entries that end with an LF char.
6339 2011-09-01 Eli Zaretskii <eliz@gnu.org>
6341 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6343 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
6345 * window.el (display-buffer): Restore interactive spec.
6346 (display-buffer-same-window, display-buffer-other-window):
6348 (pop-to-buffer-1): New function. Use the above.
6349 (pop-to-buffer, pop-to-buffer-same-window): Use it.
6350 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
6352 * view.el (view-buffer-other-window, view-buffer-other-frame):
6353 Just use pop-to-buffer.
6355 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6357 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6359 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6361 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6363 2011-08-31 Richard Stallman <rms@gnu.org>
6365 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6366 of the separation of rmail-view-buffer from rmail-buffer.
6367 If you say no to "replace original", the decrypt is in the
6368 view buffer. If you say yes, the decrypt goes into the
6371 2011-08-31 Martin Rudalics <rudalics@gmx.at>
6373 * window.el (display-buffer-window): Rewrite doc-string.
6374 (display-buffer-record-window): New function.
6375 (display-buffer-macro-specifiers)
6376 (display-buffer-even-window-sizes, display-buffer-set-height)
6377 (display-buffer-set-width, display-buffer-in-window)
6378 (display-buffer-reuse-window, display-buffer-split-specifiers)
6379 (display-buffer-side-specifiers, display-buffer-split-window-1)
6380 (display-buffer-split-window, display-buffer-split-atom-window)
6381 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6382 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6383 (display-buffer-other-window-means-other-frame)
6384 (display-buffer-normalize-special)
6385 (display-buffer-normalize-default)
6386 (display-buffer-normalize-argument)
6387 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6388 (display-buffer-normalize-specifiers, display-buffer-frame)
6389 (display-buffer-same-window, display-buffer-same-frame)
6390 (display-buffer-other-window)
6391 (display-buffer-same-frame-other-window)
6392 (display-buffer-other-frame, pop-to-buffer-same-window)
6393 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6394 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6395 (switch-to-buffer-same-frame)
6396 (switch-to-buffer-other-window-same-frame)
6397 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6398 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6399 (display-buffer-alist-set): Remove.
6400 (display-buffer-function, special-display-buffer-names)
6401 (special-display-regexps, special-display-function):
6402 In doc-string refer to display-buffer-window and quit-restore
6404 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6405 (special-display-frame-alist, special-display-popup-frame)
6406 (same-window-buffer-names, same-window-regexps, same-window-p)
6407 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6408 (split-window-preferred-function, split-height-threshold)
6409 (split-width-threshold, window-splittable-p)
6410 (split-window-sensibly, window--try-to-split-window)
6411 (window--frame-usable-p, even-window-heights)
6412 (window--even-window-heights, window--display-buffer-1)
6413 (window--display-buffer-2, display-buffer-other-frame):
6414 Restore old Emacs 23 code, order and doc-strings where applicable.
6415 (display-buffer-default, display-buffer-assq-regexp): New functions.
6416 (display-buffer-alist): Rewrite doc-string.
6417 (display-buffer-default-action)
6418 (display-buffer-overriding-action): New variables.
6419 (display-buffer, switch-to-buffer): Rewrite.
6420 (pop-to-buffer): Restore Emacs 23 behavior but use
6421 window-normalize-buffer-to-display.
6422 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6423 Restore Emacs 23 behavior but use
6424 window-normalize-buffer-to-switch-to.
6425 (pop-to-buffer-same-window): Rewrite.
6426 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6427 Rewrite using Emacs 23 options.
6429 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
6431 * net/tramp.el (tramp-root-regexp): Remove.
6432 (tramp-completion-file-name-regexp-unified)
6433 (tramp-completion-file-name-regexp-separate)
6434 (tramp-completion-file-name-regexp-url): Don't use leading volume
6435 letter on win32 systems. (Bug#5303, Bug#9311)
6436 (tramp-drop-volume-letter): Simplify definition.
6437 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
6439 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6441 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6444 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6446 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
6448 2011-08-29 Juri Linkov <juri@jurta.org>
6450 * isearch.el (isearch-done): Don't display message "Mark saved"
6451 when arg `edit' is non-nil to prevent its flicker in the echo area.
6453 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
6455 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6456 obsolete packages for deletion.
6458 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6460 * help-mode.el (help-mode-map): Add special-mode-map to parent.
6461 (help-mode): Derive help-mode from special-mode. Don't invoke
6462 view-mode from help-mode.
6463 (help-xref-override-view-map): Remove.
6464 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6465 view-mode is not used anymore.
6467 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
6469 * server.el (server-port): Doc fix.
6471 * cus-theme.el (custom-theme-choose-mode): Inherit from
6472 special-mode (Bug#9124).
6473 (custom-theme-choose-mode-map): Add special-mode to parent.
6475 2011-08-28 Alan Mackenzie <acm@muc.de>
6477 * progmodes/cc-fonts.el
6478 (c-make-font-lock-BO-decl-search-function): New function.
6479 (c-basic-matchers-after - "Fontify the clauses after various
6480 keywords"): Extract the three keyword lists for the 3 erroneous
6481 constructs from the list of four, and use the new function above
6482 in place of an old one.
6484 2011-08-28 Deniz Dogan <deniz@dogan.se>
6486 * net/rcirc.el (rcirc-insert-prev-input)
6487 (rcirc-insert-next-input): Remove unused argument.
6489 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6491 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6493 2011-08-27 Alan Mackenzie <acm@muc.de>
6495 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6496 handle function pointer parameters properly.
6498 2011-08-27 Martin Rudalics <rudalics@gmx.at>
6500 * window.el (display-buffer-reuse-window): Fix case where
6501 selected window was reused with non-nil OTHER-WINDOW argument.
6504 2011-08-27 Deniz Dogan <deniz@dogan.se>
6506 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6507 oftc's NickServ messages.
6509 2011-08-27 Glenn Morris <rgm@gnu.org>
6511 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6513 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
6515 * emacs-lisp/package.el (package-install): Call package-initialize
6516 if called interactively.
6518 2011-08-26 Leo Liu <sdl.web@gmail.com>
6520 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6522 2011-08-25 Juri Linkov <juri@jurta.org>
6524 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6525 `search-whitespace-regexp' (bug#9364).
6527 2011-08-25 Juri Linkov <juri@jurta.org>
6529 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6530 `regexp-search-ring' to their global values to protect from
6531 updating by `read-from-minibuffer' (bug#9185).
6533 2011-08-25 Juri Linkov <juri@jurta.org>
6535 * textmodes/ispell.el (ispell-command-loop): Add newline
6536 at the end of the "Use option `i'..." line.
6538 2011-08-25 Juri Linkov <juri@jurta.org>
6540 * battery.el (display-battery-mode): If `battery-status-function'
6541 or `battery-mode-line-format' is nil, display the message and set
6542 `display-battery-mode' to nil (bug#9363).
6544 2011-08-25 Eli Zaretskii <eliz@gnu.org>
6546 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6547 bidi-string-mark-left-to-right; they are unnecessary now.
6549 2011-08-25 Deniz Dogan <deniz@dogan.se>
6551 * net/quickurl.el: Documentation typo fixes.
6553 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
6555 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6557 2011-08-25 Glenn Morris <rgm@gnu.org>
6559 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6561 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6562 (smtpmail-via-smtp): Handle nil response from smtp.
6564 2011-08-24 Juri Linkov <juri@jurta.org>
6566 * proced.el (proced-marked): Inherit from `error' instead of
6567 `font-lock-warning-face'.
6569 * ibuffer.el (ibuffer-marked-face): Change default face from
6570 `font-lock-warning-face' to `warning'.
6571 (ibuffer-deletion-face): Change default face from
6572 `font-lock-type-face' to `error'.
6574 * battery.el (battery-update): Use the face `error' instead of
6575 `font-lock-warning-face' (bug#6117).
6577 2011-08-24 Juri Linkov <juri@jurta.org>
6579 * faces.el (success): Change face color from "Green3" to
6580 "ForestGreen" on light background (bug#9353).
6582 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
6584 * window.el (quit-window): Rename from quit-restore-window.
6585 Use same arglist as old quit-window.
6586 (frame-auto-delete): Doc fix.
6588 * view.el (view-mode-exit): Use quit-window.
6590 2011-08-24 Juri Linkov <juri@jurta.org>
6592 * isearch.el (isearch-ring-adjust1): Start visiting previous
6593 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6594 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6595 for empty search string (when the last search string is reused
6596 automatically) to adjust the isearch ring to the last element and
6597 prepare the correct index for further M-p commands (bug#9185).
6599 2011-08-24 Kenichi Handa <handa@m17n.org>
6601 * international/ucs-normalize.el: If decomposition property of
6602 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6604 (nfd, nfkd): Likewise.
6606 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6608 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6609 from process filters aren't reliably transmitted to the surrounding
6610 accept-process-output.
6611 (mpc-proc-check): New function.
6612 (mpc-proc-sync): Use it (bug#8293)
6614 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6616 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6617 Add compatibility functions (bug#9313).
6619 2011-08-23 Eli Zaretskii <eliz@gnu.org>
6621 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6623 * international/uni-bidi.el: Regenerate.
6625 2011-08-23 Kenichi Handa <handa@m17n.org>
6627 * international/charprop.el:
6628 * international/uni-bidi.el:
6629 * international/uni-category.el:
6630 * international/uni-combining.el:
6631 * international/uni-comment.el:
6632 * international/uni-decimal.el:
6633 * international/uni-decomposition.el:
6634 * international/uni-digit.el:
6635 * international/uni-lowercase.el:
6636 * international/uni-mirrored.el:
6637 * international/uni-name.el:
6638 * international/uni-numeric.el:
6639 * international/uni-old-name.el:
6640 * international/uni-titlecase.el:
6641 * international/uni-uppercase.el: Regenerate.
6643 2011-08-23 Martin Rudalics <rudalics@gmx.at>
6645 * help.el (help-window-setup): Fix message displayed when other
6646 window is reused. (Bug#9341)
6648 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6650 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6651 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6653 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6655 * shell.el (shell-parse-pcomplete-arguments): New function.
6656 (shell-completion-vars): Use it instead (bug#9160).
6658 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6660 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6661 strings and comments (bug#9333).
6663 * emacs-lisp/debug.el (debug-arglist): New function.
6664 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6665 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6667 2011-08-22 Juri Linkov <juri@jurta.org>
6669 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6670 Revert regexp that highlights output switches to its old
6671 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6673 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6674 to check for empty output (bug#9226).
6676 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
6678 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6679 symbol-constituent as the default, as that stops font-lock from
6680 working properly (Bug#8843).
6682 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6684 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6685 `coding-system-for-*' around the process open call to avoid
6686 auth-source side effects.
6687 (smtpmail-try-auth-methods): Expand the secret password.
6688 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6691 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6693 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6695 * emacs-lisp/find-func.el (find-function-noselect): New arg
6698 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6699 signal an error for built-in functions (Bug#6664).
6701 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6703 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6704 (smtpmail-try-auth-methods): Use it.
6706 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6708 * font-lock.el (font-lock-fontify-region)
6709 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6710 (font-lock-default-unfontify-buffer)
6711 (font-lock-default-fontify-region)
6712 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6714 * progmodes/compile.el (compilation-error-properties):
6715 Fix confusion between file struct and message struct (Bug#9319).
6716 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6719 * net/browse-url.el (browse-url-firefox): Don't call
6720 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6722 2011-08-20 Glenn Morris <rgm@gnu.org>
6724 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6726 * tutorial.el (tutorial--default-keys): Update some default bindings.
6728 * files.el (hack-local-variables): Fully ignore case for "mode:".
6730 2011-08-20 Alan Mackenzie <acm@muc.de>
6732 Resolve invalid use of a regexp in regexp-opt.
6734 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6735 detection for a java annotation.
6737 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
6738 detection for a java annotation.
6740 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6742 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6744 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
6746 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6749 2011-08-20 Alan Mackenzie <acm@muc.de>
6751 Fontify CPP expressions correctly when starting in the middle of
6752 such a construct. Mainly for when jit-lock etc. starts a chunk
6755 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
6757 (c-make-font-lock-search-form): New function, extracted from
6758 c-make-font-lock-search-function.
6759 (c-make-font-lock-search-function): Use the above function.
6760 (c-make-font-lock-context-search-function): New function.
6761 (c-cpp-matchers): Enhance the preprocessor expression case with
6763 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6764 which takes an expression.
6766 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6768 2011-08-20 Martin Rudalics <rudalics@gmx.at>
6770 * window.el (display-buffer-reuse-window)
6771 (display-buffer-pop-up-window): Don't reuse or split a side
6774 2011-08-19 Glenn Morris <rgm@gnu.org>
6776 * files.el (hack-local-variables-prop-line, hack-local-variables):
6777 Downcase "Mode:". (Bug#9331)
6779 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
6781 * international/characters.el: Add L and R categories.
6783 * subr.el (bidi-string-mark-left-to-right): Rename from
6784 string-mark-left-to-right. Use category search.
6786 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6788 2011-08-18 Juri Linkov <juri@jurta.org>
6790 * faces.el (error, warning, success): New faces with definitions
6791 copied from old default values of `font-lock-warning-face',
6792 `compilation-warning', `compilation-info' (bug#6117).
6794 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6796 * progmodes/compile.el (compilation-error): Inherit from `error'.
6797 (compilation-warning): Inherit from `warning'.
6798 (compilation-info): Inherit from `success'.
6800 * dired.el (dired-marked): Inherit from `warning'.
6801 (dired-flagged): Inherit from `error'.
6803 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6805 * mail/smtpmail.el (auth-source): Require to avoid problems with
6806 binding variables (bug#9298). Also clean up some unused
6809 * net/network-stream.el (network-stream-open-starttls):
6810 Support using starttls.el without using gnutls-cli.
6812 2011-08-17 Juri Linkov <juri@jurta.org>
6814 * progmodes/grep.el (rgrep): Handle the case when
6815 `grep-find-command' is a cons cell (bug#9278).
6817 2011-08-17 Martin Rudalics <rudalics@gmx.at>
6819 * window.el (display-buffer-pop-up-frame): Run frame creation
6820 function with BUFFER current (as special-display-popup-frame
6821 does). Reported by Drew Adams.
6823 2011-08-17 Daiki Ueno <ueno@unixuser.org>
6825 * epa-mail.el: Simplify GnuPG group expansion using
6827 (epa-mail-group-alist, epa-mail-group-modtime)
6828 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6829 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6830 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6833 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
6835 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6837 2011-08-16 Alan Mackenzie <acm@muc.de>
6839 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6840 Correct, to avoid the inside of macros.
6842 2011-08-16 Richard Stallman <rms@gnu.org>
6844 * epa-mail.el: Handle GnuPG group definitions.
6845 (epa-mail-group-alist, epa-mail-group-modtime)
6846 (epa-mail-gnupg-conf-file): New variables.
6847 (epa-mail-parse-groups, epa-mail-sync-groups)
6848 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6849 (epa-mail-expand-recipients): New functions.
6850 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6852 * mail/rmail.el (rmail-epa-decrypt): New command.
6854 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6855 Don't bind buffer-read-only, just inhibit-read-only.
6856 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6857 (epa-decrypt-armor-in-region): Make error message clearer.
6859 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6861 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6862 and "a2b" to "ab" for `prefix'.
6864 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
6866 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6868 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6869 Fourquet (Bug#8804).
6871 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
6873 * startup.el (argi): Declare as global variable (bug#9275).
6875 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
6877 * subr.el (string-mark-left-to-right): Search the entire string
6878 for RTL script, not just the terminating character. Doc fix.
6880 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6882 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6884 (js--regexp-literal, js-syntax-propertize-function): Remove.
6885 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6886 (js-mode-map): Don't rebind electric keys.
6887 (js-insert-and-indent): Remove.
6888 (js-mode): Setup electric-layout and electric-indent instead.
6890 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6892 2011-08-12 Daiki Ueno <ueno@unixuser.org>
6894 * epa.el (epa-progress-callback-function): Fix the logic of
6895 displaying progress.
6896 * epa-file.el (epa-file-insert-file-contents): Make progress
6897 display more user-friendly.
6898 (epa-file-write-region): Ditto.
6900 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
6902 * subr.el (string-mark-left-to-right): New function.
6904 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6905 Use string-mark-left-to-right.
6906 (list-buffers-noselect): Caller changed.
6908 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6909 Use string-mark-left-to-right.
6910 (tabulated-list-print): Recenter after moving point.
6912 2011-08-10 Juri Linkov <juri@jurta.org>
6914 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6915 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6916 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6918 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
6920 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6923 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
6925 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6926 character. (Bug#6594)
6928 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
6930 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6931 (image-dired--with-db-file): New macro.
6932 (image-dired-write-tags, image-dired-remove-tag)
6933 (image-dired-create-gallery-lists, image-dired-write-comments)
6934 (image-dired-get-comment, image-dired-mark-tagged-files)
6935 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6936 (image-dired-gallery-generate): Use insert-file-contents.
6938 * time.el (display-time-world-list, display-time-world-display):
6939 * time-stamp.el (time-stamp-string):
6940 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6941 set-time-zone-rule (Bug#7337).
6943 2011-08-08 Daiki Ueno <ueno@unixuser.org>
6945 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6946 (epg-error-to-string, epg-errors-to-string): New function.
6947 (epg-wait-for-completion): Reverse errors list.
6948 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6949 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6950 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6951 (epg-sign-keys, epg-generate-key-from-file)
6952 (epg-generate-key-from-string): Format errors by using
6953 epg-errors-to-string (bug#9255).
6954 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6956 2011-08-07 Juri Linkov <juri@jurta.org>
6958 * faces.el (list-faces-display): Remove extra angle bracket
6959 from `help-mode-map'.
6961 * info.el (Info-history-toc-nodes): Doc fix.
6963 * longlines.el (longlines-mode): Doc fix.
6965 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6967 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6968 of statements and in a few more cases (bug#9183).
6970 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6972 (cl-transform-lambda): Use them (bug#9239).
6974 2011-08-05 Martin Rudalics <rudalics@gmx.at>
6976 * window.el (display-buffer-same-window)
6977 (display-buffer-same-frame, display-buffer-other-window)
6978 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6979 (pop-to-buffer-other-window)
6980 (pop-to-buffer-same-frame-other-window)
6981 (pop-to-buffer-other-frame): Make them defuns.
6982 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6984 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6986 * subr.el (make-composed-keymap): Move from C. Change calling
6987 convention, and improve docstring to bring attention to a subtle point.
6988 * minibuffer.el (completing-read-default): Adjust accordingly.
6990 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
6992 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6993 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6995 * net/trampver.el: Update release number.
6997 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6999 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7002 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7004 * mail/sendmail.el (sendmail-query-once): Restore the current
7005 buffer after querying (bug#9074).
7007 * dired.el (dired-flagged): Use different faces for marked and
7008 flagged files (bug#6117).
7010 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7013 * ido.el (ido-mode): Switch off the message if called
7016 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7017 before 587, since it appears that that's more likely to work for
7020 * cus-edit.el (custom-file): When running under emacs -q, always
7021 refuse to save the customizations, even if the .emacs file doesn't
7024 * info.el: Remove the `Info-beginning-of-buffer' function
7027 * net/network-stream.el (network-stream-open-starttls):
7028 Use `starttls-available-p' to see whether starttls.el can be used.
7030 2011-08-01 Martin Rudalics <rudalics@gmx.at>
7032 * window.el (display-buffer-in-window): Don't set dedicated status
7033 of window here (Bug#9215).
7034 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7035 (display-buffer-pop-up-side-window)
7036 (display-buffer-in-side-window): Set dedicated status of window here.
7038 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7040 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7041 before binding generated-autoload-file.
7043 2011-08-01 Deniz Dogan <deniz@dogan.se>
7045 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7047 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
7049 Sync with Tramp 2.2.2.
7051 * net/trampver.el: Update release number.
7053 2011-07-30 Juri Linkov <juri@jurta.org>
7055 * dired-aux.el (dired-touch-initial): Remove function.
7056 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7057 current time, and `default' to the last modification time of the
7058 current marked file (bug#6887).
7060 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7062 * simple.el (goto-line): Use string-to-number to provide a
7063 numeric argument to read-number (bug#9163).
7065 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
7067 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7068 connection process, it could be nil.
7070 2011-07-27 Leo Liu <sdl.web@gmail.com>
7072 Simplify url handling in rcirc-mode.
7074 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7075 (rcirc-browse-url-at-mouse): Remove.
7076 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7078 2011-07-26 Alan Mackenzie <acm@muc.de>
7080 Fontify bitfield declarations properly.
7082 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7083 (c-symbol-chars): Now exported as a lang variable.
7084 (c-not-primitive-type-keywords): New lang variable.
7086 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7087 QT keyword "more" to prevent "more slots: ...." being spuriously
7088 parsed as a bitfield declaration.
7090 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7091 Refactor and enhance to handle bitfield declarations.
7092 (c-punctuation-in): New function.
7093 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7094 declarations properly.
7096 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
7098 * calendar/icalendar.el (icalendar--all-events): Take care of
7099 multiple vcalendars in a single file.
7100 (icalendar--convert-float-to-ical): Checkdoc fixes.
7102 2011-07-25 Deniz Dogan <deniz@dogan.se>
7104 * image.el (insert-image): Clarifying docstring.
7106 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
7108 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7109 `tramp-send-command-and-check' if there is no error.
7110 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7112 2011-07-22 Alan Mackenzie <acm@muc.de>
7114 Prevent cc-langs.elc being loaded at run time.
7116 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7119 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
7120 "(require 'cc-langs)". Quote a form so it will evaluate at
7121 (cc-mode's) compilation time.
7123 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
7125 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7128 2011-07-21 Martin Rudalics <rudalics@gmx.at>
7130 * window.el (display-buffer-pop-up-window)
7131 (display-buffer-pop-up-side-window)
7132 (display-buffer-in-side-window): Call display-buffer-set-height
7133 and display-buffer-set-width after setting the new window's
7134 buffer so `fit-window-to-buffer' and friends work on the right buffer.
7136 2011-07-20 Sam Steingold <sds@gnu.org>
7138 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7139 (etags-tags-included-tables): Call `convert-standard-filename' on
7140 the file names contained in TAGS so that windows Emacs can handle
7141 TAGS files created by cygwin ctags.
7143 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7145 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7146 which apparently didn't work.
7148 2011-07-19 Roland Winkler <winkler@gnu.org>
7150 * proced.el (proced-send-signal): For *Marked Processes* buffer
7151 put point at beginning of buffer.
7153 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
7155 * proced.el (proced-format): Make header lines align with the text
7158 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7160 * view.el (view-buffer): Allow running in `special' modes if we're
7161 visiting a file (bug#8615).
7163 2011-07-19 Martin Rudalics <rudalics@gmx.at>
7165 * window.el (display-buffer-alist-of-strings-p)
7166 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7168 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7171 2011-07-18 Alan Mackenzie <acm@muc.de>
7173 Fontify declarators properly when, e.g., a jit-lock chunk begins
7174 inside a declaration.
7176 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7178 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7180 (c-complex-decl-matchers): Insert reference to
7181 c-font-lock-enclosing-decls.
7183 * progmodes/cc-engine.el (c-backward-single-comment):
7184 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7185 to nil around calls to (forward-comment -1).
7187 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7189 * image.el (put-image): Doc typo fix.
7191 * progmodes/etags.el (tags-search): Doc typo fix.
7193 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7194 password if we get errors 550 to 554.
7196 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7198 * net/gnutls.el (gnutls-log-level): Remove.
7200 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7201 indentation character (bug#6380).
7203 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7205 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7206 to clarify what the problem is (bug#4291).
7208 * simple.el (current-kill): Clarify what
7209 `interprogram-paste-function' does (bug#7500).
7210 (auto-fill-mode): Document `auto-fill-function' in relation to
7211 `auto-fill-mode' (bug#2470).
7213 2011-07-16 Lawrence Mitchell <wence@gmx.li>
7215 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7216 method if slot is read-only (bug#9035).
7218 2011-07-16 Martin Rudalics <rudalics@gmx.at>
7220 * frame.el (select-frame-set-input-focus): New argument NORECORD.
7221 * window.el (pop-to-buffer): Select window used even if it was
7222 selected before, see discussion of (Bug#8615), (Bug#6954).
7223 Pass argument NORECORD on to select-frame-set-input-focus.
7225 2011-07-15 Glenn Morris <rgm@gnu.org>
7227 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
7230 2011-07-09 Lawrence Mitchell <wence@gmx.li>
7232 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7233 (gnutls-negotiate): Use it.
7235 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7237 * net/gnutls.el (gnutls-negotiate):
7238 Upcase `gnutls-algorithm-priority'.
7240 2011-07-15 Glenn Morris <rgm@gnu.org>
7242 * jka-compr.el (jka-compr-verbose): Move from here...
7243 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7244 Add missing :version tag.
7245 * info.el: No need to require jka-compr when compiling.
7247 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7249 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7250 (gnutls-negotiate): Use it.
7252 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7254 * info.el (Info-beginning-of-buffer): New command.
7255 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7256 announcing `b' as the key (bug#8325).
7257 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
7259 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7261 * international/mule-cmds.el
7262 (describe-specified-language-support): Make the error message
7265 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7267 * isearch.el (isearch-barrier): Add a doc string, since it's
7268 mentioned in a function doc string (bug#8678).
7270 2011-07-15 Martin Rudalics <rudalics@gmx.at>
7272 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7273 buffer argument (Bug#9083) and self-identifying label argument.
7275 2011-07-15 Glenn Morris <rgm@gnu.org>
7277 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7279 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7281 * man.el (Man-fontify-manpage): Fix message when formatting the
7282 man page (bug#7929).
7284 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7286 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7287 argument LRM; if non-nil, append an invisible LRM character to the
7289 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7290 last argument non-nil, when formatting buffer names.
7291 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7292 paragraph direction.
7294 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7296 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7297 the man page name (bug#7929).
7299 * image.el (put-image): Mention the `put-image' overlay property
7302 * scroll-bar.el (set-scroll-bar-mode): Mention that
7303 `scroll-bar-mode' lists the values (bug#7772).
7305 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7308 * rect.el (apply-on-rectangle): Return the point after the last
7310 (string-rectangle): Go to the point after the last operation
7313 * printing.el (pr-toggle-region): Clarify the documentation
7314 slightly (bug#7493).
7316 * time.el (display-time-update):
7317 Allow `display-time-mail-function' to return nil (bug#7158).
7318 Fix suggested by Detlev Zundel.
7320 * vc/diff.el (diff): Clarify the order the file names are read
7323 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7324 the doc string (bug#7015).
7326 * font-lock.el (font-lock-maximum-decoration): Mention what
7327 numeric levels mean (bug#6935).
7329 * startup.el (initial-buffer-choice): Don't mention the `none'
7330 selection, which is against policy.
7332 2011-07-14 Martin Rudalics <rudalics@gmx.at>
7334 * window.el (display-buffer-normalize-special):
7335 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
7337 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7339 * subr.el (version<, version<=, version=): Mention "-CVS" and
7340 "-12345" alpha version numbers.
7342 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7344 * bindings.el: Add advertised binding for set-mark-command
7347 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7349 * bindings.el (mode-line-other-buffer):
7350 * bookmark.el (bookmark-bmenu-2-window):
7351 * bs.el (bs-cycle-next, bs-cycle-previous):
7352 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7355 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7358 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
7360 * follow.el (follow-debug-message, follow-redisplay):
7361 * jka-cmpr-hook.el (with-auto-compression-mode):
7362 Fix typos in docstrings.
7364 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7366 * subr.el (with-silent-modifications): Clarify somewhat what the
7367 macro inhibits (bug#6525).
7369 * simple.el (eval-expression): Note what it does if called
7370 interactively (bug#6495).
7372 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7374 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7375 Use pop-to-buffer buffer-or-name if it is nil.
7377 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7378 Remove switch-to-buffer.
7380 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7382 * files.el (make-directory): Clarify that an error will be raised
7383 if there's an error (bug#6397).
7385 * startup.el (initial-buffer-choice): Add `none' as a choice
7388 * subr.el (add-hook): Clarify section about buffer-local hooks
7391 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7393 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7395 * tabify.el (untabify): Preserve the current column so that point
7396 doesn't move (bug#6032).
7398 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7400 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7401 Rewrite to avoid awkward possessive "s" (bug#5986).
7403 2011-07-13 Glenn Morris <rgm@gnu.org>
7405 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7406 (dired-insert-directory): Give a message the first time
7407 if ls is found not to support --dired.
7409 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7411 * simple.el (toggle-truncate-lines): Clarify what is toggled
7412 (bug#5580). Text by Drew Adams.
7414 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7416 * simple.el (blink-matching-open): Make the error message from the
7417 last change less verbose.
7419 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7421 * font-lock.el (font-lock-comment-face): Use the high contrast
7422 "yellow" color for font-lock-comment-face on low color terminals
7423 using a dark background color (bug#4221).
7425 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7427 * dired.el (dired-insert-set-properties): Make the doc string
7428 reflect what it does now (bug#5325).
7430 * simple.el (blink-matching-open): Say that we were unable to find
7431 the match within the limit, if we're limited (bug#5122).
7433 * international/mule-cmds.el (prefer-coding-system): Add an
7436 * progmodes/etags.el (tags-search): Document `file-list-form'
7439 2011-07-13 Lawrence Mitchell <wence@gmx.li>
7441 * net/browse-url.el (browse-url-default-browser)
7442 (browse-url-browser-function): Make the default browser choice a
7443 bit more logical (bug#4300). Also clean up the doc string.
7445 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7447 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7448 binary endings (bug#4440).
7450 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7452 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7453 which can be pretty annoying (bug#8971).
7455 * jka-compr.el (jka-compr-verbose): New variable, and use
7456 throughout (bug#8971).
7458 * info.el (Info-find-file): Fall back on the installation
7459 directory if we can't find the info node anywhere else.
7461 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7463 * vc/vc.el (vc-revert-file):
7464 Don't set file time-stamp in the past. (Bug#5181)
7466 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7468 * files.el (after-find-file): Give a better error message when
7469 trying to find a symlink that points to a file that doesn't exist
7472 * progmodes/cc-vars.el: Remove (probably) misleading comment
7475 2011-07-12 Johan Bockgård <bojohan@gnu.org>
7477 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7479 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
7481 * mouse-sel.el: Hack restoring functionality, while keeping
7482 compatibility with 2010-07-03 changes to mouse selection.
7483 (mouse-sel-primary-overlay): New var.
7484 (mouse-sel-selection-alist): Use it.
7485 (mouse-sel-mode): Doc fix; remove points that are default features
7488 2011-07-12 Johan Bockgård <bojohan@gnu.org>
7490 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7491 Fix previous fix (bug#2490).
7493 2011-07-12 Roland Winkler <winkler@gnu.org>
7495 * textmodes/bibtex.el (bibtex-initialize):
7496 Use pop-to-buffer-same-window.
7497 (bibtex-search-entries): Fix interactive call.
7499 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7501 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7502 Fontise bytecomp Error lines more correctly (bug#2490).
7503 Fix suggested by Johan Bockgård.
7505 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7507 * dired-x.el (dired-guess-default): Use `delete-dups'.
7509 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
7511 * dired.el (dired-mark-prompt):
7512 * dired-aux.el (dired-read-shell-command): Doc fix.
7514 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7516 * mail/sendmail.el (sendmail-query-once):
7517 Use `customize-save-variable' unconditionally, now that it works under
7520 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7522 * cus-edit.el (custom-file): Take an optional no-error variable.
7523 (customize-save-variable): Set the variable, and give a warning if
7524 running under "emacs -q".
7526 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
7528 * loadhist.el (unload-feature-special-hooks):
7529 Add `auto-coding-functions', `fill-nobreak-predicate' and
7530 `find-directory-functions' (bug#5327).
7532 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7534 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7536 * cus-edit.el (custom-guess-name-alist): -alist variables should
7537 use the `alist' type (bug#3120). Suggested by Drew Adams.
7539 * printing.el: Add documentation to all the `pr-toggle-' commands.
7541 2011-07-11 Leo Liu <sdl.web@gmail.com>
7543 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7544 backends where it makes sense (bug#2623).
7546 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7548 * dired-x.el (dired-guess-default): Remove duplicate shell command
7550 (dired-guess-default): Fix grammar in doc string (bug#2028).
7551 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
7553 * subr.el (remove-duplicates): New conveniency function.
7555 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7557 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7560 2011-07-10 Martin Rudalics <rudalics@gmx.at>
7562 * window.el (display-buffer-normalize-default): Don't invert
7563 meaning of even-window-heights. Reported by Eli Zaretskii
7566 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7568 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7570 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
7572 * window.el (display-buffer): Fix arguments to
7573 display-buffer-reuse-window in last change.
7575 * faces.el (link): Use a less saturated blue on light backgrounds.
7577 * startup.el (fancy-startup-text, fancy-about-text)
7578 (fancy-startup-tail): Use font-lock faces, for background safety.
7580 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7582 * emulation/viper-cmd.el (viper-change-state-to-vi):
7583 Limit triggering of abbrev expansion (Bug#9038).
7585 2011-07-09 Martin Rudalics <rudalics@gmx.at>
7587 * window.el (display-buffer-default-specifiers): Remove.
7588 (display-buffer-macro-specifiers): Remove default specifiers.
7589 (display-buffer-alist): Default to nil.
7590 (display-buffer-reuse-window): New optional argument other-window.
7591 (display-buffer-pop-up-window): Allow splitting internal
7592 windows. Check whether a live window was created.
7593 (display-buffer-other-window-means-other-frame)
7594 (display-buffer-normalize-arguments): Rename to
7595 display-buffer-normalize-argument and rewrite. Set the
7596 other-window specifier.
7597 (display-buffer-normalize-special): New function.
7598 (display-buffer-normalize-options): Rename to
7599 display-buffer-normalize-default and rewrite.
7600 (display-buffer-normalize-options-inhibit): Remove.
7601 (display-buffer-normalize-specifiers): Rewrite.
7602 (display-buffer): Process other-window specifier and call
7603 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7605 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
7606 (display-buffer-alist-set): Don't handle 'unset default values.
7607 (display-buffer-in-window, display-buffer-alist-set):
7608 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
7609 <tassilo@member.fsf.org>.
7611 2011-07-09 Leo Liu <sdl.web@gmail.com>
7613 * register.el (insert-register): Restore accidental change on
7614 2011-06-26. (Bug#9028)
7616 2011-07-09 Glenn Morris <rgm@gnu.org>
7618 * subr.el (remq): Handle the empty list. (Bug#9024)
7620 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7622 * mail/sendmail.el (send-mail-function): No longer delay custom
7624 * custom.el (custom-initialize-delay): Doc fix.
7626 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7628 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7630 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
7632 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7633 human-friendly prompt.
7635 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7637 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7638 provided by a particular plugin.
7640 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7642 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7643 save customizations (with "emacs -Q"), just set the variable
7644 instead of erroring out.
7646 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7648 2011-07-08 Juri Linkov <juri@jurta.org>
7650 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7651 (archive-zip-update-case): Use 7z if found by `executable-find'.
7652 The order of searching the available programs is the same as in
7653 `archive-zip-extract' (bug#8968).
7655 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7657 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7658 (menu-bar-options-menu): Tweak descriptions.
7660 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7662 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7663 menu items into verb phrases (bug#1421). Also refill to fit under
7666 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7668 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7669 (Info-read-node-name): Doc fix (Bug#1084).
7671 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7672 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7673 (end-of-sexp, beginning-of-sexp)
7674 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7675 (forward-symbol, forward-same-syntax, word-at-point)
7676 (sentence-at-point): Doc fix (Bug#1144).
7678 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7680 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7681 should cover it (bug#1281).
7683 * cus-edit.el (custom-show): Mark as obsolete.
7685 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
7686 negotiation fails, then possibly try again with a non-encrypted
7687 connection (bug#9017).
7689 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7692 2011-07-07 Richard Stallman <rms@gnu.org>
7694 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7695 property, and handle its changed format.
7696 Look for the correct line number.
7697 Use file's line contents (but not past first =) to find
7698 correct line in message.
7700 2011-07-07 Kenichi Handa <handa@m17n.org>
7702 * international/characters.el (build-unicode-category-table):
7704 (unicode-category-table): Set it by unicode-property-table-internal.
7706 * international/mule-cmds.el (char-code-property-alist): Move to
7708 (get-char-code-property): Call unicode-property-table-internal to
7709 load a file. Call get-unicode-property-internal where necessary.
7710 (put-char-code-property): Call unicode-property-table-internal to
7711 load a file. Call put-unicode-property-internal where necessary.
7712 put-unicode-property-internal where necessary.
7713 (char-code-property-description):
7714 Call unicode-property-table-internal to load a file.
7716 * international/charprop.el:
7717 * international/uni-bidi.el:
7718 * international/uni-category.el:
7719 * international/uni-combining.el:
7720 * international/uni-comment.el:
7721 * international/uni-decimal.el:
7722 * international/uni-decomposition.el:
7723 * international/uni-digit.el:
7724 * international/uni-lowercase.el:
7725 * international/uni-mirrored.el:
7726 * international/uni-name.el:
7727 * international/uni-numeric.el:
7728 * international/uni-old-name.el:
7729 * international/uni-titlecase.el:
7730 * international/uni-uppercase.el: Regenerate.
7732 * loadup.el: Load international/charprop.el before
7733 international/characters.
7735 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7737 * window.el (next-buffer, previous-buffer): Signal an error if
7738 called from a minibuffer window.
7740 * bindings.el: Revert 2011-07-04 change.
7742 2011-07-06 Richard Stallman <rms@gnu.org>
7744 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7745 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7746 Treat markers like ints.
7747 (rmail-mime-entity): Doc fix.
7749 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7751 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7752 defcustom again for backwards compatibility.
7754 * simple.el (shell-command-on-region): Fill.
7756 * dired-aux.el (dired-kill-line): Add a doc string.
7758 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7759 to "\\sw\\|\\s_" (bug#358).
7761 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7762 (dired-unmark-backward): Ditto.
7763 (dired-flag-backup-files): Ditto.
7765 * dired-x.el (dired-mark-sexp): Ditto.
7767 2011-07-06 Richard Stallman <rms@gnu.org>
7769 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7770 (rmail-mime-entity): New arg TRUNCATED.
7771 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7773 (rmail-mime-save): Warn if entity is truncated.
7774 (rmail-mime-toggle-hidden): Likewise, for showing.
7775 (rmail-mime-process-multipart): Record when an entity is truncated.
7777 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7778 if ENTITY is a string.
7780 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7782 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
7783 of faces when `M-C-x'-ing their definitions (bug#8378).
7784 Also clean up the code slightly.
7786 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
7787 because that makes the colors go away.
7789 * mail/sendmail.el (send-mail-function): Change the default to
7790 `sendmail-query-once'.
7791 (sendmail-query-once): Add an autoload cookie.
7793 * net/network-stream.el (network-stream-open-starttls): Try using
7794 a plain connection even if the server offered STARTTLS, and we
7795 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7796 capability. This should make smtpmail.el work in slightly more
7799 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
7801 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7803 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7805 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7807 * progmodes/sql.el: Version 3.0
7808 (sql-product-alist): Add product :completion-object,
7809 :completion-column, and :statement attributes.
7810 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
7811 (sql-mode-syntax-table): Mark all punctuation.
7812 (sql-font-lock-keywords-builder): Temporarily remove fallback on
7814 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
7815 (sql-mode-oracle-font-lock-keywords): Improve.
7816 (sql-oracle-show-reserved-words): New function for development.
7817 (sql-product-font-lock): Simplify for source code buffers.
7818 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7820 (sql-highlight-product): Set product specific syntax table.
7821 (sql-mode-map): Add statement movement functions.
7822 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7824 (sql-statement-regexp, sql-beginning-of-statement)
7825 (sql-end-of-statement, sql-signum): New functions.
7826 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
7827 (sql-show-sqli-buffer): Bug fix.
7828 (sql-interactive-mode): Store connection data as buffer local.
7829 (sql-connect): Add NEW-NAME parameter. Redesign interaction
7830 with sql-interactive-mode.
7831 (sql-save-connection): Save buffer local settings.
7832 (sql-connection-menu-filter): Change menu entry name.
7833 (sql-product-interactive): Bug fix.
7834 (sql-preoutput-hold): New variable.
7835 (sql-interactive-remove-continuation-prompt): Bug fixes.
7836 (sql-debug-redirect): New variable.
7837 (sql-str-literal): New function.
7838 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
7840 (sql-oracle-save-settings, sql-oracle-restore-settings)
7841 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7842 (sql-completion-object, sql-completion-column)
7843 (sql-completion-sqlbuf): New variables.
7844 (sql-build-completions-1, sql-build-completions)
7845 (sql-try-completion): New functions.
7846 (sql-read-table-name): Use them.
7847 (sql-contains-names): New buffer local variable.
7848 (sql-list-all, sql-list-table): Use it.
7849 (sql-oracle-completion-types): New variable.
7850 (sql-oracle-completion-object, sql-sqlite-completion-object)
7851 (sql-postgres-completion-object): New functions.
7853 2011-07-06 Glenn Morris <rgm@gnu.org>
7855 * window.el (pop-to-buffer): Doc fix.
7857 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
7859 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7861 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
7863 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7865 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
7867 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
7869 * button.el (button): Inherit from link face. Suggested by Dan
7872 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7874 * progmodes/gdb-mi.el: Fit in 80 columns.
7875 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7878 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7879 if imenu is simply not configured (bug#8941).
7881 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7883 * allout.el (allout-post-undo-hook): New allout outline-change
7884 event hook to signal undo activity.
7885 (allout-post-command-business): Run allout-post-undo-hook if an
7887 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7888 * allout-widgets.el (allout-widgets-after-undo-function):
7889 Ensure the integrity of the current item's decoration after it has been
7890 in the vicinity of an undo.
7891 (allout-widgets-mode): Include allout-widgets-after-undo-function
7892 on the new allout-post-undo-hook.
7894 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7896 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7897 Let define-derived-mode define it.
7898 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7899 cycles of abbrev-table inheritance (bug#8998).
7901 2011-07-05 Roland Winkler <winkler@gnu.org>
7903 * textmodes/bibtex.el: Add support for biblatex.
7904 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7905 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7906 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7907 (bibtex-entry-alist, bibtex-field-alist): New variables.
7908 (bibtex-entry-field-alist): Obsolete alias for
7909 bibtex-BibTeX-entry-alist.
7910 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7911 (bibtex-set-dialect): New command.
7912 (bibtex-entry-type, bibtex-entry-head)
7913 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7914 Bind via bibtex-set-dialect.
7915 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7916 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7917 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7918 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7919 Define via bibtex-set-dialect.
7920 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7921 Obey bibtex-no-opt-remove-re.
7922 (bibtex-vec-push, bibtex-vec-incr): New functions.
7923 (bibtex-format-entry, bibtex-field-list)
7924 (bibtex-print-help-message, bibtex-validate)
7925 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7927 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7929 * progmodes/compile.el (compilation-goto-locus):
7930 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7931 * bs.el (bs-cycle-next, bs-cycle-previous):
7932 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7933 * bindings.el (mode-line-other-buffer):
7934 * autoinsert.el (auto-insert):
7935 * arc-mode.el (archive-extract):
7936 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7938 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
7940 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7941 Fix check of `emacs-lock-unlockable-modes'.
7942 Coerce true values of `emacs-lock--try-unlocking' to t.
7944 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
7946 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7947 * emacs-lock.el: New file.
7949 2011-07-05 Julien Danjou <julien@danjou.info>
7951 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7952 than `boundp' to check if face is set.
7954 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
7956 * register.el (registerv-make):
7957 * window.el (window-min-height): Fix typos in docstrings.
7959 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7961 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7964 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
7966 * server.el (server-execute): Catch quit and call
7967 `server-return-error' to pass the error back to emacsclient and
7968 close the connection (bug#8942).
7970 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7972 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7973 insecure exception for current topic. Also note that auto-saves
7974 are handled differently.
7976 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7977 State variables for tracking auto-save inhibition situation.
7979 (allout-write-contents-hook-handler): Rename from
7980 'allout-write-file-hook-handler', and describe how it depends on
7981 write-contents-functions sensitivity to non-nil value to prevent
7984 (allout-auto-save-hook-handler): Remove. auto-save does not check
7985 this in individual buffers, only in the starting buffer, so this
7986 is not the right way for us to inhibit auto-save in a buffer
7987 according to its condition.
7989 (allout-mode): Use new allout-write-contents-hook-handler, and
7990 only with write-contents-functions. Remove auto-save provisions -
7991 they're implemented elsewhere.
7993 (allout-before-change-handler): If undo is in progress, note that
7994 for attention of allout-post-command-business.
7996 (allout-post-command-business): If the command we're following was
7997 an undo, check for change in the status of encrypted items and
7998 adjust auto-save inhibitions accordingly.
8000 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8001 according to whether there are or aren't any plain-text topics
8004 (allout-inhibit-auto-save-info-for-decryption):
8005 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8006 if there are plain-text topics pending encryption.
8008 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8009 buffer-saved-size and some allout state to not inhibit auto-saves
8010 if there are no longer any plain-text topics pending encryption.
8012 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8013 No longer provide for exemption of the current topic.
8015 2011-07-04 Juri Linkov <juri@jurta.org>
8017 Add 7z operations to delete and save changed members (bug#8968).
8018 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8020 (archive-7z-write-file-member): New function.
8021 (archive-7z-summarize): Fix the number of dashes in the
8024 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8026 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8029 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
8031 * bindings.el: Ignore next-buffer and previous-buffer in
8032 minibuffer-local-map.
8034 * font-lock.el (font-lock-builtin-face): Change light background
8035 color to dark slate blue (Bug#6693).
8037 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8039 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8041 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8043 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8044 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8045 Add switch-to-buffer.
8047 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8049 * isearch.el (isearch-search-fun-function): Clarify further the
8050 meaning of the function returned.
8052 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
8054 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8056 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8057 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8059 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8060 `tramp-default-remote-path' does not exist.
8061 (tramp-send-command-and-read): New optional argument NOERROR.
8062 (tramp-open-connection-setup-interactive-shell)
8063 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8064 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8065 (tramp-process-sentinel): Flush also process' connection property.
8066 (tramp-sh-handle-start-file-process): Do not set process
8067 sentinel. It is done now ...
8068 (tramp-maybe-open-connection): ... here. (Bug#8929)
8070 2011-07-04 MON KEY <monkey@sandpframing.com>
8072 * play/animate.el (animate-string): Doc fixes and allow changing
8073 the buffer name (bug#5417).
8075 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8077 * play/animate.el (animation-buffer-name): Rename from *animate*.
8079 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8081 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8082 This is simpler and helps future-proof the code.
8083 (timer-until): Use time-subtract and float-time.
8084 (timer--time-less-p): Use time-less-p.
8086 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8088 * type-break.el (timep): Use the value of `float-time' to avoid a
8089 byte-compiler warning.
8091 * server.el (server-eval-and-print): Return any result, even nil.
8093 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8095 * type-break.el: Accept time formats that the builtins accept.
8096 (timep, type-break-time-difference): Accept any format that
8097 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8098 This is simpler and helps future-proof the code.
8099 (type-break-time-difference): Round rather than ignoring
8100 subseconds components.
8102 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8104 * info.el (Info-apropos-matches): Make non-interactive, since it
8105 doesn't seem to do anything useful as a command (bug#8829).
8107 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
8109 * frame.el (frame-background-mode, frame-set-background-mode):
8111 (frame-default-terminal-background): New function.
8113 * custom.el (custom-push-theme): Don't record faces in `changed'
8114 theme; this doesn't work correctly for per-frame face settings.
8115 (disable-theme): Use face-set-after-frame-default to reset faces.
8116 (custom--frame-color-default): New function.
8118 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8120 * dired.el (dired-flagging-regexp): Remove unused variable
8123 2011-03-29 Kevin Ryde <user42@zip.com.au>
8125 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8126 `perl-Test2' extend to match possible "fail #N" rep count
8129 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8131 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8132 `smtpmail-via-smtp' now returns the error instead of nil.
8134 * isearch.el (isearch-search-fun-function): Clarify the doc string
8137 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
8139 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8140 unnecessary spaces (bug#8987).
8142 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8144 * net/network-stream.el (open-network-stream): Use the
8145 :end-of-capability command thoughout.
8147 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8149 * net/network-stream.el (open-network-stream): Add the
8150 :end-of-capability command parameter, used by pop3.el.
8152 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8154 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8156 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8157 for list)" (bug#6475).
8159 * files.el (file-expand-wildcards): Ignore non-readable
8160 sub-directories while trying to find matches instead of signaling
8161 an error (bug#6297).
8163 * man.el (Man-reference-regexp): Allow matching possible
8164 word-wrapped references (bug#6289).
8166 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8167 for consistency with the other vc buffers (bug#6197).
8168 (vc-checkin): Ditto.
8170 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8172 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8174 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8176 * custom.el (defcustom): Clarify that :set is only used in the
8177 Customize user interface (bug#6089).
8179 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8180 associated with a file, refuse to run instead of erroring out
8183 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8184 the doc string, since it appears that using `fill-column' always
8185 controls the width (bug#7845).
8187 * simple.el (shell-command-on-region): Say where the error output
8188 went if `shell-command-default-error-buffer' is set (bug#6857).
8190 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8192 * allout.el (allout-yank-processing): Adjust cursor position for
8193 backwards-deleted space.
8195 (allout-rebullet-heading): Register changes with
8196 allout-exposure-changed-hook, so the modified topic is properly
8199 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8201 * minibuffer.el (completion-in-region): Document PREDICATE
8204 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8205 of keyword/argument pairs (bug#6904).
8207 * replace.el (multi-occur):
8208 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
8210 2011-07-02 Drew Adams <drew.adams@oracle.com>
8212 * dired.el (dired-mark-if): Make the message about whether it's
8213 marking or unmarking clearer (bug#8523).
8215 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8217 * disp-table.el (display-table-print-array): New function.
8218 (describe-display-table): Use it to print the vectors more pretty
8221 2011-07-02 Martin Rudalics <rudalics@gmx.at>
8223 * window.el (window-state-get-1): Don't assign clone numbers.
8224 Add clone-of item to list of window parameters.
8225 (window-state-put-2): Don't process clone numbers.
8226 (display-buffer-alist): Fix doc-string.
8228 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8230 * subr.el (remq): Don't allocate if it's not needed.
8231 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8232 (keymap--merge-bindings): New functions.
8233 (keymap-canonicalize): Use them to refine the canonicalization.
8234 * minibuffer.el (minibuffer-local-completion-map)
8235 (minibuffer-local-must-match-map): Move initialization from C.
8236 (minibuffer-local-filename-completion-map): Move initialization from C;
8237 don't inherit from anything here.
8238 (minibuffer-local-filename-must-match-map): Make obsolete.
8239 (completing-read-default): Use make-composed-keymap to combine
8240 minibuffer-local-filename-completion-map with either
8241 minibuffer-local-must-match-map or
8242 minibuffer-local-filename-completion-map.
8244 2011-07-01 Glenn Morris <rgm@gnu.org>
8246 * type-break.el (type-break-time-sum): Use dolist.
8248 * textmodes/flyspell.el (flyspell-word-search-backward):
8249 Replace CL function.
8251 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8253 * mouse.el (mouse--strip-first-event): New function.
8254 (function-key-map): Use it to map fringe clicks to normal clicks
8257 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8258 (vc-bzr-revision-completion-table): Add support for annotate and date.
8260 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8261 inherit from parent.
8263 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8265 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
8266 (dired-show-file-type): Doc fixup (bug#8818).
8268 * dired.el (dired-mode): Fix up the doc string as suggested by
8269 Drew Adams (bug#8817).
8271 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8272 cookie, since the manual says that it should be possible to add
8273 this function to `find-file-hook' (bug#8709).
8275 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8277 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8278 here. Noted Ted Zlatanov as the maintainer.
8279 (cfengine-common-settings, cfengine-common-syntax): New functions
8280 to set up common things between `cfengine-mode' and
8282 (cfengine3-mode): New mode.
8283 (cfengine3-defuns cfengine3-defuns-regex
8284 (cfengine3-class-selector-regex cfengine3-category-regex)
8285 (cfengine3-vartypes cfengine3-font-lock-keywords)
8286 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
8287 (cfengine3-indent-line): Add from cfengine3.el.
8289 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
8291 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8293 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8295 2011-07-01 Martin Rudalics <rudalics@gmx.at>
8297 * window.el (same-window-buffer-names, same-window-regexps)
8298 (same-window-p, special-display-frame-alist)
8299 (special-display-popup-frame, special-display-function)
8300 (special-display-buffer-names, special-display-regexps)
8301 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8302 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8303 (split-window-preferred-function, split-height-threshold)
8304 (split-width-threshold, even-window-heights)
8305 (display-buffer-mark-dedicated, window-splittable-p)
8306 (split-window-sensibly, window-safely-shrinkable-p):
8308 (display-buffer): Don't spread args with function specifier
8309 because special-display-popup-frame won't like it.
8311 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8313 Time-stamp simplifications and fixes.
8314 These improve accuracy slightly, and future-proof the code
8315 against some potential changes to current-time format.
8317 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8318 by using time-since and float-time.
8320 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8321 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8322 + NNN microseconds".
8324 * type-break.el (type-break-time-sum): Rewrite using time-add.
8326 * play/hanoi.el (hanoi-current-time-float): Remove.
8327 All uses replaced by float-time.
8329 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8330 This yields a more-accurate answer.
8331 (rng-time-to-float): Remove; no longer needed.
8333 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8335 * calendar/timeclock.el (timeclock-seconds-to-time):
8336 Defalias to seconds-to-time, since they're the same thing.
8338 * emacs-lisp/elp.el (elp-elapsed-time):
8339 * emacs-lisp/benchmark.el (benchmark-elapse):
8340 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8342 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8344 * window.el (bury-buffer): Don't iconify the only frame.
8345 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8346 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8348 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
8350 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8351 Add mouse-yank-primary.
8353 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8355 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8357 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8359 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8360 (find-library-name): Use it to find relative load names when provided
8361 absolute file name (bug#8803).
8363 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8365 * textmodes/flyspell.el (flyspell-word): Consider words that
8366 differ only in case as potential doublons (bug#5687).
8368 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8369 Remove two rather uninteresting debugging-like messages to make
8370 debbugs.el more silent.
8372 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8373 a password-like phrase.
8375 2011-06-30 Masatake YAMATO <yamato@redhat.com>
8377 * progmodes/cc-guess.el: New file.
8379 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
8381 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8382 derived from `c-basic-common-init'.
8384 * progmodes/cc-mode.el (top-level): Require cc-guess.
8385 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8387 2011-06-30 Lawrence Mitchell <wence@gmx.li>
8389 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8391 2011-06-30 Alan Mackenzie <acm@muc.de>
8393 * progmodes/cc-engine.el (c-guess-continued-construct):
8394 Correct the handling of template-args-cont, particularly for when font
8395 lock is disabled. Name this case as "CASE G".
8397 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8399 * allout.el (allout-yank-processing): Fix injection of extra space
8400 between bullet and non-whitespace character in first topic when
8401 pasting, ensuring that the actual spacing in the pasted topic
8402 following the bullet char is preserved. This extra space was
8403 causing pasted encrypted topics to get a decrypted status even
8404 when the content was actually still encrypted. Now the decryption
8405 status from before the paste is preserved.
8407 (allout-flag-region): Set all allout overlays so they evaporate
8408 when reduced to zero length (evanescent), to prevent overlay
8411 2011-06-30 Glenn Morris <rgm@gnu.org>
8413 * w32-fns.el (w32-charset-info-alist): Declare.
8415 * find-dired.el (find-grep-options): Simplify.
8417 * term/ns-win.el (ns-set-resource): Declare.
8419 * ses.el (row, col): Declare dynamic variables honestly.
8421 * textmodes/reftex-parse.el (index-tags): Declare.
8423 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
8425 * cus-edit.el (customize-push-and-save): New function.
8427 * files.el (hack-local-variables-confirm): Use it.
8429 * custom.el (load-theme): New arg NO-CONFIRM.
8430 Use customize-push-and-save (Bug#8720).
8431 (custom-enabled-themes): Doc fix.
8433 * cus-theme.el (customize-create-theme)
8434 (custom-theme-merge-theme): Callers to load-theme changed.
8436 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8438 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8439 short URLs have at least one dot in them (bug #7614).
8441 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8442 nil, because using a pty is apparently too slow (bug #895).
8444 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8446 * mail/sendmail.el (sendmail-query-once): New function.
8447 (sendmail-query-once-function): New variable.
8449 2011-06-29 Glenn Morris <rgm@gnu.org>
8451 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8453 * ses.el (top-level): Require cl when compiling.
8454 (ses-set-localvars): Fix error statement.
8455 Call it at compile time to silence a storm of warnings.
8457 2011-06-29 Martin Rudalics <rudalics@gmx.at>
8459 * window.el (normalize-live-buffer): Rename to
8460 window-normalize-buffer.
8461 (normalize-live-frame): Rename to window-normalize-frame.
8462 (normalize-any-window): Rename to window-normalize-any-window.
8463 (normalize-live-window): Rename to window-normalize-live-window.
8464 (make-window-atom): Rename to window-make-atom.
8465 (window-resize-reset): Rename to window--resize-reset.
8466 (window-resize-reset-1): Rename to window--resize-reset-1.
8467 (resize-mini-window): Rename to window--resize-mini-window.
8468 (resize-subwindows-skip-p): Rename to
8469 window--resize-subwindows-skip-p.
8470 (resize-subwindows-normal): Rename to
8471 window--resize-subwindows-normal.
8472 (resize-subwindows): Rename to window--resize-subwindows.
8473 (resize-other-windows): Rename to window--resize-siblings.
8474 (resize-this-window): Rename to window--resize-this-window.
8475 (resize-root-window): Rename to window--resize-root-window.
8476 (resize-root-window-vertically): Rename to
8477 window--resize-root-window-vertically.
8478 (normalize-buffer-to-display): Rename to
8479 window-normalize-buffer-to-display.
8480 (normalize-buffer-to-switch-to): Rename to
8481 window-normalize-buffer-to-switch-to.
8482 Correspondingly update all callers of the functions listed
8484 (display-buffer-alist, display-buffer-normalize-arguments)
8485 (display-buffer-normalize-options, display-buffer)
8486 (display-buffer-alist-set): Use "function" instead of
8489 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
8491 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8492 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8493 debbugs.gnu.org. Mention acknowledgment email.
8495 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8497 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8498 buffer multibyteness, since it shouldn't matter.
8500 2011-06-28 Martin Rudalics <rudalics@gmx.at>
8502 * window.el (display-buffer-in-side-window): Handle dedicated
8503 windows as in display-buffer-reuse-window.
8504 (display-buffer-normalize-alist): Use value of override
8506 (display-buffer-normalize-specifiers): Use value of
8507 other-window-means-other-frame specifier.
8508 (display-buffer-alist): Rewrite some texts in widgets.
8509 (display-buffer): Spread arguments when calling function
8510 specified by fun-with-args.
8512 2011-06-28 Deniz Dogan <deniz@dogan.se>
8514 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8517 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8518 selectors (Bug#5732).
8519 (css-proprietary-nmstart-re): Use `regexp-opt'.
8521 2011-06-27 Jari Aalto <jari.aalto@cante.net>
8523 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8524 (eshell-ls-date-format): New defcustom.
8525 (eshell-ls-file): Use it.
8527 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8529 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8531 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8533 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8534 (ange-ftp-make-tmp-name): New arg.
8535 (ange-ftp-file-local-copy): Use it.
8537 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
8539 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8540 no-conversion (Bug#8870).
8542 2011-06-27 Martin Rudalics <rudalics@gmx.at>
8544 * window.el (window-right, window-left, window-child)
8545 (window-child-count, window-last-child)
8546 (window-iso-combination-p, walk-window-tree-1)
8547 (window-atom-check-1, window-tree-1, delete-window)
8548 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8549 new naming conventions - window-vchild, window-hchild,
8550 window-next and window-prev are now called window-top-child,
8551 window-left-child, window-next-sibling and window-prev-sibling
8553 (resize-window-reset): Rename to window-resize-reset.
8554 (resize-window-reset-1): Rename to window-resize-reset-1.
8555 (resize-window): Rename to window-resize.
8556 (window-min-height, window-min-width)
8557 (resize-mini-window, resize-this-window, resize-root-window)
8558 (resize-root-window-vertically, adjust-window-trailing-edge)
8559 (enlarge-window, shrink-window, maximize-window)
8560 (minimize-window, delete-window, quit-restore-window)
8561 (split-window, balance-windows, balance-windows-area-adjust)
8562 (balance-windows-area, window-state-put-2)
8563 (display-buffer-even-window-sizes, display-buffer-set-height)
8564 (display-buffer-set-width, set-window-text-height)
8565 (fit-window-to-buffer): Rename all "resize-window" prefixed
8566 calls to use the "window-resize" prefix convention.
8567 (display-buffer-alist): Fix symbol for label specifier.
8568 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8569 corresponding specifier.
8570 Reported by Juanma Barranquero <lekktu@gmail.com>.
8572 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8574 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8576 (ses-call-printer): Does not pass an empty string to formatter when the
8577 cell is empty to keep from barking printer Calc math-format-value.
8579 2011-06-27 Richard Stallman <rms@gnu.org>
8581 * battery.el (battery-mode-line-limit): New variable.
8582 (battery-update): Handle it.
8584 * mail/rmailmm.el (rmail-mime-process-multipart):
8585 Handle truncated messages.
8587 2011-06-27 Glenn Morris <rgm@gnu.org>
8589 * progmodes/flymake.el (flymake-err-line-patterns):
8590 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8592 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8594 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
8595 (ses--clean-!, ses--clean-_): New functions.
8596 (ses-range): Add configurability of readout order, and conversion
8599 * ses.el (ses-repair-cell-reference-all): New function.
8600 (ses-cell-symbol): Set macro as safe, so that it can be used in
8603 * ses.el: Update cycle detection algorithm.
8604 (ses-localvars): Add ses--Dijkstra-attempt-nb and
8605 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
8606 (ses-set-localvars): New function.
8607 (ses-make-cell): Add property-list as a cell element.
8608 (ses-cell-property-get-fun, ses-cell-property-get)
8609 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
8610 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8612 (ses-cell-property-set, ses-cell-property-pop)
8613 (ses-cell-property-get-handle): New macro.
8614 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8615 New aliases, used for code readability.
8616 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8618 (ses-self-reference-early-detection): New defcustom.
8619 (ses-formula-references): Robustify against self-referring cells.
8620 (ses-mode): Use ses-set-localvars.
8621 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8622 before lauching the update processing.
8623 (ses-initialize-Dijkstra-attempt): New function.
8624 (ses-recalculate-cell): Update for cycle detection based on
8627 * ses.el: Fix commenting and indenting convention.
8629 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8631 * bs.el (bs-cycle-next): Complete last change.
8633 2011-06-27 Drew Adams <drew.adams@oracle.com>
8635 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8637 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8639 * net/network-stream.el (network-stream-open-starttls):
8640 Don't re-get capabilities unless we've reestablished connection.
8641 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8643 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8644 to binary to possibly avoid line encoding issues on Windows (among
8647 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8649 * net/network-stream.el (open-network-stream): Return an :error
8650 saying what the problem was, if possible.
8652 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8655 * net/network-stream.el (network-stream-open-starttls): If we
8656 wanted to use STARTTLS, and the server offered it, but we weren't
8657 able to because we had no STARTTLS support, then close the connection.
8658 (open-network-stream): Return an :error element, if present.
8660 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
8662 * hl-line.el (hl-line-sticky-flag): Doc fix.
8663 (global-hl-line-sticky-flag): New option (Bug#8323).
8664 (global-hl-line-highlight): Obey it.
8666 * vc/vc.el (vc-revert-show-diff): Default to t.
8668 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8670 * allout-widgets.el (allout-widgets-post-command-business):
8671 Stop decorating intermediate isearch matches. They're not being
8672 undecorated when an isearch is continued past, and isearch
8673 automatically collapses them. This leads to "widget leaks", where
8674 decorated items accumulate in collapsed areas. Lines with lots of
8675 hidden widgets can slow down cursor travel, substantially.
8676 Too much complicated machinery would be needed to ensure undecoration,
8677 so we're doing without this nicety.
8679 (allout-widgets-tally-string): Don't try to do a hash-table-count
8680 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8681 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8682 *Messages* when allout-widgets-maintain-tally is t.
8684 2011-06-26 Martin Rudalics <rudalics@gmx.at>
8686 * window.el (display-buffer-normalize-argument): Rename to
8687 display-buffer-normalize-arguments. Handle special meaning of
8688 LABEL argument. Respect special-display-function when popping up
8689 a new frame. Fix code searching for a window showing the buffer
8691 (display-buffer-normalize-specifiers):
8692 Call display-buffer-normalize-arguments.
8693 (display-buffer-in-window): Don't undedicate the window if its
8694 buffer remains the same.
8695 Reported by Drew Adams <drew.adams@oracle.com>.
8696 (display-buffer-alist): Add choice for same-window macro
8698 (display-buffer): Mention special meaning of LABEL argument in
8699 doc-string. Fix quoting. Don't pop up a new frame even as
8702 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
8704 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8705 avoid deleting the current window in some cases (bug#8911).
8707 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8709 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8712 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8714 * net/network-stream.el (network-stream-open-starttls):
8715 Use built-in TLS support if `gnutls-available-p' is true.
8716 (network-stream-open-tls): Ditto.
8718 2011-06-26 Leo Liu <sdl.web@gmail.com>
8720 * register.el (registerv): New struct.
8721 (registerv-make): New function.
8722 (jump-to-register, describe-register-1, insert-register):
8723 Support the jump-func, print-func and insert-func slot of a registerv
8726 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
8728 * vc/vc.el (vc-revert-show-diff): New defcustom.
8729 (vc-diff-internal): New arg specifying diff buffer.
8730 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8731 reuse an existing *vc-diff* buffer (Bug#8927).
8733 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8735 2011-06-26 Glenn Morris <rgm@gnu.org>
8737 * progmodes/f90.el (f90-critical-indent): New option.
8738 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8739 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8740 (f90-mode): Doc fix.
8741 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8742 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8743 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8744 (f90-match-end): Handle block, critical.
8746 2011-06-25 Glenn Morris <rgm@gnu.org>
8748 * calendar/diary-lib.el (diary-included-files): Doc fix.
8749 (diary-include-files): New function, extracted from
8750 diary-include-other-diary-files and diary-mark-included-diary-files.
8751 (diary-include-other-diary-files, diary-mark-included-diary-files):
8752 Just call diary-include-files.
8753 (diary-mark-entries): Reset diary-included-files on first call.
8755 * calendar/diary-lib.el (diary-mark-entries)
8756 (diary-mark-included-diary-files):
8757 Visit included diary-files in temp buffers.
8759 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8760 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8761 (f90-start-block-re, f90-imenu-generic-expression)
8762 (f90-looking-at-program-block-start, f90-no-block-limit):
8763 Add support for submodules.
8765 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8766 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
8768 2011-06-25 Eli Zaretskii <eliz@gnu.org>
8770 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8771 buffer-file-type before setting its value, to avoid disastrous
8772 global effects on decoding files for DOS/Windows systems. (Bug#8780)
8774 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
8776 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8778 * ses.el (ses-unload-function):
8779 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8781 * proced.el (proced-unload-function):
8782 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8784 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8786 * server.el (server-create-window-system-frame): Add parameters arg.
8787 (server-process-filter): Doc fix. Handle frame-parameters.
8789 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
8791 Fix bug#8730, bug#8781.
8793 * loadhist.el (unload--set-major-mode): New function.
8794 (unload-feature): Use it.
8796 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8797 (python-unload-function): New function.
8799 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8801 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8803 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8805 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8806 the candidates list.
8808 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
8810 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8812 2011-06-23 Richard Stallman <rms@gnu.org>
8814 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8815 (rmail-variables): Set next-error-move-function.
8816 (rmail-what-message): Take argument POS.
8817 (rmail-next-error-move): New function.
8819 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8821 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8822 messages for adjacent non-terminals.
8824 2011-06-23 Richard Stallman <rms@gnu.org>
8826 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
8827 (rmail-show-message-1): Preserve buffer modified flag.
8828 (rmail-start-mail): Don't specify use of rmail-mail-return;
8829 that's done by mail-bury now.
8830 (rmail-mail-return): Handle arg NEWBUF.
8832 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
8834 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8837 2011-06-23 Martin Rudalics <rudalics@gmx.at>
8839 * window.el (get-lru-window, get-mru-window)
8840 (get-largest-window): Never return a minibuffer window.
8841 (display-buffer-pop-up-window): Fix a bug that could lead to
8842 reusing the minibuffer window.
8843 (display-buffer): Pass original specifier argument to
8844 display-buffer-function instead of the normalized one.
8845 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8847 2011-06-22 Leo Liu <sdl.web@gmail.com>
8849 * minibuffer.el (completing-read-function)
8850 (completing-read-default): Move from minibuf.c
8852 2011-06-22 Richard Stallman <rms@gnu.org>
8854 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8855 to Rmail even if not started by a special Rmail command.
8857 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8858 Copy the buffer currently showing just one message.
8860 2011-06-22 Roland Winkler <winkler@gnu.org>
8862 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8863 (bibtex-clean-entry): First delete the old key so that a
8864 customized algorithm for generating the new key does not get
8865 confused by the old key.
8866 (bibtex-url): Obey regexp of first step.
8867 (bibtex-search-entries): Do not use add-to-list with local
8870 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8872 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8873 stored a user name, then query for the password first, instead of
8874 waiting for SMTP to give an error message and the trying again.
8876 2011-06-22 Lawrence Mitchell <wence@gmx.li>
8878 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8879 BUFFER in call-process.
8881 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8883 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8885 (smtpmail-try-auth-methods): Require user name and password from
8888 2011-06-22 Martin Rudalics <rudalics@gmx.at>
8890 * window.el (display-buffer-default-specifiers)
8891 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8892 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
8893 (split-window): Normalize SIDE argument (Bug#8916).
8895 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8896 (special-display-frame-alist, special-display-popup-frame):
8897 Remove duplicate declarations. These are now in window.el.
8899 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8901 * mail/smtpmail.el (smtpmail-via-smtp):
8902 Set :use-starttls-if-possible so that we always use STARTTLS if the
8903 server supports it. SMTP servers that support STARTTLS commonly
8906 * net/network-stream.el (network-stream-open-starttls): Support
8907 upgrading to STARTTLS always, even if we don't have built-in support.
8908 (open-network-stream): Add the :always-query-capabilities keyword.
8910 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8911 upgrades with `open-network-stream', and rely solely on
8912 auth-source for all credentials. Big changes throughout the file,
8914 (smtpmail-auth-credentials): Remove.
8915 (smtpmail-starttls-credentials): Remove.
8916 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8919 * net/network-stream.el (network-stream-open-starttls):
8920 Provide support for client certificates both for external and built-in
8922 (auth-source): Require.
8923 (open-network-stream): Document the :client-certificate keyword.
8924 (network-stream-certificate): Change cert-cert to cert and
8927 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
8929 * net/tramp-cache.el (top): Don't load the persistency file when
8930 "emacs -Q" has been called.
8932 2011-06-21 Tim Harper <timcharper@gmail.com>
8934 * term/ns-win.el (ns-initialize-window-system):
8935 Set application-specific `ApplePressAndHoldEnabled' system
8936 resource to NO as it is not yet supported by the NS port.
8938 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
8940 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8941 (list-dynamic-libraries): ...not here.
8943 2011-06-21 Leo Liu <sdl.web@gmail.com>
8945 * subr.el (sha1): Implement sha1 using secure-hash.
8947 2011-06-21 Martin Rudalics <rudalics@gmx.at>
8949 * window.el (display-buffer-alist): In default value do not
8950 enforce searching a window on any but the selected frame.
8951 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8952 (display-buffer-select-window): Remove function.
8953 (display-buffer-in-window): When a window on another frame gets
8954 reused, do not select it any more but just raise its frame if
8955 necessary (Bug#8851) and (Bug#8856).
8956 (display-buffer-normalize-options): Handle pop-up-frames related
8957 options more faithfully.
8958 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8959 window if it is on another frame.
8960 (display-buffer-alist, display-buffer-default-specifiers):
8961 Don't make new frame unsplittable by default.
8962 (display-buffer-normalize-argument): Fix doc-string typo and use
8963 'same-frame-other-window instead of 'other-window when associating
8964 with display-buffer-macro-specifiers.
8966 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8968 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8970 (5x5-mode-map, 5x5-mode-menu): Bind them.
8971 (5x5-draw-grid): Tweak the solver's rendering.
8973 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8975 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8976 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8978 2011-06-21 Drew Adams <drew.adams@oracle.com>
8980 * menu-bar.el: Use function variable instead of switch-to-buffer.
8981 (menu-bar-select-buffer-function): New variable.
8982 (menu-bar-update-buffers): Use it (bug#8876).
8984 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8986 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8989 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8991 * x-dnd.el (x-dnd-version-from-flags)
8992 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8993 and long as number (Bug#8899).
8994 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8996 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8998 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
8999 (completion-try-completion, completion-all-completions): Compute the
9000 metadata argument if it's missing; make it optional (bug#8795).
9002 * wid-edit.el: Use lex-bind and move towards completion-at-point.
9003 (widget-complete): Use new :completion-function property.
9004 (widget-completions-at-point): New function.
9005 (default): Use :completion-function instead of :complete.
9006 (widget-default-completions): Rename from widget-default-complete;
9008 (widget-string-complete, widget-file-complete, widget-color-complete):
9010 (file, symbol, function, variable, coding-system, color):
9011 * international/mule-cmds.el (default-input-method, charset)
9012 (language-info-custom-alist):
9013 * cus-edit.el (face): Use new property :completions.
9015 * progmodes/pascal.el (pascal-completions-at-point): New function.
9016 (pascal-mode): Use it.
9017 (pascal-mode-map): Use completion-at-point.
9018 (pascal-toggle-completions): Make obsolete.
9019 (pascal-complete-word, pascal-show-completions):
9020 * progmodes/octave-mod.el (octave-complete-symbol):
9021 Redefine as obsolete alias.
9022 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9023 Signal absence of completion info for old Octave,
9024 (inferior-octave-complete): Redefine as obsolete alias.
9025 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9026 (meta-completions-at-point): Rename from meta-complete-symbol and
9027 adapt it for use on completion-at-point-functions.
9028 (meta-common-mode): Use it.
9029 (meta-looking-at-backward, meta-match-buffer): Remove.
9030 (meta-complete-symbol): Redefine as obsolete alias.
9031 (meta-common-mode-map): Use completion-at-point.
9032 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9033 (makefile-mode-map): Use completion-at-point.
9034 (makefile-completions-at-point): Rename from makefile-complete and
9035 adapt it for use on completion-at-point-functions.
9036 (makefile-mode): Use it.
9037 (makefile-complete): Redefine as obsolete alias.
9039 2011-06-20 Deniz Dogan <deniz@dogan.se>
9041 * net/rcirc.el: Delete trailing whitespaces once and for all.
9043 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9045 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9047 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
9049 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9051 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9053 2011-06-19 Martin Rudalics <rudalics@gmx.at>
9055 * window.el (display-buffer-other-window-means-other-frame):
9056 Call display-buffer-normalize-alist.
9057 (display-buffer-normalize-specifiers-1): Rename to
9058 display-buffer-normalize-argument. New argument other-frame.
9060 (display-buffer-normalize-specifiers-2): Rename to
9061 display-buffer-normalize-options.
9062 (display-buffer-normalize-alist-1): New function.
9063 (display-buffer-normalize-specifiers-3): Rename to
9064 display-buffer-normalize-alist.
9065 Call display-buffer-normalize-alist-1.
9066 (display-buffer-normalize-options-inhibit): New variable.
9067 (display-buffer-normalize-specifiers): Rewrite calling
9068 display-buffer-normalize-alist,
9069 display-buffer-normalize-argument, and
9070 display-buffer-normalize-options. Don't call the latter if
9071 display-buffer-normalize-options-inhibit is non-nil.
9072 (frame-auto-delete): New option.
9073 (window-deletable-p): Use frame-auto-delete.
9074 (window-list-no-nils, window-state-ignored-parameters)
9075 (window-state-get-1, window-state-get, window-state-put-list)
9076 (window-state-put-1, window-state-put-2, window-state-put):
9078 (display-buffer-normalize-options): Move special-display-p group
9079 after pop-up-frame group (Bug#8851) and (Bug#8856).
9081 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
9083 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9085 (rx-submatch-n): New function.
9088 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9091 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9093 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9095 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9096 anytime existing face settings are present (Bug#8889).
9098 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9099 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9100 Remove unused argument.
9102 2011-06-18 Martin Rudalics <rudalics@gmx.at>
9104 * window.el (display-buffer-default-specifiers):
9105 Remove pop-up-frame. Add pop-up-window-min-height,
9106 pop-up-window-min-width, and another reuse-window specifier
9107 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
9108 (display-buffer-normalize-specifiers-2):
9109 Handle split-height-threshold and split-width-threshold also when
9110 pop-up-windows is unset. Add a reuse-window specifier for the
9111 case popping up a new window fails.
9112 (special-display-popup-frame): Remove double quoting.
9113 (display-buffer-normalize-specifiers-1): Fix thinko.
9115 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9117 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9118 according to comint-completion-addsuffix.
9120 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9121 (pcomplete-suffix-list): Mark as obsolete.
9122 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9123 pcomplete-seen in the closure.
9124 (pcomplete-comint-setup): Setup completion-at-point as well.
9125 (pcomplete--entries): New function.
9126 (pcomplete--env-regexp): New var.
9127 (pcomplete-entries): Rewrite to work with partial-completion and
9128 without relying on pcomplete-suffix-list.
9129 (pcomplete-pare-list): Remove, unused.
9131 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9133 * window.el (display-buffer-alist): Set pop-up-window-min-height
9134 and pop-up-window-min-width in default value. Reported by
9135 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9136 other-window-means-other-frame.
9137 (display-buffer-macro-specifiers): Comment out entry for
9138 other-window specifier.
9139 (display-buffer-other-window-means-other-frame): New function.
9140 (display-buffer-normalize-specifiers-1): New arguments
9141 buffer-name and label. Treat other-window case specially.
9142 (display-buffer-normalize-specifiers-2): Treat other-window case
9144 (display-buffer-normalize-specifiers-3): New function.
9145 (display-buffer-normalize-specifiers):
9146 Call display-buffer-normalize-specifiers-3.
9148 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9150 * window.el (same-window-p): Fix two typos introduced when
9151 adding with-no-warnings.
9152 (display-buffer-normalize-specifiers-1): Don't check
9153 pop-up-frames for 'unset initialization.
9154 (display-buffer-normalize-specifiers-2): Major rewrite using
9155 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9156 (pop-up-frames, display-buffer-reuse-frames)
9157 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9158 Suggested by David Engster <deng@randomsample.de>.
9159 (even-window-heights): Initialize to 'unset.
9160 (display-buffer-alist-set): Handle new 'unset initializations.
9161 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9164 2011-06-16 Martin Rudalics <rudalics@gmx.at>
9166 * window.el (display-buffer-normalize-specifiers-1):
9167 Respect current value of pop-up-frames for most reasonable values of
9168 second argument of display-buffer (Bug#8865).
9169 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9170 (switch-to-buffer-other-window-same-frame)
9171 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9173 (display-buffer): Don't check noninteractive when calling
9174 display-buffer-pop-up-frame.
9175 (display-buffer-pop-up-frame): Never pop up a frame in
9176 noninteractive mode (Bug#8857).
9177 (enlarge-window, shrink-window): Don't report an error when the
9178 window can't be resized as requested (Bug#8862).
9180 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9182 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9184 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9186 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9188 2011-06-15 Alan Mackenzie <acm@muc.de>
9190 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9191 for declarators, disable knr checking to speed up for normal files.
9192 2: Refactor, replacing a sequence of nested if forms by a cond form.
9194 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9196 * net/network-stream.el (open-network-stream): Add the keyword
9197 :always-query-capabilities for the case where you want to force a
9198 `plain' network connection, but the protocol still requires the
9199 capabilitiy command (i.e., SMTP and EHLO).
9201 * subr.el (process-live-p): Rename from `process-alive-p' for
9202 consistency with other `-live-p' functions.
9204 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9206 * window.el (same-window-buffer-names, same-window-regexps)
9207 (special-display-frame-alist, special-display-popup-frame)
9208 (special-display-function, special-display-buffer-names)
9209 (special-display-regexps, pop-up-frame-alist)
9210 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9211 (pop-up-windows, split-window-preferred-function)
9212 (split-height-threshold, split-width-threshold, even-window-heights)
9213 (display-buffer-mark-dedicated): Don't encourage the use of
9214 display-buffer-alist from Elisp code.
9216 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9218 * progmodes/python.el (python-mode): Derive from prog-mode.
9219 * progmodes/ps-mode.el (ps-mode):
9220 * progmodes/mixal-mode.el (mixal-mode):
9221 * progmodes/cfengine.el (cfengine-mode):
9222 * progmodes/ld-script.el (ld-script-mode): Likewise.
9224 2011-06-15 Martin Rudalics <rudalics@gmx.at>
9226 * window.el (display-buffer-alist): Trim default value to avoid
9227 popping up a new frame (Bug#8857) or reusing an arbitrary window
9229 (display-buffer): Do not fall back on popping up a new frame in
9230 batch mode (Bug#8857).
9232 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
9234 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9235 (custom-theme-summary): New function.
9236 (customize-themes): Use it.
9238 2011-06-13 Glenn Morris <rgm@gnu.org>
9240 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9242 2011-06-13 Martin Rudalics <rudalics@gmx.at>
9244 * help.el (help-window): Remove variable.
9245 (help-window-point-marker, temp-buffer-max-height)
9246 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9247 (help-print-return-message): Don't set help-window.
9248 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9249 (help-window-setup-finish): Remove.
9250 (help-window-display-message, help-window-setup)
9251 (with-help-window): Major rewrite based on new
9252 display-buffer-window variable.
9254 * help-mode.el (help-mode-finish): Remove help-window related
9257 * view.el (view-exits-all-viewing-windows): Remove reference to
9258 view-return-to-alist in doc-string.
9259 (view-return-to-alist): Make obsolete.
9260 (view-buffer): Call pop-to-buffer-same-window and remove
9262 (view-buffer-other-window): Call pop-to-buffer-other-window and
9263 simplify code. Ignore second argument.
9264 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9265 simplify code. Ignore second argument.
9266 (view-return-to-alist-update): Make obsolete.
9267 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9268 Rewrite using quit-restore window parameters.
9269 (view-mode-exit): Rename second argument to EXIT-ONLY.
9270 Rewrite using quit-restore-window.
9271 (View-exit, View-exit-and-edit, View-leave, View-quit)
9272 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9273 appropriate arguments.
9274 (view-end-message): Use quit-restore window parameter.
9276 * window.el (display-buffer-function): Rewrite doc-string.
9277 (display-buffer-window, display-buffer-alist): New variables.
9278 (display-buffer-split-specifiers)
9279 (display-buffer-side-specifiers)
9280 (display-buffer-macro-specifiers): New constants.
9281 (display-buffer-even-window-sizes, display-buffer-set-height)
9282 (display-buffer-set-width, display-buffer-select-window)
9283 (display-buffer-in-window, display-buffer-reuse-window)
9284 (display-buffer-split-window-1, display-buffer-split-window)
9285 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9286 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9287 (display-buffer-in-side-window, normalize-buffer-to-display)
9288 (display-buffer-normalize-specifiers-1)
9289 (display-buffer-normalize-specifiers-2)
9290 (display-buffer-normalize-specifiers, display-buffer-frame):
9292 (display-buffer): Major rewrite.
9293 (display-buffer-other-window, display-buffer-other-frame)
9294 (pop-to-buffer, switch-to-buffer-other-window)
9295 (switch-to-buffer-other-frame): Rewrite.
9296 (display-buffer-same-window, display-buffer-same-frame)
9297 (display-buffer-same-frame-other-window)
9298 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9299 (pop-to-buffer-other-window)
9300 (pop-to-buffer-same-frame-other-window)
9301 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9302 (switch-to-buffer-other-window-same-frame): New functions.
9303 (same-window-p, special-display-p): Rewrite disabling warnings.
9305 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9306 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9308 (same-window-buffer-names, same-window-regexps)
9309 (special-display-frame-alist, special-display-popup-frame)
9310 (special-display-function, special-display-buffer-names)
9311 (special-display-regexps, pop-up-frame-alist)
9312 (pop-up-frame-function, split-window-preferred-function)
9313 (split-height-threshold, split-width-threshold)
9314 (even-window-heights): Make obsolete.
9316 2011-06-12 Glenn Morris <rgm@gnu.org>
9318 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
9319 Misc simplifications.
9321 2011-06-12 Martin Rudalics <rudalics@gmx.at>
9323 * window.el (window-safely-shrinkable-p): Restore function which
9324 was inadvertently removed in change from 2011-06-11. Declare as
9327 * calendar/calendar.el (calendar-generate-window):
9328 Use window-iso-combined-p instead of combination of one-window-p and
9329 window-safely-shrinkable-p.
9331 2011-06-12 Glenn Morris <rgm@gnu.org>
9333 * progmodes/fortran.el (fortran-mode-syntax-table):
9334 * progmodes/f90.el (f90-mode-syntax-table):
9335 Set % to punctuation. (Bug#8820)
9336 (f90-find-tag-default): Remove, no longer needed.
9338 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9340 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9342 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
9344 * image.el (image-animated-p): Return animation delay in seconds.
9345 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9346 (image-animate-timeout): Remove DELAY argument. Don't assume
9347 every subimage has the same delay; get it from image-animated-p.
9348 (image-animate): Caller changed.
9350 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
9352 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9353 to ignored backtrace functions.
9355 2011-06-11 Glenn Morris <rgm@gnu.org>
9357 * calendar/appt.el (appt-disp-window-function): Doc fix.
9358 (appt-check): Handle overlapping appointments. (Bug#8337)
9360 2011-06-11 Martin Rudalics <rudalics@gmx.at>
9362 * window.el (window-tree-1, window-tree): New functions, moving
9363 the latter to window.el.
9364 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9365 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9366 (bw-refresh-edges): Remove.
9367 (balance-windows-1, balance-windows-2): New functions.
9368 (balance-windows): Rewrite in terms of window tree functions,
9369 balance-windows-1 and balance-windows-2.
9370 (bw-adjust-window): Remove.
9371 (balance-windows-area-adjust): New function with functionality of
9372 bw-adjust-window but using resize-window.
9373 (set-window-text-height): Rewrite doc-string.
9374 Use normalize-live-window and resize-window.
9375 (enlarge-window-horizontally, shrink-window-horizontally):
9376 Rename argument to DELTA.
9377 (window-buffer-height): New function.
9378 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9379 Rewrite using new window resize routines.
9380 (kill-buffer-and-window, mouse-autoselect-window-select):
9381 Use ignore-errors instead of condition-case.
9382 (quit-window): Call delete-frame instead of delete-windows-on
9383 for the only buffer on frame.
9385 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9387 * loadup.el (top-level): Load window before files for the sake
9388 of replace-buffer-in-windows.
9390 * files.el (read-buffer-to-switch)
9391 (switch-to-buffer-other-window)
9392 (switch-to-buffer-other-frame, display-buffer-other-frame):
9395 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9396 (previous-buffer): Move to window.el.
9398 * bindings.el (unbury-buffer): Move to window.el.
9400 * window.el (delete-other-windows-vertically): Move after
9401 definition of delete-other-windows.
9402 (other-window, delete-windows-on, replace-buffer-in-windows):
9403 Move here from window.c.
9404 (record-window-buffer, unrecord-window-buffer)
9405 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9406 (switch-to-next-buffer): New functions.
9407 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9408 from simple.el. Call switch-to-next-buffer.
9409 (previous-buffer): Move here from simple.el.
9410 Call switch-to-prev-buffer.
9411 (bury-buffer): Move here from buffer.c. Switch to previous
9412 buffer when window cannot be deleted.
9413 (unbury-buffer): Move here from bindings.el.
9414 (ctl-x-map): Move binding for other-window from window.c to
9416 (read-buffer-to-switch, switch-to-buffer-other-window)
9417 (switch-to-buffer-other-frame): Move here from files.el.
9418 (normalize-buffer-to-switch-to): New functions.
9419 (switch-to-buffer): Move here from buffer.c.
9420 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9422 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9424 * window.el (window-min-height, window-min-width): Move here
9425 from window.c. Add defcustoms and rewrite doc-strings.
9426 (resize-mini-window, resize-window): New functions.
9427 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9428 Move here from window.c.
9429 (maximize-window, minimize-window): New functions.
9430 (delete-window, delete-other-windows, split-window): Move here
9432 (window-split-min-size): New function.
9433 (split-window-keep-point): Mention split-window-above-each-other
9434 instead of split-window-vertically.
9435 (split-window-above-each-other, split-window-vertically):
9436 Rename split-window-vertically to split-window-above-each-other
9437 and provide defalias for old definition.
9438 (split-window-side-by-side, split-window-horizontally):
9439 Rename split-window-horizontally to split-window-side-by-side
9440 and provide defalias for the old definition.
9441 (ctl-x-map): Move bindings for delete-window,
9442 delete-other-windows and enlarge-window here from window.c.
9443 Replace bindings for split-window-vertically and
9444 split-window-horizontally by bindings for
9445 split-window-above-each-other and split-window-side-by-side.
9447 * cus-start.el (all): Remove entries for window-min-height and
9448 window-min-width. Add entries for window-splits and
9451 2011-06-09 Glenn Morris <rgm@gnu.org>
9453 * calendar/appt.el (appt-mode-line): New function.
9454 (appt-check, appt-disp-window): Use it.
9456 * files.el (hack-one-local-variable-eval-safep):
9457 Allow minor-modes with explicit +/-1 arguments.
9459 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9461 * term/xterm.el (xterm): Add defgroup.
9462 (xterm-extra-capabilities): Add defcustom to supply known xterm
9463 capabilities, skip querying them, or query them (default).
9464 (terminal-init-xterm): Use it.
9465 (terminal-init-xterm-modify-other-keys): New function to set up
9466 modifyOtherKeys support to simplify `terminal-init-xterm'.
9468 2011-06-09 Martin Rudalics <rudalics@gmx.at>
9470 * window.el (resize-window-reset, resize-window-reset-1)
9471 (resize-subwindows-skip-p, resize-subwindows-normal)
9472 (resize-subwindows, resize-other-windows, resize-this-window)
9473 (resize-root-window, resize-root-window-vertically)
9474 (window-deletable-p, window-or-subwindow-p)
9475 (frame-root-window-p): New functions.
9477 2011-06-09 Glenn Morris <rgm@gnu.org>
9479 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9480 (ange-ftp-get-files): Use it.
9482 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9484 * mail/sendmail.el (mail-recover-1, mail-recover):
9485 * files.el (recover-file, recover-session):
9486 Handle dired-listing-switches not being just a single short option.
9488 2011-06-09 Glenn Morris <rgm@gnu.org>
9490 * calendar/appt.el (appt-display-message, appt-disp-window):
9491 Handle lists of appointments.
9493 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9495 * window.el (one-window-p): Move down in code.
9497 (window-current-scroll-bars): Rewrite doc-string.
9498 Normalize live window argument.
9499 (walk-windows, get-window-with-predicate, count-windows):
9500 Rewrite doc-string. Use window-list-1.
9501 (window-in-direction-2, window-in-direction, get-mru-window):
9504 2011-06-08 Reuben Thomas <rrt@sc3d.org>
9506 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9509 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
9511 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9513 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
9515 * loadhist.el (unload-feature-special-hooks):
9516 Add `comint-output-filter-functions'.
9518 2011-06-08 Ivan Kanis <gnu@kanis.fr>
9520 * calendar/appt.el (appt-check): Move some initializations into the let.
9522 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9524 * window.el (window-height): Defalias to window-total-height.
9525 (window-width): Defalias to window-body-width.
9527 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
9529 * image-mode.el (image-toggle-animation): New command.
9530 (image-mode-map): Bind it to RET.
9531 (image-mode): Update message.
9532 (image-toggle-display-image): Avoid a spurious cache flush.
9533 (image-transform-rotation): Doc fix.
9534 (image-transform-properties): Return quickly in the normal case.
9535 (image-animate-loop): Rename from image-animate-max-time.
9537 * image.el (image-animate-max-time): Move to image-mode.el.
9538 (create-animated-image): Remove unnecessary function.
9539 (image-animate): Rename from image-animate-start. New arg.
9540 (image-animate-stop): Remove; just use image-animate-timer.
9541 (image-animate-timer): Use car-safe.
9542 (image-animate-timeout): Rename argument.
9544 2011-06-07 Martin Rudalics <rudalics@gmx.at>
9546 * window.el (get-lru-window, get-largest-window): Move here from
9547 window.c. Rename first argument to ALL-FRAMES.
9548 Rephrase doc-strings.
9549 (get-buffer-window-list): Rewrite using window-list-1.
9550 Rephrase doc-string.
9551 (window-safe-min-height, window-safe-min-width): New constants.
9552 (window-size-ignore, window-min-size, window-min-size-1)
9553 (window-sizable, window-sizable-p, window-size-fixed-1)
9554 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9555 (window-max-delta-1, window-max-delta, window-resizable)
9556 (window-resizable-p, window-total-height, window-total-width)
9557 (window-body-width): New functions.
9558 (window-full-height-p, window-full-width-p): Rewrite using
9560 (window-body-height): Rewrite using window-body-size.
9562 2011-06-06 Martin Rudalics <rudalics@gmx.at>
9564 * window.el (window-right, window-left, window-child)
9565 (window-child-count, window-last-child, window-any-p)
9566 (normalize-live-buffer, normalize-live-frame)
9567 (normalize-any-window, normalize-live-window)
9568 (window-iso-combination-p, window-iso-combined-p)
9569 (window-iso-combinations)
9570 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9571 (windows-with-parameter, window-with-parameter)
9572 (window-atom-root, make-window-atom, window-atom-check-1)
9573 (window-atom-check, window-side-check, window-check):
9575 (ignore-window-parameters, window-sides, window-sides-vertical)
9576 (window-sides-slots): New variables.
9577 (window-size-fixed): Move down in code. Minor doc-string fix.
9579 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9581 * comint.el (comint-dynamic-complete-as-filename)
9582 (comint-dynamic-complete-filename): Correctly call
9583 completion-in-region.
9585 2011-06-05 Deniz Dogan <deniz@dogan.se>
9587 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9590 2011-06-05 Deniz Dogan <deniz@dogan.se>
9592 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9593 (rcirc): Use it to prompt for encryption.
9595 2011-06-05 Roland Winkler <winkler@gnu.org>
9597 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9598 (bibtex-search-entries): New command bound to C-c C-a.
9599 (bibtex-display-entries): New function.
9601 2011-06-05 Roland Winkler <winkler@gnu.org>
9603 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9604 (bibtex-insert-kill): After yanking insert newline if necessary.
9605 (bibtex-initialize): Call bibtex-string-files-init only once.
9606 (bibtex-mode): Do not call easy-menu-add.
9607 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9608 (bibtex-yank): Set arg properly if nil.
9610 2011-06-05 Roland Winkler <winkler@gnu.org>
9612 * textmodes/bibtex.el (bibtex-search-entry-globally):
9614 (bibtex-search-entry): Use it.
9616 2011-06-05 Roland Winkler <winkler@gnu.org>
9618 * textmodes/bibtex.el (bibtex-entry-format): New option
9620 (bibtex-format-entry, bibtex-reformat): Honor this option.
9621 (bibtex-parse-entry): Return fields in proper order.
9623 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
9625 * doc-view.el (doc-view-remove-if): Move computation of result out
9626 of `dolist' to silence misleading lexical-binding warning.
9628 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
9630 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9631 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9633 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9635 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9638 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9640 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9641 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9642 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9643 (tramp-parse-putty):
9644 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9645 (tramp-completion-function-alist-ssh)
9646 (tramp-completion-function-alist-telnet)
9647 (tramp-completion-function-alist-su)
9648 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9653 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9654 load "tramp.el" `tramp-set-completion-function'.
9656 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9658 * shell.el: Require and use pcomplete.
9659 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9660 (shell-completion-vars): Set pcomplete-default-completion-function.
9662 2011-06-04 Deniz Dogan <deniz@dogan.se>
9664 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9667 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9669 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9671 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
9673 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9674 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9675 * vc/log-view.el (log-view-beginning-of-defun):
9676 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9677 (smerge-refine-forward, smerge-refine-chopup-region):
9678 Silence warning for unused `dotimes' counter variables.
9680 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9682 * net/tramp.el (tramp-with-progress-reporter): Rename from
9683 with-progress-reporter. Use `declare'.
9686 * net/tramp-gvfs.el: Update all uses.
9688 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9690 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9691 buffer isn't killed before making it current.
9693 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9695 Silence various byte-compiler warnings.
9696 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9697 `access-type' and new obsolescence format.
9698 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9700 (byte-compile-check-variable): New `access-type' argument.
9701 Only warn if the access-type is obsolete.
9702 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9703 (byte-compile-variable-set): Adjust callers.
9704 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9705 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9706 setting it as obsolete.
9707 * simple.el (minibuffer-completing-symbol):
9708 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9710 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9712 * international/quail.el (quail-mouse-choose-completion): Remove unused
9713 code referring to obsolete var.
9714 (quail-choose-completion-string): Remove.
9715 * server.el (server-clients-with, server-kill-buffer-query-function)
9716 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9717 * proced.el (proced-send-signal):
9718 * emacs-lisp/lisp.el (lisp-complete-symbol):
9719 Replace completion-annotate-function with completion-extra-properties.
9721 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9723 * simple.el (goto-line): Use read-number.
9724 (overriding-map-is-bound): Remove.
9725 (saved-overriding-map): Change default.
9726 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9727 Take the map as argument.
9728 (universal-argument, negative-argument, digit-argument): Use it.
9729 (restore-overriding-map): Adjust.
9730 (do-auto-fill): Use fill-forward-paragraph.
9731 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9733 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9734 (minibuffer-inactive-mode): New major mode.
9735 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9736 the *Messages* buffer" hack.
9737 (mouse-popup-menubar): Don't burp if the event is a normal key.
9739 Miscellaneous tweaks.
9740 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9741 lexical scoping as in subr.el's dolist and dotimes.
9742 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9743 Silence compiler warning.
9744 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9745 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9746 * international/ccl.el (ccl-compile): Trivial simplification.
9747 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9748 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9749 `printflag' argument.
9750 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9751 Purecopy the whole obsolescence data.
9753 2011-06-01 Leo Liu <sdl.web@gmail.com>
9755 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9756 improve doc-string as suggested by Marco Pessotto
9757 <melmothx@gmail.com>.
9758 (rcirc-print): Fix last change.
9760 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9762 * minibuffer.el (complete-with-action): Return nil for the metadata and
9763 boundaries of non-functional tables.
9764 (completion-table-dynamic): Return nil for the metadata.
9765 (completion-table-with-terminator): Add default case, using
9766 complete-with-action.
9767 (completion--metadata): New function.
9768 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9769 to try and avoid pathological performance problems.
9770 (completion--embedded-envvar-table): Return `category' metadata.
9772 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9774 * subr.el (process-alive-p): New tiny convenience function.
9776 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9778 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9779 content but also its previous major mode.
9781 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
9783 * emacs-lisp/debug.el (debug): Restore the previous content of the
9784 *Backtrace* buffer when we exit with C-M-c.
9786 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9788 * minibuffer.el: Add metadata method to completion tables.
9789 (completion-category-overrides): New defcustom.
9790 (completion-metadata, completion--field-metadata)
9791 (completion-metadata-get, completion--styles)
9792 (completion--cycle-threshold): New functions.
9793 (completion-try-completion, completion-all-completions):
9794 Add `metadata' argument to choose completion-styles.
9795 (completion--do-completion): Use metadata to choose cycling.
9796 (completion-all-sorted-completions): Use metadata for sorting.
9797 Remove :completion-cycle-penalty which is not needed any more.
9798 (completion--try-word-completion): Add `metadata' argument.
9799 (minibuffer-completion-help): Check metadata for annotation function
9801 (completion-file-name-table): Return `category' metadata.
9802 (minibuffer-completing-file-name): Make obsolete.
9803 * simple.el (minibuffer-completing-symbol): Make obsolete.
9804 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9805 completion-try-completion.
9807 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9809 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9811 2011-05-30 Leo Liu <sdl.web@gmail.com>
9813 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
9814 (rcirc-print): Decode all incoming messages (bug#8744).
9815 (rcirc-decode-coding-system): Allow value nil for automatic coding
9818 2011-06-01 Glenn Morris <rgm@gnu.org>
9820 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9822 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9824 * image.el (image-animate-max-time): Allow nil and t values.
9826 (create-animated-image): Doc fix.
9827 (image-animate-start): Remove second arg; just use
9828 image-animate-max-time.
9829 (image-animate-timeout): Doc fix. Args changed.
9831 * image-mode.el (image-toggle-display-image): Ensure that the
9832 image spec passed to the animate timer is the same object as in
9833 the buffer's display property (Bug#6981).
9834 (image-transform-properties): Doc fix.
9836 * image.el (image-animate-max-time): Default to nil.
9838 2011-05-29 Martin Rudalics <rudalics@gmx.at>
9840 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9841 entire buffer list (Bug#8184).
9843 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9845 * image.el (imagemagick-types-inhibit)
9846 (imagemagick-register-types): Doc fix.
9848 2011-05-29 Deniz Dogan <deniz@dogan.se>
9850 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9853 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9855 * select.el: Don't perform clipboard-manager saving in hooks;
9856 leave the hooks empty.
9858 2011-05-28 Leo Liu <sdl.web@gmail.com>
9860 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9861 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9862 (occur-edit-mode): New major mode (Bug#8463).
9863 (occur-after-change-function): New function.
9864 (occur-engine): Give Occur tags a read-only property.
9866 2011-05-28 Kevin Ryde <user42@zip.com.au>
9868 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9870 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9872 * bindings.el (help-echo): Make the initial non-indicator dash
9873 empty on graphical terminals (Bug#7295).
9875 * files.el (auto-mode-alist): Move config rule after the
9876 in-stripping one (Bug#8547).
9878 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9880 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9883 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9885 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9886 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9889 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9891 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9893 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9895 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9896 (hs-hide-block-at-point, hs-find-block-beginning)
9897 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9900 2011-05-28 Glenn Morris <rgm@gnu.org>
9902 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9904 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9906 * help-fns.el (describe-function-1): If the function is a derived
9907 major mode, print the parent mode.
9909 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9910 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9912 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9914 * minibuffer.el (completion--capf-wrapper): Check applicability before
9915 returning non-nil for non-exclusive completion data.
9916 * progmodes/etags.el (tags-completion-at-point-function):
9917 * info-look.el (info-lookup-completions-at-point): Mark as
9919 (info-complete): Adjust accordingly.
9921 * info-look.el: Convert to lexical-binding and completion-at-point.
9922 (info-lookup-completions-at-point): New function.
9923 (info-complete): Use it and completion-in-region.
9925 2011-05-28 Drew Adams <drew.adams@oracle.com>
9927 * isearch.el: Let M-e start with point at the first mismatched char.
9928 (isearch-fail-pos): New function.
9929 (isearch-edit-string): Use it.
9931 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9933 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9935 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
9937 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9938 traversal functions for avl-trees.
9939 (avl-tree--stack): New struct.
9940 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9941 (avl-tree-enter): Add optional `updatefun' arg.
9942 (avl-tree--do-enter): Add optional `updatefun' arg.
9943 Change return value.
9944 (avl-tree-delete): Add optional `test' and `nilflag' args.
9945 (avl-tree--do-delete): Add `test' and `nilflag' args.
9946 Change return value.
9947 (avl-tree-member): Add optional `nilflag'
9948 (avl-tree-member-p): New function.
9949 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9950 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9951 (avl-tree-stack-empty-p): New functions.
9953 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9954 avl-tree--del-balance1 and make it work both ways.
9955 (avl-tree--del-balance2): Remove.
9956 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9957 make it work both ways.
9958 (avl-tree--enter-balance2): Remove.
9959 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9961 (avl-tree--mapc, avl-tree-map): Add direction argument.
9963 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
9965 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9967 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
9969 * select.el: Support clipboard managers with built-in function
9970 x-clipboard-manager-save, via delete-frame-functions and
9972 (xselect-convert-to-targets): Add MULTIPLE target to list.
9973 (xselect-convert-to-save-targets): New function.
9975 2011-05-27 Kenichi Handa <handa@m17n.org>
9977 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9978 let-binding rfc2047-encode-encoded-words to nil.
9980 2011-05-27 Glenn Morris <rgm@gnu.org>
9982 * mail/emacsbug.el: Don't require url-util.
9984 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9986 * files.el (set-auto-mode):
9987 Also respect mode: entries at the end of the file. (Bug#8586)
9989 2011-05-26 Glenn Morris <rgm@gnu.org>
9991 * files.el (hack-local-variables-prop-line, hack-local-variables):
9992 Downcase mode names, as seems to be traditional.
9993 (hack-local-variables, hack-local-variables-apply): Doc fixes.
9995 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9996 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9998 2011-05-25 Julien Danjou <julien@danjou.info>
10000 * textmodes/rst.el (rst-define-level-faces): Do not define face
10001 symbol if it is already defined.
10003 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10005 * play/5x5.el (5x5-new-game, 5x5-randomize):
10006 Reset 5x5-solver-output to nil when a new grid is cast.
10007 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10008 these debugging traces, as defmacro breaks the compiled code.
10010 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10012 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10014 2011-05-24 Leo Liu <sdl.web@gmail.com>
10016 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10017 (vc-bzr-sha1): Adapt.
10019 * sha1.el: Remove. Function `sha1' is now builtin.
10021 * bindings.el: Provide sha1 feature.
10023 2011-05-24 Kenichi Handa <handa@m17n.org>
10025 * mail/sendmail.el: Require `rfc2047'.
10026 (mail-insert-from-field): Do not perform RFC2047 encoding.
10027 (mail-encode-header): New function.
10028 (sendmail-send-it): Set buffer-file-coding-system of the work
10029 buffer to the return value of select-message-coding-system.
10030 Call mail-encode-header.
10032 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10034 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
10036 * mail/supercite.el (sc-default-cite-frame):
10037 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
10039 2011-05-24 Glenn Morris <rgm@gnu.org>
10041 * progmodes/python.el (brm-menu): Declare.
10043 * emulation/viper.el (viper-set-hooks): Declare.
10045 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10046 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10047 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10048 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10049 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10050 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10052 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10054 Add an :exit-function for completion-at-point.
10056 * minibuffer.el (completion--done): New fun.
10057 (completion--do-completion): Use it. New arg `expect-exact'.
10058 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10059 since completion--do-completion does it for us now.
10060 (minibuffer-force-complete): Use completion--done and
10061 completion--replace. Handle sole-completion case with more care.
10062 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10063 (completion-extra-properties): New var.
10064 (completion-annotate-function): Make obsolete.
10065 (minibuffer-completion-help): Adjust accordingly.
10066 Use completion-list-insert-choice-function.
10067 (completion-at-point, completion-help-at-point):
10068 Bind completion-extra-properties.
10069 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10070 * simple.el (completion-list-insert-choice-function): New var.
10071 (completion-setup-function): Preserve it.
10072 (choose-completion): Pay attention to it, shuffle the code a bit.
10073 (choose-completion-string): New arg `insert-function'.
10075 * textmodes/bibtex.el: Convert to lexical binding.
10076 (bibtex-mode-map): Use completion-at-point.
10077 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10078 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10079 (bibtex-complete): Define as obsolete alias.
10080 (bibtex-complete-internal): Remove.
10081 (bibtex-format-entry): Remove unused sub-group in regexp.
10082 * shell.el (shell--command-completion-data)
10083 (shell-environment-variable-completion):
10084 * pcomplete.el (pcomplete-completions-at-point):
10085 * comint.el (comint--complete-file-name-data): Use :exit-function
10086 instead of completion-table-with-terminator so it also works for
10089 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10091 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10093 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10096 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10098 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10100 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10101 customization variable and implement: If non-nil, auto-fill will
10102 be inhibited while on topic's header line.
10104 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10106 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
10107 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
10108 always have a solution in grid size = 5 cases.
10109 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10110 (5x5-solver-output, 5x5-log-buffer): New vars.
10111 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10112 Make these variables buffer local to achieve 5x5 multi-session-ness.
10113 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10114 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10115 (5x5-solve-suggest): New funs.
10116 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10117 randomize a grid so that we ensure that there is always a solution.
10118 (5x5-make-random-grid): Allow other movement than flipping.
10120 2011-05-23 Kevin Ryde <user42@zip.com.au>
10122 * emacs-lisp/advice.el (ad-read-advised-function):
10123 Use `function-called-at-point' as the default, if it has
10124 advice and passes PREDICATE.
10126 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10128 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10129 byte-compile-lambda if it's actually a lambda.
10131 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10132 Fix function quoting. Use backquote better.
10134 2011-05-22 Yuanle Song <sylecn@gmail.com>
10136 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10137 matching (Bug#8516).
10139 2011-01-22 Jari Aalto <jari.aalto@cante.net>
10141 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10142 different face (Bug#8178).
10144 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
10146 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10147 defface (Bug#8144).
10149 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10151 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10152 funcall as well (bug#8712). Warn when performing those conversions.
10153 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10155 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10157 2011-05-22 Glenn Morris <rgm@gnu.org>
10159 * files.el (hack-local-variables-prop-line): Small simplifications.
10160 (hack-local-variables, hack-local-variables-prop-line):
10161 If MODE-ONLY, return the mode, rather than just `t'.
10163 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10165 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10167 2011-05-21 Glenn Morris <rgm@gnu.org>
10169 * files.el (hack-local-variables-prop-line, hack-local-variables):
10170 If only interested in the mode, don't bother doing the other stuff.
10172 * image-mode.el (image-after-revert-hook):
10173 Redraw all frames on which the image is visible. (Bug#8567)
10175 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10177 * wid-edit.el (widget-checklist-match-inline):
10178 Fix 2011-04-19 change. (Bug#8649)
10180 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10182 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10183 Also allow singlespace after single-letter capitals followed by a dot.
10185 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10186 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10188 2011-05-20 Nix <nix@esperi.org.uk>
10190 * files.el (basic-save-buffer-2):
10191 Fix handling of break-hardlink-on-save with non-existent files.
10193 2011-05-19 Deniz Dogan <deniz@dogan.se>
10195 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
10196 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
10198 2011-05-19 Glenn Morris <rgm@gnu.org>
10200 * progmodes/f90.el (f90-type-def-re):
10201 Handle "type, bind(c)". (Bug#8691)
10203 * emacs-lisp/autoload.el (batch-update-autoloads):
10204 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10206 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
10208 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10209 property for the correct connection in case of multihops.
10211 2011-05-18 Glenn Morris <rgm@gnu.org>
10213 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
10214 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10216 Rationalize calendar handling of day and month abbrev-arrays.
10217 * calendar/calendar.el (calendar-customized-p): New function.
10218 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10219 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10221 (calendar-abbrev-length, calendar-day-abbrev-array)
10222 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10223 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10224 Elements may no longer be nil.
10225 (calendar-day-name, calendar-month-name):
10226 Update for changed nature of abbrev arrays.
10227 * calendar/diary-lib.el (diary-name-pattern):
10228 Update for changed nature of abbrev arrays.
10229 (diary-mark-entries-1): Update calendar-make-alist calls.
10230 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10231 * calendar/cal-html.el (cal-html-day-abbrev-array):
10232 Simply inherit from calendar-day-abbrev-array.
10234 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10236 * progmodes/grep.el (grep-mode): Disable default
10237 compilation-directory-matcher setting (bug#8684).
10239 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
10241 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10242 instead of "head" and "tail". There were problems with SunOS 5.9,
10243 and it performs better.
10245 2011-05-17 Glenn Morris <rgm@gnu.org>
10247 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10249 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10250 Replace obsolete function.
10252 * shell.el (pcomplete-parse-arguments-function): Declare.
10254 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10255 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10256 (appt-check): Doc fixes.
10257 (appt-disp-window-function, appt-delete-window-function):
10258 Remove needless special case in custom :type.
10259 (appt-display-count): Default to 0, not nil.
10260 (appt-check): Reset appt-display-count to 0, not nil.
10262 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
10264 * progmodes/python.el (python-font-lock-keywords):
10265 Add the Python 3.X keyword "nonlocal" (bug#8639).
10267 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10269 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10271 2011-05-16 Kevin Ryde <user42@zip.com.au>
10273 * info-look.el (makefile-automake-mode): New setups, looking in
10274 automake manual, then makefile-mode.
10275 (makefile-mode): Remove automake manual, have it just in
10276 makefile-automake-mode since there's various things different or
10277 not relevant to plain make.
10278 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10279 believe a hypothetical automake-mode would go to makefile-mode,
10280 not the other way around.
10282 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
10284 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10285 hunk-end tags (Bug#8672).
10287 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10288 vc-annotate-show-diff-revision-at-line (Bug#8671).
10290 2011-05-14 Glenn Morris <rgm@gnu.org>
10292 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10293 in the middle of an existing one with multiple authors. (Bug#8645)
10294 (change-log-font-lock-keywords): Also handle multiple author lines
10295 with leading tabs. (Bug#8644)
10297 * calendar/appt.el (appt-check): Rename some local variables.
10298 Some simplification/reordering.
10300 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10301 (feedmail-sendmail-f-doesnt-sell-me-out)
10302 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10303 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10304 (feedmail-queue-runner-message-sender): Set :version.
10305 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10306 (bbdb-dwim-net-address, vm-mail): Declare.
10307 (feedmail-binmail-gnulinuxish-template):
10308 Rename from feedmail-binmail-linuxish-template.
10309 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10310 Use insert-buffer-substring.
10312 2011-05-14 Bill Carpenter <bill@carpenter.org>
10314 * mail/feedmail.el (feedmail-patch-level): Increase.
10315 (feedmail-debug): New custom group.
10316 (feedmail-confirm-outgoing-timeout)
10317 (feedmail-sendmail-f-doesnt-sell-me-out)
10318 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10319 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10320 (feedmail-sender-line, feedmail-from-line)
10321 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
10322 (feedmail-spray-this-address)
10323 (feedmail-spray-address-fiddle-plex-list)
10324 (feedmail-queue-use-send-time-for-date)
10325 (feedmail-queue-use-send-time-for-message-id)
10326 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10327 (feedmail-buffer-eating-function):
10329 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10330 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10331 (feedmail-message-action-scroll-down): New functions.
10332 (feedmail-queue-directory, feedmail-queue-draft-directory):
10333 Use expand-file-name.
10334 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10335 Remove C-v help entry.
10336 (feedmail-queue-buffer-file-name): New variable.
10337 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10338 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10339 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10340 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10341 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10342 (feedmail-message-action-toggle-spray)
10343 (feedmail-run-the-queue-no-prompts)
10344 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10345 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10346 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10347 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10348 (feedmail-envelope-deducer, feedmail-fiddle-from)
10349 (feedmail-fiddle-sender, feedmail-default-date-generator)
10350 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10351 (feedmail-fiddle-spray-address)
10352 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10353 (feedmail-fiddle-list-of-fiddle-plexes)
10354 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10355 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10356 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10357 Change default. Doc fix.
10358 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10359 (feedmail-binmail-linuxish-template): New constant.
10360 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10361 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10362 (feedmail-send-it): Add debug call.
10363 Use feedmail-queue-buffer-file-name, and
10364 feedmail-send-it-immediately-wrapper.
10365 (feedmail-message-action-send): Add debug call.
10366 Use feedmail-send-it-immediately-wrapper.
10367 (feedmail-queue-express-to-queue): Add debug call.
10368 Run feedmail-queue-express-hook.
10369 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10370 (feedmail-message-action-help-blat):
10371 Rename from feedmail-queue-send-edit-prompt-help-first.
10372 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10373 Check line-endings. Handle errors better.
10374 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10375 Doc fix. Add debug call.
10376 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10377 Use feedmail-queue-send-edit-prompt-inner.
10378 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10379 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10380 from feedmail-queue-send-edit-prompt.
10381 (feedmail-queue-send-edit-prompt-help)
10382 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10383 (feedmail-tidy-up-slug): Add debug call.
10384 Respect feedmail-queue-slug-suspect-regexp.
10385 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10386 (feedmail-dump-message-to-queue): Add debug call.
10387 Expand queue-directory.
10388 (feedmail-dump-message-to-queue): Change message slightly.
10389 Use feedmail-say-chatter.
10390 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10391 (feedmail-send-it-immediately-wrapper): New function.
10392 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10393 Insert empty string rather than newline. Handle full-frame case.
10394 Use catch/throw. Use feedmail-say-chatter.
10395 (feedmail-fiddle-from): Try mail-host-address.
10396 (feedmail-default-message-id-generator): Doc fix.
10397 Bind system-time-locale. Handle missing end.
10398 (feedmail-fiddle-x-mailer): Add debug call.
10399 Handle feedmail-x-mailer-line being nil.
10400 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10401 Add debug call. Use buffer-substring-no-properties.
10402 (feedmail-say-debug, feedmail-say-chatter): New functions.
10403 (feedmail-find-eoh): Give an explicit error.
10405 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
10407 * net/newst-treeview.el (newsticker-treeview-face): Change default
10408 family from helvetica to sans.
10409 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
10410 etc/images/newsticker.
10412 * net/newst-reader.el (newsticker-feed-face): Change default
10413 family from helvetica to sans.
10415 * net/newst-plainview.el (newsticker-new-item-face)
10416 (newsticker-old-item-face, newsticker-immortal-item-face)
10417 (newsticker-obsolete-item-face, newsticker-date-face)
10418 (newsticker-statistics-face): Change default family from
10420 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
10421 etc/images/newsticker.
10423 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10424 (newsticker--process-auto-mark-filter-match): : Tell user about
10427 2011-05-13 Didier Verna <didier@xemacs.org>
10429 Common Lisp indentation improvements on defmethod and lambda-lists.
10430 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10432 (lisp-lambda-list-keyword-parameter-indentation)
10433 (lisp-lambda-list-keyword-parameter-alignment)
10434 (lisp-lambda-list-keyword-alignment): New customizable user options.
10435 (lisp-indent-defun-method): Improve docstring.
10436 (extended-loop-p): Fix comment.
10437 (lisp-indent-lambda-list-keywords-regexp): New variable.
10438 (lisp-indent-lambda-list): New function.
10439 (lisp-indent-259): Use it.
10440 (lisp-indent-defmethod): Support for more than one
10441 method qualifier and properly indent methods lambda-lists.
10442 (defgeneric): Provide a missing common-lisp-indent-function property.
10444 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10446 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10447 bounds for the empty string (bug#8667).
10449 2011-05-13 Glenn Morris <rgm@gnu.org>
10451 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10453 * mail/sendmail.el (sendmail-program): Try executable-find first.
10454 (sendmail-send-it): `sendmail-program' cannot be unbound.
10456 * calendar/appt.el (appt-make-list): Simplify.
10457 (appt-time-msg-list): Doc fix.
10458 (appt-check): Change mode-line message at the time of the appointment.
10460 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10462 * progmodes/ld-script.el (ld-script-keywords)
10463 (ld-script-builtins): Update keywords list.
10465 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10467 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10469 * shell.el (shell-completion-vars): New function.
10471 * simple.el (read-shell-command): Use it.
10472 (blink-matching-open): No need for " [...]" in minibuffer-message.
10474 2011-05-12 Glenn Morris <rgm@gnu.org>
10476 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10477 (appt-check): Simplify.
10479 2011-05-12 Eli Zaretskii <eliz@gnu.org>
10481 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
10482 literal "/dev/null".
10484 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10486 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10489 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
10491 * progmodes/which-func.el (which-function):
10492 Use add-log-current-defun instead of add-log-current-defun-function,
10493 which might not be defined (Bug#8260).
10495 2011-05-12 Glenn Morris <rgm@gnu.org>
10497 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10498 Let byte-compile-initial-macro-environment always take precedence.
10500 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10502 * net/rcirc.el: Add support for SSL/TLS connections.
10503 (rcirc-server-alist): New field `encryption'.
10504 (rcirc): Check `encryption' settings.
10505 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10506 Merge make-local-variable into `set'.
10507 (rcirc--connection-open-p): New function.
10508 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10509 the process is not a network process (e.g. running gnutls-cli).
10510 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10511 Make rcirc-(en|de)code-coding-system local here.
10512 (rcirc-mode): Merge make-local-variable into `set'.
10513 (rcirc-parent-buffer): Make permanent buffer-local.
10514 (rcirc-multiline-minor-mode): Don't do it here.
10515 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10516 there's no server buffer.
10518 2011-05-11 Glenn Morris <rgm@gnu.org>
10520 * newcomment.el (comment-kill): Prefix "unused" local.
10522 * term/w32console.el (get-screen-color): Declare.
10524 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10525 Handle symbol elements of byte-compile-initial-macro-environment.
10527 2011-05-10 Leo Liu <sdl.web@gmail.com>
10529 * bookmark.el (bookmark-bmenu-mode-map):
10530 Bind bookmark-bmenu-search to `/'.
10532 * mail/footnote.el: Convert to utf-8 encoding.
10533 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10534 (Footnote-unicode): New function.
10535 (footnote-style-alist): Add unicode style to the list.
10536 (footnote-style): Doc fix.
10538 2011-05-10 Jim Meyering <meyering@redhat.com>
10540 Fix doubled-word typos.
10541 * international/quail.el (quail-insert-kbd-layout): and and -> and
10542 * kermit.el: and and -> and
10543 * net/ldap.el (ldap-search-internal): to to -> to
10544 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10545 * progmodes/js.el (js-mode): and and -> and
10546 * textmodes/artist.el (artist-move-to-xy): at at -> at
10547 (artist-draw-region-trim-line-endings): if if -> if
10548 And Safetyc -> Safety.
10549 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10551 2011-05-10 Glenn Morris <rgm@gnu.org>
10552 Stefan Monnier <monnier@iro.umontreal.ca>
10554 * files.el (hack-one-local-variable-eval-safep):
10555 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10557 2011-05-10 Glenn Morris <rgm@gnu.org>
10559 * calendar/diary-lib.el (diary-list-entries-hook)
10560 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10561 (diary-nongregorian-marking-hook, diary-list-entries)
10562 (diary-include-other-diary-files, diary-mark-entries)
10563 (diary-mark-included-diary-files): Doc fixes.
10565 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10567 * misc.el: Require tabulated-list.el during compilation.
10569 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10571 * progmodes/compile.el (compilation-start):
10572 Run compilation-filter-hook for the async case too.
10573 (compilation-filter-hook): Doc fix.
10575 2011-05-09 Deniz Dogan <deniz@dogan.se>
10577 * wdired.el: Remove outdated installation comment. Fix usage
10580 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10582 * misc.el: Implement new command `list-dynamic-libraries'.
10583 (list-dynamic-libraries--loaded-only-p): New variable.
10584 (list-dynamic-libraries--refresh): New function.
10585 (list-dynamic-libraries): New command.
10587 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10589 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10590 Fix the ant regexp to handle end-line and end-column info from jikes.
10591 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10592 higher priority to avoid clobbering by gnu.
10594 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10596 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10597 if the face has existing theme settings (Bug#8454).
10599 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10601 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10602 Only match variables declared via `my' or `our' (Bug#8261).
10604 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10605 special file names `.' and `..' (Bug#8259).
10607 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10609 * progmodes/grep.el (grep-mode-font-lock-keywords):
10610 Remove buffer-changing entries.
10611 (grep-filter): New function.
10612 (grep-mode): Add it to compilation-filter-hook.
10614 * progmodes/compile.el (compilation-filter-hook)
10615 (compilation-filter-start): New defvars.
10616 (compilation-filter): Call compilation-filter-hook prior to
10617 updating the process mark.
10619 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10621 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10623 2011-05-07 Eli Zaretskii <eliz@gnu.org>
10625 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10626 mailclient-send-it even if window-system is nil. (Bug#8595)
10628 * term/w32console.el (terminal-init-w32console):
10629 Call get-screen-color and use its output to set the frame
10630 background-mode. (Bug#8597)
10632 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10634 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10635 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10637 (defgeneric, eieio--defmethod): Use them.
10638 (eieio-defgeneric): Remove.
10639 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10641 2011-05-07 Glenn Morris <rgm@gnu.org>
10643 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10644 Use let rather than let*.
10645 (timeclock-find-discrep): Remove unused local.
10647 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10649 * calendar/appt.el (appt-time-msg-list): Doc fix.
10651 2011-05-06 Noah Friedman <friedman@splode.com>
10653 * apropos.el (apropos-print-doc): Only use
10654 emacs-lisp-docstring-fill-column when it is bound to an integer,
10655 per that variable's documentation.
10657 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10659 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
10660 and warnings are not silently discarded (e.g. use -d instead of -P).
10662 2011-05-06 Glenn Morris <rgm@gnu.org>
10664 * calendar/appt.el (appt-message-warning-time): Doc fix.
10665 (appt-warning-time-regexp): New option.
10666 (appt-make-list): Respect appt-message-warning-time.
10668 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10670 (diary-add-to-list): Strip comments from the displayed string.
10671 (diary-mode): Set comment-start and comment-end.
10673 * vc/diff-mode.el (smerge-refine-subst): Declare.
10674 (diff-refine-hunk): Don't require smerge-mode when compiling.
10676 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
10678 * simple.el (list-processes): Return nil as the docstring says.
10680 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10682 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10684 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10685 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10686 determining of binary transfer. (Bug#7383)
10688 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10690 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10691 Fix port computation bug. (Bug#8618)
10693 2011-05-05 Glenn Morris <rgm@gnu.org>
10695 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10697 * simple.el (shell-dynamic-complete-functions)
10698 (comint-dynamic-complete-functions): Declare.
10700 * net/network-stream.el (gnutls-negotiate):
10701 * simple.el (tabulated-list-print): Fix declarations.
10703 * progmodes/gud.el (syntax-symbol, syntax-point):
10704 Remove unnecessary and incorrect declarations.
10706 * emacs-lisp/check-declare.el (check-declare-scan):
10707 Handle byte-compile-initial-macro-environment in bytecomp.el
10709 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10711 Fix earlier half-done eieio-defmethod change (bug#8338).
10712 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10713 Streamline and change calling convention.
10714 (defmethod): Adjust accordingly and simplify.
10715 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10716 new eieio--defmethod.
10717 (slot-boundp): Minor CSE simplification.
10719 2011-05-05 Milan Zamazal <pdm@zamazal.org>
10721 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10722 (glasses-make-readable): Use glasses-separate-capital-groups.
10724 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
10726 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10727 (warning-series): Doc fix.
10728 (display-warning): Don't try to create the buffer if we just found it.
10730 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
10732 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10733 (autoload-find-generated-file): New function.
10734 (generate-file-autoloads): Bind generated-autoload-file to
10736 (update-file-autoloads, update-directory-autoloads):
10737 Use autoload-find-generated-file. If called interactively, prompt for
10738 output file (Bug#7989).
10739 (batch-update-autoloads): Doc fix.
10741 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
10743 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10745 2011-05-04 Glenn Morris <rgm@gnu.org>
10747 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10748 function, so it follows changes in calendar-date-style.
10749 (diary-fancy-date-matcher): New function.
10750 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10751 (diary-fancy-font-lock-fontify-region-function):
10752 Use diary-fancy-date-pattern as a function.
10754 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10755 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10757 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10759 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10760 instead of positional arguments. Allow :keylist and :crlfiles
10762 (open-gnutls-stream): Call it.
10764 * net/network-stream.el (network-stream-open-starttls): Adjust to
10765 call `gnutls-negotiate' with :process and :hostname arguments.
10767 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10769 * minibuffer.el (completion--message): New function.
10770 (completion--do-completion, minibuffer-complete)
10771 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10772 (completion--do-completion): Don't ignore completion-auto-help when in
10775 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10776 internal encoding (e.g. tibetan zero is not whitespace).
10777 (global-whitespace-mode): Prefer save-current-buffer.
10778 (whitespace-trailing-regexp): Remove useless save-match-data.
10779 (whitespace-empty-at-bob-regexp): Minor simplification.
10781 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
10783 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10785 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10787 * textmodes/ispell.el (ispell-add-per-file-word-list):
10788 Use `concat' to create string for insertion.
10790 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10792 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10793 Avoid open-line which runs post-self-insert-hook.
10794 (bibtex-fill-entry): Remove unused `end' var.
10796 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10798 * textmodes/ispell.el (ispell-add-per-file-word-list):
10799 Protect against `nil' value of `comment-start' (Bug#8579).
10801 2011-05-03 Leo Liu <sdl.web@gmail.com>
10803 * isearch.el (isearch-yank-pop): New command.
10804 (isearch-mode-map): Bind it to `M-y'.
10805 (isearch-forward): Mention it.
10807 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10809 * simple.el (minibuffer-complete-shell-command): Remove.
10810 (minibuffer-local-shell-command-map): Use completion-at-point.
10811 (read-shell-command): Setup completion vars here instead.
10812 (read-expression-map): Bind TAB to symbol completion.
10814 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10815 error directly rather via storing it into `results'.
10817 2011-05-02 Leo Liu <sdl.web@gmail.com>
10819 * vc/diff.el: Fix description.
10821 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10823 * server.el (server-eval-at): New function.
10825 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10827 * net/network-stream.el (open-network-stream): Take a :nowait
10828 parameter and pass it on to `make-network-process'.
10829 (network-stream-open-plain): Ditto.
10831 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10833 * faces.el (face-spec-set-match-display): Don't match toolkit
10834 options on terminal frames.
10836 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10838 * progmodes/pascal.el: Use lexical binding.
10839 (pascal-mode-map): Remove author preferences.
10841 * pcomplete.el (pcomplete-std-complete): Don't abuse
10842 completion-at-point.
10844 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
10846 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10847 removing code that has been dead since 1991 or so.
10849 * startup.el (command-line): When warning about "_emacs", use a
10850 delayed warning to allow the user to filter it out.
10852 2011-04-28 Deniz Dogan <deniz@dogan.se>
10854 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10855 user has not joined.
10857 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10859 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10860 aren't any completions at point.
10862 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
10864 * subr.el (display-delayed-warnings): New function.
10865 (delayed-warnings-hook): New variable.
10867 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10869 * minibuffer.el (completion-at-point, completion-help-at-point):
10870 Don't presume that a given completion-at-point-function will always
10871 use the same calling convention.
10873 * pcomplete.el (pcomplete-completions-at-point):
10874 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10875 pcomplete-seen is non-nil.
10876 (pcomplete-comint-setup): Also recognize the new comint/shell
10877 completion functions.
10878 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10879 pcomplete-seen is non-nil.
10881 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
10883 * calendar/icalendar.el (diary-lib): Add require statement.
10884 (icalendar--create-uid): Read out a uid from a text-property on
10885 the first character in the entry. This allows for code to add its
10886 own uid to the entry.
10887 (icalendar--convert-float-to-ical): Add export of
10888 `diary-float'-entries save for those with the optional DAY
10891 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10893 * subr.el (shell-quote-argument): Use alternate escaping strategy
10894 when we spot a variable reference in a string.
10896 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10898 * cus-start.el (all): Define customization for debug-on-event.
10900 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10902 * subr.el (shell-quote-argument): Escape correctly under Windows.
10904 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10906 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10908 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
10910 * net/tramp.el (tramp-process-actions): Add POS argument.
10911 Delete region between POS and (pos).
10913 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10914 Use `nil' position in `tramp-process-actions' call.
10915 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10917 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10918 position in `tramp-process-actions' call.
10920 * net/trampver.el: Update release number.
10922 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10924 * custom.el (defcustom): Obey lexical-binding.
10926 Fix octave-inf completion problems reported by Alexander Klimov.
10927 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10928 Inherit from octave-mode-syntax-table.
10929 (inferior-octave-mode): Set info-lookup-mode.
10930 (inferior-octave-completion-at-point): New function.
10931 (inferior-octave-complete): Use it and completion-in-region.
10932 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10933 comint-filename-completion.
10934 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10935 symbol elements which shouldn't be word elements.
10936 (octave-font-lock-keywords, octave-beginning-of-defun)
10937 (octave-function-header-regexp): Adjust regexps accordingly.
10938 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10940 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
10942 * net/gnutls.el (gnutls-errorp): Declare before first use.
10944 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10946 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10947 verify-error, and verify-hostname-error parameters. Check whether
10948 default trustfile exists before going to use it. Add missing
10949 argument to gnutls-message-maybe call. Return value.
10950 Reported by Claudio Bley <claudio.bley@gmail.com>.
10951 (open-gnutls-stream): Add usage example.
10953 * net/network-stream.el (network-stream-open-starttls): Give host
10954 parameter to `gnutls-negotiate'.
10955 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
10956 * subr.el (shell-quote-argument): Escape correctly under Windows.
10958 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
10960 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10961 Use correct match group (bug#8438).
10963 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
10965 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10966 (package-menu--generate): New arg specifying packages to show.
10967 (package-menu-refresh, package-menu-execute, list-packages):
10969 (package-show-package-list): New function, replacing deleted
10970 package--list-packages (renamed because it is non-internal).
10972 * finder.el (finder-list-matches): Use package-show-package-list
10973 instead of deleted package--list-packages.
10975 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10976 Based on a previous implementation by Juanma Barranquero (Bug#8366).
10977 (vc-annotate-mode-map): Bind it to RET.
10979 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10981 * progmodes/etags.el (next-file): Don't use set-buffer to change
10982 buffers (Bug#8478).
10984 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
10986 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10988 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10989 (apropos-accumulator): Doc fix.
10990 (apropos-function, apropos-macro, apropos-command)
10991 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10992 (apropos-plist): Add face property.
10993 (apropos-symbols-internal): Fix indentation.
10994 (apropos-print): Simplify help, and recognize apropos-multi-type.
10995 (apropos-print-doc): Use button-type-get to extract the button's
10996 face property. Fill docstring (Bug#8352).
10998 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
11000 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11002 * play/mpuz.el (mpuz-silent): Doc fix.
11003 (mpuz-mode-map): Use mapc.
11004 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11005 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11006 Fix typos in docstrings.
11008 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11009 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11011 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11013 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
11015 * minibuffer.el (completion--do-completion): Avoid the "Next char
11016 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11018 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11019 mouse-2 into unread-command-events, it is interpreted correctly.
11021 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
11022 (image-toggle-display): Doc fix.
11024 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
11026 * textmodes/page.el (what-page): Use line-number-at-pos to
11027 calculate line number (Bug#6825).
11029 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11031 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11032 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11033 Pass argument NO-DEFAULT to `find-tag-interactive'.
11035 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11037 Lexical-binding cleanup.
11039 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11040 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11041 * progmodes/ada-prj.el (ada-prj-initialize-values)
11042 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11043 (ada-prj-show-value):
11044 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11045 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11046 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11047 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11048 * progmodes/bug-reference.el (bug-reference-push-button):
11049 * progmodes/fortran.el (fortran-line-length):
11050 * progmodes/glasses.el (glasses-change):
11051 * progmodes/octave-mod.el (octave-fill-paragraph):
11052 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11053 (python-pdbtrack-grub-for-buffer, python-sentinel):
11054 * progmodes/sql.el (sql-save-connection):
11055 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11056 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11057 Mark unused parameters.
11059 * progmodes/compile.el (compilation--flush-directory-cache)
11060 (compilation--flush-parse, compile-internal): Mark unused parameters.
11061 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11062 (compilation-next-error-function): Remove unused variable `timestamp'.
11064 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11065 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11067 * progmodes/dcl-mode.el (dcl-end-of-command):
11068 Remove unused variable `start'.
11069 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11070 (dcl-option-value-basic, dcl-option-value-offset)
11071 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11072 Mark unused parameters.
11073 (dcl-save-local-variable): Remove unused variable `val'.
11076 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11077 Mark unused parameters.
11078 (delphi-ignore-changes): Move before first use.
11079 (delphi-charset-token-at): Remove unused variable `start'.
11080 (delphi-else-start): Remove unused variable `if-count'.
11081 (delphi-comment-block-start, delphi-comment-block-end):
11082 Remove unused variable `kind'.
11083 (delphi-indent-line): Remove unused variable `new-point'.
11085 * progmodes/ebrowse.el (ebrowse-files-list)
11086 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11087 Mark unused parameters. Don't quote `lambda'.
11088 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11089 Don't quote `lambda'.
11090 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11091 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11092 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11093 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11094 Use `ignore-errors'.
11095 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11096 (ebrowse-view/find-file-and-search-pattern)
11097 (ebrowse-view/find-member-declaration/definition):
11098 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11099 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11100 Rename parameter PREFIX-ARG to PREFIX.
11101 (ebrowse-tags-read-name): Remove unused variables `start' and
11103 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11106 * progmodes/etags.el (local-find-tag-hook): Declare.
11107 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11108 Mark unused parameters.
11110 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11111 (executable-interpret): Mark unused parameter.
11113 * progmodes/flymake.el (flymake-process-sentinel)
11114 (flymake-after-change-function)
11115 (flymake-create-temp-with-folder-structure)
11116 (flymake-get-include-dirs-dot): Mark unused parameters.
11117 (flymake-safe-delete-directory): Remove unused variable `err'.
11119 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11120 (speedbar-timer-fn, speedbar-line-text)
11121 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11122 (speedbar-center-buffer-smartly): Declare functions.
11123 (gdb-find-watch-expression): Remove unused variable `array'.
11124 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11125 (gdb-starting): Mark unused parameters.
11126 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11127 (gdb-table-string): Remove unused variable `res'.
11128 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11129 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11130 (gdb-display-buffer): Remove unused variable `cur-size'.
11132 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11133 allow lexical-binding compilation.
11134 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11135 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11136 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11137 Mark unused parameters.
11138 (gud-gdb-marker-filter): Remove unused variable `match'.
11139 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11140 lambda expressions and funcall them, instead of using `fset'.
11142 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11143 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11145 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11146 variable `header-beg'; use `let'.
11148 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11149 `restart', `last-sexp' and `at-do'.
11151 * progmodes/js.el (js--debug): Mark unused parameter.
11152 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11153 (js--splice-into-items): Remove unused variable `item'.
11154 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11156 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11157 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11158 (makefile-complete): Remove unused variable `try'.
11159 (makefile-fill-paragraph, makefile-match-function-end):
11160 Mark unused parameters.
11162 * progmodes/octave-inf.el (inferior-octave-complete):
11163 Remove unused variable `proc'.
11164 (inferior-octave-output-digest): Mark unused parameter.
11166 * progmodes/perl-mode.el (perl-calculate-indent):
11167 Remove unused variable `err'.
11169 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11170 (prolog-indent-line): Mark unused parameters.
11171 (prolog-indent-line): Remove unused variable `beg'.
11173 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11174 (reporter-dont-compact-list): Declare.
11176 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11177 Remove unused variable `char'.
11178 (sh-debug): Mark unused parameter.
11179 (sh-get-indent-info): Remove unused variable `start'.
11180 (sh-calculate-indent): Remove unused variable `var'.
11182 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11183 (simula-electric-keyword): Remove unused variable `null'.
11184 (simula-search-backward, simula-search-forward): Remove unused
11185 variables `begin' and `end'.
11187 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11188 Remove unused variable `pos'.
11189 (vera-electric-tab, vera-comment-uncomment-region):
11190 Mark unused parameters.
11191 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11193 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
11195 * emacs-lisp/package.el (package--builtins, package-alist)
11196 (package-load-descriptor, package-built-in-p, package-activate)
11197 (define-package, package-installed-p)
11198 (package-compute-transaction, package-buffer-info)
11199 (package--push): Doc fix. Distinguish more clearly between
11200 version strings and version lists.
11202 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
11204 Lexical-binding cleanup.
11206 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11207 (5x5-make-mutate-best):
11208 * play/fortune.el (fortune-in-buffer):
11209 * play/gomoku.el (gomoku-init-display):
11210 * play/solitaire.el (solitaire, solitaire-do-check):
11211 * play/tetris.el (tetris-default-update-speed-function):
11212 Mark unused parameters.
11214 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11215 (bubbles--shift): Remove unused variable `char-org'.
11216 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11217 (bubbles--show-images): Remove unused variable `char'.
11219 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11220 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11221 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11222 (decipher-analyze-buffer): Use ?\s.
11223 (decipher-make-checkpoint): Remove unused variable `mapping'.
11225 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11227 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11228 Remove unused variable `result'; use `let'.
11230 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11231 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11232 (gametree-children-shown-p, gametree-compute-reduced-score):
11233 Use `ignore-errors'.
11235 * play/handwrite.el (ps-lpr-switches): Declare.
11236 (handwrite): Remove unused variables `pmin' and `lastp'.
11238 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11240 * play/landmark.el (landmark-init-display)
11241 (landmark-update-naught-weights): Mark unused parameters.
11242 (landmark-y): Remove unused variable `noise'. Simplify.
11243 (landmark-human-plays): Remove unused variable `score'.
11245 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11246 (mpuz-try-proposal): Remove unused variable `game'.
11248 * play/zone.el (life-patterns): Declare.
11250 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
11252 * vc/vc.el (ediff-vc-internal): Declare function.
11254 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11256 * shell.el: Use lexical-binding and std completion UI.
11257 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11258 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11259 comint-preoutput-filter-functions rather than on
11260 comint-output-filter-functions.
11261 (shell-command-completion, shell--command-completion-data)
11262 (shell-filename-completion, shell-environment-variable-completion)
11263 (shell-c-a-p-replace-by-expanded-directory): New functions.
11264 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11265 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11266 (shell-dynamic-complete-environment-variable): Use them.
11267 (shell-dynamic-complete-as-environment-variable)
11268 (shell-dynamic-complete-as-command): Remove.
11269 (shell-match-partial-variable): Match past point.
11270 * comint.el: Clean up use of completion-at-point-functions.
11271 (comint-completion-at-point): New function.
11272 (comint-mode): Use it completion-at-point-functions.
11273 (comint-dynamic-complete): Make it obsolete.
11274 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11275 (comint-c-a-p-replace-by-expanded-history): New function.
11276 (comint-dynamic-complete-functions)
11277 (comint-replace-by-expanded-history): Use it.
11278 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11279 termination strings. Try harder to avoid second try-completion.
11280 (completion-in-region-mode-map): Disable bindings that don't work yet.
11282 * comint.el: Use lexical-binding. Require CL.
11283 (comint-dynamic-complete-functions): Use comint-filename-completion.
11284 (comint-completion-addsuffix): Tweak custom type.
11285 (comint-filename-completion, comint--common-suffix)
11286 (comint--common-quoted-suffix, comint--table-subvert)
11287 (comint--complete-file-name-data): New functions.
11288 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11289 (comint-dynamic-list-filename-completions): Use them.
11290 (comint-dynamic-simple-complete): Make obsolete.
11292 * minibuffer.el (completion-in-region-mode):
11293 Keep completion-in-region-mode--predicate global.
11294 (completion-in-region--postch):
11295 Assume completion-in-region-mode--predicate is not null.
11297 * progmodes/flymake.el (flymake-start-syntax-check-process):
11298 Obey `dir'. Simplify.
11300 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11301 we're in VC after all.
11303 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11305 * vc/vc.el (vc-diff-build-argument-list-internal)
11306 (vc-version-ediff, vc-ediff): New commands.
11307 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11309 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11311 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11314 * obsolete/erc-hecomplete.el: Make obsolete.
11315 * obsolete/: Standardize obsolescence info in the header.
11317 2011-04-20 Glenn Morris <rgm@gnu.org>
11319 * calendar/solar.el (solar-horizontal-coordinates):
11320 Use the longitude argument rather than `calendar-longitude'.
11321 (solar-date-next-longitude): Remove unused locals.
11323 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11325 * whitespace.el: New version 13.2.1.
11327 2011-04-20 felix <EmacsWiki> (tiny change)
11329 * whitespace.el (global-whitespace-mode): Keep highlight when
11330 switching between major modes on a file.
11332 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11334 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11335 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11336 multi-line comments as well.
11338 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
11340 Lexical-binding cleanup.
11342 * arc-mode.el (archive-mode-revert):
11343 * cmuscheme.el (scheme-interactively-start-process):
11344 * custom.el (custom-initialize-delay):
11345 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11346 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11347 * emacs-lock.el (emacs-lock-clear-sentinel):
11348 * ezimage.el (defezimage):
11349 * follow.el (follow-avoid-tail-recenter):
11350 * fringe.el (set-fringe-mode-1):
11351 * generic-x.el (bat-generic-mode-compile):
11352 * help-mode.el (help-info-variable, help-do-xref)
11353 (help-mode-revert-buffer):
11354 * help.el (view-emacs-todo):
11355 * iswitchb.el (iswitchb-completion-help):
11356 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11357 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11358 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11359 * locate.el (locate-update):
11360 * longlines.el (longlines-encode-region)
11361 (longlines-after-change-function):
11362 * outline.el (outline-isearch-open-invisible):
11363 * ps-def.el (declare-function, charset-dimension, char-width)
11365 * ps-mule.el (ps-mule-plot-string):
11366 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11367 (recentf-edit-list-select, recentf-edit-list-validate)
11368 (recentf-open-files-action):
11369 * rect.el (delete-whitespace-rectangle-line)
11370 (rectangle-number-line-callback):
11371 * register.el (window-configuration-to-register)
11372 (frame-configuration-to-register):
11373 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11374 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11375 (xselect-convert-to-targets, xselect-convert-to-delete)
11376 (xselect-convert-to-filename, xselect-convert-to-charpos)
11377 (xselect-convert-to-lineno, xselect-convert-to-colno)
11378 (xselect-convert-to-os, xselect-convert-to-host)
11379 (xselect-convert-to-user, xselect-convert-to-class)
11380 (xselect-convert-to-name, xselect-convert-to-integer)
11381 (xselect-convert-to-atom, xselect-convert-to-identity):
11382 * subr.el (declare, ignore, process-kill-without-query)
11383 (text-clone-maintain):
11384 * terminal.el (te-get-char, te-tic-sentinel):
11385 * tool-bar.el (tool-bar-make-keymap):
11386 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11387 * type-break.el (type-break-mode, type-break-noninteractive-query):
11388 * view.el (View-back-to-mark):
11389 * wid-browse.el (widget-browse-action, widget-browse-widget)
11390 (widget-browse-widgets, widget-browse-sexp):
11391 * widget.el (define-widget-keywords):
11392 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11393 Mark unused parameters.
11395 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11396 (align-areas): Remove unused variable `look'.
11397 (align-region): Remove unused variables `real-end' and `pos-list'.
11399 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11401 * bindings.el (mode-line-modified, mode-line-remote):
11402 Mark unused parameters.
11403 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11405 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11406 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11408 * comint.el (comint-history-isearch-pop-state)
11409 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11410 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11411 (comint-substitute-in-file-name): Doc fix.
11413 * completion.el (cmpl-statistics-block): Mark unused parameter.
11414 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11415 (save-completions-to-file, load-completions-from-file):
11416 Remove unused local variable `e'.
11418 * composite.el (compose-chars): Remove unused variable `len'.
11419 (lgstring-insert-glyph): Remove unused variable `g'.
11420 (compose-glyph-string): Remove unused variables `ascent',
11421 `descent', `lbearing' and `rbearing'.
11422 (compose-glyph-string-relative): Remove unused variables
11423 `lbearing', `rbearing' and `wadjust'.
11424 (compose-gstring-for-graphic): Remove unused variables `header',
11425 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11426 (compose-gstring-for-terminal): Remove unused variables `header'
11427 and `nchars'. Use `let', not `let*'.
11429 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11430 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11431 (Custom-buffer-done, custom-buffer-create-internal)
11432 (custom-browse-visibility-action, custom-browse-group-tag-action)
11433 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11434 (widget-magic-mouse-down-action, custom-toggle-parent)
11435 (custom-add-parent-links, custom-toggle-hide-variable)
11436 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11437 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11438 (custom-face-menu-create, custom-variable-menu-create, get)
11439 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11440 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11441 (customize-apropos): Remove unused variable `tests'.
11442 (custom-group-value-create): Remove unused variable `hidden-p'.
11443 (sort-fold-case): Declare.
11445 * cus-theme.el (custom-reset-standard-faces-list)
11446 (custom-reset-standard-variables-list): Declare.
11447 (customize-create-theme, custom-theme-revert, custom-theme-write)
11448 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11449 Mark unused parameters.
11451 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11453 * delim-col.el (delimit-columns-max): Move defvar before first use.
11455 * descr-text.el (describe-char-categories): Don't quote `lambda'.
11456 (describe-char): Don't quote `lambda'. Mark unused parameter.
11458 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11459 (auto-insert): Declare.
11460 (desktop-restore-file-buffer): Rename desktop-* parameters;
11462 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11463 (desktop-buffer): Rename desktop-* parameters.
11465 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11466 (dframe-reposition-frame-xemacs, dframe-help-echo)
11467 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11468 Mark unused parameters.
11470 * dired-aux.el (backup-extract-version-start, overwrite-query)
11471 (overwrite-backup-query, rename-regexp-query)
11472 (rename-non-directory-query): Declare.
11473 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11474 (dired-add-entry): Remove unused variable `orig-file-name'.
11475 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11476 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11477 `dired-copy-preserve-time' directly.
11478 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11479 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11481 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11482 (dired-virtual-revert, dired-make-relative-symlink):
11483 Mark unused parameters.
11484 (manual-program): Declare.
11485 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11486 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11487 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11489 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11491 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11493 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11496 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11498 * electric.el (Electric-command-loop): Rename parameter
11499 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11501 * expand.el (expand-in-literal): Remove unused variable `here'.
11503 * facemenu.el (facemenu-add-new-color):
11504 Remove unused variable `docstring'.
11506 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11507 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11508 (face-attr-construct): Mark unused parameter. Doc fix.
11509 (read-color): Remove unused variable `hex-string'.
11511 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11512 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11513 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11514 (display-buffer-other-frame): Remove unused variable `old-window'.
11515 (kill-buffer-hook): Declare.
11516 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11517 Mark unused parameters.
11518 (after-find-file): Pass 1 to `auto-save-mode', not t.
11520 * files-x.el (auto-insert): Declare.
11521 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11523 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
11524 variable `buf'. Mark unused parameter.
11525 (find-lisp-insert-directory): Mark unused parameter.
11527 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11528 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11529 (format-common-tail): Remove, unused.
11530 (format-deannotate-region): Remove unused variable `loc'.
11531 (format-annotate-region): Remove unused variable `p'.
11532 (format-annotate-single-property-change): Remove unused variables
11533 `default' and `tail'.
11535 * forms.el (read-file-filter): Declare.
11536 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11538 * frame.el (frame-creation-function-alist): Mark unused parameter.
11539 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11541 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11542 Remove unused parameters.
11543 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11544 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11546 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11547 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11548 (hfy-prepare-tag-map): Mark unused parameters.
11549 (htmlfontify-buffer): Use `called-interactively-p'.
11551 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11552 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11553 (ibuffer-do-occur): Mark unused parameters.
11554 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11555 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11557 * ibuffer.el: Don't quote `lambda'.
11558 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11559 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11560 Mark unused parameters.
11562 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11563 (ido-completing-read): Mark unused parameters.
11564 (ido-copy-current-word): Mark unused parameters;
11565 remove unused variable `name'.
11566 (ido-sort-merged-list): Remove unused parameter `dirs'.
11568 * ielm.el (ielm-input-sender): Mark unused parameter.
11569 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11570 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11571 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11572 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11573 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11575 * image-dired.el (image-dired-display-thumbs): Remove unused
11576 variables `curr-file' and `count'.
11577 (image-dired-remove-tag): Remove unused variable `start'.
11578 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11579 variable `curr-file'
11580 (image-dired-rotate-original): Remove unused variable `temp-file'.
11581 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11582 Remove unused variable `file'.
11583 (image-dired-gallery-generate): Remove unused variable `curr'.
11584 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11586 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11588 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11590 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11592 * isearch.el (minibuffer-history-symbol): Declare.
11593 (isearch-edit-string): Remove unused variable `err'.
11594 (isearch-message-prefix, isearch-message-suffix):
11595 Mark unused parameters.
11597 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11599 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11601 * makesum.el (double-column): Remove unused variable `cnt'.
11603 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11604 (ido-ignore-item-temp-list): Declare.
11606 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11607 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11608 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11609 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11612 * mouse-sel.el (mouse-extend-internal):
11613 Remove unused variable `orig-window-frame'.
11615 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11616 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11617 Move declarations before first use.
11618 (pcomplete-opt): Mark unused parameters; doc fix.
11620 * proced.el (proced-revert): Mark unused parameter.
11621 (proced-send-signal): Remove unused variable `err'.
11623 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11624 Rename parameter PREFIX-ARG to ARG.
11625 (ps-basic-plot-string, ps-basic-plot-whitespace):
11626 Mark unused parameters.
11628 * replace.el (replace-count): Define.
11629 (occur-revert-function): Mark unused parameters.
11630 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11631 (isearch-case-fold-search, isearch-string): Declare.
11632 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11633 bind `case-fold-search'. Remove unused variables `beg' and `end',
11635 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11636 COUNT and bind `replace-count'.
11637 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11640 * savehist.el (print-readably, print-string-length): Declare.
11642 * shadowfile.el (shadow-expand-cluster-in-file-name):
11643 Remove unused variable `cluster'.
11644 (shadow-copy-file): Remove unused variable `i'.
11645 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11646 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11647 (shadow-define-literal-group, shadow-define-regexp-group)
11648 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11650 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11651 (shell): Use `called-interactively-p'.
11652 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11654 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11655 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11656 (delete-backward-char): Remove unused variable `ocol'.
11657 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11658 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11659 (event-apply-hyper-modifier, event-apply-shift-modifier)
11660 (event-apply-control-modifier, event-apply-meta-modifier):
11661 Mark unused parameters.
11662 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11663 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11665 * speedbar.el (speedbar-ignored-directory-expressions)
11666 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11667 (speedbar-find-file, speedbar-dir-follow)
11668 (speedbar-directory-buttons-follow, speedbar-tag-find)
11669 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11670 (speedbar-buffers-line-directory, speedbar-buffer-click):
11671 Mark unused parameters.
11672 (speedbar-tag-file): Remove unused variable `mode'.
11673 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11675 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11677 * talk.el (talk): Remove unused variable `display'.
11679 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11680 (tar-write-region-annotate): Mark unused parameter.
11682 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11683 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11684 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11685 warning by another.
11687 * time-stamp.el (time-stamp-string-preprocess):
11688 Remove unused variable `require-padding'.
11690 * tree-widget.el (widget-glyph-enable): Declare.
11691 (tree-widget-action): Mark unused parameter.
11693 * w32-fns.el (x-get-selection): Mark unused parameter.
11694 (autoload-make-program, generated-autoload-file): Declare.
11696 * wdired.el (wdired-revert): Mark unused parameters.
11697 (wdired-xcase-word): Remove unused variable `err'.
11699 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11700 (whitespace-help-scroll): Remove unused variable `data-help'.
11702 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11703 (widget-image-insert, widget-after-change, default)
11704 (widget-default-format-handler, widget-default-notify)
11705 (widget-default-prompt-value, widget-info-link-action)
11706 (widget-url-link-action, widget-function-link-action)
11707 (widget-variable-link-action, widget-file-link-action)
11708 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11709 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11710 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11711 (widget-insert-button-action, widget-delete-button-action, visibility)
11712 (widget-documentation-link-action, widget-documentation-string-action)
11713 (widget-const-prompt-value, widget-regexp-match, symbol)
11714 (widget-coding-system-prompt-value)
11715 (widget-key-sequence-value-to-external, sexp)
11716 (widget-sexp-value-to-internal, character, vector, cons)
11717 (widget-choice-prompt-value, widget-boolean-prompt-value)
11718 (widget-color--choose-action): Mark unused parameters.
11719 (widget-item-match-inline, widget-choice-match-inline)
11720 (widget-checklist-match, widget-checklist-match-inline)
11721 (widget-group-match): Rename parameter VALUES to VALS.
11722 (widget-field-value-set): Remove unused variable `size'.
11723 (widget-color-action): Remove unused variables `value' and `start'.
11725 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
11726 variable `dir'. Doc fix.
11727 (windmove-find-other-window): Don't pass it.
11729 * window.el (count-windows): Mark unused parameter.
11730 (bw-adjust-window): Remove unused variable `err'.
11732 * woman.el (woman-file-name): Remove unused variable `default'.
11733 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11734 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11735 (global-font-lock-mode): Declare.
11736 (woman-decode-region): Mark unused parameter.
11737 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11739 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11740 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11741 (x-dnd-handle-moz-url): Remove unused variable `title'.
11742 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11744 * xml.el (xml-parse-tag, xml-parse-attlist):
11745 Remove unused variable `pos'.
11747 2011-04-19 Glenn Morris <rgm@gnu.org>
11749 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11750 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11751 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11752 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11753 * calendar/cal-html.el (cal-html-insert-minical):
11754 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11755 (calendar-mark-date-pattern):
11756 Prefix "unused" locals.
11758 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11759 optional argument `style'.
11761 * calendar/appt.el (appt-make-list):
11762 * calendar/cal-china.el (calendar-chinese-date-string):
11763 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11764 (diary-hebrew-yahrzeit):
11765 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11766 * calendar/calendar.el (calendar-generate-window):
11767 * calendar/time-date.el (time-to-days):
11768 Remove unused local variables.
11770 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
11772 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11773 glyphless-char-display table.
11774 (tabulated-list-glyphless-char-display): New var.
11776 2011-04-18 Sam Steingold <sds@gnu.org>
11778 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11779 to acknowledgments.
11781 2011-04-17 Glenn Morris <rgm@gnu.org>
11783 * calendar/diary-lib.el (diary-sexp-entry):
11784 * calendar/holidays.el (holiday-sexp):
11785 Set debug-on-error rather than the removed stack-trace-on-error.
11787 2011-04-16 Glenn Morris <rgm@gnu.org>
11789 * progmodes/f90.el: Use lexical-binding.
11790 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11792 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11794 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11795 (mail-mode): Setup mailalias completion here instead.
11796 * mail/mailalias.el: Use lexical-binding.
11797 (pattern, mailalias-done): Declare dynamic.
11798 (mail-completion-at-point-function): New function, from mail-complete.
11799 (mail-complete): Use it.
11800 (mail-completion-expand): New function.
11801 (mail-get-names): Use it.
11802 (mail-directory, mail-directory-process, mail-directory-stream):
11803 Don't use `pattern' for lexically bound arg.
11805 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11807 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11808 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11809 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11811 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11812 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11813 (byte-interactive-p): Define them again, for use when inlining
11816 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
11818 * loadup.el: Use `string-to-number', not `string-to-int'.
11820 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11822 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11823 gud-gdb-complete-command.
11824 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11825 (gud-gdb-completion-at-point): New function.
11826 (gud-gdb-completions): Remove.
11828 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
11830 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11831 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11832 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11833 whether `executable-find' is bound.
11835 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11837 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11839 * minibuffer.el (completion-in-region-mode-predicate)
11840 (completion-in-region-mode--predicate): New vars.
11841 (completion-in-region, completion-in-region--postch)
11842 (completion-in-region-mode): Use them.
11843 (completion--capf-wrapper): Also return the hook function.
11844 (completion-at-point, completion-help-at-point):
11845 Adjust and provide a predicate.
11847 Preserve arg names for advice of subr and lexical functions (bug#8457).
11848 * help-fns.el (help-function-arglist): Consolidate the subr and
11849 new-byte-code cases. Add argument `preserve-names' to extract names
11850 from the docstring when needed.
11851 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11852 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11853 (ad-arglist): Use help-function-arglist's new arg.
11854 (ad-definition-type): Use cond.
11856 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
11858 * autorevert.el (auto-revert-handler):
11859 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11860 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11861 Don't quote lambda.
11863 * image-mode.el (image-transform-set-scale):
11864 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11866 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11868 * net/network-stream.el (network-stream-open-starttls): Only do
11869 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
11870 Upgrades via gnutls-cli are too slow to be done opportunistically.
11872 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
11874 * dframe.el (dframe-current-frame): Remove spurious quote.
11876 2011-04-12 Glenn Morris <rgm@gnu.org>
11878 * calendar/cal-tex.el (cal-tex-end-document):
11879 Try to automatically use latin1 input if needed.
11881 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11882 Don't try to cons a mark onto an empty element.
11884 2011-04-11 Leo Liu <sdl.web@gmail.com>
11886 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11888 (ido-kill-buffer-at-head): Support killing virtual buffers.
11890 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
11892 * minibuffer.el (completion-show-inline-help): New var.
11893 (completion--do-completion, minibuffer-complete)
11894 (minibuffer-force-complete, minibuffer-complete-word):
11895 Inhibit minibuffer messages if completion-show-inline-help is nil.
11897 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11898 to avoid interference from inline help (Bug#5849).
11900 2011-04-10 Leo Liu <sdl.web@gmail.com>
11902 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11905 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
11907 * image-mode.el (image-toggle-display-image): Signal an error if
11909 (image-transform-mode, image-transform-resize)
11910 (image-transform-set-rotation): Doc fix.
11911 (image-transform-set-resize): Delete.
11912 (image-transform-set-scale, image-transform-fit-to-height)
11913 (image-transform-fit-to-width): Handle image-toggle-display-image
11914 and image-transform-resize directly.
11916 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
11918 * doc-view.el (doc-view-fit-width-to-window)
11919 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11920 New functions for fitting the shown image to the Emacs window size.
11921 (doc-view-mode-map): Add bindings for the new functions.
11923 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
11925 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
11926 Fix typo in docstring.
11928 2011-04-08 Eli Zaretskii <eliz@gnu.org>
11930 * files.el (file-size-human-readable): Produce one digit after
11931 decimal, like "ls -lh" does.
11933 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11934 the file size representation.
11936 * simple.el (list-processes): If async subprocesses are not
11937 available, error out with a clear error message.
11939 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
11941 * help.el (help-form-show): New function, to be called from C.
11942 Put help-form output in a buffer named differently than *Help*.
11944 2011-04-08 Eli Zaretskii <eliz@gnu.org>
11946 * files.el (file-size-human-readable): New function.
11948 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11949 computing the representation inline. Don't require `cl'.
11951 2011-04-08 Glenn Morris <rgm@gnu.org>
11953 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11955 * net/browse-url.el (browse-url-firefox):
11956 Test system-type, not system-configuration.
11958 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11959 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11960 Use log-edit-empty-buffer-p. (Bug#7598)
11962 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11963 (rlogin-mode-map): Initialize in the defvar.
11964 (rlogin): Use ignore-errors.
11966 * replace.el (occur-mode-map): Some fixes for menu items.
11968 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11970 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11972 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
11974 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11975 issuing unused warnings.
11977 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11980 * simple.el: Lisp reimplement of list-processes. Based on an
11981 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11982 (process-menu-mode): New major mode.
11983 (list-processes--refresh, list-processes):
11984 (process-menu-visit-buffer): New functions.
11986 * files.el (save-buffers-kill-emacs): Don't assume any return
11987 value of list-processes, which is undocumented anyway.
11989 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
11991 * emacs-lisp/tabulated-list.el: New file.
11993 * emacs-lisp/package.el: Use Tabulated List mode.
11994 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11995 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11996 table format using Tabulated List mode variables.
11997 (package--push): New macro, replacing package-list-maybe-add.
11998 (package-menu--generate): Use package--push. Renamed from
11999 package--generate-package-list.
12000 (package-menu-refresh, list-packages): Use it.
12001 (package-menu--print-info): Rename from package-print-package.
12002 Return insertion data instead of inserting it directly.
12003 (package-menu-describe-package, package-menu-execute):
12004 Use tabulated-list-get-id.
12005 (package-menu-mark-delete, package-menu-mark-install)
12006 (package-menu-mark-unmark, package-menu-backup-unmark)
12007 (package-menu-mark-obsolete-for-deletion):
12008 Use tabulated-list-put-tag.
12009 (package--list-packages, package-menu-revert)
12010 (package-menu-get-package, package-menu-get-version)
12011 (package-menu-sort-by-column): Functions deleted.
12012 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12013 (package-menu--status-predicate, package-menu--version-predicate)
12014 (package-menu--name-predicate)
12015 (package-menu--description-predicate): Handle arguments in the
12016 Tabulated List format.
12017 (package-list-packages-no-fetch): Call list-packages.
12019 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
12021 * files.el (after-find-file-from-revert-buffer): Remove variable.
12022 (after-find-file): Don't bind it.
12023 (revert-buffer-in-progress-p): New variable.
12024 (revert-buffer): Bind it.
12025 Pass nil for `after-find-file-from-revert-buffer'.
12027 * saveplace.el (save-place-find-file-hook): Use new variable
12028 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12030 2011-04-06 Glenn Morris <rgm@gnu.org>
12032 * Makefile.in (AUTOGEN_VCS): New variable.
12033 (autoloads): Use $AUTOGEN_VCS.
12035 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12036 * calendar/calendar.el (calendar-mode-map):
12037 Check for toolkit scroll bars. (Bug#8305)
12039 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12041 * minibuffer.el (completion-in-region--postch)
12042 (completion-in-region-mode): Remove unnecessary messages.
12044 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
12046 * font-lock.el (font-lock-refresh-defaults):
12047 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12048 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12050 * info.el (Info-directory-list, Info-read-node-name-2)
12051 (Info-split-parameter-string): Doc fixes.
12052 (Info-virtual-nodes): Reflow docstring.
12053 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12054 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12055 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12056 Fix typos in docstrings.
12057 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12058 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12059 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12060 (Info-restore-desktop-buffer): Mark unused parameters.
12061 (Info-directory-find-file, Info-directory-find-node)
12062 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12063 (Info-virtual-index-find-node, Info-apropos-find-file)
12064 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
12065 Mark unused parameters; fix typos in docstrings.
12066 (Info-virtual-index): Remove unused local variable `nodename'.
12068 2011-04-05 Deniz Dogan <deniz@dogan.se>
12070 * net/rcirc.el: Update my e-mail address.
12071 (rcirc-mode-map): Remove M-o binding.
12073 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12075 * startup.el (command-line): Save the cursor's theme-face
12076 directly, instead of using face-override-spec.
12078 * custom.el (load-theme): Minor optimization in assigning faces.
12080 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12082 * help-fns.el (describe-variable): Complete all variables having
12083 documentation, including keywords.
12084 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12086 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12088 Convert to lexical-binding.
12090 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12091 (bs--get-marked-string, bs--get-modified-string)
12092 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12093 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12094 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12096 * ehelp.el (electric-help-execute-extended)
12097 (electric-help-ctrl-x-prefix):
12098 * hexl.el (hexl-revert-buffer-function):
12099 * linum.el (linum-after-change, linum-after-scroll):
12100 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12102 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12104 2011-04-04 Daiki Ueno <ueno@unixuser.org>
12111 * epg.el: Use lexical binding.
12113 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
12115 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12117 * textmodes/flyspell.el (flyspell-word): Recognize default
12118 dictionary case for flyspell-mark-duplications-exceptions.
12119 Use regexp matching for languages.
12120 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12121 default dictionary (Bug#7926).
12123 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
12125 * emacs-lisp/package.el (package--with-work-buffer):
12126 Recognize https URLs.
12128 * net/network-stream.el: Move from gnus/proto-stream.el.
12129 Change prefix to network-stream throughout.
12130 (open-protocol-stream): Merge into open-network-stream, leaving
12131 open-protocol-stream as an alias. Handle nil BUFFER args.
12133 * subr.el (open-network-stream): Move to net/network-stream.el.
12135 2011-04-02 Glenn Morris <rgm@gnu.org>
12137 * find-dired.el (find-exec-terminator): New option.
12138 (find-ls-option): Test for -ls support.
12139 (find-ls-subdir-switches): Test for -b in find-ls-option.
12140 (find-dired, find-grep-dired): Doc fixes.
12141 (find-dired): Use find-exec-terminator.
12143 * find-dired.el (find-ls-option, find-ls-subdir-switches)
12144 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12145 (find-name-arg): Remove purecopy.
12147 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12148 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12149 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12150 accordingly. Don't add the null-device if not needed.
12152 * files.el (save-some-buffers): Doc fix.
12154 2011-04-02 Eli Zaretskii <eliz@gnu.org>
12156 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12158 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
12160 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12161 Use `dolist' rather than `mapcar'.
12163 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12165 Add lexical binding.
12167 * subr.el (apply-partially): Use new closures rather than CL.
12168 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12169 (dolist, dotimes): Use slightly different expansion for lexical code.
12170 (functionp): Move to C.
12171 (letrec): New macro.
12172 (with-wrapper-hook): Use it and apply-partially instead of CL.
12173 (eval-after-load): Preserve lexical-binding.
12174 (save-window-excursion, with-output-to-temp-buffer): Turn them
12177 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12179 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12181 (help-add-fundoc-usage): Don't add `Not documented'.
12182 (help-function-arglist): Handle closures, subroutines, and new
12183 byte-code-functions.
12184 (help-make-usage): Remove leading underscores.
12185 (describe-function-1): Handle closures.
12186 (describe-variable): Use special-variable-p for completion.
12188 * files.el (lexical-binding): Declare safe.
12190 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12191 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12192 (pcase): Add `let' pattern.
12193 Change memoization so it actually works.
12194 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12195 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12198 * emacs-lisp/macroexp.el: Use lexical binding.
12199 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12200 Don't convert ' to #' without checking that it's indeed quoting
12203 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
12204 Use eval-sexp-add-defvars.
12205 (eval-sexp-add-defvars): New fun.
12207 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12209 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12211 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12212 than the internal `byte-compile-lambda'.
12213 (defmethod): Don't hide code under quotes.
12214 (eieio-defmethod): New `code' argument.
12216 * emacs-lisp/eieio-comp.el: Remove.
12218 * emacs-lisp/edebug.el (edebug-eval-defun)
12219 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12220 (edebug-toggle): Avoid `eval'.
12222 * emacs-lisp/disass.el (disassemble-internal): Handle new
12224 (disassemble-1): Handle new byte codes.
12226 * emacs-lisp/cl.el (pushnew): Silence warning.
12228 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12229 (cl-byte-compile-throw): Remove.
12230 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12232 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12235 * emacs-lisp/cconv.el: New file.
12237 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12238 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12239 (byte-compile-initial-macro-environment):
12240 Handle declare-function here.
12241 (byte-compile--lexical-environment): New var.
12242 (byte-stack-ref, byte-stack-set, byte-discardN)
12243 (byte-discardN-preserve-tos): New lap codes.
12244 (byte-interactive-p): Don't use any more.
12245 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12247 (byte-compile-lapcode): Use them and handle new lap codes.
12248 (byte-compile-obsolete): Remove.
12249 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12250 (byte-compile-arglist-warn): Check late def of inlinable funs.
12251 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12252 since they should have been expanded by now.
12253 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12254 (byte-compile-from-buffer): Remove unused second arg.
12255 (byte-compile-preprocess): New function.
12256 (byte-compile-toplevel-file-form): New function to distinguish
12257 file-form calls from outside from file-form calls from hunk-handlers.
12258 (byte-compile-file-form): Simplify.
12259 (byte-compile-file-form-defsubst): Remove.
12260 (byte-compile-file-form-defmumble): Simplify now that
12261 byte-compile-lambda always returns a byte-code-function.
12262 (byte-compile): Preprocess.
12263 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12264 Remove, not used any more.
12265 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12266 (byte-compile-make-args-desc): New funs.
12267 (byte-compile-lambda): Handle lexical functions. Always return
12268 a byte-code-function.
12269 (byte-compile-reserved-constants): New var, to make up room for
12270 closed-over variables.
12271 (byte-compile-constants-vector): Obey it.
12272 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12273 (byte-compile-macroexpand-declare-function): New function.
12274 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12275 byte-code-functions.
12276 (byte-compile-form): Check obsolescence here.
12277 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12278 (byte-compile-variable-ref): Remove.
12279 (byte-compile-dynamic-variable-op): New fun.
12280 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12281 (byte-compile-variable-set): New funs.
12282 (byte-compile-discard): Add 2 args.
12283 (byte-compile-stack-ref, byte-compile-stack-set)
12284 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12285 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12286 macroexpand-all instead.
12287 (byte-compile-quote-form): Remove.
12288 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12289 (byte-compile-bind, byte-compile-unbind): New funs.
12290 (byte-compile-let): Handle let* and lexical binding.
12291 (byte-compile-let*): Remove.
12292 (byte-compile-catch, byte-compile-unwind-protect)
12293 (byte-compile-track-mouse, byte-compile-condition-case):
12294 Handle a new :fun-body form, used for lexical scoping.
12295 (byte-compile-save-window-excursion)
12296 (byte-compile-with-output-to-temp-buffer): Remove.
12297 (byte-compile-defun): Simplify.
12298 (byte-compile-stack-adjustment): New fun.
12299 (byte-compile-out): Use it.
12300 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12302 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12305 * emacs-lisp/byte-opt.el: Use lexical binding.
12306 (byte-inline-lapcode): Remove (to bytecomp).
12307 (byte-compile-inline-expand): Pay attention to inlining to/from
12308 lexically bound code.
12309 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12311 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12312 any more and don't call compiler-macros.
12313 (byte-compile-splice-in-already-compiled-code): Remove.
12314 (byte-code): Don't inline any more.
12315 (disassemble-offset): Receive `bytes' as argument rather than via
12317 (byte-compile-tag-number): Declare before first use.
12318 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12319 `return' even if make-spliceable.
12320 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12321 obsolete interactive-p.
12322 (byte-optimize-lapcode): Optimize new lap-codes.
12323 Don't trip up on new form of `byte-constant' lap code.
12325 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12327 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12329 * custom.el (custom-initialize-default, custom-declare-variable):
12332 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12334 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12335 (COMPILE_FIRST): Add macroexp and cconv.
12336 * makefile.w32-in: Mirror changes in Makefile.in.
12338 * vc/cvs-status.el:
12342 * vc/smerge-mode.el:
12343 * textmodes/bibtex-style.el:
12344 * textmodes/css.el:
12352 * emacs-lisp/smie.el:
12355 * abbrev.el: Use lexical binding.
12357 2011-04-01 Eli Zaretskii <eliz@gnu.org>
12359 * info.el (info-display-manual): New function.
12361 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12363 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12365 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12367 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
12368 an entry for that server in rcirc-authinfo. (Bug#8385)
12370 2011-03-31 Glenn Morris <rgm@gnu.org>
12372 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12374 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12376 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12378 * progmodes/python.el (python-default-interpreter)
12379 (python-python-command-args, python-jython-command-args)
12380 (python-which-shell, python-which-args, python-which-bufname)
12381 (python-file-queue, python-comint-output-filter-function)
12382 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12383 variables and functions.
12385 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12387 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12388 (completion-in-region-mode): New minor mode.
12389 (completion-in-region): Use it.
12390 (completion-in-region--data, completion-in-region-mode-map): New vars.
12391 (completion-in-region--postch): New function.
12392 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12394 (completion--capf-wrapper): New function.
12395 (completion-at-point): Use it to track well-behavedness of
12397 (completion-help-at-point): New command.
12399 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12401 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12402 syntax class to search for whitespace on a single line
12403 (Message-ID: <4D938140.4030905@redhat.com>).
12405 2011-03-30 Leo Liu <sdl.web@gmail.com>
12407 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12409 (edit-abbrevs-map): Bind them here.
12410 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12412 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12414 * allout.el (allout-hide-by-annotation, allout-flag-region):
12415 Reduce possibility of overlay leakage by making them volatile.
12417 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12418 hash is not shared between buffers. Mode initialization is
12419 responsible for giving it a useful starting value.
12420 (allout-item-span): Reduce possibility of overlay leakage by
12421 making them volatile.
12422 (allout-widgets-count-buttons-in-region): Add diagnostic function
12423 for tracking down button overlay leaks.
12425 2011-03-29 Leo Liu <sdl.web@gmail.com>
12427 * ido.el (ido-read-internal): Use the default history var
12428 minibuffer-history if no HISTORY is specified.
12430 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12432 * net/imap.el (imap-shell-open, imap-process-connection-type):
12433 Use imap-process-connection-type for 'shell' streams as well as
12434 Kerberos, SSL, other subprocesses.
12436 2011-03-28 Leo Liu <sdl.web@gmail.com>
12438 * abbrev.el (abbrev-table-empty-p): New function.
12439 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12440 nonempty ones. (Bug#5937)
12442 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12444 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12446 2011-03-27 Leo Liu <sdl.web@gmail.com>
12448 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12449 for foreground and background colors.
12450 (ansi-color-make-color-map): Adapt.
12452 2011-03-25 Leo Liu <sdl.web@gmail.com>
12454 * midnight.el (midnight-time-float): Remove. Note it calculates
12455 the microsecond component incorrectly and seconds-to-time does the
12457 Remove redundant (require 'timer).
12459 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12460 (ido-completions): Remove unused arguments. (Bug#8329)
12462 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12464 * minibuffer.el (completion--flush-all-sorted-completions):
12465 Remove itself from hook.
12466 (completion-at-point): Let the functions perform the completion
12467 immediately and return nil or t.
12468 * comint.el (comint-dynamic-complete-functions): Now identical to
12469 completion-at-point-functions.
12470 (comint-dynamic-list-input-ring): Remove unused var `index'.
12471 (comint--match-partial-filename, comint--unquote&expand-filename):
12472 New funs, split from comint-match-partial-filename.
12473 (comint-dynamic-complete): Use completion-at-point.
12474 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12476 2011-03-24 Drew Adams <drew.adams@oracle.com>
12478 * thingatpt.el: Support `defun'.
12480 2011-03-23 Leo Liu <sdl.web@gmail.com>
12482 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12484 * help-mode.el (help-mode-finish): Tweak regexp.
12486 2011-03-23 Glenn Morris <rgm@gnu.org>
12488 * eshell/esh-opt.el (eshell-eval-using-options):
12489 Do not bind unused local variable `eshell-option-stub'.
12491 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12493 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12495 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12496 keymap variable in `with-no-warnings' to avoid a warning when the
12497 keymap has been already `defconst'ed.
12499 2011-03-22 Leo Liu <sdl.web@gmail.com>
12501 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12502 encode all chars in abbrevs; otherwise use emacs-mule or
12503 utf-8-emacs. (Bug#8308)
12505 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12507 * simple.el (backward-delete-char-untabify):
12508 Avoid warning about using `delete-backward-char'.
12510 * image.el (image-type-file-name-regexps): Make it variable.
12511 `imagemagick-register-types' modifies it, and the user may want
12512 to add new extensions for known image types.
12513 (imagemagick-register-types): Throw error if not using ImageMagick.
12515 2011-03-22 Leo Liu <sdl.web@gmail.com>
12517 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12518 located before rcirc-prompt-end-marker.
12519 (rcirc-complete): Error if point is not after rcirc prompt.
12520 Handle the case when table is nil.
12521 (rcirc-user-authenticated): Define to fix compiler warning.
12523 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
12525 * custom.el (custom--inhibit-theme-enable): Make it affect only
12526 custom-theme-set-variables and custom-theme-set-faces.
12527 (provide-theme): Ignore custom--inhibit-theme-enable.
12528 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12529 (custom-enabling-themes): Delete variable.
12530 (enable-theme): Accept only loaded themes as arguments.
12531 Ignore the special custom-enabled-themes variable.
12532 (custom-enabled-themes): Forbid themes from setting this.
12533 Eliminate use of custom-enabling-themes.
12534 (custom-push-theme): Quote "changed" custom var entry.
12536 2011-03-21 Leo Liu <sdl.web@gmail.com>
12538 * ido.el (ido-read-internal): Add ido-selected to history instead
12541 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12543 * subr.el (deferred-action-list, deferred-action-function):
12546 2011-03-21 Leo Liu <sdl.web@gmail.com>
12548 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12549 change on 2011-02-13 (bug#8309).
12551 * minibuffer.el (read-file-name-function): Change default value.
12552 (read-file-name--defaults): Rename from read-file-name-defaults.
12553 (read-file-name-default): Rename from read-file-name.
12554 (read-file-name): Call read-file-name-function.
12556 2011-03-21 Glenn Morris <rgm@gnu.org>
12558 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12561 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
12563 * cus-theme.el: Add missing provide statement.
12564 (customize-create-theme): Extract theme value correctly.
12565 (custom-theme-visit-theme): Autoload.
12566 (customize-create-theme): Prompt before inserting default faces.
12568 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12570 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12571 units and musical notes.
12573 2011-03-20 Leo Liu <sdl.web@gmail.com>
12575 * ido.el (ido-read-internal): Use completing-read-default.
12576 (ido-completing-read): Fix compatibility with completing-read.
12578 2011-03-20 Christian Ohler <ohler@gnu.org>
12580 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12581 (ert-delete-all-tests): Use `called-interactively-p' rather than
12583 (ert--make-xrefs-region): Respect END.
12585 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12587 * dired-aux.el (dired-create-directory): Signal an error if the
12588 directory already exists (Bug#8246).
12590 * facemenu.el (list-colors-display): Call list-faces-display
12591 inside with-help-window.
12592 (list-colors-print): Use display property to align the final
12593 column, instead of checking window-width.
12595 2011-03-19 Eli Zaretskii <eliz@gnu.org>
12597 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
12598 windows-nt systems.
12599 (emerge-protect-metachars): Quote correctly for ms-dos and
12600 windows-nt systems.
12602 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
12604 * info.el (info-initialize): Replace all uses of `:' with
12605 path-separator for compatibility with non-Unix systems.
12606 Cache quoting of path-separator. (Bug#8258)
12608 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
12610 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12611 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12612 (mouse-avoidance-mode): Fix typos in docstrings.
12614 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12616 * startup.el (package-subdirectory-regexp): Move from package.el.
12617 Omit \\` and \\', and let callers add them.
12619 * emacs-lisp/package.el (package-strip-version)
12620 (package-load-all-descriptors): Add \\` and \\' to
12621 package-subdirectory-regexp before using it.
12622 (package-untar-buffer): New arg DIR; ensure that file untars only
12623 into this expected directory. Remove superfluous delete-region.
12624 (package-unpack): Caller changed.
12625 (package-tar-file-info): Use package-subdirectory-regexp.
12627 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12629 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12630 diff-mode-shared-map (bug#8284).
12631 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
12633 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12635 * calendar/time-date.el (format-seconds): Use assoc instead of
12636 assoc-string, since assoc-string doesn't exist in XEmacs.
12638 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
12640 * custom.el (custom-known-themes): Reflow docstring.
12641 (custom-theme-load-path): Fix typo in docstring.
12642 (load-theme): Fix typo in error message.
12643 (custom-available-themes, custom-variable-theme-value):
12644 Use `let', not `let*'.
12646 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12648 * calc/README: Mention inclusion of musical notes.
12650 * calc/calc-units.el (calc-lu-quant): Rename from
12651 `calc-logunits-quantity'.
12652 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12653 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12654 (calc-db): Rename from `calc-dblevel'.
12655 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12656 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12657 (calc-np): Rename from `calc-nplevel'.
12658 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12659 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12660 (calc-lu-plus): Rename from `calc-logunits-add'.
12661 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12662 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12663 (calc-lu-minus): Rename from `calc-logunits-sub'.
12664 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12665 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12666 (calc-lu-times): Rename from `calc-logunits-mul'.
12667 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12668 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12669 (calc-lu-divide): Rename from `calc-logunits-div'.
12670 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12671 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12673 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12674 functions being autoloaded.
12676 * calc/calc.el (calc-lu-power-reference): Rename from
12677 `calc-logunits-power-reference'.
12678 (calc-lu-field-reference): Rename from
12679 `calc-logunits-field-reference'.
12681 * calc/calc-help.el (calc-l-prefix-help):
12682 Mention musical note functions.
12684 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12686 * minibuffer.el (completion-all-sorted-completions):
12687 Use :completion-cycle-penalty text property if present.
12689 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12691 * allout.el (allout-yank-processing): Adjust for new rebulleting
12692 regime so bullet being yanked is used without prompting the user
12695 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
12697 * startup.el (command-line): Warn the user that _emacs is deprecated.
12699 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
12701 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12702 (delphi-verbose, delphi-comment-face, delphi-string-face)
12703 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12704 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12705 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12706 (delphi-new-comment-line, delphi-font-lock-defaults)
12707 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12708 Fix typos in docstrings.
12710 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12712 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
12713 Invert the roles of character and string values for INSTEAD, so a
12714 string is used for the more common case of a defaulting prompt.
12716 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12718 * progmodes/ruby-mode.el (ruby-backward-sexp):
12719 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12720 * play/gamegrid.el (gamegrid-make-face):
12721 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12722 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12723 * notifications.el (notifications-notify):
12724 * net/xesam.el (xesam-search-engines):
12725 * net/quickurl.el (quickurl-list-insert):
12726 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12728 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
12730 * startup.el (command-line): Update package subdirectory regexp.
12732 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12734 * allout.el (allout-abbreviate-flattened-numbering)
12735 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12737 * subr.el (read-char-choice): Only show the cursor after the prompt,
12738 not after the answer.
12740 2011-03-15 Kevin Ryde <user42@zip.com.au>
12742 * help-fns.el (variable-at-point): Skip leading quotes, if any
12745 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12747 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12750 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
12752 * shell.el (shell): When called interactively, offer to change the
12753 shell file name on remote hosts.
12755 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12757 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12758 integration for LDAP parameters. The host, base, user or binddn,
12759 and secret tokens can be specified in a netrc file, for instance.
12760 This is optional because an `auth-source' parameter must be
12761 specified in the search attributes.
12763 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
12765 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12767 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12769 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12770 into declaration. Remove redundant and harmful binding.
12772 2011-03-12 Eli Zaretskii <eliz@gnu.org>
12774 * files.el (file-ownership-preserved-p): Pass `integer' as an
12775 explicit 2nd argument to `file-attributes'. If the file's owner
12776 is the Administrators group on Windows, and the current user is
12777 Administrator, consider that a match.
12779 * server.el (server-ensure-safe-dir): Consider server directory
12780 safe on MS-Windows if its owner is the Administrators group while
12781 the current Emacs user is Administrator. Use `=' to compare
12782 numerical UIDs, since they could be integers or floats.
12784 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
12786 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12788 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
12790 Sync with Tramp 2.2.1.
12792 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12794 * net/trampver.el: Update release number.
12796 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12798 * progmodes/compile.el (compilation--previous-directory): Fix up
12799 various nil/dead-marker mismatches (bug#8014).
12800 (compilation-directory-properties, compilation-error-properties):
12801 Don't call it at a position past the one we're about to change.
12803 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12804 Disable obsolescence warnings in the file that declares it.
12806 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12808 * allout-widgets.el (allout-widgets-tally):
12809 Initialize allout-widgets-tally as a hash table rather than nil to
12810 prevent mode-line redisplay warnings. Also, clarify the module
12811 description and fix a comment typo.
12813 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
12815 * help-fns.el (describe-variable): Don't complete keywords.
12816 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12818 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
12820 * emacs-lisp/package.el (package-version-join): Impose a standard
12821 string representation for pre/alpha/beta version lists.
12822 (package-unpack-single): Standardize the directory name by passing
12823 it through package-version-join.
12824 (package-strip-rcs-id): Accept any version string that does not
12825 signal an error in version-to-list.
12827 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
12829 * simple.el (delete-trailing-whitespace): Return nil for the
12830 benefit of `write-file-functions'.
12832 2011-03-10 Glenn Morris <rgm@gnu.org>
12834 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12836 * vc/vc-git.el (vc-git-program): New option.
12837 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12838 (vc-git--call): Use it.
12840 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12842 * cus-edit.el (Custom-newline): If no button at point, look
12843 for a subgroup button at start-of-line. (Bug#2298)
12845 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12847 2011-03-10 Julien Danjou <julien@danjou.info>
12849 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12850 `cursor-type' is nil.
12852 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12854 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12856 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12858 * allout.el: Change so yank of distinctive-bullet items
12859 preserves the existing header prefix, rebulleting it if necessary,
12860 rather than replacing it. This is necessary for proper operation
12861 of cooperative addons like allout-widgets.
12862 (allout-make-topic-prefix, allout-rebullet-heading):
12863 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12864 value as alternate bullet to be used, instead of prompting the user
12865 for a bullet character.
12867 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
12869 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12870 Do not use `tramp-file-name-port', because this returns also
12871 `tramp-default-port'.
12873 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12875 * net/rcirc.el (rcirc-handler-001): Remove useless
12876 with-rcirc-process-buffer.
12877 (rcirc-check-auth-status): Swap arguments to string-match.
12879 2011-03-09 Glenn Morris <rgm@gnu.org>
12881 * shell.el (shell-mode):
12882 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12884 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12885 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12887 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
12889 * emacs-lisp/package.el (package-refresh-contents)
12890 (package-menu-execute): Use condition-case-no-debug.
12892 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
12894 * simple.el (shell-command-to-string): Use `process-file'.
12896 * emacs-lisp/package.el (package-tar-file-info): Handle also
12899 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12900 Use `equal' for upload base check.
12902 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12904 * textmodes/texinfo.el (texinfo-environments):
12905 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12907 2011-03-08 Glenn Morris <rgm@gnu.org>
12909 * cus-start.el (cursor-in-non-selected-windows):
12910 Fix :set quoting oddness. (Bug#8192)
12912 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12913 in some setf expressions. (Bug#2159)
12915 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
12917 * custom.el (custom-available-themes): Return themes in
12918 alphabetical order.
12920 See ChangeLog.15 for earlier changes.
12922 ;; Local Variables:
12926 Copyright (C) 2011-2012 Free Software Foundation, Inc.
12928 This file is part of GNU Emacs.
12930 GNU Emacs is free software: you can redistribute it and/or modify
12931 it under the terms of the GNU General Public License as published by
12932 the Free Software Foundation, either version 3 of the License, or
12933 (at your option) any later version.
12935 GNU Emacs is distributed in the hope that it will be useful,
12936 but WITHOUT ANY WARRANTY; without even the implied warranty of
12937 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12938 GNU General Public License for more details.
12940 You should have received a copy of the GNU General Public License
12941 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.