]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Remove unnecessary use of minibuffer-completing-file-name.
[gnu-emacs] / lisp / ChangeLog
1 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * ffap.el: Remove old code for obsolete package.
4 (ffap-complete-as-file-p): Remove.
5
6 Use completion-table-with-quoting for comint and pcomplete.
7 * comint.el (comint--unquote&requote-argument)
8 (comint--unquote-argument, comint--requote-argument): New functions.
9 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
10 (comint-quote-filename): Use regexp-opt-charset.
11 (comint--common-suffix, comint--common-quoted-suffix)
12 (comint--table-subvert): Remove.
13 (comint-unquote-function, comint-requote-function): New vars.
14 (comint--complete-file-name-data): Use them with
15 completion-table-with-quoting.
16 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
17 * pcomplete.el (pcomplete-arg-quote-list)
18 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
19 (pcomplete-unquote-argument-function): Default to non-nil.
20 (pcomplete-unquote-argument): Simplify.
21 (pcomplete--common-quoted-suffix): Remove.
22 (pcomplete-requote-argument-function): New var.
23 (pcomplete--common-suffix): New function.
24 (pcomplete-completions-at-point): Use completion-table-with-quoting
25 and completion-table-subvert.
26
27 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
28 (minibuffer--double-dollars): Preserve properties.
29 (completion--sifn-requote): New function.
30 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
31
32 * minibuffer.el: Add support for completion of quoted/escaped data.
33 (completion-table-with-quoting, completion-table-subvert): New funs.
34 (completion--twq-try, completion--twq-all): New functions.
35 (completion--nth-completion): New function.
36 (completion-try-completion, completion-all-completions): Use it.
37
38 2012-04-25 Chong Yidong <cyd@gnu.org>
39
40 * vc/diff-mode.el (diff-setup-whitespace): New function.
41 (diff-mode): Use it.
42
43 * vc/diff.el (diff-sentinel):
44 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
45 Whitespace mode variables based on diff style (Bug#8612).
46
47 2012-04-25 Leo Liu <sdl.web@gmail.com>
48
49 * progmodes/python.el (python-send-region): Add suffix .py to the
50 temp file.
51
52 * files.el (auto-mode-alist): Use javascript-mode instead.
53
54 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
55
56 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
57
58 * soap-client.el (soap-resolve-references-for-sequence-type)
59 (soap-resolve-references-for-array-type): Hack to prevent self
60 references, see Bug#9.
61 (soap-parse-envelope): Report the contents of the 'detail' node
62 when receiving a fault reply.
63 (soap-parse-envelope): Report the contents of the entire 'detail' node.
64
65 * soap-inspect.el (soap-sample-value-for-simple-type)
66 (soap-inspect-simple-type): New function.
67
68 * soap-client.el (soap-simple-type): New struct.
69 (soap-default-xsd-types, soap-default-soapenc-types)
70 (soap-decode-basic-type, soap-encode-basic-type):
71 support unsignedInt and double basic types.
72 (soap-resolve-references-for-simple-type)
73 (soap-parse-simple-type, soap-encode-simple-type): New function.
74 (soap-parse-schema): Parse xsd:simpleType declarations.
75
76 * soap-client.el (soap-default-xsd-types)
77 (soap-default-soapenc-types): Add integer, byte and anyURI types.
78 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
79 the local name of "soapenc:Array".
80 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
81 decoding integer, byte and anyURI xsd types.
82
83 2012-04-25 Chong Yidong <cyd@gnu.org>
84
85 * cus-edit.el (custom-buffer-create-internal): Update header text.
86
87 2012-04-25 Eli Zaretskii <eliz@gnu.org>
88
89 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
90 settings on 'system-type', not on 'window-system'. On MS-Windows,
91 set interactive-mode on in GDB.
92
93 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
94
95 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
96 (ruby-syntax-propertize-regexp): Remove.
97 (ruby-syntax-propertize-function): Split regexp into chunks.
98 Match following code directly.
99
100 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
101
102 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
103 (ruby-syntax-propertize-regexp): New function.
104 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
105 by a special keyword.
106
107 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
108 (ruby-syntax-general-delimiters-goto-beg)
109 (ruby-syntax-propertize-general-delimiters): New functions.
110 (ruby-syntax-propertize-function): Use them to handle GDL.
111 (ruby-font-lock-keywords): Move old handling of GDL...
112 (ruby-font-lock-syntactic-keywords): .. to here.
113 (ruby-calculate-indent): Adjust indentation for GDL.
114
115 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
116
117 * notifications.el (top): Remove unneeded declarations.
118 (notifications-specification-version): Change to "1.2".
119 (notifications-interface, notifications-notify-method)
120 (notifications-close-notification-method): Fix docstring.
121 (notifications-get-capabilities-method): New defconst.
122 (notifications-notify): Add :action-items, :resident and
123 :transient hints. Change "image_data" to "image-data" and
124 "image_path" to "image-path".
125 (notifications-get-capabilities): New defun.
126
127 2012-04-24 Leo Liu <sdl.web@gmail.com>
128
129 * progmodes/python.el: Move hideshow setup to the end.
130
131 2012-04-24 Martin Rudalics <rudalics@gmx.at>
132
133 * window.el (handle-select-window): Clear echo area since this is
134 no more done by read_char (Bug#11304).
135
136 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
137
138 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
139 and `/ M' to filter-derived-mode.
140 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
141 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
142 (ibuffer-mark-by-mode): Use default rather than initial-input.
143 (ibuffer-filter-by-derived-mode): Autoload and require-match.
144
145 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
146
147 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
148 (ibuffer-filter-by-derived-mode): New filter.
149 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
150
151 2012-04-23 Andreas Politz <politza@fh-trier.de>
152
153 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
154
155 2012-04-23 Chong Yidong <cyd@gnu.org>
156
157 * cus-edit.el (customize-apropos, customize-apropos-options):
158 Disable matching of non-option variables (Bug#11176).
159 (customize-option, customize-option-other-window)
160 (customize-changed-options): Doc fix.
161 (customize-apropos-options, customize-apropos-faces)
162 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
163
164 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
165 Fix word list splitting (Bug#11132).
166 (apropos-symbol, apropos-keybinding, apropos-label)
167 (apropos-property, apropos-function-button)
168 (apropos-variable-button, apropos-misc-button): New faces.
169 (apropos-symbol-face, apropos-keybinding-face)
170 (apropos-label-face, apropos-property-face, apropos-match-face):
171 Variables removed (Bug#8396).
172 (apropos-library-button, apropos-format-plist, apropos-print)
173 (apropos-print-doc, apropos-describe-plist): Callers changed.
174
175 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
176
177 * net/xesam.el (xesam-mode-map): Use let-bound map in
178 initialization. (Bug#11292)
179
180 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
181
182 Preserve ispell session localwords when switching back to
183 original buffer.
184
185 * ispell.el (ispell-buffer-session-localwords): New buffer-local
186 variable to hold buffer session localwords.
187 (ispell-kill-ispell): add option 'clear to delete session
188 localwords.
189 (ispell-command-loop, ispell-change-dictionary)
190 (ispell-buffer-local-words): Preserve session localwords when
191 needed.
192
193 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
194 Preserve session localwords when needed.
195
196 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
197
198 * ispell.el (ispell-insert-word) Remove unneeded function using
199 obsolete `translation-table-for-input'.
200 (ispell-word, ispell-process-line, ispell-complete-word):
201 Use plain `insert' instead of removed `ispell-insert-word'.
202
203 2012-04-22 Chong Yidong <cyd@gnu.org>
204
205 * cus-edit.el (custom-variable-menu)
206 (custom-variable-reset-saved, custom-face-menu)
207 (custom-face-reset-saved): If there is no saved value, make the
208 "reset-saved" operation bring back the default (Bug#9509).
209 (custom-face-state): Properly detect themed faces.
210
211 * faces.el (face-spec-set): Stop supporting deprecated form of
212 third arg.
213
214 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
215
216 Move functions from C to Lisp. Make non-blocking method calls
217 the default. Implement further D-Bus standard interfaces.
218
219 * net/dbus.el (dbus-message-internal): Declare function.
220 Remove unneeded function declarations.
221 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
222 (dbus-message-type-method-return, dbus-message-type-error)
223 (dbus-message-type-signal): Declare variables. Remove local
224 definitions.
225 (dbus-interface-dbus, dbus-interface-peer)
226 (dbus-interface-introspectable, dbus-interface-properties)
227 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
228 Adapt docstring.
229 (dbus-interface-objectmanager): New defconst.
230 (dbus-call-method, dbus-call-method-asynchronously)
231 (dbus-send-signal, dbus-method-return-internal)
232 (dbus-method-error-internal, dbus-register-service)
233 (dbus-register-signal, dbus-register-method): New defuns, moved
234 from dbusbind.c
235 (dbus-call-method-handler, dbus-setenv)
236 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
237 New defuns.
238 (dbus-call-method-non-blocking): Make it an obsolete function.
239 (dbus-unregister-object, dbus-unregister-service)
240 (dbus-handle-event, dbus-register-property)
241 (dbus-property-handler): Obey the new structure of
242 `bus-registered-objects'.
243 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
244 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
245 Use `dbus-call-method'.
246
247 2012-04-22 Chong Yidong <cyd@gnu.org>
248
249 * cus-edit.el (custom-commands, custom-reset-menu)
250 (Custom-reset-standard): Tweak labels.
251 (custom-reset-button-menu): Change default to t.
252 (custom-buffer-create-internal): For the custom-reset-button-menu
253 case, put the revert button first.
254 (custom-group-subtitle): New face.
255 (custom-group-value-create): Align docstring to a specific column.
256
257 * wid-edit.el (widget-documentation-link-add): Don't handle
258 indentation in this function.
259 (widget-documentation-string-indent-to): New function.
260 (widget-documentation-string-value-create): Use it.
261
262 * autorevert.el (auto-revert):
263 * epg-config.el (epg):
264 * ibuffer.el (ibuffer):
265 * mpc.el (mpc):
266 * ses.el (ses):
267 * eshell/eshell.el (eshell):
268 * net/ange-ftp.el (ange-ftp):
269 * progmodes/ebnf2ps.el (postscript):
270 * progmodes/flymake.el (flymake):
271 * progmodes/prolog.el (prolog):
272 * progmodes/verilog-mode.el (verilog-mode):
273 * progmodes/which-func.el (which-func):
274 * term/xterm.el (xterm):
275 * textmodes/picture.el (picture):
276 * textmodes/tildify.el (tildify):
277 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
278 customization buffers.
279
280 2012-04-22 Alan Mackenzie <acm@muc.de>
281
282 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
283 Adding a ) can hide the resulting (..) from searches. Fix it.
284 Bound the backward search to the position of the existing (.
285
286 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
287
288 * progmodes/verilog-mode.el (verilog-mode): Check whether
289 which-func-modes is t before adding verilog-mode.
290 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
291
292 2012-04-21 Leo Liu <sdl.web@gmail.com>
293
294 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
295
296 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
297
298 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
299 filling of the last column of a table (Bug#5635).
300 (woman-find-next-control-line): New arg, specifying an additional
301 regexp component for the control line.
302 (woman2-roff-buffer): Use it.
303 (woman-break-table): New function.
304 (woman2-TS): Use it.
305
306 2012-04-21 Chong Yidong <cyd@gnu.org>
307
308 * woman.el (woman-set-buffer-display-table, woman-decode-region)
309 (woman-horizontal-escapes, woman-negative-vertical-space)
310 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
311 (WoMan-warn-ignored): Use ?\s instead of ?\ .
312
313 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
314
315 * minibuffer.el (completion-file-name-table): Complete user names.
316
317 2012-04-20 Leo Liu <sdl.web@gmail.com>
318
319 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
320 and pcase-let*.
321
322 2012-04-20 Chong Yidong <cyd@gnu.org>
323
324 * server.el (server-execute): Respect initial-buffer-choice if it
325 is a string and there are no files to open (Bug#2825).
326 (server-create-window-system-frame, server-create-tty-frame):
327 Don't switch buffers here.
328 (server-process-filter): Only try to open a window system frame if
329 compiled with graphical support (Bug#8314).
330
331 2012-04-20 Dan Nicolaescu <dann@gnu.org>
332
333 * battery.el (battery-echo-area-format): Display remaining time
334 for sysfs backend too (Bug#11269).
335 (battery-linux-sysfs): Fix conditional for the charge.
336
337 2012-04-20 Chong Yidong <cyd@gnu.org>
338
339 * progmodes/gdb-mi.el (gdb): Revert previous change.
340 (gdb-inferior-io--init-proc): New function.
341 (gdb-init-1): Use it.
342 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
343 responsible for allocating a new pty and hooking it to gdb when
344 the old pty gets an EIO due to process exit.
345 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
346 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
347 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
348
349 2012-04-20 Eli Zaretskii <eliz@gnu.org>
350
351 * window.el (window-min-size, window-sizable, window-min-delta)
352 (window-max-delta, window--resizable, window-resizable)
353 (window-total-size, window-full-height-p, window-full-width-p)
354 (window-in-direction, window--resize-mini-window, window-resize)
355 (window--resize-child-windows-normal)
356 (window--resize-child-windows, window--resize-siblings)
357 (window--resize-this-window, adjust-window-trailing-edge)
358 (enlarge-window, shrink-window): Doc fixes.
359
360 2012-04-20 Chong Yidong <cyd@gnu.org>
361
362 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
363 New function to call delete-process on the gdb-inferior buffer's pty.
364 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
365 pty process (Bug#11273).
366 (gdb-update): New arg to suppress talking to the gdb process.
367 (gdb-done-or-error): Use it.
368 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
369 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
370 sentinel not being called.
371
372 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
373
374 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
375
376 2012-04-20 Glenn Morris <rgm@gnu.org>
377
378 * net/network-stream.el (open-network-stream): Doc fix.
379
380 2012-04-20 Chong Yidong <cyd@gnu.org>
381
382 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
383
384 2012-04-20 Alan Mackenzie <acm@muc.de>
385
386 Ensure searching for keywords is case sensitive.
387
388 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
389 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
390 (c-defun-name, c-mark-function, c-cpp-define-name)
391 (c-comment-indent, c-scan-conditionals, c-indent-defun)
392 (c-context-line-break): Bind case-fold-search to nil.
393
394 * progmodes/cc-mode.el (c-font-lock-fontify-region):
395 Bind case-fold-search to nil.
396
397 2012-04-20 Chong Yidong <cyd@gnu.org>
398
399 * mail/sendmail.el (mail-bury): Call return action with the right
400 Rmail buffer (Bug#11242).
401
402 * server.el (server-process-filter): Handle corner case where both
403 tty and nowait options are present (Bug#11102).
404
405 2012-04-20 Eli Zaretskii <eliz@gnu.org>
406
407 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
408 (top level): Put into the executable the ident-style '$Id:' tag on
409 windows-nt as well.
410
411 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
412
413 * electric.el (electric-indent-post-self-insert-function): Check that
414 electric-indent-mode is enabled in current buffer.
415
416 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
417
418 * imenu.el (imenu-progress-message): Restore; it is "used" in
419 erc/erc-imenu.el and net/snmp-mode.el.
420
421 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
422
423 * avoid.el (mouse-avoidance-mode): Mark unused arg.
424 (mouse-avoidance-nudge-mouse): Remove unused binding.
425
426 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
427
428 * descr-text.el (describe-char):
429 * progmodes/python.el (python-describe-symbol):
430 Don't call `toggle-read-only', set `buffer-read-only'.
431
432 * imenu.el (imenu-default-goto-function): Mark unused args.
433 (imenu-progress-message): Remove obsolete macro; all callers changed.
434
435 * subr.el (keymap-canonicalize): Remove unused binding.
436 (read-passwd): Mark unused arg.
437
438 * tutorial.el (tutorial--display-changes): Remove unused binding.
439 (tutorial--save-tutorial-to): Remove unused variable.
440
441 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
442 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
443 (package-generate-autoloads, package-menu--generate)
444 (package-menu--find-upgrades): Remove unused bindings.
445
446 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
447 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
448 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
449 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
450 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
451 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
452 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
453 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
454 (cua-delete-char-rectangle): Mark unused args.
455 (cua-align-rectangle): Remove unused binding.
456
457 * mail/rmail.el (compilation--message->loc)
458 (epa--find-coding-system-for-mime-charset): Declare.
459
460 * net/dbus.el (dbus-register-service): Declare.
461 (dbus-name-owner-changed-handler): Remove unused binding.
462
463 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
464 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
465 (nxml-scan-backward-within): Mark unused arg.
466 (nxml-dynamic-markup-word): Remove unused binding.
467
468 * mouse.el (mouse-menu-major-mode-map):
469 * emacs-lisp/authors.el (authors-scan-change-log)
470 (authors-add-to-author-list):
471 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
472 * emacs-lisp/smie.el (smie-auto-fill):
473 * mail/sendmail.el (mail-bury):
474 * mail/unrmail.el (unrmail):
475 * net/tls.el (open-tls-stream):
476 * textmodes/picture.el (picture-mouse-set-point):
477 Remove unused bindings.
478
479 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
480
481 * net/tramp.el (tramp-action-password): Let-bind
482 `enable-recursive-minibuffers' to t.
483
484 2012-04-18 Sam Steingold <sds@gnu.org>
485
486 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
487 instead of 'string to accommodate values like [f11].
488 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
489 * progmodes/gdb-mi.el: Likewise.
490
491 2012-04-18 Leo Liu <sdl.web@gmail.com>
492
493 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
494 current buffer.
495 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
496 LOCAL is nil.
497
498 2012-04-18 Chong Yidong <cyd@gnu.org>
499
500 * simple.el (line-move): Use forward-line if in batch mode
501 (Bug#11053).
502
503 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
504
505 * files.el (after-find-file): Do not try to add a final newline if
506 the buffer is read-only (Bug#11156).
507
508 2012-04-17 Richard Stallman <rms@gnu.org>
509
510 * mail/rmail.el (rmail-start-mail):
511 Pass (rmail-mail-return...) for the return-action.
512 Pass (rmail-yank-current-message...) for the yank-action.
513 (rmail-yank-current-message): New function.
514 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
515 (rmail-reply): Likewise.
516 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
517
518 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
519 buffer, not the last. Reject temp buffers. Use the rmail-mode
520 buffer, not newbuf.
521
522 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
523
524 * server.el (server-ensure-safe-dir): Simplify.
525
526 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
527
528 * emacs-lisp/smie.el: Provide smarter auto-filling.
529 (smie-auto-fill): New function.
530 (smie-setup): Use it.
531
532 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
533
534 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
535
536 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
537 (comment-indent): Use it.
538
539 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
540
541 * ses.el: The overall change is to add cell renaming, that is
542 setting fancy names for cell symbols other than name matching
543 "\\`[A-Z]+[0-9]+\\'" regexp .
544 (ses-localvars): Add ses--renamed-cell-symb-list.
545 (ses-create-cell-variable): New defun.
546 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
547 (ses-relocate-formula): Relocate formulas only for cells the
548 symbols of which are not renamed, i.e. symbols whose names do not
549 match regexp "\\`[A-Z]+[0-9]+\\'".
550 (ses-relocate-all): Relocate values only for cells the symbols of
551 which are not renamed.
552 (ses-load): Create cells variables as the (ses-cell ...) are read,
553 in order to check row col consistency with cell symbol name only
554 for cells that are not renamed.
555 (ses-replace-name-in-formula): New defun.
556 (ses-rename-cell): New defun.
557
558 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
559
560 * progmodes/perl-mode.el (perl-indent-parens-as-block):
561 New option (bug#11118).
562 (perl-calculate-indent): Respect it.
563
564 2012-04-17 Glenn Morris <rgm@gnu.org>
565
566 * dired-aux.el (dired-mark-read-string): Doc fix.
567
568 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
569
570 * dired-aux.el (dired-mark-read-string): Offer optional completion.
571 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
572
573 2012-04-17 Glenn Morris <rgm@gnu.org>
574
575 * mouse.el (mouse-drag-track):
576 * speedbar.el (speedbar-frame-mode):
577 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
578
579 2012-04-16 Leo Liu <sdl.web@gmail.com>
580
581 * progmodes/python.el: Trivial cleanup.
582
583 2012-04-16 Glenn Morris <rgm@gnu.org>
584
585 * vc/vc.el (vc-string-prefix-p):
586 * vc/pcvs-util.el (cvs-string-prefix-p):
587 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
588 * mpc.el (mpc-string-prefix-p):
589 Make all of these into obsolete aliases for string-prefix-p.
590 Update callers.
591 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
592
593 * textmodes/two-column.el: Move custom options to the start.
594 (frame-width): Remove compat definition.
595 (2C-associate-buffer, 2C-dissociate):
596 Use with-current-buffer rather than save-excursion.
597 (2C-dissociate): Force a mode-line update.
598 (2C-autoscroll): Use ignore-errors.
599
600 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
601 Autoload trivia.
602
603 * emacs-lisp/cl-extra.el (*random-state*):
604 Remove unnecessary declaration.
605
606 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
607
608 * play/cookie1.el (cookie-snarf):
609 Give an explicit error if input file cannot be read.
610
611 * play/yow.el (yow-file): Use expand-file-name rather than concat.
612
613 * progmodes/perl-mode.el (c-macro-expand):
614 Remove unnecessary autoload (it is in loaddefs.el).
615
616 * textmodes/picture.el (picture-desired-column)
617 (picture-update-desired-column): Convert comments to doc-strings.
618 (picture-substitute): Remove function.
619 (picture-mode-map): Initialize in the defvar.
620
621 * woman.el: Remove eval-after-load for tar-mode.
622 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
623 (woman-tar-extract-file): Autoload it.
624
625 * frame.el (automatic-hscrolling): Make this alias obsolete.
626
627 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
628
629 * ispell.el (ispell-set-spellchecker-params): Post-process
630 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
631 (ispell-dictionary-base-alist): Revert to original XEmacs
632 friendly version for default. [:alpha:] will be added in
633 `ispell-set-spellchecker-params' if needed
634
635 2012-04-16 Chong Yidong <cyd@gnu.org>
636
637 * image.el (imagemagick--extension-regexp): New variable.
638 (imagemagick-register-types): Use it.
639 (imagemagick-types-inhibit): Add :set function. Allow new value
640 of t to inhibit all types.
641
642 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
643 so we can preload it.
644
645 * loadup.el (fboundp): Preload regexp-opt, needed by
646 imagemagick-register-types.
647
648 2012-04-15 Chong Yidong <cyd@gnu.org>
649
650 * frame.el (scrolling): Remove nearly unused customization group.
651
652 * scroll-all.el (scroll-all-mode): Move to windows group.
653
654 2012-04-15 Chong Yidong <cyd@gnu.org>
655
656 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
657
658 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
659
660 Avoid the use of ((lambda ...) ...) in lexical-binding code.
661 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
662
663 2012-04-15 Glenn Morris <rgm@gnu.org>
664
665 * simple.el (process-file-side-effects): Doc fix.
666
667 2012-04-15 Glenn Morris <rgm@gnu.org>
668
669 * international/mule-cmds.el (set-language-environment): Doc fix.
670
671 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
672
673 * server.el (server-auth-key, server-generate-key): Doc fixes.
674 (server-get-auth-key): Doc fix. Use `string-match-p'.
675 (server-start): Reflow docstring.
676
677 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
678
679 * server.el (server-generate-key): `called-interactively-p'
680 requires a parameter.
681
682 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
683
684 * server.el (server-auth-key): New variable.
685 (server-generate-key, server-get-auth-key): New function.
686 (server-start): Use the new variable and functions to allow
687 setting a permanent server key (bug#9423).
688
689 2012-04-14 Leo Liu <sdl.web@gmail.com>
690
691 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
692
693 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
694
695 Spelling fixes.
696 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
697 Emacs uses American spelling.
698
699 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
700
701 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
702 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
703 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
704 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
705
706 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
707
708 * progmodes/which-func.el (which-func-modes): Change default.
709
710 2012-04-14 Kim F. Storm <storm@cua.dk>
711
712 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
713 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
714
715 2012-04-14 Chong Yidong <cyd@gnu.org>
716
717 * custom.el (custom-theme-set-variables): Doc fix.
718
719 2012-04-14 Glenn Morris <rgm@gnu.org>
720
721 * international/mule.el (set-auto-coding-for-load): Doc fix.
722
723 2012-04-14 Alan Mackenzie <acm@muc.de>
724
725 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
726 imenu work again for Objective C Mode. Correct the *-index values,
727 these having been disturbed by a previous change in 2011-08.
728
729 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
730 Correct two search limits.
731
732 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
733
734 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
735
736 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
737
738 * international/characters.el: Fix sorting.
739
740 2012-04-14 Eli Zaretskii <eliz@gnu.org>
741
742 * international/characters.el: Add more missing Latin case pairs.
743
744 2012-04-14 Glenn Morris <rgm@gnu.org>
745
746 * files.el (dir-locals-set-class-variables): Doc fix.
747
748 2012-04-14 Eli Zaretskii <eliz@gnu.org>
749
750 * international/characters.el: Add set-case-syntax-pair call for
751 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
752 counterpart. (Bug#11209)
753
754 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
755
756 2012-04-14 Glenn Morris <rgm@gnu.org>
757
758 * calendar/holidays.el (calendar-check-holidays): Doc fix.
759
760 2012-04-14 Eli Zaretskii <eliz@gnu.org>
761
762 * textmodes/ispell.el (ispell-dictionary-base-alist):
763 Add data for Hebrew.
764
765 2012-04-14 Chong Yidong <cyd@gnu.org>
766
767 * net/rcirc.el (rcirc-cmd-quit):
768 Revert 2012-03-18 change (Bug#11192).
769
770 2012-04-14 Glenn Morris <rgm@gnu.org>
771
772 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
773
774 2012-04-14 Eli Zaretskii <eliz@gnu.org>
775
776 * minibuffer.el (completion-in-region-mode-map):
777 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
778
779 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
780
781 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
782
783 2012-04-13 Masatake YAMATO <yamato@redhat.com>
784
785 * minibuffer.el (minibuffer-local-filename-syntax): New variable
786 to allow `C-M-f' and `C-M-b' to move to the nearest path
787 separator (bug#9511).
788
789 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
790
791 * avoid.el: Require cl when compiling. And also move the
792 `provide' to the end.
793
794 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
795
796 * avoid.el (mouse-avoidance-banish-position): New variable.
797 (mouse-avoidance-banish-destination): Use it (bug#10165).
798
799 2012-04-13 Leo Liu <sdl.web@gmail.com>
800
801 * progmodes/which-func.el (which-func-modes): Add objc-mode.
802
803 2012-04-13 Ken Brown <kbrown@cornell.edu>
804
805 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
806 this is no longer needed now that cygstart understands file:// URLs.
807 (browse-url-filename-alist): For the same reason, don't modify
808 file:// URLs on Cygwin.
809
810 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
811
812 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
813 the region on shift if the binding is already shifted (bug#11221).
814
815 2012-04-12 Glenn Morris <rgm@gnu.org>
816
817 * mail/mailpost.el: Move to obsolete/.
818
819 2012-04-12 Drew Adams <drew.adams@oracle.com>
820
821 * imenu.el (imenu--generic-function): Ignore invisible definitions
822 (bug#10123).
823
824 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
825
826 * hexl.el (hexl-bits): New variable.
827 (hexl-options): Mention the variable in the doc string.
828 (hexl-rulerise, hexl-line-displen): New functions.
829 (hexl-mode): Mention the new variable.
830 (hexl-mode, hexl-current-address, hexl-current-address):
831 Use the displen.
832 (hexl-ascii-start-column): New function.
833 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
834 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
835
836 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
837
838 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
839 '("-i" ENCODING), in 2 separate command-line arguments, to specify
840 the encoding, as expected by hunspell.
841
842 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
843
844 * battery.el (battery--linux-sysfs-regexp): New const.
845 (battery-status-function): Use it. Remove yeeloong special case.
846 (battery-yeeloong-sysfs): Remove.
847 (battery-echo-area-format): Remove yeeloong special case.
848
849 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
850
851 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
852 Reported by Noah Friedman.
853
854 * subr.el (read-passwd): Use read-string.
855
856 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
857
858 * vcursor.el (vcursor-move): Increase the priority of the overlay
859 (bug#9663).
860
861 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
862
863 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
864 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
865
866 2012-04-11 William Stevenson <yhvh2000@gmail.com>
867
868 * textmodes/artist.el (artist-mode): Convert artist-mode to use
869 define-minor-mode (bug#10760).
870
871 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
872
873 * progmodes/grep.el (rgrep): Tweak the find command line so
874 that directories matching `grep-find-ignored-files' won't be
875 pruned (bug#10351).
876
877 2012-04-11 Chong Yidong <cyd@gnu.org>
878
879 * startup.el (command-line): Remove support for long-obsolete
880 variable font-lock-face-attributes.
881
882 2012-04-11 Glenn Morris <rgm@gnu.org>
883
884 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
885
886 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
887
888 * window.el (window--state-get-1): Obey window-point-insertion-type.
889
890 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
891
892 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
893 to previous function when point is on the first character of a
894 function. Take care of that in `narrow-to-defun' (bug#6157).
895
896 2012-04-11 Glenn Morris <rgm@gnu.org>
897
898 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
899 not just file-errors.
900
901 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
902 (vc-bzr-sha1): Use internal sha1.
903
904 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
905
906 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
907
908 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
909
910 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
911 that start in the middle of the line (bug#10496).
912
913 2012-04-10 Dan Nicolaescu <dann@gnu.org>
914
915 * battery.el (battery-linux-proc-acpi): Only one battery is
916 discharged at a time, but that seems to confuse battery.el when
917 computing `rate-type' for the battery not being discharged
918 (bug#10332).
919
920 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
921
922 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
923
924 * international/quail.el: Use dolist and simplify.
925 (quail-define-package, quail-update-keyboard-layout)
926 (quail-define-rules): Use dolist.
927 (quail-insert-kbd-layout, quail-get-translation): CSE.
928
929 * tmm.el: Use dolist, remove left over hook.
930 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
931 Use dolist.
932 (calendar-load-hook): Don't mess with it.
933
934 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
935 Use derived-mode-p. Run the diff asynchronously.
936
937 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
938
939 * obsolete/mouse-sel.el: Add an Obsolete-since header.
940
941 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
942
943 * misc.el: Display absolute path of loaded DLLs (bug#10424).
944 (list-dynamic-libraries--loaded): New function.
945 (list-dynamic-libraries--refresh): Use it.
946
947 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
948
949 * progmodes/python.el (python-fill-paragraph):
950 Make python-fill-region in a multiline string work when font-lock is
951 disabled (bug#7018).
952
953 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
954
955 * language/european.el (cp775): Add oem/legacy (en)coding on
956 DOS/MS Windows for the Baltic languages. There are still plenty
957 of texts written in this encoding/codepage (bug#6519).
958
959 2012-04-10 Glenn Morris <rgm@gnu.org>
960
961 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
962 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
963
964 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
965
966 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
967 next-line "n" and previous-line "p" in order to make recentf more
968 consistent with ibuffer, dired or org-mode (bug#9387).
969
970 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
971
972 * image.el (put-image): Return the overlay created instead of the
973 optional input string (bug#7834). Note that this may break code
974 that is (for some reason or other) depending on `put-image'
975 returning the string.
976
977 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
978
979 * simple.el (zap-to-char): Allow zapping using input methods
980 (bug#1580).
981
982 * textmodes/fill.el (fill-region): Leave point and mark where they
983 were before filling (bug#5399).
984
985 2012-04-09 Glenn Morris <rgm@gnu.org>
986
987 * version.el (emacs-bzr-get-version):
988 Handle lightweight checkouts of local branches.
989
990 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
991
992 * international/characters.el: Recover lost case pairs. (Bug#11209)
993
994 2012-04-09 Chong Yidong <cyd@gnu.org>
995
996 * custom.el (custom-variable-p): Return nil for non-symbol
997 arguments instead of signaling an error.
998 (user-variable-p): Obsolete alias for custom-variable-p.
999
1000 * apropos.el (apropos-variable):
1001 * files-x.el (read-file-local-variable):
1002 * simple.el (set-variable):
1003 * woman.el (woman-mini-help):
1004 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1005
1006 2012-04-09 Glenn Morris <rgm@gnu.org>
1007
1008 * startup.el (normal-top-level): Don't look for leim-list.el
1009 in places where it will not be found. (Bug#910)
1010
1011 * international/mule-cmds.el (set-default-coding-systems):
1012 * files.el (normal-mode):
1013 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1014 This function was removed with ucs-tables.el in 2008.
1015
1016 2012-04-08 Eli Zaretskii <eliz@gnu.org>
1017
1018 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1019 ispell-encoding8-command to "-i", without a trailing space.
1020 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1021 separate command-line arguments, to specify the encoding, since
1022 that's how hunspell expects it.
1023
1024 2012-04-08 Glenn Morris <rgm@gnu.org>
1025
1026 * loadup.el: Load bindings before cus-start.
1027 This reduces somewhat the number of "rogue" settings in emacs -Q.
1028
1029 2012-04-07 Glenn Morris <rgm@gnu.org>
1030
1031 * version.el (emacs-bzr-get-version): New function.
1032 (emacs-bzr-version): New variable.
1033 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1034 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1035
1036 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1037
1038 * international/uni-bidi.el, international/uni-category.el:
1039 * international/uni-combining.el, international/uni-decimal.el:
1040 * international/uni-decomposition.el, international/uni-digit.el:
1041 * international/uni-lowercase.el, international/uni-mirrored.el:
1042 * international/uni-name.el, international/uni-numeric.el:
1043 * international/uni-titlecase.el, international/uni-uppercase.el:
1044 Update for Unicode 6.1.
1045
1046 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1047
1048 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1049
1050 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1051
1052 * window.el (shrink-window): Mention the `window-min-height'
1053 variable in the doc string.
1054
1055 2012-04-05 Bastien Guerry <bzg@altern.org>
1056
1057 * color.el (color-lighten-name): Fix typo.
1058
1059 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1060
1061 * server.el (server--on-display-p): New function.
1062 (server--on-display-p): Use it.
1063
1064 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1065
1066 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1067 (bug#11145).
1068
1069 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1070
1071 * comint.el (comint--common-quoted-suffix): Check string boundary
1072 before comparing (bug#11158).
1073 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1074
1075 2012-04-04 Chong Yidong <cyd@gnu.org>
1076
1077 * minibuffer.el (completion-extra-properties): Doc fix.
1078
1079 * subr.el (delayed-warnings-hook): Doc fix.
1080
1081 2012-04-04 Daiki Ueno <ueno@unixuser.org>
1082
1083 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1084 selection (Bug#11159).
1085 (epa-insert-keys): Inform that the default public key will be
1086 exported if no key is selected.
1087
1088 2012-04-04 Richard Stallman <rms@gnu.org>
1089
1090 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1091
1092 2012-04-03 Chong Yidong <cyd@gnu.org>
1093
1094 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1095 mail-insert-file, not its obsolete alias mail-attach-file.
1096
1097 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
1098
1099 * notifications.el (notifications-notify): Fix docstring.
1100
1101 2012-04-02 Glenn Morris <rgm@gnu.org>
1102
1103 * emacs-lisp/authors.el (authors-aliases): Another addition.
1104
1105 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
1106
1107 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1108 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1109 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1110
1111 2012-04-01 Chong Yidong <cyd@gnu.org>
1112
1113 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1114 Handle root directory properly.
1115 (copy-directory): Caller changed.
1116
1117 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1118 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1119
1120 2012-03-31 Glenn Morris <rgm@gnu.org>
1121
1122 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1123
1124 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1125
1126 * calendar/calendar.el (calendar-window-list)
1127 (calendar-hide-window): Restore. (Bug#11140)
1128 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1129
1130 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1131
1132 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1133
1134 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1135 Check if file is a symlink (Bug#10489).
1136
1137 * files.el (copy-directory): Likewise.
1138
1139 2012-03-30 Chong Yidong <cyd@gnu.org>
1140
1141 * image.el (imagemagick-types-inhibit)
1142 (imagemagick-register-types): Doc fix.
1143
1144 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1145
1146 * ispell.el (ispell-get-extended-character-mode):
1147 Disable extended-char-mode for hunspell. hunspell does not support it
1148 and treats ~word as ordinary words in pipe mode.
1149
1150 2012-03-30 Glenn Morris <rgm@gnu.org>
1151
1152 * tutorial.el (help-with-tutorial): Ensure local variables don't
1153 happen to make the buffer read-only. (Bug#11127)
1154
1155 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1156
1157 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1158 (perl-calculate-indent): Return `noindent' in strings.
1159
1160 2012-03-28 Sam Steingold <sds@gnu.org>
1161
1162 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1163 instead of the broken adhockery which does not prevent calendar
1164 buffers from being displayed at random after exit.
1165 (calendar-window-list, calendar-hide-window): Remove the broken
1166 adhockery.
1167
1168 2012-03-28 Glenn Morris <rgm@gnu.org>
1169
1170 * replace.el (query-replace-map): Doc fix.
1171
1172 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1173
1174 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1175 contents. (Bug#11109)
1176
1177 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1178
1179 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1180 (bug#11077).
1181 (avl-tree--check, avl-tree--check-node): New funs.
1182
1183 2012-03-27 Martin Rudalics <rudalics@gmx.at>
1184
1185 * window.el (switch-to-visible-buffer): New option.
1186 (switch-to-prev-buffer, switch-to-next-buffer):
1187 Observe switch-to-visible-buffer. Make sure that checking for a window
1188 showing a buffer already is done on the same frame.
1189
1190 2012-03-27 Glenn Morris <rgm@gnu.org>
1191
1192 * startup.el (mail-host-address): Doc fix.
1193
1194 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1195
1196 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1197 than 197 variables.
1198
1199 2012-03-26 Ami Fischman <ami@fischman.org>
1200
1201 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1202
1203 2012-03-26 Glenn Morris <rgm@gnu.org>
1204
1205 * files.el (save-buffers-kill-emacs): Doc fix.
1206
1207 * startup.el (normal-top-level, command-line, command-line-1):
1208 Give them doc strings.
1209
1210 2012-03-25 Eli Zaretskii <eliz@gnu.org>
1211
1212 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
1213 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
1214
1215 2012-03-25 Chong Yidong <cyd@gnu.org>
1216
1217 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1218 theme if it was previously enabled before (Bug#11031).
1219
1220 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1221 spec with custom-face-get-current-spec if its :shown-value is not
1222 determined yet (Bug#9337).
1223 (customize-create-theme, custom-theme-revert): Doc fixes.
1224
1225 * button.el (button-at): Minor addition to docstring.
1226
1227 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
1228
1229 * vc/vc.el (vc-merge): Fix a prompt.
1230
1231 2012-03-24 Chong Yidong <cyd@gnu.org>
1232
1233 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1234 point (Bug#9623).
1235
1236 * button.el (button-at): Minor addition to docstring.
1237
1238 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1239
1240 * newcomment.el (comment-choose-indent): No space after BOL.
1241
1242 2012-03-22 Sam Steingold <sds@gnu.org>
1243
1244 * window.el (switch-to-prev-buffer): Revert last patch because the
1245 bug turned out to be an advertised feature (Elisp manual 28.14).
1246
1247 2012-03-22 Glenn Morris <rgm@gnu.org>
1248
1249 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1250 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1251
1252 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1253
1254 * net/network-stream.el (network-stream-open-starttls): Make error
1255 message under Windows be less misleading.
1256
1257 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1258
1259 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1260 understands (bug#9942).
1261
1262 2012-03-22 Chong Yidong <cyd@gnu.org>
1263
1264 * simple.el (end-of-visible-line): Handle return value of
1265 next-single-property-change properly (Bug#9371).
1266
1267 2012-03-22 Kenichi Handa <handa@m17n.org>
1268
1269 * international/quail.el (quail-insert-kbd-layout): Fix previous
1270 change. To avoid unwanted bidi reordering, use
1271 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1272
1273 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1274
1275 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1276 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1277 (ruby-beginning-of-indent): Be more careful with the difference
1278 between word-boundary and symbol boundary.
1279 (ruby-mode-syntax-table): Make : a symbol constituent.
1280
1281 2012-03-21 Andreas Politz <politza@fh-trier.de>
1282
1283 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1284
1285 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1286
1287 * progmodes/etags.el (tags-completion-at-point-function):
1288 Improve last fix.
1289
1290 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1291
1292 2012-03-21 Sam Steingold <sds@gnu.org>
1293
1294 * progmodes/etags.el (tags-completion-at-point-function):
1295 Avoid the error when point is inside the pattern.
1296
1297 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1298
1299 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1300 line (Bug#10855).
1301
1302 2012-03-21 Drew Adams <drew.adams@oracle.com>
1303
1304 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1305
1306 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1307
1308 * ido.el (ido-set-current-directory, ido-read-internal)
1309 (ido-choose-completion-string, ido-completion-help): Handle nil
1310 value of ido-completion-buffer (Bug#11008).
1311
1312 2012-03-21 Sam Steingold <sds@gnu.org>
1313
1314 * window.el (switch-to-prev-buffer): Do not switch to a visible
1315 window previous buffer, just like with the frame previous buffers.
1316
1317 2012-03-21 Chong Yidong <cyd@gnu.org>
1318
1319 * faces.el (make-face, make-empty-face, copy-face):
1320 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1321 Doc fixes.
1322
1323 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1324
1325 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1326 (widget-complete): Remove broken use of it.
1327
1328 2012-03-20 Chong Yidong <cyd@gnu.org>
1329
1330 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1331 Use string-width and truncate-string-width to handle arbitrary
1332 characters.
1333
1334 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1335
1336 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1337 to draw rectangles, not squares. (Regression introduced by revno
1338 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1339
1340 2012-03-18 Chong Yidong <cyd@gnu.org>
1341
1342 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1343 it is not yet defined (for temacs).
1344
1345 2012-03-18 Leo Liu <sdl.web@gmail.com>
1346
1347 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
1348
1349 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1350
1351 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1352 (ispell-choices-win-default-height, ispell-silently-savep)
1353 (ispell-dictionary-alist, ispell-encoding8-command)
1354 (ispell-check-version, ispell-aspell-find-dictionary)
1355 (ispell-valid-dictionary-list, ispell-words-keyword)
1356 (ispell-get-word, ispell-internal-change-dictionary)
1357 (ispell-region, ispell-skip-region-list)
1358 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1359 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1360 (ispell-message-text-end, ispell-message)
1361 (ispell-buffer-local-parsing): Doc fix.
1362
1363 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
1364
1365 * htmlfontify.el: Add support for code block fontification for ODT
1366 export (Bug #9914).
1367 (hfy-optimisations): Define new option
1368 `body-text-only'
1369 (hfy-fontify-buffer): Honor above setting.
1370 (hfy-begin-span, hfy-end-span): New routines factored out form
1371 `hfy-fontify-buffer'.
1372 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1373 that permit insertion of custom tags.
1374 (hfy-fontify-buffer): Use above handlers.
1375 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1376 (hfy-face-to-css): Re-defined to be a variable.
1377 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
1378 over multiple runs. This is made possible by having the caller let
1379 bind a special variable `hfy-user-sheet-assoc'.
1380 (htmlfontify-string): New defun.
1381 (hfy-compile-face-map): Make sure that the last char in the
1382 buffer is correctly fontified.
1383 (hfy-face-resolve-face): Whitespace only change.
1384
1385 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1386
1387 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1388 message more clear.
1389
1390 2012-03-16 Leo Liu <sdl.web@gmail.com>
1391
1392 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1393
1394 2012-03-16 Alan Mackenzie <acm@muc.de>
1395
1396 Further optimise the handling of large macros.
1397
1398 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1399 limit to a call of `c-literal-limits'.
1400 (c-determine-+ve-limit): New function.
1401 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1402 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
1403 In CASE 5B, restrict a search limit to 500.
1404 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1405
1406 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1407 Restrict macro bounds to +-500 from after-change's BEG END.
1408
1409 2012-03-16 Leo Liu <sdl.web@gmail.com>
1410
1411 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1412
1413 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1414
1415 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
1416 `special-mode' setting of `buffer-read-only'. (Bug#11010)
1417
1418 2012-03-16 Glenn Morris <rgm@gnu.org>
1419
1420 * view.el (view-buffer, view-buffer-other-window)
1421 (view-buffer-other-frame): Doc fixes re special mode-class.
1422
1423 * subr.el (eval-after-load): If named feature is provided not from
1424 a file, run after-load forms. (Bug#10946)
1425
1426 * calendar/calendar.el (calendar-insert-at-column):
1427 Handle non-unit-width characters a bit better. (Bug#10978)
1428
1429 2012-03-15 Chong Yidong <cyd@gnu.org>
1430
1431 * emacs-lisp/ring.el (ring-extend): New function.
1432 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1433
1434 * comint.el (comint-read-input-ring)
1435 (comint-add-to-input-history): Grow comint-input-ring lazily.
1436
1437 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1438
1439 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1440 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1441
1442 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1443 (imenu-add-to-menubar): Don't add a redundant index.
1444 (imenu-update-menubar): Handle a dynamically composed keymap.
1445
1446 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1447
1448 * mail/sendmail.el (mail-encode-header):
1449 Bind rfc2047-encode-encoded-words to nil.
1450
1451 2012-03-13 Glenn Morris <rgm@gnu.org>
1452
1453 * calendar/calendar.el (calendar-string-spread):
1454 Handle non-unit-width characters a bit better. (Bug#10978)
1455
1456 2012-03-13 Leo Liu <sdl.web@gmail.com>
1457
1458 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1459 directory and file as argument (Bug#10822).
1460
1461 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1462
1463 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1464 For dynamically generated code, follow $PC.
1465 (gdb-disassembly-handler-custom): Handle no function name case.
1466
1467 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1468
1469 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1470 * emulation/ws-mode.el (ws-query-replace):
1471 * sort.el (sort-regexp-fields):
1472 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1473
1474 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1475
1476 * dabbrev.el: Fix cycle completion order (bug#10963).
1477 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1478 (dabbrev-completion): Don't use an obarray; provide
1479 a cycle-sort-function.
1480
1481 2012-03-12 Leo Liu <sdl.web@gmail.com>
1482
1483 * simple.el (kill-new): Use equal-including-properties for comparison.
1484 (kill-do-not-save-duplicates): Doc fix.
1485
1486 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1487
1488 * dabbrev.el: Fix cycle completion (bug#10963).
1489 Use lexical binding and wrap to 80 columns.
1490 (dabbrev-completion): Delay computing the list of completions.
1491
1492 2012-03-12 Kenichi Handa <handa@m17n.org>
1493
1494 * international/quail.el (quail-insert-kbd-layout): Surround each
1495 row by LRO and PDF instead of inserting many LRMs. Pad the left
1496 and right of each non-spacing marks. Insert invisible space
1497 between lower and upper characters to prevent composition.
1498
1499 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1500
1501 * minibuffer.el (minibuffer-complete): Don't get confused when the
1502 function is run twice via different commands (bug#10958).
1503 (complete-with-action): Fix docstring.
1504
1505 2012-03-12 Chong Yidong <cyd@gnu.org>
1506
1507 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1508 (nxml-completion-at-point-function): New function.
1509 (nxml-mode): Use it.
1510 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1511
1512 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1513 Load generated autoloads file before byte compiling (Bug#10970).
1514 (package--make-autoloads-and-compile): New helper fun.
1515
1516 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1517
1518 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1519
1520 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
1521
1522 * autorevert.el (auto-revert-handler): Ensure, that
1523 file-readable-p is applied only for local files or in
1524 auto-revert-tail-mode.
1525
1526 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1527
1528 * server.el (server-eval-at): Handle non-tcp connections.
1529 Decode result string.
1530
1531 * server.el (server-msg-size): New constant.
1532 (server-reply-print): New function.
1533 (server-eval-and-print): Use it.
1534 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1535 Handle -print-nonl.
1536
1537 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1538
1539 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1540 (Bug#10987).
1541
1542 2012-03-11 Chong Yidong <cyd@gnu.org>
1543
1544 * simple.el (goto-line): Doc fix (Bug#9938).
1545
1546 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1547
1548 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1549 when finished (Bug#10963).
1550
1551 2012-03-11 Martin Rudalics <rudalics@gmx.at>
1552
1553 * window.el (split-window-below): Fix bug in case where
1554 split-window-keep-point is nil (Bug#10971).
1555
1556 2012-03-11 Juri Linkov <juri@jurta.org>
1557
1558 * replace.el (replace-highlight): Set isearch-word to nil
1559 unconditionally. (Bug#10887)
1560
1561 2012-03-10 Eli Zaretskii <eliz@gnu.org>
1562
1563 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1564 mairix-replace-illegal-chars; all callers changed. Don't remove
1565 ^, ~, and = characters: they are meaningful in mairix search specs.
1566 (mairix-widget-create-query): Add usage information about mairix
1567 search forms: negating words, searching for substrings, etc.
1568
1569 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1570
1571 * international/fontset.el (font-encoding-alist): Add an entry for
1572 ksx1001 (Bug#5667).
1573
1574 2012-03-10 Richard Stallman <rms@gnu.org>
1575
1576 * mail/sendmail.el (mail-encode-header):
1577 Set rfc2047-encode-encoded-words.
1578
1579 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1580
1581 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1582 view buffer means not swapped.
1583 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1584 (rmail-write-region-annotate): Error if real text has disappeared.
1585
1586 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1587
1588 2012-03-10 Chong Yidong <cyd@gnu.org>
1589
1590 * emulation/cua-rect.el (cua--init-rectangles):
1591 * emulation/cua-base.el (cua--init-keymaps):
1592 Add delete-forward-char to remappings (Bug#9666).
1593
1594 2012-03-10 Martin Rudalics <rudalics@gmx.at>
1595
1596 * speedbar.el (speedbar-unhighlight-one-tag-line):
1597 Avoid unhighlighting due to frame switching (Bug#10275).
1598
1599 2012-03-10 Chong Yidong <cyd@gnu.org>
1600
1601 * minibuffer.el (completion-in-region, completion-help-at-point):
1602 Give the completion field overlay a high priority (Bug#6830).
1603
1604 * dired.el (dired-goto-file): Recognize absolute file name
1605 listings (Bug#7126).
1606 (dired-goto-file-1): New helper function.
1607 (dired-toggle-read-only): Inhibit warnings.
1608
1609 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
1610
1611 * net/dbus.el (dbus-property-handler): Return empty array if
1612 there are no properties.
1613
1614 2012-03-09 Leo Liu <sdl.web@gmail.com>
1615
1616 * savehist.el (savehist-printable): Stricter check for string
1617 value (Bug#10937).
1618
1619 2012-03-09 Eli Zaretskii <eliz@gnu.org>
1620
1621 * mail/smtpmail.el (smtpmail-send-it):
1622 Bind coding-system-for-write to *-unix, so that FCC files are kept in
1623 valid mbox format.
1624
1625 2012-03-09 Glenn Morris <rgm@gnu.org>
1626
1627 * files.el (dir-locals-find-file):
1628 Don't check result is regular, readable.
1629 (dir-locals-read-from-file): Demote errors.
1630
1631 2012-03-08 Eli Zaretskii <eliz@gnu.org>
1632
1633 * international/quail.el (quail-insert-kbd-layout):
1634 Insert invisible LRM characters before each character in a keyboard
1635 layout cell, to prevent their reordering by bidi display engine.
1636 For details, see the discussion in
1637 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1638
1639 2012-03-08 Alan Mackenzie <acm@muc.de>
1640
1641 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1642 the starting position; make it extend the marked region when
1643 invoked repeatedly - all under appropriate circumstances.
1644 Fixes bugs #5525, #10906.
1645
1646 2012-03-08 Glenn Morris <rgm@gnu.org>
1647
1648 * files.el (locate-dominating-file, dir-locals-find-file):
1649 Undo 2012-03-06 change.
1650
1651 2012-03-07 Eli Zaretskii <eliz@gnu.org>
1652
1653 * international/quail.el (quail-help):
1654 Force bidi-paragraph-direction be left-to-right. See discussion in
1655 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1656 for the reason.
1657
1658 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
1659
1660 Avoid superfluous registering of signals. (Bug#10807)
1661
1662 * notifications.el (notifications-on-action-object)
1663 (notifications-on-close-object): New defvars.
1664 (notifications-on-action-signal, notifications-on-closed-signal):
1665 Unregister the signal if not needed any longer.
1666 (notifications-notify): Register `notifications-action-signal' or
1667 `notifications-closed-signal', if :on-action or :on-close has been
1668 passed as argument.
1669
1670 2012-03-07 Chong Yidong <cyd@gnu.org>
1671
1672 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1673 non-X platforms.
1674
1675 2012-03-06 Glenn Morris <rgm@gnu.org>
1676
1677 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1678 (x-disown-selection-internal, x-get-selection-internal):
1679 Doc fix (add arglist signatures). (Bug#10783)
1680
1681 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1682
1683 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1684 Handle breakpoints with no "type".
1685
1686 2012-03-06 Glenn Morris <rgm@gnu.org>
1687
1688 * files.el (locate-dominating-file): Add optional predicate argument.
1689 (dir-locals-find-file): Make use of above change.
1690
1691 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1692
1693 * info.el (Info-insert-dir): Also try "dir.gz".
1694
1695 2012-03-06 Glenn Morris <rgm@gnu.org>
1696
1697 * files.el (dir-locals-find-file):
1698 Ignore non-readable or non-regular files. (Bug#10928)
1699
1700 * files.el (locate-dominating-file): Doc fix.
1701
1702 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1703
1704 * calendar/calendar.el (calendar-set-mode-line):
1705 `getenv' returns a string. (Bug#10951)
1706
1707 2012-03-05 Leo Liu <sdl.web@gmail.com>
1708
1709 * simple.el (backward-delete-char-untabify): Constrain point to
1710 field (Bug#10939).
1711
1712 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1713
1714 2012-03-05 Chong Yidong <cyd@gnu.org>
1715
1716 * simple.el (count-words): If called from Lisp, return the word
1717 count, for symmetry with `count-lines'. Arglist changed.
1718 (count-words--message): Args changed. Consolidate counting code
1719 from count-words and count-words-region.
1720 (count-words-region): Caller changed.
1721 (count-lines-region): Make it an obsolete alias.
1722
1723 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1724
1725 * saveplace.el (save-place-to-alist)
1726 (save-place-ignore-files-regexp): Allow value nil to disable this
1727 feature.
1728
1729 2012-03-04 Chong Yidong <cyd@gnu.org>
1730
1731 * faces.el (face-spec-reset-face): For the default face, reset the
1732 attributes to default values (Bug#10748).
1733
1734 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1735
1736 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1737 previous patch: Check `message-send-mail-function', and not the
1738 default function (bug#10897).
1739
1740 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
1741
1742 * notifications.el (notifications-on-action-signal)
1743 (notifications-on-closed-signal): Check for unique service name of
1744 incoming event. Fix error in removing entry.
1745 (top): Register for signals with wildcard service name.
1746 (notifications-notify): Use daemon unique service name for map entries.
1747
1748 2012-03-04 Chong Yidong <cyd@gnu.org>
1749
1750 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
1751
1752 2012-03-04 Glenn Morris <rgm@gnu.org>
1753
1754 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1755 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1756 (expand-abbrev, define-abbrev-table): Doc fixes.
1757
1758 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1759
1760 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1761 `message-default-send-mail-function' and not `send-mail-function'
1762 when doing the prompting for `sendmail-query-once' before sending
1763 in Message buffers (bug#10897).
1764
1765 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1766 This is inconsistent with all the other stream functions, which leave
1767 the setting up to the higher levels (if so wanted) (bug#10931).
1768
1769 2012-03-02 Alan Mackenzie <acm@muc.de>
1770
1771 Depessimize the handling of very large macros.
1772
1773 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1774 (c-macro-cache-syntactic): New variables to implement a one
1775 element macro cache.
1776 (c-invalidate-macro-cache): New function.
1777 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1778 Adapt to use the new cache.
1779 (c-state-safe-place): Use better the cache of safe positions.
1780 (c-state-semi-nonlit-pos-cache)
1781 (c-state-semi-nonlit-pos-cache-limit):
1782 New variables for...
1783 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1784 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
1785 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1786 Use c-state-semi-safe-place.
1787
1788 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1789 Add c-invalidate-macro-cache to the C, C++, Obj entries.
1790
1791 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
1792
1793 * jka-compr.el (jka-compr-call-process):
1794 Apply `file-accessible-directory-p' only when the default directory is
1795 not remote.
1796
1797 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
1798
1799 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1800 access of FILE2, if FILE1 does not exist.
1801
1802 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1803 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1804
1805 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1806 Add "PAGER=" to `process-environment'.
1807
1808 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1809
1810 * progmodes/sql.el: Bug fix
1811 (sql-get-login-ext): Save login values in globals.
1812 (sql-get-login): Use new version of `sql-get-login-ext'.
1813 (sql-interactive-mode): Set global `sql-connection' to nil.
1814 (sql-connect): Set global values for connection.
1815 (sql-product-interactive): Save global values as buffer local.
1816
1817 2012-02-29 Leo Liu <sdl.web@gmail.com>
1818
1819 * abbrev.el (define-abbrevs): Reset sys to nil.
1820
1821 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1822
1823 * files.el (file-equal-p): Rename from `files-equal-p'.
1824 Return nil when one or both files don't exist.
1825 (file-subdir-of-p): Now only top directory must exists,
1826 return nil if it doesn't.
1827 (copy-directory): No need to test with `file-subdir-of-p' after
1828 creating dir.
1829 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1830 to `file-equal-p'.
1831
1832 2012-02-28 Glenn Morris <rgm@gnu.org>
1833
1834 * shell.el (shell-mode):
1835 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1836 * play/landmark.el (landmark-font-lock-face-O):
1837 * play/handwrite.el (handwrite):
1838 * play/gomoku.el (gomoku-O):
1839 * net/browse-url.el (browse-url-browser-display):
1840 * international/mule.el (define-charset):
1841 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1842 * filesets.el (filesets-find-file-delay):
1843 * eshell/em-xtra.el (eshell-xtra):
1844 * eshell/em-unix.el (eshell-grep):
1845 * emulation/viper.el (viper-mode):
1846 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1847 * emacs-lisp/easymenu.el (easy-menu-define):
1848 * calendar/timeclock.el (timeclock-use-display-time):
1849 * bs.el (bs-mode):
1850 * bookmark.el (bookmark-save-flag):
1851 Doc fix (standardize possessive apostrophe usage).
1852
1853 2012-02-27 Chong Yidong <cyd@gnu.org>
1854
1855 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1856 Fix key-binding lookup for ESC key (Bug#9146).
1857
1858 * font-lock.el (font-lock-specified-p): Rename from
1859 font-lock-spec-present. Callers changed.
1860
1861 2012-02-27 Daniel Hackney <dan@haxney.org>
1862
1863 * emacs-lisp/package.el (package-compute-transaction):
1864 Handle holding a package version to t in package-load-list.
1865
1866 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
1867
1868 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1869 (tramp-get-inode, tramp-get-device): Use cached values.
1870
1871 2012-02-26 Alan Mackenzie <acm@muc.de>
1872
1873 Check there is a font-lock specification before doing initial
1874 fontification.
1875
1876 * font-core.el (font-lock-mode): Move the conditional from
1877 :after-hook to font-lock-initial-fontify.
1878 (font-lock-default-function): Move the check for a specification
1879 to font-lock-spec-present.
1880
1881 * font-lock.el (font-lock-initial-fontify): Call ...
1882 (font-lock-spec-present): New function.
1883
1884 2012-02-26 Jim Blandy <jimb@red-bean.com>
1885
1886 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1887 (gdb-send): Apply it to the operand of the '-interpreter-exec
1888 console' command, so that we can pass arguments with (say) quotes
1889 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1890
1891 2012-02-26 Chong Yidong <cyd@gnu.org>
1892
1893 * help-fns.el (describe-function-1): Clarify description of
1894 remapping (Bug#10844).
1895
1896 * files.el (files-equal-p): Doc fix.
1897 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1898 and quit the loop once a mismatch is found.
1899
1900 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
1901
1902 * bs.el (bs--show-with-configuration): Don't throw an error
1903 if the window cannot be split; otherwise, subsequent calls to
1904 bs-show fail, restoring a stale window config. (Bug#10882)
1905
1906 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1907
1908 * term/ns-win.el (global-map): Bind ns-drag-file to
1909 ns-find-file (Bug#5855, Bug#10050).
1910
1911 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1912
1913 * calendar/parse-time.el (parse-time-string): Allow extractor to
1914 return nil.
1915
1916 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
1917
1918 * net/tramp.el (tramp-file-name-for-operation):
1919 Add `files-equal-p' and `file-subdir-of-p'.
1920
1921 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1922 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1923 Add COPY-CONTENTS argument.
1924
1925 2012-02-25 Chong Yidong <cyd@gnu.org>
1926
1927 Add custom groups for VC backends, for consistency with vc-bzr.
1928
1929 * vc/vc-arch.el (vc-arch):
1930 * vc/vc-cvs.el (vc-cvs):
1931 * vc/vc-git.el (vc-git):
1932 * vc/vc-hg.el (vc-hg):
1933 * vc/vc-mtn.el (vc-mtn):
1934 * vc/vc-rcs.el (vc-rcs):
1935 * vc/vc-sccs.el (vc-sccs):
1936 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1937 All relevant defcustoms reassigned.
1938
1939 2012-02-25 Chong Yidong <cyd@gnu.org>
1940
1941 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1942
1943 * term/x-win.el (x-initialize-window-system): Reduce default for
1944 x-selection-timeout to 5 seconds (Bug#8869).
1945
1946 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1947
1948 * files.el (files-equal-p, file-subdir-of-p): New functions.
1949 (copy-directory): Error when trying to copy a directory on itself.
1950 Add missing copy-contents arg to tramp handler.
1951 * dired-aux.el (dired-copy-file-recursive): Same.
1952 (dired-create-files): Modify destination when source is equal to
1953 dest when copying files.
1954 Return also when dest is a subdir of source. (Bug#10489)
1955
1956 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
1957
1958 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1959 (Bug#10874)
1960
1961 2012-02-23 Alan Mackenzie <acm@muc.de>
1962
1963 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1964 parameter "after-hook:" to allow the expansion to run code after
1965 the execution of the mode hooks.
1966
1967 * font-lock.el (font-lock-initial-fontify): New function extracted
1968 from font-lock-mode-internal.
1969
1970 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
1971 :after-hook.
1972
1973 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1974
1975 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1976 (completion--cache-all-sorted-completions): New function.
1977 (completion-all-sorted-completions): Use it.
1978 (completion--do-completion, minibuffer-force-complete):
1979 Use it to re-instate the flush hook.
1980
1981 * icomplete.el (icomplete-completions): Replace last fix with a better
1982 one (bug#10850).
1983
1984 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1985
1986 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1987 when it might call us back infinitely (bug#10797).
1988
1989 2012-02-23 Glenn Morris <rgm@gnu.org>
1990
1991 * minibuffer.el (completion-category-overrides): Doc fix.
1992
1993 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1994
1995 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1996 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1997
1998 2012-02-23 Glenn Morris <rgm@gnu.org>
1999
2000 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
2001 (authors-obsolete-files-regexps, authors-ignored-files)
2002 (authors-ambiguous-files, authors-renamed-files-alist):
2003 Add more entries.
2004
2005 2012-02-23 Juri Linkov <juri@jurta.org>
2006
2007 * isearch.el (isearch-occur): Sync interactive spec with occur's
2008 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2009
2010 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2011
2012 2012-02-22 Juri Linkov <juri@jurta.org>
2013
2014 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2015 (ucs-insert): Doc fix. Check for hex digits in the string.
2016 Don't display `nil' in the error message. (Bug#10857)
2017
2018 2012-02-22 Alan Mackenzie <acm@muc.de>
2019
2020 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
2021
2022 2012-02-22 Glenn Morris <rgm@gnu.org>
2023
2024 * ffap.el (ffap-c-path):
2025 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2026
2027 2012-02-22 Chong Yidong <cyd@gnu.org>
2028
2029 * custom.el (load-theme): Doc fix.
2030
2031 2012-02-22 Glenn Morris <rgm@gnu.org>
2032
2033 * dired-x.el (dired-guess-shell-alist-default):
2034 Remove escape sequences from nroff output. (Bug#172)
2035
2036 2012-02-21 Glenn Morris <rgm@gnu.org>
2037
2038 * vc/emerge.el (emerge-defvar-local):
2039 Set `permanent-local' property rather than unused `preserved'.
2040
2041 * textmodes/picture.el (picture-delete-char): New alias.
2042 (picture-mode-map): Use it. (Bug#10860)
2043 (picture-mode): Doc fix.
2044
2045 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
2046
2047 * newcomment.el (uncomment-region-default): Remove unused binding.
2048
2049 2012-02-21 Glenn Morris <rgm@gnu.org>
2050
2051 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2052 (picture-self-insert, picture-tab-chars): Doc fix.
2053 (picture-mode-map): Fix C-a, C-e.
2054
2055 2012-02-20 Glenn Morris <rgm@gnu.org>
2056
2057 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2058
2059 2012-02-20 Leo Liu <sdl.web@gmail.com>
2060
2061 * icomplete.el (icomplete-completions): Check FROM arg before
2062 passing to substring (Bug#10850).
2063
2064 2012-02-19 Chong Yidong <cyd@gnu.org>
2065
2066 * comint.el: Require ansi-color.
2067 (comint-output-filter-functions): Add ansi-color-process-output.
2068
2069 * ansi-color.el: Don't set comint-output-filter-functions; it is
2070 now in the initial value defined in comint.el.
2071 (ansi-color-apply-face-function): New variable.
2072 (ansi-color-apply-on-region): Use it.
2073 (ansi-color-apply-overlay-face): New function.
2074
2075 * shell.el (shell): No need to require ansi-color.
2076 (shell-mode): Use ansi-color-apply-face-function to highlight
2077 color escapes using font-lock-face property (Bug#10835).
2078
2079 2012-02-19 Chong Yidong <cyd@gnu.org>
2080
2081 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2082 mode-line formats (Bug#10839).
2083
2084 2012-02-18 Glenn Morris <rgm@gnu.org>
2085
2086 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2087
2088 * mail/undigest.el (unforward-rmail-message): Doc fix.
2089
2090 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2091
2092 2012-02-18 Eli Zaretskii <eliz@gnu.org>
2093
2094 * international/characters.el (script-list): Sync with the latest
2095 Unicode Character Database.
2096
2097 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2098
2099 * international/titdic-cnv.el: Remove duplicate coding tag.
2100 * language/cham.el: Likewise.
2101 * language/tai-viet.el: Likewise.
2102
2103 2012-02-18 Glenn Morris <rgm@gnu.org>
2104
2105 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2106 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2107 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2108 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2109 * calendar/holidays.el (holiday-bahai-holidays)
2110 (calendar-holidays, list-holidays):
2111 Use utf-8 Bahá'í in doc-strings, menus, etc.
2112
2113 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2114
2115 * saveplace.el (save-place-ignore-files-regexp): New variable
2116 allowing for excluding files from saving their location of point.
2117 The default value matches the temporary commit message editing
2118 files from Git, SVN, Bazaar, and Mercurial.
2119 (save-place-to-alist): Use it.
2120
2121 2012-02-17 Lawrence Mitchell <wence@gmx.li>
2122 Stefan Monnier <monnier@iro.umontreal.ca>
2123
2124 * newcomment.el (uncomment-region-default): Don't leave extra space
2125 when an arg is provided (bug#8150).
2126
2127 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2128
2129 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
2130
2131 2012-02-17 Glenn Morris <rgm@gnu.org>
2132
2133 * net/socks.el: Require network-stream. (Bug#10599)
2134
2135 2012-02-17 Kenichi Handa <handa@m17n.org>
2136
2137 * international/charprop.el:
2138 * international/uni-name.el:
2139 * international/uni-old-name.el:
2140 * international/uni-comment.el: Regenerate.
2141
2142 2012-02-16 Glenn Morris <rgm@gnu.org>
2143
2144 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2145 Interactively in calendar buffer, give an error if not on a date.
2146
2147 2012-02-15 Glenn Morris <rgm@gnu.org>
2148
2149 * shell.el (shell-delimiter-argument-list):
2150 Revert 2011-02-17 change. (Bug#8027)
2151
2152 2012-02-15 Chong Yidong <cyd@gnu.org>
2153
2154 * minibuffer.el (completion-at-point-functions): Doc fix.
2155
2156 * custom.el (defcustom): Doc fix; note use of defvar.
2157
2158 2012-02-15 Glenn Morris <rgm@gnu.org>
2159
2160 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2161 Doc fixes.
2162
2163 2012-02-14 Glenn Morris <rgm@gnu.org>
2164
2165 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2166
2167 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2168
2169 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2170 way the ports list is computed.
2171 (smtpmail-query-smtp-server): Prompt the user for a port number if
2172 we can't connect to any of the standard ports (bug#10810).
2173
2174 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2175
2176 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2177
2178 2012-02-13 Glenn Morris <rgm@gnu.org>
2179
2180 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2181
2182 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2183
2184 * net/gnutls.el (gnutls-trustfiles): New variable.
2185 (gnutls-negotiate): Use it.
2186
2187 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2188
2189 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2190 does its stuff if Gnus is running.
2191
2192 2012-02-13 Alan Mackenzie <acm@muc.de>
2193
2194 Fix a loop in c-set-fl-decl-start.
2195
2196 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
2197 c-backward-syntactic-ws actually moves backwards.
2198
2199 2012-02-13 Leo Liu <sdl.web@gmail.com>
2200
2201 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2202 beginning so that all \C-o chars are removed.
2203
2204 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2205
2206 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
2207
2208 2012-02-12 Alan Mackenzie <acm@muc.de>
2209
2210 Fix infinite loop with long macros.
2211 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
2212
2213 2012-02-12 Chong Yidong <cyd@gnu.org>
2214
2215 * window.el (display-buffer): Doc fix (Bug#10785).
2216
2217 2012-02-12 Glenn Morris <rgm@gnu.org>
2218
2219 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2220 (x-disown-selection-internal, x-get-selection-internal):
2221 Sync docs with the xselect.c versions.
2222
2223 * allout-widgets.el: Add missing license notice.
2224
2225 2012-02-11 Glenn Morris <rgm@gnu.org>
2226
2227 * select.el (x-get-selection-internal, x-own-selection-internal)
2228 (x-disown-selection-internal):
2229 * x-dnd.el (x-get-selection-internal): Update declarations.
2230
2231 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2232
2233 * window.el (window-sides-slots):
2234 * tool-bar.el (tool-bar-position):
2235 * term/xterm.el (xterm-extra-capabilities):
2236 * ses.el (ses-self-reference-early-detection):
2237 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2238 (verilog-auto-wire-type)
2239 (verilog-auto-delete-trailing-whitespace)
2240 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2241 (verilog-auto-tieoff-declaration):
2242 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2243 (sql-oracle-statement-starters, sql-oracle-scan-on):
2244 * progmodes/prolog.el (prolog-align-comments-flag)
2245 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2246 (prolog-left-indent-regexp, prolog-paren-indent-p)
2247 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2248 (prolog-types, prolog-mode-specificators)
2249 (prolog-determinism-specificators, prolog-directives)
2250 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2251 (prolog-electric-dot-flag)
2252 (prolog-electric-dot-full-predicate-template)
2253 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2254 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2255 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2256 (prolog-program-switches, prolog-prompt-regexp)
2257 (prolog-debug-on-string, prolog-debug-off-string)
2258 (prolog-trace-on-string, prolog-trace-off-string)
2259 (prolog-zip-on-string, prolog-zip-off-string)
2260 (prolog-use-standard-consult-compile-method-flag)
2261 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2262 (prolog-imenu-max-lines, prolog-info-predicate-index)
2263 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2264 (prolog-char-quote-workaround):
2265 * progmodes/cc-vars.el (c-defun-tactic):
2266 * net/tramp.el (tramp-encoding-command-interactive)
2267 (tramp-local-end-of-line):
2268 * net/soap-client.el (soap-client):
2269 * net/netrc.el (netrc-file):
2270 * net/gnutls.el (gnutls):
2271 * minibuffer.el (completion-category-overrides)
2272 (completion-cycle-threshold)
2273 (completion-pcm-complete-word-inserts-delimiters):
2274 * man.el (Man-name-local-regexp):
2275 * mail/feedmail.el (feedmail-display-full-frame):
2276 * international/characters.el (glyphless-char-display-control):
2277 * eshell/em-ls.el (eshell-ls-date-format):
2278 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2279 (lisp-lambda-list-keyword-parameter-indentation)
2280 (lisp-lambda-list-keyword-parameter-alignment):
2281 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2282 * dired-x.el (dired-omit-verbose):
2283 * cus-theme.el (custom-theme-allow-multiple-selections):
2284 * calc/calc.el (calc-highlight-selections-with-faces)
2285 (calc-lu-field-reference, calc-lu-power-reference)
2286 (calc-note-threshold):
2287 * battery.el (battery-mode-line-limit):
2288 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2289 (archive-7z-update):
2290 * allout.el (allout-prefixed-keybindings)
2291 (allout-unprefixed-keybindings)
2292 (allout-inhibit-auto-fill-on-headline)
2293 (allout-flattened-numbering-abbreviation):
2294 * allout-widgets.el (allout-widgets-auto-activation)
2295 (allout-widgets-icons-dark-subdir)
2296 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2297 (allout-widgets-theme-dark-background)
2298 (allout-widgets-theme-light-background)
2299 (allout-widgets-item-image-properties-emacs)
2300 (allout-widgets-item-image-properties-xemacs)
2301 (allout-widgets-run-unit-tests-on-load)
2302 (allout-widgets-time-decoration-activity)
2303 (allout-widgets-hook-error-post-time)
2304 (allout-widgets-track-decoration):
2305 Add missing :version tags to new defcustoms and defgroups.
2306
2307 * progmodes/sql.el (sql-ansi-statement-starters)
2308 (sql-oracle-statement-starters): Add custom type.
2309
2310 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2311 (prolog-system-version): Give it a type.
2312
2313 2012-02-11 Eli Zaretskii <eliz@gnu.org>
2314
2315 * term/pc-win.el (x-select-text, x-selection-owner-p)
2316 (x-own-selection-internal, x-disown-selection-internal)
2317 (x-get-selection-internal): Sync doc strings and argument lists
2318 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2319
2320 2012-02-11 Leo Liu <sdl.web@gmail.com>
2321
2322 * progmodes/python.el (python-end-of-statement): Fix infinite
2323 loop. (Bug#10788)
2324
2325 2012-02-10 Glenn Morris <rgm@gnu.org>
2326
2327 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2328 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2329
2330 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2331
2332 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2333 about SMTP before checking the From header.
2334
2335 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
2336 into own function for reuse by emacsbug.el.
2337
2338 2012-02-10 Leo Liu <sdl.web@gmail.com>
2339
2340 * subr.el (condition-case-unless-debug): Rename from
2341 condition-case-no-debug. All callers changed.
2342 (with-demoted-errors): Fix caller.
2343
2344 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2345 * nxml/rng-valid.el (rng-do-some-validation):
2346 * emacs-lisp/package.el (package-refresh-contents)
2347 (package-menu-execute):
2348 * desktop.el (desktop-create-buffer):
2349 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
2350
2351 2012-02-10 Glenn Morris <rgm@gnu.org>
2352
2353 * textmodes/bibtex.el:
2354 Add missing :version tags for new/changed defcustoms.
2355
2356 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2357
2358 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
2359
2360 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2361 (smtpmail-via-smtp): Use it, or fall back on the From address.
2362 (smtpmail-send-it): Ditto.
2363
2364 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2365
2366 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2367 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2368 (byte-compile-tmp-var): New const.
2369 (byte-compile-defvar): Use it to minimize .elc size.
2370 Just use `defvar' rather than simulate it (bug#10761).
2371
2372 2012-02-09 Glenn Morris <rgm@gnu.org>
2373
2374 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2375
2376 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2377 Add :version tags.
2378
2379 * progmodes/compile.el (compilation-error-screen-columns)
2380 (compilation-first-column, compilation-filter-start): Doc fixes.
2381
2382 * vc/log-view.el (log-view-toggle-entry-display):
2383 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2384
2385 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2386 (report-emacs-bug-can-use-xdg-email):
2387 (report-emacs-bug-insert-to-mailer): Doc fixes.
2388 (report-emacs-bug): Message fix.
2389
2390 * net/browse-url.el (browse-url-can-use-xdg-open)
2391 (browse-url-xdg-open): Doc fixes.
2392
2393 * electric.el (electric-indent-mode, electric-pair-mode)
2394 (electric-layout-rules, electric-layout-mode): Doc fixes.
2395 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2396
2397 2012-02-08 Martin Rudalics <rudalics@gmx.at>
2398
2399 * server.el (server-unselect-display): Don't inadvertently kill
2400 the current buffer. (Bug#10729)
2401
2402 2012-02-08 Glenn Morris <rgm@gnu.org>
2403
2404 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2405 (sql-list-table): Doc fixes.
2406
2407 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2408 Comment out (does nothing).
2409
2410 * completion.el (dynamic-completion-mode):
2411 * dirtrack.el (dirtrack-debug-mode):
2412 * electric.el (electric-layout-mode):
2413 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2414 * face-remap.el (text-scale-mode, buffer-face-mode):
2415 * iimage.el (iimage-mode):
2416 * image-mode.el (image-transform-mode):
2417 * minibuffer.el (completion-in-region-mode):
2418 * scroll-lock.el (scroll-lock-mode):
2419 * simple.el (next-error-follow-minor-mode):
2420 * tar-mode.el (tar-subfile-mode):
2421 * tooltip.el (tooltip-mode):
2422 * vcursor.el (vcursor-use-vcursor-map):
2423 * wid-browse.el (widget-minor-mode):
2424 * emulation/tpu-edt.el (tpu-edt-mode):
2425 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2426 * international/iso-ascii.el (iso-ascii-mode):
2427 * language/thai-util.el (thai-word-mode):
2428 * mail/supercite.el (sc-minor-mode):
2429 * net/goto-addr.el (goto-address-mode):
2430 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2431 * progmodes/cwarn.el (cwarn-mode):
2432 * progmodes/flymake.el (flymake-mode):
2433 * progmodes/glasses.el (glasses-mode):
2434 * progmodes/hideshow.el (hs-minor-mode):
2435 * progmodes/pascal.el (pascal-outline-mode):
2436 * textmodes/enriched.el (enriched-mode):
2437 * vc/smerge-mode.el (smerge-mode):
2438 Doc fixes (minor mode argument).
2439
2440 2012-02-07 Eli Zaretskii <eliz@gnu.org>
2441
2442 * ls-lisp.el (ls-lisp-sanitize): New function.
2443 (ls-lisp-insert-directory): Use it to fix or remove any elements
2444 in file-alist with missing attributes. (Bug#4673)
2445
2446 2012-02-07 Alan Mackenzie <acm@muc.de>
2447
2448 Fix spurious recognition of c-in-knr-argdecl.
2449
2450 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2451 putative K&R region.
2452
2453 2012-02-07 Alan Mackenzie <acm@muc.de>
2454
2455 * progmodes/cc-engine.el (c-forward-objc-directive):
2456 Prevent looping in "#pragma mark @implementation".
2457
2458 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
2459
2460 * notifications.el (notifications-on-closed-signal): Make `reason'
2461 optional. (Bug#10744)
2462
2463 2012-02-07 Glenn Morris <rgm@gnu.org>
2464
2465 * emacs-lisp/easy-mmode.el (define-minor-mode):
2466 Doc fixes for the macro and the mode it defines.
2467
2468 * image.el (imagemagick-types-inhibit): Doc fix.
2469
2470 * cus-start.el (imagemagick-render-type): Add it.
2471
2472 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2473
2474 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2475 Set the default at load time, too, so that `font-lock-fontify-buffer'
2476 can be called without setting up the entire mode first. This fixes
2477 a bug in `mm-inline-text' with C MIME parts.
2478
2479 2012-02-06 Chong Yidong <cyd@gnu.org>
2480
2481 * simple.el (list-processes--refresh): Delete exited processes
2482 (Bug#8094).
2483
2484 * comint.el (comint-next-prompt): next-single-char-property-change
2485 and prev-single-char-property-change never return nil (Bug#8657).
2486
2487 * custom.el (defcustom): Doc fix (Bug#9711).
2488
2489 2012-02-05 Chong Yidong <cyd@gnu.org>
2490
2491 * cus-edit.el (custom-variable-reset-backup): Quote the value
2492 before storing it in the customized-value property (Bug#6712).
2493 (custom-display): Add a customization type tag.
2494 (custom-buffer-create-internal): Improve tooltip message.
2495
2496 * wid-edit.el (widget-field-value-get): New optional arg to
2497 suppress trailing whitespace truncation.
2498 (character): Use it (Bug#2689).
2499
2500 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2501
2502 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2503 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2504
2505 2012-02-05 Chong Yidong <cyd@gnu.org>
2506
2507 * cus-edit.el (custom-variable-value-create): For mismatched
2508 types, show the current value (Bug#7600).
2509
2510 * custom.el (defcustom): Doc fix.
2511
2512 2012-02-05 Glenn Morris <rgm@gnu.org>
2513
2514 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2515
2516 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
2517
2518 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2519 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2520 (pp-last-sexp): Use `looking-at-p'.
2521
2522 2012-02-04 Glenn Morris <rgm@gnu.org>
2523
2524 * files.el (revert-buffer):
2525 Doc fix (mention revert-buffer-in-progress-p).
2526
2527 * emacs-lisp/ert-x.el (ert-simulate-command):
2528 Check deferred-action-list (which is obsolete) is bound.
2529
2530 * subr.el (with-wrapper-hook): Doc fixes.
2531
2532 * simple.el (filter-buffer-substring-functions)
2533 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2534
2535 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2536
2537 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2538 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2539
2540 2012-02-04 Leo Liu <sdl.web@gmail.com>
2541
2542 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2543
2544 2012-02-04 Glenn Morris <rgm@gnu.org>
2545
2546 * image.el (image-extension-data): Add obsolete alias.
2547
2548 * isearch.el (isearch-update): Doc fix.
2549
2550 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2551
2552 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2553
2554 2012-02-03 Glenn Morris <rgm@gnu.org>
2555
2556 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2557 (image-animate-timeout): Doc fix.
2558
2559 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2560
2561 2012-02-02 Glenn Morris <rgm@gnu.org>
2562
2563 * server.el (server-auth-dir): Doc fix.
2564 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2565
2566 * subr.el (run-mode-hooks): Doc fix.
2567
2568 2012-02-02 Juri Linkov <juri@jurta.org>
2569
2570 * image-mode.el (image-toggle-display-image): Remove tautological
2571 `major-mode' from the `derived-mode-p' test.
2572
2573 2012-02-02 Kenichi Handa <handa@m17n.org>
2574
2575 * composite.el (compose-region): Cancel previous change.
2576
2577 2012-02-02 Kenichi Handa <handa@m17n.org>
2578
2579 * composite.el (compose-region, compose-string): Signal error for
2580 a null string component (Bug#6988).
2581
2582 2012-02-01 Chong Yidong <cyd@gnu.org>
2583
2584 * view.el (view-buffer-other-window, view-buffer-other-frame):
2585 Handle special modes like view-buffer (Bug#10650).
2586 (view-buffer): Simplify.
2587
2588 * frame.el (set-frame-font): Tweak meaning of third argument.
2589
2590 * dynamic-setting.el (font-setting-change-default-font):
2591 Use set-frame-font (Bug#9982).
2592
2593 2012-02-01 Glenn Morris <rgm@gnu.org>
2594
2595 * progmodes/compile.el (compilation-internal-error-properties):
2596 Respect compilation-first-column in the "*compilation*" buffer.
2597
2598 * emacs-lisp/easy-mmode.el (define-minor-mode):
2599 Relax :variable's test for a named function.
2600
2601 2012-01-31 Alan Mackenzie <acm@muc.de>
2602
2603 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2604 off by one error.
2605
2606 2012-01-31 Chong Yidong <cyd@gnu.org>
2607
2608 * frame.el (set-frame-font): New arg ALL-FRAMES.
2609
2610 * menu-bar.el (menu-set-font): Use set-frame-font.
2611
2612 * faces.el (face-spec-reset-face): Don't apply unspecified
2613 attribute values to the default face.
2614
2615 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
2616
2617 * progmodes/cwarn.el (cwarn): Remove dead link.
2618 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2619 Remove * from defcustom docstrings.
2620 (turn-on-cwarn-mode): Make obsolete.
2621 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2622 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2623
2624 2012-01-31 Glenn Morris <rgm@gnu.org>
2625
2626 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2627 Fix :variable handling of mode a symbol not equal to modefun.
2628 Allow named functions to be used as the cdr of :variable.
2629
2630 2012-01-30 Glenn Morris <rgm@gnu.org>
2631
2632 * emacs-lisp/authors.el (authors-fixed-entries):
2633 Remove reference to deleted file rnewspost.el.
2634
2635 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
2636
2637 * window.el (window-with-parameter): Remove unused variable `windows'.
2638 (window--side-check): Remove unused variable `code'.
2639 (window--resize-siblings): Remove unused variable `first'.
2640 (adjust-window-trailing-edge): Remove unused variable `failed'.
2641 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2642 Use `let', not `let*'.
2643 (balance-windows-2): Remove unused variable `found'.
2644 (window--state-put-2): Remove unused variable `splits'.
2645 (window-state-put): Remove unused variable `selected'.
2646 (same-window-p): Use `string-match-p'.
2647 (display-buffer-assq-regexp): Remove unused variable `value'.
2648 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2649 Mark argument ALIST as ignored.
2650 (pop-to-buffer): Remove unused variable `old-window'.
2651
2652 2012-01-29 Eli Zaretskii <eliz@gnu.org>
2653
2654 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2655 and .lzma compressed files.
2656
2657 2012-01-29 Chong Yidong <cyd@gnu.org>
2658
2659 * frame.el (window-system-default-frame-alist): Doc fix.
2660
2661 * dynamic-setting.el (font-setting-change-default-font): Don't
2662 change the default face if SET-FONT argument is non-nil (Bug#9982).
2663
2664 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2665
2666 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2667
2668 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
2669
2670 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2671 breakpoints in files outside current directory (Bug#6098).
2672
2673 2012-01-29 Chong Yidong <cyd@gnu.org>
2674
2675 * progmodes/python.el: Require ansi-color at top-level.
2676
2677 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2678 Define and use in Emacs Lisp mode (Bug#9360).
2679 (lisp-mode-abbrev-table): Add doc.
2680 (lisp-mode-variables): Don't set local-abbrev-table.
2681 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2682
2683 2012-01-28 Roland Winkler <winkler@gnu.org>
2684
2685 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2686
2687 2012-01-28 Roland Winkler <winkler@gnu.org>
2688
2689 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2690 (bibtex-set-dialect): Use it. Either set global values of
2691 dialect-dependent variables or bind these variables buffer-locally
2692 (Bug#10254).
2693 (bibtex-mode): Call bibtex-set-dialect via
2694 hack-local-variables-hook.
2695 (bibtex-dialect): Update docstring.
2696 Add safe-local-variable predicate.
2697 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2698 bibtex-set-dialect.
2699 (bibtex-mode-map): Define menu for each dialect.
2700 (bibtex-entry): Fix docstring.
2701
2702 2012-01-28 Chong Yidong <cyd@gnu.org>
2703
2704 * eshell/esh-arg.el (eshell-quote-argument): New function.
2705
2706 * eshell/esh-ext.el (eshell-invoke-batch-file):
2707 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2708 first arg to eshell-parse-command (Bug#10523).
2709
2710 2012-01-28 Drew Adams <drew.adams@oracle.com>
2711
2712 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2713 `default-directory' is non-nil.
2714
2715 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2716
2717 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2718 line that displays system-configuration-options. (Bug#9924)
2719
2720 2012-01-28 Drew Adams <drew.adams@oracle.com>
2721
2722 * descr-text.el (describe-char): Show information about POS, in
2723 addition to information about the character at POS. Improve and
2724 update the doc string. Change "code point" to "code point in
2725 charset", to avoid confusion with the character's Unicode code
2726 point shown above that. (Bug#10129)
2727
2728 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2729
2730 * descr-text.el (describe-char): Show the raw character, not only
2731 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2732 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2733 for the reasons.
2734
2735 2012-01-28 Phil Hagelberg <phil@hagelb.org>
2736
2737 * emacs-lisp/package.el (package-install):
2738 Run package-refresh-contents if there is no archive yet (Bug#9798).
2739
2740 2012-01-28 Chong Yidong <cyd@gnu.org>
2741
2742 * emacs-lisp/package.el (package-maybe-load-descriptor):
2743 New function, split from package-maybe-load-descriptor.
2744 (package-maybe-load-descriptor): Use it.
2745 (package-download-transaction): Fully load required packages
2746 inside the loop, so that `require' calls work (Bug#10593).
2747 (package-install): No need to call package-initialize now.
2748
2749 2012-01-28 Chong Yidong <cyd@gnu.org>
2750
2751 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2752
2753 * tooltip.el (tooltip-mode): Doc fix.
2754 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2755
2756 * frame.el (set-cursor-color): Doc fix (Bug#352).
2757
2758 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2759 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2760
2761 * cus-edit.el (custom-buffer-create-internal): Fix search button
2762 action (Bug#10542).
2763 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2764
2765 2012-01-27 Eduard Wiebe <usenet@pusto.de>
2766
2767 * dired.el (dired-mark-files-regexp):
2768 Include any subdirectory components. (Bug#10445)
2769
2770 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2771
2772 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2773 Handle [host]:port syntax. (Bug#10533)
2774
2775 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
2776
2777 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2778
2779 2012-01-26 Glenn Morris <rgm@gnu.org>
2780
2781 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2782 * term.el (term-raw-escape-map): Use Control-X-prefix.
2783 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2784
2785 2012-01-25 Martin Rudalics <rudalics@gmx.at>
2786
2787 * window.el (window-state-get, window--state-get-1): Don't deal
2788 with fixed-sizeness of windows. Simplify code.
2789
2790 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2791
2792 * window.el (window--state-get-1, window--state-put-2):
2793 Don't save and restore the mark.
2794
2795 2012-01-25 Chong Yidong <cyd@gnu.org>
2796
2797 * custom.el (custom-variable-p): Doc fix.
2798
2799 2012-01-25 Glenn Morris <rgm@gnu.org>
2800
2801 * dired.el (dired-goto-file): Handle some of the more common
2802 characters that `ls -b' escapes. (Bug#10596)
2803
2804 * progmodes/compile.el (compilation-next-error-function):
2805 Respect compilation-first-column in the "*compilation*" buffer.
2806 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2807
2808 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2809
2810 2012-01-24 Glenn Morris <rgm@gnu.org>
2811
2812 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2813
2814 2012-01-24 Julien Danjou <julien@danjou.info>
2815
2816 * color.el (color-rgb-to-hsl): Fix value computing.
2817 (color-hue-to-rgb): New function.
2818 (color-hsl-to-rgb): New function.
2819 (color-clamp, color-saturate-hsl, color-saturate-name)
2820 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2821 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2822
2823 2012-01-24 Glenn Morris <rgm@gnu.org>
2824
2825 * vc/vc-rcs.el (vc-rcs-create-tag):
2826 * vc/vc-sccs.el (vc-sccs-create-tag):
2827 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2828
2829 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2830
2831 * eshell/esh-util.el (eshell-read-hosts-file):
2832 Skip comment lines. (Bug#10549)
2833
2834 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2835
2836 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
2837
2838 * subr.el (display-delayed-warnings): Doc fix.
2839 (collapse-delayed-warnings): New function to collapse identical
2840 adjacent warnings.
2841 (delayed-warnings-hook): Add it.
2842
2843 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
2844
2845 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2846
2847 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2848 properties, when "login-as" is set.
2849
2850 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2851 (tramp-default-user-alist): Don't add "pscp".
2852 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2853 property "login-as", if set. (Bug#10530)
2854
2855 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
2856
2857 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2858 "plink1" and "psftp". (Bug#10530)
2859
2860 2012-01-21 Kenichi Handa <handa@m17n.org>
2861
2862 * international/mule-cmds.el (prefer-coding-system): Show a
2863 warning message if the default value of file-name-coding-system
2864 was not changed.
2865
2866 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2867
2868 * windmove.el (windmove-reference-loc):
2869 Fix windmove-reference-loc miscalculation.
2870
2871 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2872
2873 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2874 default unit.
2875
2876 2012-01-21 Glenn Morris <rgm@gnu.org>
2877
2878 * international/mule.el (auto-coding-alist): Add .tbz.
2879
2880 * files.el (local-enable-local-variables): Doc fix.
2881 (inhibit-local-variables-regexps): Rename from
2882 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2883 Doc fix. Add some extensions from auto-coding-alist.
2884 (inhibit-local-variables-suffixes):
2885 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2886 (inhibit-local-variables-p):
2887 New function, extracted from set-auto-mode-1.
2888 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2889 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2890 (hack-local-variables): Doc fix. Make the mode-only case
2891 respect enable-local-variables and friends.
2892 Respect inhibit-local-variables-regexps for file-locals, but
2893 not for directory-locals.
2894 (set-visited-file-name):
2895 Take account of inhibit-local-variables-regexps.
2896 Whether it applies may change as the file name is changed.
2897 * jka-cmpr-hook.el (jka-compr-install):
2898 * jka-compr.el (jka-compr-uninstall):
2899 Update for inhibit-first-line-modes-suffixes name change.
2900
2901 2012-01-20 Martin Rudalics <rudalics@gmx.at>
2902
2903 * help-macro.el (make-help-screen): Temporarily restore original
2904 binding for minor-mode-map-alist (Bug#10454).
2905
2906 2012-01-19 Julien Danjou <julien@danjou.info>
2907
2908 * color.el (color-name-to-rgb): Use the white color to find the max
2909 color component value and return correctly computed values.
2910 (color-name-to-rgb): Add missing float conversion for max value.
2911
2912 2012-01-19 Martin Rudalics <rudalics@gmx.at>
2913
2914 * window.el (window--state-get-1, window-state-get): Do not use
2915 special state value for window-persistent-parameters.
2916 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
2917 (window--state-put-2): Reset all window parameters to nil before
2918 assigning values of persistent parameters.
2919
2920 2012-01-18 Alan Mackenzie <acm@muc.de>
2921
2922 Eliminate sluggishness and hangs in fontification of "semicolon
2923 deserts".
2924
2925 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2926 Change value 10000 -> 3000.
2927 (c-state-safe-place): Reformulate so it doesn't stack up an
2928 infinite number of wrong entries in c-state-nonlit-pos-cache.
2929 (c-determine-limit-get-base, c-determine-limit): New functions to
2930 determine backward search limits disregarding literals.
2931 (c-find-decl-spots): Amend commenting.
2932 (c-cheap-inside-bracelist-p): New function which detects "={".
2933
2934 * progmodes/cc-fonts.el
2935 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2936 backward search.
2937 (c-font-lock-declarations): Fix an occurrence of point being
2938 undefined. Check additionally for point being in a bracelist or
2939 near a macro invocation without a semicolon so as to avoid a
2940 fruitless time consuming search for a declarator. Give a more
2941 precise search limit for declarators using the new
2942 c-determine-limit.
2943
2944 2012-01-18 Glenn Morris <rgm@gnu.org>
2945
2946 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2947 (set-auto-mode): Doc fixes.
2948
2949 2012-01-17 Glenn Morris <rgm@gnu.org>
2950
2951 * isearch.el (search-nonincremental-instead): Fix doc typo.
2952
2953 * dired.el (dired-insert-directory): Handle newlines in directory name.
2954 (dired-build-subdir-alist): Unescape newlines in directory name.
2955
2956 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
2957
2958 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2959 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2960 (tramp-action-terminal): Use it. (Bug#10530)
2961
2962 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2963
2964 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2965
2966 2012-01-16 Martin Rudalics <rudalics@gmx.at>
2967
2968 * window.el (window-state-ignored-parameters): Remove variable.
2969 (window--state-get-1): Rename argument MARKERS to IGNORE.
2970 Handle persistent window parameters. Make copy of clone-of
2971 parameter only if requested. (Bug#10348)
2972 (window--state-put-2): Install a window parameter only if it has
2973 a non-nil value or an existing parameter shall be overwritten.
2974
2975 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
2976
2977 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2978
2979 2012-01-14 Eli Zaretskii <eliz@gnu.org>
2980
2981 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2982 don't pass the (nil) value of `upnode' to string-match.
2983
2984 2012-01-14 Chong Yidong <cyd@gnu.org>
2985
2986 * startup.el (command-line): Fix X resource class for cursorColor.
2987 Fix values recognized by the cursorBlink resource.
2988
2989 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2990
2991 * epg.el (epg--make-temp-file): Avoid permission race condition
2992 when running on old Emacs versions (bug#10403).
2993
2994 2012-01-14 Glenn Morris <rgm@gnu.org>
2995
2996 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2997
2998 2012-01-13 Alan Mackenzie <acm@muc.de>
2999
3000 Fix filling for when filladapt mode is enabled.
3001
3002 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3003 c-mask-paragraph, pass in `fill-paragraph' rather than
3004 `fill-region-as-paragraph'. (This is a reversion of a previous
3005 change.)
3006 * progmodes/cc-mode.el (c-basic-common-init):
3007 Make fill-paragraph-handle-comment buffer local and set it to nil.
3008
3009 2012-01-13 Glenn Morris <rgm@gnu.org>
3010
3011 * dired.el (dired-switches-escape-p): New function.
3012 (dired-insert-directory): Use dired-switches-escape-p.
3013 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3014
3015 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3016
3017 2012-01-12 Glenn Morris <rgm@gnu.org>
3018
3019 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3020 changes in adaptive-fill-regexp. (Bug#10276)
3021
3022 2012-01-11 Alan Mackenzie <acm@muc.de>
3023
3024 Fix Emacs bug #10463 - put `widen's around the critical spots.
3025
3026 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
3027 widen around each invocation of c-state-pp-to-literal. Remove an
3028 unused let variable.
3029
3030 2012-01-11 Glenn Morris <rgm@gnu.org>
3031
3032 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
3033 Doc fix.
3034
3035 2012-01-10 Chong Yidong <cyd@gnu.org>
3036
3037 * net/network-stream.el (network-stream-open-starttls):
3038 Avoid emitting a confusing error message when the server gives a bad
3039 response to the capability command.
3040
3041 2012-01-10 Glenn Morris <rgm@gnu.org>
3042
3043 * mail/unrmail.el (unrmail): Tweak previous change.
3044
3045 2012-01-09 Chong Yidong <cyd@gnu.org>
3046
3047 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3048
3049 2012-01-08 Alan Mackenzie <acm@muc.de>
3050
3051 Optimise font locking in long enum definitions.
3052
3053 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3054 arm to a cond form to handle enums.
3055 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3056 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3057
3058 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
3059
3060 * files.el (move-file-to-trash): Preserve default file modes on error.
3061 (Bug#10401)
3062
3063 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3064
3065 * faces.el (set-face-attribute): Clarify the meaning of the nil
3066 frame (bug#10294).
3067
3068 * subr.el (with-selected-frame): Mention that the selected frame
3069 is restored (bug#9980).
3070
3071 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3072 (bug#9759).
3073
3074 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
3075 (password-read): Don't autoload unused function.
3076
3077 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
3078
3079 * progmodes/which-func.el (which-func-mode): Turn into a
3080 non-interactive function and mark as obsolete (bug#10428).
3081
3082 2012-01-06 Chong Yidong <cyd@gnu.org>
3083
3084 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3085 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3086 functions, along with 1 and -1.
3087
3088 2012-01-06 Eli Zaretskii <eliz@gnu.org>
3089
3090 * time.el (display-time-load-average)
3091 (display-time-default-load-average): Doc fixes. See the thread
3092 starting at
3093 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3094 for the details.
3095
3096 2012-01-06 Glenn Morris <rgm@gnu.org>
3097
3098 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3099 has no messages. (Bug#10377)
3100
3101 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3102 than Info-edit. (Bug#10385)
3103
3104 * time.el (display-time-load-average, display-time-next-load-average):
3105 Doc fixes.
3106
3107 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3108 local setting of buffer-read-only to the input buffer. (Bug#10419)
3109
3110 * calendar/calendar.el (calendar-mode):
3111 Locally set scroll-margin to 0. (Bug#10379)
3112
3113 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
3114
3115 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3116
3117 2012-01-05 Glenn Morris <rgm@gnu.org>
3118
3119 * eshell/em-unix.el (diff-no-select): Autoload it.
3120 (eshell/diff): Use diff-no-select. (Bug#10420)
3121
3122 2012-01-05 Chong Yidong <cyd@gnu.org>
3123
3124 * shell.el (shell-dynamic-complete-functions): Revert last change.
3125 (shell-command-completion-function): New function.
3126 (shell-completion-vars): Use it to implement
3127 shell-completion-execonly (Bug#10417).
3128
3129 * custom.el (enable-theme): Don't set custom-safe-themes.
3130
3131 * cus-theme.el (custom-theme-merge-theme):
3132 Ignore custom-enabled-themes and custom-safe-themes.
3133
3134 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3135
3136 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3137 first prompt in `sql-interacive-mode'.
3138 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
3139 keywords.
3140 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
3141 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3142 context of original buffer. Invoke `sql-login-hook'.
3143
3144 2012-01-04 Eli Zaretskii <eliz@gnu.org>
3145
3146 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3147 letters in cite-prefix.
3148
3149 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3150
3151 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3152
3153 2012-01-03 Chong Yidong <cyd@gnu.org>
3154
3155 * shell.el (shell-dynamic-complete-functions):
3156 Put pcomplete-completions-at-point, so as to try
3157 comint-filename-completion first (Bug#10417).
3158
3159 2012-01-02 Richard Stallman <rms@gnu.org>
3160
3161 * battery.el (battery-status-function):
3162 Detect when to use battery-yeeloong-sysfs.
3163 (battery-echo-area-format): Add string for Yeeloong.
3164 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3165 (battery-yeeloong-sysfs): New function.
3166
3167 2012-01-02 Chong Yidong <cyd@gnu.org>
3168
3169 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3170 (dirtrack): Merge code for handling relative filenames in prompt
3171 from shell-dir-cookie-watcher.
3172 (dirtrack-debug-message): New arg to avoid excess format calls.
3173
3174 * shell.el (shell-dir-cookie-re): Variable deleted.
3175 (shell-dir-cookie-watcher): Function deleted.
3176 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3177 with dirtrack-mode.
3178
3179 2012-01-01 Eli Zaretskii <eliz@gnu.org>
3180
3181 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3182 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
3183 libgnutls-26.dll.
3184
3185 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3186
3187 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3188
3189 2011-12-31 Eli Zaretskii <eliz@gnu.org>
3190
3191 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3192 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3193
3194 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
3195
3196 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3197 also for alternative shells.
3198 (tramp-open-connection-setup-interactive-shell): Check, whether
3199 the shell is a busybox.
3200 (tramp-send-command): Don't suppress multiple prompts for
3201 busyboxes, it hurts.
3202
3203 2011-12-28 Chong Yidong <cyd@gnu.org>
3204
3205 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3206 (gdb-get-source-file): Move mode line update to
3207 gdb-get-source-file (Bug#10087).
3208
3209 2011-12-25 Chong Yidong <cyd@gnu.org>
3210
3211 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3212 gud-gdb-marker-filter without taking it as an argument.
3213 (gud-gdb-run-command-fetch-lines): Caller changed.
3214 (gud-gdb-completion-function): New variable.
3215 (gud-gdb-completion-at-point): Use it.
3216 (gud-gdb-completions-1): Split from gud-gdb-completions.
3217
3218 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3219 function as separate arguments.
3220 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3221 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3222 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3223 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3224 (gdb-stopped, def-gdb-auto-update-trigger)
3225 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
3226 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3227 Callers changed.
3228 (gud-gdbmi-completions): New function.
3229 (gdb): Use it for generating the completion table.
3230
3231 2011-12-24 Alan Mackenzie <acm@muc.de>
3232
3233 Introduce a mechanism to widen the region used in context font
3234 locking. Use this to protect declarations from losing their contexts.
3235
3236 * progmodes/cc-langs.el (c-before-font-lock-functions):
3237 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
3238 (c-before-context-fontification-functions): New defvar, a list of
3239 functions to be run just before context (etc.) font locking.
3240
3241 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
3242 New, functionality extracted from
3243 c-neutralize-syntax-in-and-mark-CPP.
3244 (c-in-after-change-fontification): New variable.
3245 (c-after-change): Set c-in-after-change-fontification.
3246 (c-set-fl-decl-start): Rejig its interface, so it can be called
3247 from both after-change and context fontifying.
3248 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3249 New functions.
3250 (c-standard-font-lock-fontify-region-function): New variable.
3251 (c-font-lock-fontify-region): New function.
3252
3253 2011-12-24 Juri Linkov <juri@jurta.org>
3254
3255 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3256 (Bug#10348)
3257
3258 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
3259
3260 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3261 existence of source file. (Bug#10325)
3262
3263 2011-12-23 Alan Mackenzie <acm@muc.de>
3264
3265 Fix unstable fontification inside templates.
3266
3267 * progmodes/cc-langs.el (c-before-font-lock-functions):
3268 Newly created from the singular version. The (c c++ objc) entry now
3269 additionally has c-set-fl-decl-start. The other languages (apart
3270 from AWK) have that as a single entry.
3271
3272 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3273 The functionality for "local" declarations has been extracted to
3274 c-set-fl-decl-start.
3275
3276 * progmodes/cc-mode.el (c-common-init, c-after-change):
3277 Changes due to pluralisation of c-before-font-lock-functions.
3278 (c-set-fl-decl-start): New function, extracted from
3279 c-font-lock-enclosing-decls and enhanced.
3280
3281 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
3282
3283 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3284
3285 2011-12-22 Juri Linkov <juri@jurta.org>
3286
3287 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3288
3289 2011-12-22 Chong Yidong <cyd@gnu.org>
3290
3291 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3292
3293 2011-12-21 Drew Adams <drew.adams@oracle.com>
3294
3295 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3296
3297 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3298
3299 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3300
3301 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3302
3303 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3304 highlighting and support. Fix up comments for capitalization.
3305 (cfengine-mode-debug): New var.
3306 (cfengine3-mode): Change the modeline indicator to "CFE3".
3307 (cfengine3-font-lock-keywords): Improve defun highlighting.
3308 (cfengine2-actions): Rename from `cfengine-actions'.
3309 (cfengine2-font-lock-keywords): Rename from
3310 `cfengine-font-lock-keywords'.
3311 (cfengine2-imenu-expression): Rename from
3312 `cfengine-imenu-expression'.
3313 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3314 (cfengine2-beginning-of-defun): Rename from
3315 `cfengine-beginning-of-defun'.
3316 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3317 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3318 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3319 modeline indicator to "CFE2".
3320 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3321 (cfengine-mode-abbrevs): Mark obsolete.
3322
3323 2011-12-21 Chong Yidong <cyd@gnu.org>
3324
3325 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3326 filename argument.
3327
3328 2011-12-20 Martin Rudalics <rudalics@gmx.at>
3329
3330 * window.el (window-normalize-buffer-to-display): Remove.
3331 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3332
3333 2011-12-19 Chong Yidong <cyd@gnu.org>
3334
3335 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3336 Don't signal an error in a predicate function; return non-nil.
3337 (vc-dir-mark-file): Move the error here.
3338 (vc-dir-mark-unmark): If acting on the region, keep going if one
3339 of the entries cannot be marked/unmarked.
3340 (vc-dir-mark-all-files): If current entry is a directory, mark
3341 only child files, as documented.
3342
3343 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3344
3345 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3346 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3347 addition.
3348
3349 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3350
3351 * term/ns-win.el (ns-get-selection-internal)
3352 (ns-store-selection-internal): Declare.
3353 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3354 Declare as obsolete.
3355 (ns-get-pasteboard, ns-paste-secondary):
3356 Use ns-get-selection-internal.
3357 (ns-set-pasteboard, ns-copy-including-secondary):
3358 Use ns-store-selection-internal.
3359
3360 2011-12-17 Chong Yidong <cyd@gnu.org>
3361
3362 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
3363 (vc-deduce-fileset): Doc fix.
3364
3365 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3366
3367 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3368
3369 2011-12-13 Sam Steingold <sds@gnu.org>
3370
3371 * man.el (Man-getpage-in-background): When running under a
3372 window-system, ignore $MANWIDTH and $COLUMNS.
3373
3374 2011-12-15 Kenichi Handa <handa@m17n.org>
3375
3376 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3377 (setup-ethiopic-environment-internal): Comment out key-binding for
3378 ethio-toggle-punctuation.
3379
3380 2011-12-13 Alan Mackenzie <acm@muc.de>
3381
3382 Add the switch statement to AWK Mode.
3383
3384 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
3385 "default" to the keywords regexp.
3386
3387 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
3388 expression as the rest.
3389 (c-nonlabel-token-key): Allow string literals for AWK.
3390 Refactor for the other modes.
3391
3392 Large brace-block initialisation makes CC Mode slow: Fix.
3393 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
3394 routines. Limit backward searching in c-font-lock-enclosing.decl.
3395
3396 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3397 pp-state and literal type in addition to the limits.
3398 (c-state-safe-place): New defun, extracted from c-state-literal-at.
3399 (c-state-literal-at): Use the above new defun.
3400 (c-slow-in-literal, c-fast-in-literal): Remove.
3401 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
3402
3403 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3404 being in a literal. Add a limit for backward searching.
3405
3406 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3407 c-slow-in-literal.
3408
3409 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3410
3411 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3412
3413 2011-12-13 Martin Rudalics <rudalics@gmx.at>
3414
3415 * window.el (delete-other-windows): Use correct frame in call to
3416 window-with-parameter.
3417
3418 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3419
3420 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3421 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3422 (makefile-gmake-statements, makefile-makepp-statements):
3423 Use it and add new makepp keywords.
3424 (makefile-makepp-font-lock-keywords): Add new patterns.
3425 (makefile-match-function-end): Match new [...] and [[...]].
3426
3427 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
3428
3429 * ses.el (ses-call-printer-return, ses-cell-property-get)
3430 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3431 (ses-create-cell-variable, ses-reset-header-string)
3432 (ses-cell-set-formula, ses-repair-cell-reference-all)
3433 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3434 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3435 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3436 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3437 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3438 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3439 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3440 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3441 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3442 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3443 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3444 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3445
3446 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3447
3448 * ses.el: The overall change is to add cell renaming, that is
3449 setting fancy names for cell symbols other than name matching
3450 "\\`[A-Z]+[0-9]+\\'" regexp .
3451 (ses-create-cell-variable): New defun.
3452 (ses-relocate-formula): Relocate formulas only for cells the
3453 symbols of which are not renamed, i.e. symbols whose names do not
3454 match regexp "\\`[A-Z]+[0-9]+\\'".
3455 (ses-relocate-all): Relocate values only for cells the symbols of
3456 which are not renamed.
3457 (ses-load): Create cells variables as the (ses-cell ...) are read,
3458 in order to check row col consistency with cell symbol name only
3459 for cells that are not renamed.
3460 (ses-replace-name-in-formula): New defun.
3461 (ses-rename-cell): New defun.
3462
3463 2011-12-11 Chong Yidong <cyd@gnu.org>
3464
3465 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3466 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3467
3468 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3469
3470 * window.el (other-window): Fix docstring.
3471
3472 2011-12-10 Eli Zaretskii <eliz@gnu.org>
3473
3474 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
3475 `from' or `to' address before taking its substring.
3476 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
3477 encoded name is chopped in the middle of the encoded string, and
3478 thus displayed encoded.
3479
3480 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
3481
3482 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3483
3484 2011-12-10 Eli Zaretskii <eliz@gnu.org>
3485
3486 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3487 to use texinfo-update-node and commands that call it if the
3488 Texinfo file uses @node lines without next/prev/up pointers.
3489 Correct outdated description about texinfo-master-menu.
3490 (texinfo-all-menus-update, texinfo-master-menu)
3491 (texinfo-update-node, texinfo-every-node-update)
3492 (texinfo-multiple-files-update): Doc fix. Warn against updating
3493 all the @node lines.
3494 (texinfo-master-menu): Only call texinfo-update-node if the prefix
3495 argument is numeric. Explain better in the doc string what the
3496 function really does.
3497 (texinfo-insert-master-menu-list): Improve the error message
3498 displayed if there's no menu in the Top node.
3499 (Bug#2975) See also this thread:
3500 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3501
3502 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3503
3504 * speedbar.el (speedbar-supported-extension-expressions):
3505 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3506
3507 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
3508
3509 * printing.el (pr-mode-alist):
3510 * simple.el (filter-buffer-substring-functions)
3511 (completion-list-insert-choice-function):
3512 * window.el (window-with-parameter, window-atom-root)
3513 (window-sides-slots, window-size-fixed, window-min-delta)
3514 (window-max-delta, window--resize-mini-window)
3515 (window--resize-child-windows-normal, window-tree)
3516 (delete-other-windows, quit-window, split-window)
3517 (display-buffer-record-window, special-display-buffer-names)
3518 (special-display-regexps, special-display-popup-frame)
3519 (same-window-p, split-window-sensibly)
3520 (display-buffer-overriding-action, display-buffer-alist)
3521 (display-buffer-base-action, display-buffer, switch-to-buffer)
3522 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3523 (fit-window-to-buffer, recenter-positions)
3524 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3525 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3526 and remove unneeded backslashes in docstrings.
3527
3528 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3529
3530 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3531
3532 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3533 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3534 end in ".mk".
3535 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3536 when reading the makefile (bug#10116).
3537
3538 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3539
3540 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3541 (bug#10116).
3542
3543 2011-12-06 Glenn Morris <rgm@gnu.org>
3544
3545 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3546
3547 2011-12-06 Chong Yidong <cyd@gnu.org>
3548
3549 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3550
3551 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
3552
3553 * textmodes/table.el (table-shorten-cell): Fix typo.
3554
3555 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3556
3557 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3558
3559 2011-12-05 Eli Zaretskii <eliz@gnu.org>
3560
3561 * descr-text.el (describe-char): Fix display of strong
3562 right-to-left characters and directional embeddings and overrides.
3563
3564 * simple.el (what-cursor-position): Fix display of codepoints of
3565 strong right-to-left characters.
3566
3567 2011-12-05 Chong Yidong <cyd@gnu.org>
3568
3569 * faces.el (read-color): Doc fix.
3570
3571 2011-12-05 Glenn Morris <rgm@gnu.org>
3572
3573 * align.el (align--set-marker): Add doc-string.
3574 Don't try to move something that is not a marker. (Bug#10216)
3575
3576 2011-12-04 Glenn Morris <rgm@gnu.org>
3577
3578 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3579 overly zealous deletion of trailing whitespace.
3580
3581 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
3582
3583 * server.el (server-delete-client): On Windows, do not try to delete
3584 the only terminal.
3585 (server-process-filter): On Windows, treat requests for a tty frame as
3586 if they were for a GUI frame if the running server is in GUI mode.
3587
3588 2011-12-03 Glenn Morris <rgm@gnu.org>
3589
3590 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3591
3592 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3593
3594 * electric.el: Streamline electric-indent's hook.
3595 (electric-indent-chars): Revert to simple list.
3596 (electric-indent-functions): New var.
3597 (electric-indent-post-self-insert-function): Use it.
3598
3599 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3600 there's no inferior buffer (bug#10196).
3601 (prolog-consult-compile): Don't use toggle-read-only.
3602
3603 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
3604
3605 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3606 interrupt. (Bug#10187)
3607
3608 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3609
3610 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3611 (bug#9160).
3612
3613 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3614 (bug#10191).
3615
3616 2011-12-02 Juri Linkov <juri@jurta.org>
3617
3618 * info.el (Info-search): Display "end of manual" when Isearch
3619 reaches the end of single-file Info manual. (Bug#9918)
3620
3621 2011-12-02 Eli Zaretskii <eliz@gnu.org>
3622
3623 * isearch.el (isearch-message-prefix): Run the input method part
3624 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3625
3626 2011-12-02 Juri Linkov <juri@jurta.org>
3627
3628 * isearch.el (isearch-occur): Use `word-search-regexp' for
3629 `isearch-word'.
3630 (isearch-search-and-update): Add condition for `isearch-word' and
3631 call `word-search-regexp'. (Bug#10145)
3632
3633 2011-12-01 Glenn Morris <rgm@gnu.org>
3634
3635 * eshell/em-hist.el (eshell-hist-initialize):
3636 Handle eshell-history-size nil and HISTSIZE set or unset.
3637 (eshell-history-file-name, eshell-history-size): Fix custom type.
3638
3639 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3640
3641 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3642
3643 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
3644
3645 * progmodes/verilog-mode.el (verilog-pretty-expr):
3646 Rework verilog-pretty-expr to handle new assignment operators in system
3647 verilog, such as += *= and the like.
3648 (verilog-assignment-operator-re): Regular expression to find the
3649 assigment operator in a verilog assignment.
3650 (verilog-assignment-operation-re): Regular expression to find an
3651 assignment statement for pretty-expr.
3652 (verilog-in-attribute-p): Query returns true if point is in an
3653 attribute context; used to skip these for expression line up from
3654 pretty-expr.
3655 (verilog-in-parameter-p): Query returns true if point is in an
3656 parameter definition context; used to skip these for expression
3657 line up from pretty-expr.
3658 (verilog-in-parenthesis-p): Query returns true if point is in a
3659 parenthetical expression, specifically ( ) but not [ ] or { };
3660 used by pretty-expr.
3661 (verilog-just-one-space): If there is no space, don't add one.
3662 (verilog-get-lineup-indent-2): Specifically skip just attribute
3663 contexts for expression lineup, rather than skipping all
3664 parenthetical expressions.
3665 (verilog-calculate-indent): Fix comment, and fix indent.
3666 (verilog-do-indent): Indent declarations in lists (suggested by
3667 Joachim Lechner).
3668 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3669 skeleton items.
3670 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3671 by Alain Mellan).
3672
3673 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
3674
3675 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3676 parameters with embedded comments. Reported by Ray Stevens.
3677 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3678 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3679 Reported by Tim Holt.
3680 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3681 instantiated by upper module causing wrong expansion until AUTOed a
3682 second time. Reported by K C Buckenmaier.
3683 (verilog-diff-auto): Fix showing .* as a difference when
3684 `verilog-auto-star-save' off. Reported by Dan Dever.
3685 (verilog-auto-reset, verilog-read-always-signals)
3686 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3687 temporary signals in reset list if
3688 verilog-auto-reset-blocking-in-non is nil, and match assignment
3689 style to each signal's assignment type, bug381.
3690 Reported by Thomas Esposito.
3691 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3692 (verilog-uvm-statement-re): Support UVM indentation and
3693 highlighting, with old OVM keywords only.
3694 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
3695 Support AUTOTIEOFF creating non-wire data types.
3696 Suggested by Jonathan Greenlaw.
3697 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3698 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3699 (verilog-inject-sense, verilog-read-inst-pins)
3700 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3701 Fix mismatching parenthesis inside commented out code when deleting
3702 AUTOINST, bug383. Reported by Jonathan Greenlaw.
3703 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3704 non-numeric vector width. Reported by Alex Reed.
3705 (verilog-auto-ascii-enum): Add "onehot" option to work around not
3706 detecting signals with parameter widths. Reported by Alex Reed.
3707 (verilog-auto-delete-trailing-whitespace):
3708 With `verilog-auto-delete-trailing-whitespace' remove trailing
3709 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3710 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3711 Fix verilog-scan-cache corruption when running user AUTO expansion
3712 hooks that call indentation routines.
3713 (verilog-simplify-range-expression): Fix typo ignoring lower case
3714 identifiers.
3715 (verilog-delete-auto): Fix delete-autos to also remove user created
3716 automatics, as long as they start with AUTO.
3717 (verilog-batch-diff-auto, verilog-diff-auto)
3718 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3719 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3720 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3721 (verilog-in-paren-quick, verilog-re-search-backward-quick)
3722 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3723 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
3724 is disabled and its cache will get corrupt, causing AUTOS not to
3725 expand. Instead use only -quick functions.
3726 (verilog-scan-region): Fix scanning over escaped quotes.
3727 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3728 (verilog-re-search-backward-quick)
3729 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3730 related functions now ignore strings, to fix misparsing of strings
3731 with magic comments embedded in them.
3732 (verilog-read-auto-template):
3733 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3734 Reported by Brad Dobbie.
3735 (verilog-read-auto-template):
3736 Fix 'verilog-auto-inst-template-numbers' with comments.
3737 Reported by Brad Dobbie.
3738 (verilog-auto-inst, verilog-auto-inst-param)
3739 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3740 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3741 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
3742 debugging templates without merge conflicts, bug357.
3743 Reported by Brad Dobbie.
3744 (verilog-read-auto-template):
3745 Fix verilog-auto-inst-template-numbers with multiple templates.
3746 Reported by Brad Dobbie.
3747 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3748 abbrevs so user won't be asked to save.
3749 (verilog-read-auto-lisp-present): Fix to start at beginning of
3750 buffer in case called outside of verilog-auto.
3751 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3752 to "X-2". Reported by Matthew Myers.
3753 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3754 all inputs from module templates. Reported by Leith Johnson.
3755 (verilog-module-inside-filename-p): Fix locating programs as with
3756 modules.
3757 (verilog-auto-inst-port): Fix vl-width expressions when using
3758 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3759 (verilog-decls-get-regs, verilog-decls-get-signals,
3760 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3761 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3762 verilog-read-decls): Combine reg and wire structures into one var
3763 structure to represent SystemVerilog concepts.
3764 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3765 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
3766 (verilog-auto-wire-type, verilog-insert-definition):
3767 Add verilog-auto-wire-type and AUTOLOGIC to support using
3768 SystemVerilog "logic" keyword instead of "wire"/"reg".
3769 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3770 to declares outputs that also have assignments (presumably in an
3771 ifdef or generate if so there's not a driver conflict).
3772 Reported by Matthew Myers.
3773 (verilog-auto-declare-nettype, verilog-insert-definition):
3774 Add verilog-auto-declare-nettype to fix declarations using
3775 `default_nettype none. Reported by Julian Gorfajn.
3776 (verilog-read-always-signals-recurse, verilog-read-decls)
3777 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3778 malformed end statement, bug325. Reported by Joshua Wise and
3779 Andrew Drake.
3780 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3781 (verilog-inst-comment-re): Fix not deleting Interfaced comment
3782 when expanding .* in interfaces, bug320.
3783 Reported by Pierre-David Pfister.
3784 (verilog-read-module-name): Fix import statements between module
3785 name and open parenthesis, bug317.
3786 Reported by Pierre-David Pfister.
3787 (verilog-simplify-range-expression): Fix simplification of
3788 multiplications inside AUTOWIRE connections, bug303.
3789 (verilog-auto-inst-port): Support parameter expansion in
3790 multidimensional arrays.
3791 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3792 after "assert property". Reported by Julian Gorfajn.
3793 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3794 with multiplication, bug303.
3795 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3796 Reported by Jan Frode Lonnum.
3797
3798 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
3799
3800 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3801 (hfy-shell-file-name, hfy-shell):
3802 * international/fontset.el (x-decompose-font-name): Fix typos.
3803
3804 2011-11-29 Ken Brown <kbrown@cornell.edu>
3805
3806 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3807 (gdb-version): Remove defvar.
3808 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3809 (gdb-gud-context-command, gdb-non-stop-handler)
3810 (gdb-current-context-command, gdb-stopped): Use it.
3811 (gdb-init-1): Enable pretty printing here.
3812 (gdb-non-stop-handler): Don't enable pretty-printing here.
3813 Check to see if the target supports non-stop mode; if not, turn off
3814 non-stop mode. Use the following.
3815 (gdb-check-target-async): New defun.
3816 (gud-watch, gdb-stopped): Fix whitespace.
3817 (gdb-get-source-file): Don't try to display the source file if
3818 `gdb-main-file' is nil.
3819
3820 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3821
3822 * align.el: Try to generate fewer markers (bug#10047).
3823 (align--set-marker): New macro.
3824 (align-region): Use it.
3825
3826 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3827
3828 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3829
3830 2011-11-29 Chong Yidong <cyd@gnu.org>
3831
3832 * indent.el (indent-for-tab-command, indent-according-to-mode):
3833 Doc fix.
3834 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3835
3836 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
3837
3838 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3839 aware of remote file names. (Bug#10124)
3840
3841 2011-11-29 Chong Yidong <cyd@gnu.org>
3842
3843 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3844
3845 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3846
3847 * files.el (find-file): Don't use force-same-window (bug#10144).
3848 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3849 use pop-to-buffer if the selected window can't be used.
3850 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3851
3852 2011-11-28 Eli Zaretskii <eliz@gnu.org>
3853
3854 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3855 special-mode-map.
3856
3857 2011-11-28 Chong Yidong <cyd@gnu.org>
3858
3859 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3860
3861 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
3862
3863 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3864 gdb-get-source-file-list on gdb-create-source-file-list.
3865
3866 2011-11-26 Eli Zaretskii <eliz@gnu.org>
3867
3868 * whitespace.el (whitespace-newline): Use a different foreground
3869 color for 16-color light-background displays.
3870
3871 2011-11-24 Chong Yidong <cyd@gnu.org>
3872
3873 * window.el (display-buffer--special-action): Doc fix.
3874
3875 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
3876
3877 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3878 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3879 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3880 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3881 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3882 (avl-tree-stack-first):
3883 * emacs-lisp/cconv.el (cconv--analyse-use):
3884 * net/gnutls.el (gnutls-negotiate): Fix typos.
3885
3886 2011-11-24 Glenn Morris <rgm@gnu.org>
3887
3888 * lpr.el (lpr-windows-system, lpr-lp-system):
3889 * mail/binhex.el (binhex-begin-line):
3890 * progmodes/grep.el (grep-history, grep-find-history):
3891 * textmodes/flyspell.el:
3892 * vc/pcvs-defs.el (cvs-global-menu):
3893 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3894 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3895 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3896
3897 * net/tls.el: Fix case of "GnuTLS".
3898
3899 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3900
3901 * version.el (emacs-build-system): Give it a doc-string.
3902
3903 2011-11-24 Juri Linkov <juri@jurta.org>
3904
3905 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3906
3907 2011-11-24 Glenn Morris <rgm@gnu.org>
3908
3909 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3910 if called on a non-mime message just toggle the headers. (Bug#8006)
3911
3912 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
3913
3914 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3915 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3916 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3917 (allout-rebullet-heading, allout-open-sibtopic)
3918 (allout-toggle-current-subtree-encryption)
3919 (allout-toggle-subtree-encryption, allout-encrypt-string)
3920 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3921 (allout-distinctive-bullets-string, allout-auto-activation):
3922 * window.el (window-normalize-buffer-to-display):
3923 * progmodes/verilog-mode.el (verilog-batch-indent):
3924 * textmodes/bibtex.el (bibtex-field-braces-opt)
3925 (bibtex-field-strings-opt):
3926 * vc/cvs-status.el (cvs-tree-merge):
3927 Fix typos.
3928
3929 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
3930
3931 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3932 `non-essential' to t, in order to avoid remote connections.
3933
3934 2011-11-23 Eli Zaretskii <eliz@gnu.org>
3935
3936 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3937 On MS-DOS and MS-Windows, compare with loaddefs.el
3938 case-insensitively.
3939
3940 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3941
3942 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3943
3944 2011-11-23 Glenn Morris <rgm@gnu.org>
3945
3946 * paths.el (rmail-file-name): Reformat the doc-string so that it
3947 is picked up.
3948
3949 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3950 (rmail-auto-file): Ignore case in the "special" field names,
3951 as mail-fetch-field does for all others.
3952
3953 * mail/rmail.el (rmail-forward):
3954 * mail/rmailkwd.el (rmail-set-label):
3955 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3956 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3957
3958 * mail/rmail.el (rmail-current-message): Doc fix.
3959
3960 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3961
3962 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3963
3964 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3965
3966 2011-11-22 Glenn Morris <rgm@gnu.org>
3967
3968 * mail/rmailmm.el (test-rmail-mime-handler)
3969 (test-rmail-mime-bulk-handler)
3970 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3971
3972 2011-11-21 Juri Linkov <juri@jurta.org>
3973
3974 * calc/calc.el (calc-read-key-sequence):
3975 Let-bind `input-method-function' to nil. (Bug#10018)
3976
3977 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3978
3979 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3980 Tell the caller that the next line needs recomputation, even
3981 though it doesn't start a sexp (bug#10094).
3982
3983 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3984
3985 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3986
3987 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3988
3989 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3990 Use force-same-window.
3991
3992 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
3993
3994 * descr-text.el (describe-char-unicode-data):
3995 * json.el (json-string-escape):
3996 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3997 (Footnote-unicode, Footnote-style-p):
3998 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3999
4000 2011-11-20 Chong Yidong <cyd@gnu.org>
4001
4002 * window.el (replace-buffer-in-windows): Restore interactive spec.
4003
4004 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4005
4006 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4007
4008 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4009 (byte-compile-global-not-obsolete-vars): New var.
4010 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4011 Use it.
4012 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4013
4014 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4015
4016 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4017 * progmodes/pascal.el (electric-pascal-equal):
4018 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4019 * xml.el (xml-substitute-special): Fix typos.
4020
4021 2011-11-20 Glenn Morris <rgm@gnu.org>
4022
4023 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4024 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4025 Doc fixes.
4026 (rmail-decode-mime-charset): Mark as obsolete.
4027
4028 * mail/rmailsum.el (rmail-message-regexp-p-1):
4029 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4030 Before using mime functions, check they are set. (Bug#10077)
4031
4032 2011-11-19 Juri Linkov <juri@jurta.org>
4033
4034 * info.el (Info-finder-find-node): Use `package--builtins' instead
4035 of `package-alist'. Use node names formed by the pattern "Keyword "
4036 and the keyword name.
4037
4038 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4039
4040 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
4041
4042 2011-11-19 Juri Linkov <juri@jurta.org>
4043
4044 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4045 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4046 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4047 `old-history', `old-history-forward'. Add let-binding
4048 `window-selected'. Remove calls to `kill-buffer',
4049 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4050 before calling `Info-find-node', so `Info-find-node-2' will reread
4051 the Info file. Restore window positions only when `window-selected'
4052 is non-nil.
4053
4054 2011-11-19 Juri Linkov <juri@jurta.org>
4055
4056 * isearch.el (isearch-lazy-highlight-new-loop):
4057 Remove condition `(not isearch-error)'. (Bug#9918)
4058
4059 * misearch.el (multi-isearch-search-fun): Add condition
4060 `(not bound)' to ignore lazy-highlighting search.
4061 Add the search-failed message "end of multi" when the end of
4062 multi-sequence is reached. Uncapitalize the search-failed
4063 message "Repeat for next buffer".
4064
4065 * info.el (Info-search): Add the search-failed message
4066 "end of the manual" when the end of the manual is reached
4067 in Isearch mode.
4068
4069 2011-11-19 Juri Linkov <juri@jurta.org>
4070
4071 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4072 Use non-destructive `remove' instead of `delete' because
4073 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4074 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4075
4076 2011-11-19 Juri Linkov <juri@jurta.org>
4077
4078 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4079 to nil instead of binding `search-ring' and `regexp-search-ring'.
4080 (Bug#9185)
4081
4082 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4083
4084 * simple.el (line-move): Force movement by logical lines for any
4085 hscrolled window, not only when auto-hscroll-mode is on.
4086 (line-move-visual): Update doc string to that effect. (Bug#10076)
4087
4088 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4089
4090 * language/european.el (macintosh): Define as alias for mac-roman.
4091
4092 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4093
4094 * mail/rmailmm.el (rmail-mime-display-header)
4095 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4096 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4097 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4098 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4099 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4100 of a raw aref.
4101 (rmail-mime-entity-segment): To get past the tagline, move forward
4102 2 more lines, to account for the 2 empty lines that precede and
4103 follow the line with the buttons.
4104 (rmail-mime-update-tagline): Move one more line, to get past the
4105 empty line that follows the buttons in the tagline. (Bug#9520)
4106
4107 2011-11-19 Martin Rudalics <rudalics@gmx.at>
4108
4109 * window.el (window-max-delta-1, window-min-delta-1)
4110 (window-min-size-1, window-state-get-1, window-state-put-1)
4111 (window-state-put-2): Use "window--" prefix.
4112
4113 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4114
4115 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4116 (smie-warning-count): New var.
4117 (smie-set-prec2tab): Use it.
4118 (smie-bnf->prec2): Improve warnings. Add docstring.
4119 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4120 (smie-bnf--set-class): New function.
4121 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4122 corner case.
4123
4124 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4125 (compilation-error-properties, compilation-move-to-column):
4126 Handle compilation-first-column while in the target buffer.
4127
4128 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4129 Don't hardcode point-min==1.
4130
4131 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4132 (eshell-rewrite-for-command): Remove workaround.
4133 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4134 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4135 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4136
4137 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4138
4139 2011-11-17 Glenn Morris <rgm@gnu.org>
4140
4141 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4142 Ignore buffer-local generated-autoload-file if it is the same
4143 as the global value. (Bug#10049)
4144
4145 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
4146
4147 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4148 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4149 (reftex-toc-previous-heading, reftex-toc-max-level)
4150 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4151 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4152 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4153 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4154 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4155 (reftex-toc-rename-label, reftex-toc-visit-location)
4156 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4157 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4158 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4159 leaving "*toc*" only for references to the buffer.
4160
4161 2011-11-17 Martin Rudalics <rudalics@gmx.at>
4162
4163 * window.el (window-resize, delete-window, split-window):
4164 Replace window-splits by window-combination-resize.
4165 * cus-start.el (window-splits): Replace by window-combination-resize.
4166
4167 2011-11-17 Glenn Morris <rgm@gnu.org>
4168
4169 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4170 Make bash entry derive from sh entry, not shell entry.
4171
4172 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
4173
4174 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4175 properties of linked files. (Bug#9879)
4176
4177 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4178 local file name.
4179
4180 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4181
4182 * menu-bar.el (menu-bar-file-menu):
4183 * printing.el (pr-ps-utility):
4184 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4185 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4186 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4187 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4188 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4189 (icalendar--convert-cyclic-to-ical)
4190 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4191 (icalendar--convert-ical-to-diary)
4192 (icalendar--convert-recurring-to-diary)
4193 (icalendar--convert-non-recurring-all-day-to-diary)
4194 (icalendar-import-format-sample):
4195 * progmodes/idlw-shell.el (idlwave-shell-mode):
4196 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4197 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4198 (vhdl-ps-print-init): Fix typos.
4199
4200 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4201
4202 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4203 FSF and collapse date sequence, obscure author/maintainer email address
4204 better, remove extra version line, track relocation of author's webpage.
4205
4206 * progmodes/python.el (python-pdbtrack-input-prompt)
4207 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4208 regular python pdb prompts. Adjustments shamelessly taken exactly as
4209 suggested in EmacsWiki page (tiny change):
4210 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
4211
4212 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4213
4214 * expand.el (expand-pos, expand-index, expand-point):
4215 Remove redundant info from docstring.
4216 (expand-add-abbrevs): Doc fix.
4217 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4218 (expand-sample-perl-mode-expand-list): Fix typos.
4219
4220 * net/dbus.el (dbus-event-member-name):
4221 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4222 * term/pc-win.el (msdos-create-frame-with-faces):
4223 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4224
4225 2011-11-16 Martin Rudalics <rudalics@gmx.at>
4226
4227 * window.el (split-window, window-state-get-1)
4228 (window-state-put-1, window-state-put-2): Rename occurrences of
4229 window-nest to window-combination-limit.
4230 * cus-start.el (window-nest): Rename to window-combination-limit.
4231
4232 2011-11-16 Chong Yidong <cyd@gnu.org>
4233
4234 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4235 regexp (Bug#10033).
4236
4237 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4238
4239 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4240 `completing-read' will remove *Completions* and will preserve
4241 current-buffer for us.
4242 (tmm-add-prompt): Users of *Completions* will always (re)set its
4243 major mode.
4244 (tmm-old-comp-map): Remove.
4245
4246 2011-11-16 Glenn Morris <rgm@gnu.org>
4247
4248 * mail/rmailedit.el: Require rmailmm when compiling.
4249 (rmail-old-mime-state): New declaration.
4250 (rmail-edit-current-message): If editing a mime message,
4251 edit the "raw" message from the mbox buffer.
4252 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4253
4254 2011-11-15 Glenn Morris <rgm@gnu.org>
4255
4256 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4257 which wasn't being used. Add optional arg to force given state.
4258 (rmail-mime): Add optional arg to force given state.
4259
4260 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4261
4262 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4263 * frame.el (display-mm-dimensions-alist):
4264 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4265 (outline-move-subtree-down):
4266 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4267 (newsticker--treeview-do-get-node):
4268 * net/quickurl.el (quickurl-list-buffer-name):
4269 * progmodes/dcl-mode.el (dcl-mode):
4270 * progmodes/gdb-mi.el (gdb-mapcar*):
4271 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4272
4273 2011-11-15 Glenn Morris <rgm@gnu.org>
4274
4275 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4276 in a boolean sense, so just make it a boolean, and fix the doc.
4277 (rmail-show-mime-function, rmail-mime-feature)
4278 (rmail-require-mime-maybe): Doc fixes.
4279 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4280
4281 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4282
4283 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4284
4285 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4286 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4287 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4288 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4289
4290 2011-11-15 Glenn Morris <rgm@gnu.org>
4291
4292 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4293 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4294 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4295 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4296 (rmail-mime, rmail-show-mime): Doc fixes.
4297
4298 * term/ns-win.el (mode-line-frame-identification):
4299 Leave it alone. (Bug#10051)
4300
4301 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4302
4303 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4304 Handle empty buffers. (Bug#9978)
4305
4306 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
4307
4308 * international/mule.el (define-charset):
4309 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4310 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4311 * progmodes/verilog-mode.el (verilog-backward-token):
4312 * textmodes/ispell.el (lookup-words):
4313 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4314
4315 2011-11-14 Glenn Morris <rgm@gnu.org>
4316
4317 * progmodes/executable.el
4318 (executable-make-buffer-file-executable-if-script-p):
4319 Handle file-modes returning nil.
4320
4321 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4322 message - not necessary, and causes problems. (Bug#9831)
4323
4324 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4325
4326 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4327
4328 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4329 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4330 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4331
4332 2011-11-12 Martin Rudalics <rudalics@gmx.at>
4333
4334 * window.el (window-resize, delete-window): Use window-splits
4335 variable instead of function.
4336 (window-state-get-1, window-state-put-2, window-state-put):
4337 Don't deal with windows' splits status.
4338
4339 2011-11-12 Glenn Morris <rgm@gnu.org>
4340
4341 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4342 (apropos-documentation): Doc fixes.
4343
4344 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
4345
4346 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4347 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4348
4349 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4350
4351 * electric.el (electric-indent-post-self-insert-function): Make it
4352 possible for a char to only indent in some circumstances.
4353 (electric-indent-mode): Simplify.
4354
4355 2011-11-11 Martin Rudalics <rudalics@gmx.at>
4356
4357 * window.el (windows-with-parameter): Remove unused function.
4358 (windows-at-side): Rename to window-at-side-list.
4359 (window-check, window-atom-check, window-atom-check-1)
4360 (window-side-check, window-size-ignore, window-size-fixed-1)
4361 (window-in-direction-2): Prefix with "window--".
4362 (window-tree-1): Rename to window--subtree, fix doc-string.
4363
4364 2011-11-11 Glenn Morris <rgm@gnu.org>
4365
4366 * subr.el (eval-after-load): If FILE is already loaded,
4367 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4368
4369 2011-11-10 Glenn Morris <rgm@gnu.org>
4370
4371 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4372 Call svn via vc-svn-command rather than vc-do-command.
4373 (vc-svn-command): Add --non-interactive. (Bug#9993)
4374 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4375
4376 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4377 Add toggle-read-only. (Bug#7292)
4378 * files.el (toggle-read-only): Mention that it should only
4379 be used interactively. (Bug#10006)
4380
4381 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4382
4383 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4384 Adjust regexp for OCaml warnings.
4385
4386 * electric.el (electric-pair-post-self-insert-function): Let user
4387 turn it off buffer-locally (bug#9932).
4388
4389 * progmodes/python.el (python-beginning-of-statement):
4390 Rewrite (bug#2703).
4391
4392 * progmodes/compile.el: Better handle TABs (bug#9749).
4393 (compilation-internal-error-properties)
4394 (compilation-next-error-function): Obey the target buffer's
4395 compilation-error-screen-columns.
4396
4397 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
4398
4399 * progmodes/meta-mode.el: Remove obsolete comments.
4400 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4401 Fix typos in docstrings.
4402
4403 2011-11-09 Martin Rudalics <rudalics@gmx.at>
4404
4405 * window.el (window-size-fixed-p): Rewrite doc-string.
4406 (window-resizable-p): Rename to window--resizable-p. Update callers.
4407 (window--resizable): New function. Make all callers of
4408 window-resizable call window--resizable instead.
4409 (window-resizable): Rewrite in terms of window--resizable.
4410
4411 2011-11-08 Glenn Morris <rgm@gnu.org>
4412
4413 * progmodes/delphi.el (delphi-mode-syntax-table):
4414 Let define-derived-mode define a proper syntax table. (Bug#9994)
4415
4416 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4417
4418 * window.el: Stay away from defsubst.
4419 (window-list-no-nils): Remove.
4420 (window-state-get-1, window-state-get): Use backquote instead.
4421
4422 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4423
4424 * emacs-lisp/find-func.el (find-function-read):
4425 Fix incorrect use of default argument in `completing-read'.
4426
4427 2011-11-08 Martin Rudalics <rudalics@gmx.at>
4428
4429 * window.el (display-buffer-function, special-display-function):
4430 Mention display-buffer-record-window but do not mention
4431 help-setup parameter in doc-strings.
4432 (window-min-delta): Fix doc-string typo.
4433
4434 2011-11-08 Chong Yidong <cyd@gnu.org>
4435
4436 * window.el (window-total-height, window-total-width): Doc fix.
4437 (window-body-size): Move from C.
4438 (window-body-height, window-body-width): Move to C.
4439
4440 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4441
4442 * window.el: Make special-display like display-buffer-alist (bug#9532).
4443 (display-buffer--special-action): New function, morphed
4444 from display-buffer--special.
4445 (display-buffer): Use it to handle special-display-buffers at higher
4446 priority (just after display-buffer-alist).
4447 (display-buffer-fallback-action, display-buffer--other-frame-action)
4448 (pop-to-buffer-same-window): Remove display-buffer--special.
4449
4450 2011-11-07 Glenn Morris <rgm@gnu.org>
4451
4452 * calendar/cal-menu.el (cal-menu-set-date-title):
4453 Do nothing if not in a calendar. (Bug#9976)
4454
4455 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4456
4457 * files.el (find-file): Always use selected-window.
4458
4459 2011-11-07 Martin Rudalics <rudalics@gmx.at>
4460
4461 * window.el (window-combinations): Make WINDOW argument
4462 mandatory. Rewrite doc-string.
4463 (walk-window-subtree, window-atom-check, window-min-delta)
4464 (window-max-delta, window--resize-this-window)
4465 (window--resize-root-window-vertically, window-tree)
4466 (balance-windows, window-state-put): Rewrite doc-strings as to
4467 not mention the term "subwindow".
4468 (window--resize-subwindows-skip-p): Rename to
4469 window--resize-child-windows-skip-p.
4470 (window--resize-subwindows-normal): Rename to
4471 window--resize-child-windows-normal.
4472 (window--resize-subwindows): Rename to
4473 window--resize-child-windows.
4474 (window-or-subwindow-p): Rename to window--in-subtree-p.
4475
4476 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4477
4478 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4479 Ensure that mbox format messages end in two newlines (Bug#9974).
4480
4481 2011-11-06 Chong Yidong <cyd@gnu.org>
4482
4483 * window.el (window-combination-p): Function deleted; its
4484 side-effect is not used in any existing code.
4485 (window-combinations, window-combined-p): Call window-*-child
4486 directly.
4487
4488 2011-11-05 Chong Yidong <cyd@gnu.org>
4489
4490 * window.el (window-valid-p): Rename from window-any-p.
4491 (window-size-ignore, window-state-get): Callers changed.
4492 (window-normalize-window): Rename from window-normalize-any-window.
4493 New arg LIVE-ONLY, replacing window-normalize-live-window.
4494 (window-normalize-live-window): Delete.
4495 (window-combination-p, window-combined-p, window-combinations)
4496 (walk-window-subtree, window-atom-root, window-min-size)
4497 (window-sizable, window-sizable-p, window-size-fixed-p)
4498 (window-min-delta, window-max-delta, window-resizable)
4499 (window-resizable-p, window-full-height-p, window-full-width-p)
4500 (window-current-scroll-bars, window-point-1, set-window-point-1)
4501 (window-at-side-p, window-in-direction, window-resize)
4502 (adjust-window-trailing-edge, maximize-window, minimize-window)
4503 (window-deletable-p, delete-window, delete-other-windows)
4504 (record-window-buffer, unrecord-window-buffer)
4505 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4506 (quit-window, split-window, window-state-put)
4507 (set-window-text-height, fit-window-to-buffer)
4508 (shrink-window-if-larger-than-buffer): Callers changed.
4509
4510 2011-11-04 Eli Zaretskii <eliz@gnu.org>
4511
4512 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4513 rfc2047-decode-string.
4514 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4515 warnings.
4516
4517 * window.el (window-body-height, window-body-width): Mention in
4518 the doc string that the return values are in frame's canonical
4519 units. (Bug#9949)
4520
4521 2011-11-03 Alan Mackenzie <acm@muc.de>
4522
4523 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4524 change in cc-engine.el.
4525
4526 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4527
4528 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4529
4530 2011-11-02 Martin Rudalics <rudalics@gmx.at>
4531
4532 * window.el (quit-window): Call unrecord-window-buffer after
4533 showing another buffer in the window. (Bug#9937)
4534 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
4535
4536 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
4537
4538 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4539 Accept status with more than 9 shelves. (Bug#9935)
4540 Reported by Colin D Bennett <colin@gibibit.com>.
4541
4542 2011-11-01 Martin Rudalics <rudalics@gmx.at>
4543
4544 * help.el (with-help-window): Don't reference
4545 temp-buffer-show-specifiers in doc-string.
4546
4547 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4548
4549 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4550 menu-item.
4551
4552 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4553
4554 * whitespace.el: New version 13.2.2.
4555 (whitespace-newline-mode): Disable properly. Reported by Sarah
4556 <EmacsWiki>.
4557
4558 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
4559
4560 * net/newst-treeview.el: Remove "Time-stamp".
4561 (newsticker--group-manage-orphan-feeds): Do not call
4562 newsticker--treeview-tree-update.
4563 (newsticker-treeview-update, newsticker-treeview):
4564 Call newsticker--treeview-tree-update if necessary.
4565
4566 2011-10-30 Martin Rudalics <rudalics@gmx.at>
4567
4568 * window.el (window-iso-combination-p, window-iso-combined-p)
4569 (window-iso-combinations): Remove "iso-" infix.
4570 Suggested by Chong Yidong.
4571 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4572 (window-max-delta-1, window-resize, window--resize-siblings)
4573 (window--resize-this-window, adjust-window-trailing-edge)
4574 (split-window, balance-windows-1)
4575 (shrink-window-if-larger-than-buffer):
4576 * calendar/calendar.el (calendar-generate-window):
4577 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
4578
4579 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4580
4581 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4582 in place (bug#9907).
4583 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4584 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4585 (eshell-structure-basic-command, eshell-rewrite-while-command)
4586 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4587 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4588 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4589 (eshell-do-pipelines-synchronously, eshell-eval-command):
4590 Use backquotes and prefer setq to set.
4591 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4592 (eshell-macrop): Use functionp.
4593 (eshell-do-eval): Handle multiple expressions in `while' body.
4594
4595 2011-10-30 Chong Yidong <cyd@gnu.org>
4596
4597 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4598 instead of set-mark (Bug#9810).
4599
4600 2011-10-30 Chong Yidong <cyd@gnu.org>
4601
4602 * window.el (split-window-below, split-window-right): Rename from
4603 split-window-above-each-other and split-window-side-by-side
4604 respectively. All callers changed.
4605 (split-window-sensibly, split-window-sensibly): Use them.
4606 (split-window-keep-point): Doc fix.
4607
4608 * isearch.el: Add isearch-scroll property to split-window-below
4609 and split-window-right.
4610
4611 * follow.el (follow-mode):
4612 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4613 * progmodes/ada-xref.el (ada-gdb-application):
4614 * emulation/vip.el (vip-buffer-in-two-windows):
4615 * image-dired.el (image-dired-dired-with-window-configuration):
4616 * dired-x.el (dired-do-find-marked-files):
4617 * dired.el (dired-pop-to-buffer):
4618 * bs.el (bs--show-with-configuration):
4619 * vc/emerge.el (emerge-setup-windows):
4620 * textmodes/two-column.el (2C-two-columns):
4621 * textmodes/reftex-toc.el (reftex-toc):
4622 * progmodes/gdb-mi.el (gdb-setup-windows):
4623 * progmodes/fortran.el (fortran-window-create):
4624 * net/newst-treeview.el (newsticker--treeview-window-init):
4625 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4626 * emulation/tpu-edt.el (tpu-gold-map):
4627 * emulation/crisp.el (crisp-mode-map):
4628 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4629
4630 2011-10-29 Chong Yidong <cyd@gnu.org>
4631
4632 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4633
4634 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4635
4636 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4637 forged Ispell output (Bug#7904).
4638
4639 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4640
4641 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4642
4643 * doc-view.el: Avoid ugly errors about not finding nil.
4644 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4645 (doc-view-dvipdf-program, doc-view-unoconv-program)
4646 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4647 Avoid nil or absolute file name as default value.
4648 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4649
4650 2011-10-28 Alan Mackenzie <acm@muc.de>
4651
4652 * progmodes/cc-defs.el (c-version): -> 5.32.2.
4653
4654 2011-10-28 Alan Mackenzie <acm@muc.de>
4655
4656 Amend the handling of c-beginning/end-of-defun in nested declaration
4657 scopes.
4658
4659 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4660 cc-langs.el. Change it to a defcustom.
4661
4662 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4663 cc-vars.el.
4664
4665 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4666 Prevent "class foo : bar" being spuriously recognized as a label.
4667
4668 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
4669 Add parameter `inclusive' (to include enclosing braces in the region).
4670 (c-widen-to-enclosing-decl-scope): New function.
4671 (c-while-widening-to-decl-block): New macro.
4672 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4673 outward for defun boundaries, and correspondingly change symbol
4674 `respect-enclosure' to `go-outward'.
4675 (c-declaration-limits): Change algorithm to report only the "innermost"
4676 defun's boundaries.
4677
4678 2011-10-28 Deniz Dogan <deniz@dogan.se>
4679
4680 * net/rcirc.el (rcirc-mode): Use hard newlines.
4681
4682 2011-10-28 Alan Mackenzie <acm@muc.de>
4683
4684 Amend to indent and fontify macros "which include their own semicolon"
4685 correctly, using the "virtual semicolon" mechanism.
4686
4687 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
4688
4689 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4690 Recode to scan one line at a time rather than having \n and \r
4691 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
4692 (c-forward-label): Amend for virtual semicolons.
4693 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
4694
4695 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4696 of the new C macros.
4697
4698 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
4699 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4700 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
4701 (c-opt-cpp-macro-define): Make into a full language variable.
4702 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4703 AWK Mode (including \n, \r) removed, no longer needed.
4704
4705 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4706 Invoke c-make-macro-with-semi-re.
4707
4708 * progmodes/cc-vars.el (c-macro-with-semi-re):
4709 (c-macro-names-with-semicolon): New variables.
4710 (c-make-macro-with-semi-re): New function.
4711
4712 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4713
4714 * vc/log-edit.el: Fill empty field rather than adding new one.
4715 (log-edit-add-field): New function.
4716 (log-edit-insert-changelog): Use it.
4717
4718 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4719
4720 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4721
4722 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4723
4724 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4725 (gdb--check-interpreter): New function.
4726 (gdb): Use it.
4727
4728 2011-10-27 Glenn Morris <rgm@gnu.org>
4729
4730 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4731 (least-positive-float, least-negative-float)
4732 (least-positive-normalized-float, least-negative-normalized-float)
4733 (float-epsilon, float-negative-epsilon):
4734 Remove unnecessary declarations.
4735
4736 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4737 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4738 (least-positive-float, least-negative-float)
4739 (least-positive-normalized-float, least-negative-normalized-float)
4740 (float-epsilon, float-negative-epsilon): Add doc-strings,
4741 based on those in cl.texi.
4742
4743 * files.el (set-visited-file-name): If the major-mode changed,
4744 reload the local variables. (Bug#9796)
4745
4746 2011-10-27 Chong Yidong <cyd@gnu.org>
4747
4748 * subr.el (change-major-mode-after-body-hook): New hook.
4749 (run-mode-hooks): Run it.
4750
4751 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4752 Use change-major-mode-before-body-hook.
4753
4754 * simple.el (fundamental-mode):
4755 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4756 change introducing fundamental-mode-hook.
4757
4758 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
4759
4760 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
4761
4762 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
4763
4764 * ido.el (ido-file-name-all-completions-1): Do not require
4765 tramp.el explicitly. (Bug#7583)
4766
4767 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4768
4769 * progmodes/octave-mod.el:
4770 * progmodes/octave-inf.el: Update maintainer.
4771
4772 2011-10-26 Chong Yidong <cyd@gnu.org>
4773
4774 * subr.el (with-wrapper-hook): Rewrite doc.
4775
4776 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
4777
4778 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
4779 filenames "/method:foo:". (Bug#9793)
4780
4781 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4782
4783 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4784 (bug#9865).
4785
4786 2011-10-24 Glenn Morris <rgm@gnu.org>
4787
4788 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4789
4790 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
4791
4792 * notifications.el: Add the requirement of a running D-Bus session
4793 bus to the Commentary.
4794
4795 2011-10-24 Juri Linkov <juri@jurta.org>
4796
4797 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4798 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4799 (Bug#9364)
4800
4801 2011-10-24 Juri Linkov <juri@jurta.org>
4802
4803 * info.el (Info-following-node-name-re): Add newline to the list
4804 of allowed characters for leading space. (Bug#9824)
4805
4806 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4807
4808 * progmodes/octave-inf.el (inferior-octave-mode-map):
4809 Fix C-c C-h binding.
4810 * progmodes/octave-mod.el (octave-help): Remove.
4811
4812 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
4813
4814 Sync with Tramp 2.2.3.
4815
4816 * net/tramp-cache.el (top): Pacify byte-compiler using
4817 `init-file-user' and `site-run-file'.
4818
4819 * net/trampver.el: Update release number.
4820
4821 2011-10-23 Chong Yidong <cyd@gnu.org>
4822
4823 * files.el (toggle-read-only): Remove obsolete comment about
4824 version control.
4825
4826 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4827 for toggle-read-only. Note that this hasn't called vc-next-action
4828 since 2008-05-02, though it wasn't documented at the time.
4829
4830 * vc/ediff-init.el (ediff-toggle-read-only-function):
4831 Use toggle-read-only.
4832
4833 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4834
4835 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4836 of c-parse-state.
4837
4838 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4839 correct faulty logical expression.
4840 (c-parse-state-state, c-record-parse-state-state):
4841 (c-replay-parse-state-state): New defvar/defuns.
4842 (c-debug-parse-state): Use new functions.
4843
4844 2011-10-22 Martin Rudalics <rudalics@gmx.at>
4845
4846 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
4847 last fix. Use window-in-direction correctly.
4848
4849 2011-10-21 Chong Yidong <cyd@gnu.org>
4850
4851 * progmodes/idlwave.el (idlwave-mode):
4852 * progmodes/vera-mode.el (vera-mode): No need to set
4853 require-final-newline; that's done in prog-mode.
4854 Suggested by Stefan Monnier.
4855
4856 2011-10-21 Martin Rudalics <rudalics@gmx.at>
4857
4858 * mouse.el (mouse-drag-window-above)
4859 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4860 (mouse-drag-mode-line-1, mouse-drag-header-line)
4861 (mouse-drag-vertical-line-rightward-window): Remove.
4862 (mouse-drag-line): New function.
4863 (mouse-drag-mode-line, mouse-drag-header-line)
4864 (mouse-drag-vertical-line): Call mouse-drag-line.
4865 * window.el (window-at-side-p, windows-at-side): New functions.
4866
4867 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
4868
4869 * tar-mode.el (tar-grind-file-mode):
4870 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4871
4872 2011-10-21 Chong Yidong <cyd@gnu.org>
4873
4874 * progmodes/idlwave.el (idlwave-mode):
4875 * progmodes/vera-mode.el (vera-mode):
4876 Use mode-require-final-newline.
4877
4878 2011-10-20 Glenn Morris <rgm@gnu.org>
4879
4880 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
4881
4882 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4883
4884 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4885
4886 2011-10-20 Chong Yidong <cyd@gnu.org>
4887
4888 * emulation/cua-base.el (cua-mode):
4889 * mail/footnote.el (footnote-mode):
4890 * mail/mailabbrev.el (mail-abbrevs-mode):
4891 * net/xesam.el (xesam-minor-mode):
4892 * progmodes/bug-reference.el (bug-reference-mode):
4893 * progmodes/cap-words.el (capitalized-words-mode):
4894 * progmodes/compile.el (compilation-minor-mode)
4895 (compilation-shell-minor-mode):
4896 * progmodes/gud.el (gud-tooltip-mode):
4897 * progmodes/hideif.el (hide-ifdef-mode):
4898 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4899 * progmodes/subword.el (subword-mode):
4900 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4901 * progmodes/which-func.el (which-function-mode):
4902 * term/tvi970.el (tvi970-set-keypad-mode):
4903 * term/vt100.el (vt100-wide-mode):
4904 * textmodes/flyspell.el (flyspell-mode):
4905 * textmodes/ispell.el (ispell-minor-mode):
4906 * textmodes/nroff-mode.el (nroff-electric-mode):
4907 * textmodes/paragraphs.el (use-hard-newlines):
4908 * textmodes/refill.el (refill-mode):
4909 * textmodes/reftex.el (reftex-mode):
4910 * textmodes/rst.el (rst-minor-mode):
4911 * textmodes/sgml-mode.el (html-autoview-mode)
4912 (sgml-electric-tag-pair-mode):
4913 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4914 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4915 * emulation/crisp.el (crisp-mode):
4916 * emacs-lisp/eldoc.el (eldoc-mode):
4917 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4918 minor mode behavior.
4919
4920 2011-10-19 Juri Linkov <juri@jurta.org>
4921
4922 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4923 the list of hard-coded chars with escape-glyph face.
4924
4925 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4926
4927 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4928
4929 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
4930
4931 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4932 running process.
4933
4934 2011-10-19 Glenn Morris <rgm@gnu.org>
4935
4936 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4937 Ignore ignored files. (Bug#9726)
4938
4939 2011-10-19 Chong Yidong <cyd@gnu.org>
4940
4941 Doc fix for minor modes, stating that an omitted argument enables
4942 the mode unconditionally when called from Lisp.
4943
4944 * abbrev.el (abbrev-mode):
4945 * allout.el (allout-mode):
4946 * autoinsert.el (auto-insert-mode):
4947 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4948 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4949 (global-auto-revert-mode):
4950 * battery.el (display-battery-mode):
4951 * composite.el (global-auto-composition-mode)
4952 (auto-composition-mode):
4953 * delsel.el (delete-selection-mode):
4954 * desktop.el (desktop-save-mode):
4955 * dired-x.el (dired-omit-mode):
4956 * dirtrack.el (dirtrack-mode):
4957 * doc-view.el (doc-view-minor-mode):
4958 * double.el (double-mode):
4959 * electric.el (electric-indent-mode, electric-pair-mode):
4960 * emacs-lock.el (emacs-lock-mode):
4961 * epa-hook.el (auto-encryption-mode):
4962 * follow.el (follow-mode):
4963 * font-core.el (font-lock-mode):
4964 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4965 * help.el (temp-buffer-resize-mode):
4966 * hilit-chg.el (highlight-changes-mode)
4967 (highlight-changes-visible-mode):
4968 * hi-lock.el (hi-lock-mode):
4969 * hl-line.el (hl-line-mode, global-hl-line-mode):
4970 * icomplete.el (icomplete-mode):
4971 * ido.el (ido-everywhere):
4972 * image-file.el (auto-image-file-mode):
4973 * image-mode.el (image-minor-mode):
4974 * iswitchb.el (iswitchb-mode):
4975 * jka-cmpr-hook.el (auto-compression-mode):
4976 * linum.el (linum-mode):
4977 * longlines.el (longlines-mode):
4978 * master.el (master-mode):
4979 * mb-depth.el (minibuffer-depth-indicate-mode):
4980 * menu-bar.el (menu-bar-mode):
4981 * minibuf-eldef.el (minibuffer-electric-default-mode):
4982 * mouse-sel.el (mouse-sel-mode):
4983 * msb.el (msb-mode):
4984 * mwheel.el (mouse-wheel-mode):
4985 * outline.el (outline-minor-mode):
4986 * paren.el (show-paren-mode):
4987 * recentf.el (recentf-mode):
4988 * reveal.el (reveal-mode, global-reveal-mode):
4989 * rfn-eshadow.el (file-name-shadow-mode):
4990 * ruler-mode.el (ruler-mode):
4991 * savehist.el (savehist-mode):
4992 * scroll-all.el (scroll-all-mode):
4993 * scroll-bar.el (scroll-bar-mode):
4994 * server.el (server-mode):
4995 * shell.el (shell-dirtrack-mode):
4996 * simple.el (auto-fill-mode, transient-mark-mode)
4997 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4998 (line-number-mode, column-number-mode, size-indication-mode)
4999 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5000 * strokes.el (strokes-mode):
5001 * time.el (display-time-mode):
5002 * t-mouse.el (gpm-mouse-mode):
5003 * tool-bar.el (tool-bar-mode):
5004 * tooltip.el (tooltip-mode):
5005 * type-break.el (type-break-mode-line-message-mode)
5006 (type-break-query-mode):
5007 * view.el (view-mode):
5008 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5009 (global-whitespace-mode, global-whitespace-newline-mode):
5010 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5011
5012 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5013 Fix autogenerated docstring.
5014
5015 2011-10-19 Juri Linkov <juri@jurta.org>
5016
5017 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5018 by checking environment variables "DESKTOP_SESSION" and
5019 "XDG_CURRENT_DESKTOP". (Bug#9779)
5020
5021 2011-10-19 Juri Linkov <juri@jurta.org>
5022
5023 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5024 (browse-url-chromium-program, browse-url-chromium-arguments):
5025 New defcustoms.
5026 (browse-url-default-browser): Check for `browse-url-chromium' and
5027 call `browse-url-chromium-program'.
5028 (browse-url-chromium): New command. (Bug#9779)
5029
5030 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
5031
5032 * facemenu.el (list-colors-duplicates): On Windows, detect more
5033 duplicates by assuming that only colors matching "^System" are
5034 special "system colors". (Bug#9722)
5035
5036 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5037
5038 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5039 to distinguish the author from the committer.
5040
5041 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
5042
5043 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5044
5045 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5046
5047 * international/mule.el (sgml-html-meta-auto-coding-function):
5048 Add support for detecting encoding in HTML5 specified only as
5049 <meta charset="UTF-8">. Implementation just makes http-equiv and
5050 content-type parts from HTML4 encoding string optional. (Bug#9716)
5051
5052 2011-10-18 Glenn Morris <rgm@gnu.org>
5053
5054 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5055
5056 2011-10-18 Chong Yidong <cyd@gnu.org>
5057
5058 * faces.el (cursor): Doc fix.
5059
5060 2011-10-17 Chong Yidong <cyd@gnu.org>
5061
5062 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5063
5064 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
5065
5066 * dirtrack.el (dirtrack): Support shell buffers with path
5067 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5068
5069 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5070
5071 * json.el: Bump version to 1.3 and note change in History.
5072 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5073
5074 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5075
5076 * comint.el (comint-insert-input, comint-send-input)
5077 (comint-get-old-input-default, comint-backward-matching-input)
5078 (comint-next-prompt): Use nil instead of `input' for field property of
5079 past user input (bug#114).
5080
5081 * minibuffer.el (completion--replace): Inherit surrounding properties
5082 (bug#114).
5083 (minibuffer-complete-and-exit): Use it.
5084
5085 * comint.el (comint--table-subvert): Quote the all-completions output
5086 (bug#9160).
5087
5088 2011-10-17 Martin Rudalics <rudalics@gmx.at>
5089
5090 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
5091
5092 * menu-bar.el (menu-bar-file-menu): Add entry for making new
5093 window on right of selected. (Bug#9350) Reword other window
5094 entries and separate them from frame entries.
5095
5096 2011-10-15 Glenn Morris <rgm@gnu.org>
5097
5098 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5099 Doc fixes.
5100
5101 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
5102
5103 * net/network-stream.el (network-stream-open-starttls):
5104 Improve detection of failure due to lack of TLS support.
5105
5106 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5107 putting the input text in front and in bold.
5108
5109 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5110
5111 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5112
5113 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5114 empty buffer.
5115
5116 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5117 unread-command-events rather than pushing yet-another event.
5118
5119 2011-10-14 Eli Zaretskii <eliz@gnu.org>
5120
5121 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5122 the explanation of the possible choices. Make the options passed
5123 to completing-read shorter.
5124
5125 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5126
5127 * textmodes/flyspell.el (flyspell-large-region): Make sure
5128 extended character mode is used if defined (Bug#1339).
5129
5130 2011-10-13 Eli Zaretskii <eliz@gnu.org>
5131
5132 * simple.el (what-cursor-position): Fix the display of the
5133 character info for LRE, LRO, RLE, and RLO characters by appending
5134 an invisible PDF.
5135
5136 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5137
5138 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5139 even in case of error; add debug spec; simplify data flow.
5140 (with-timeout-handler): Remove.
5141
5142 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
5143
5144 Fix Bug#6019, Bug#9315.
5145
5146 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5147 complete `buffer-file-name', the local file name part could look
5148 remotely (for example on VMS).
5149
5150 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5151 `tramp-run-real-handler'.
5152 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5153 already quoted by '"'.
5154
5155 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5156 Let `file-name-handler-alist' be nil, the local file name part
5157 could look remotely (for example on VMS).
5158
5159 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5160
5161 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5162 from here...
5163 (flyspell-post-command-hook): ...to here.
5164
5165 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5166
5167 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5168 if not needed.
5169 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5170 using completion. Protect against "slow" callers.
5171 Remove the "message hack".
5172
5173 2011-10-11 Juri Linkov <juri@jurta.org>
5174
5175 * isearch.el (isearch-lazy-highlight-word): New variable.
5176 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5177 Use it. (Bug#9727)
5178
5179 2011-10-11 Glenn Morris <rgm@gnu.org>
5180
5181 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5182 like f90-previous-statement does.
5183
5184 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5185
5186 * eshell/eshell.el (eshell-command): History should be saved
5187 only in interactive use, to avoid error.
5188
5189 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5190
5191 * minibuffer.el (completion-file-name-table): Fix last change,
5192 i.e. ignore normal errors but not the other ones.
5193
5194 2011-10-10 Martin Rudalics <rudalics@gmx.at>
5195
5196 * window.el (special-display-buffer-names)
5197 (special-display-regexps): Remove some remnants of earlier
5198 changes from doc-strings.
5199 (quit-windows-on): New function.
5200
5201 * vc/vc.el (vc-revert, vc-rollback):
5202 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5203 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
5204 (Bug#6183) (Bug#7074) (Bug#7447)
5205
5206 2011-10-09 Martin Rudalics <rudalics@gmx.at>
5207
5208 * window.el (frame-auto-hide-function): Add version tag.
5209 (Bug#9699)
5210
5211 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
5212
5213 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5214 condition.
5215
5216 2011-10-09 Leo Liu <sdl.web@gmail.com>
5217
5218 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5219 (Bug#9701)
5220
5221 2011-10-08 Glenn Morris <rgm@gnu.org>
5222
5223 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5224 before the first code statement zero indent. (Bug#9690)
5225
5226 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
5227
5228 * simple.el (count-words-region): Always count in the region.
5229 Report the number of lines and characters too.
5230 (count-words): New command, which counts in the buffer if the
5231 region is inactive, as count-words-region used to.
5232 (count-words--message): New function. Handle plurals.
5233 (count-lines-region): Make it an alias for count-words-region.
5234
5235 * bindings.el (esc-map): Replace count-lines-region with
5236 count-words-region.
5237
5238 2011-10-08 Martin Rudalics <rudalics@gmx.at>
5239
5240 * window.el (window--delete): Delete dedicated frame
5241 unconditionally when argument KILL is non-nil. (Bug#9699)
5242 (switch-to-buffer): Fix doc-string typo.
5243
5244 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5245
5246 * eshell/eshell.el (eshell-command): Avoid using hooks.
5247
5248 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
5249
5250 * bindings.el ([M-left],[M-right]): Bind to left-word and
5251 right-word respectively.
5252
5253 2011-10-07 Glenn Morris <rgm@gnu.org>
5254
5255 * cus-start.el (debug-on-quit): Fix custom type.
5256
5257 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5258
5259 * subr.el (define-key-after): Clarify that the function is not
5260 useful for non-menu keymaps.
5261
5262 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5263
5264 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5265
5266 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
5267 in current minibuffer (Fix bug with recursive minibuffers).
5268
5269 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
5270
5271 * progmodes/gdb-mi.el (gdb): Doc fix.
5272
5273 2011-10-05 Martin Rudalics <rudalics@gmx.at>
5274
5275 * window.el (frame-auto-hide-function): New option replacing
5276 frame-auto-delete. Suggested by Stefan Monnier.
5277 (window--delete): Call frame-auto-hide-function instead of
5278 investigating frame-auto-delete.
5279 (window-point-1, set-window-point-1): New functions.
5280 (window-in-direction, record-window-buffer, window-state-get-1)
5281 (display-buffer-record-window): Use window-point-1 instead of
5282 window-point.
5283 (set-window-buffer-start-and-point): Use set-window-point-1.
5284
5285 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5286
5287 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5288
5289 2011-10-05 Glenn Morris <rgm@gnu.org>
5290
5291 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5292 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5293
5294 2011-10-05 Leo Liu <sdl.web@gmail.com>
5295
5296 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5297 works with buffer object.
5298
5299 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5300
5301 * mpc.el (mpc-tool-bar-map): Add labels.
5302
5303 2011-10-04 Glenn Morris <rgm@gnu.org>
5304
5305 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5306
5307 2011-10-04 Martin Rudalics <rudalics@gmx.at>
5308
5309 * window.el (window--delete): New function.
5310 (frame-auto-delete): Resuscitate option.
5311 (bury-buffer, replace-buffer-in-windows)
5312 (quit-window): Rewrite using window--delete.
5313 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5314 Pass display-buffer-mark-dedicated to window--display-buffer-2
5315 (Bug#9639).
5316
5317 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5318
5319 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5320 returns a list (bug#9554). Add remote file name completion.
5321 * comint.el (comint--table-subvert): Curry and get quote&unquote
5322 functions as arguments.
5323 (comint--complete-file-name-data): Adjust call accordingly.
5324 * pcomplete.el (pcomplete--table-subvert): Remove.
5325 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5326
5327 * minibuffer.el (completion-table-case-fold): Use currying.
5328 (completion--styles-type, completion--cycling-threshold-type):
5329 New constants.
5330 (completion-styles, completion-category-overrides)
5331 (completion-cycle-threshold): Use them.
5332 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5333 completion-table-case-fold.
5334
5335 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
5336
5337 * minibuffer.el (completion-category-overrides): Fix type of styles
5338 and add more user friendly tags (bug#9660).
5339
5340 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5341
5342 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5343 (mule-input-method-string): New widget.
5344 (default-input-method, language-info-custom-alist): Use it.
5345
5346 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5347
5348 * pcomplete.el: Require comint.
5349 (pcomplete--common-suffix): Remove.
5350 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5351 (pcomplete--table-subvert): Sync with comint--table-subvert.
5352 (pcomplete--entries): Use comint-completion-file-name-table.
5353 * comint.el (comint-unquote-filename): Simplify.
5354 (comint-completion-file-name-table): New function (bug#9616).
5355 (comint--complete-file-name-data): Use it.
5356
5357 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5358 (pcmpl-gnu-tar-buffer): Remove.
5359 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
5360 around. Make sure pcomplete-suffix-list is only changed temporarily.
5361 Don't look inside the tar's file if it's too large.
5362
5363 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
5364
5365 * cus-edit.el (custom-mode-map):
5366 * epa.el (epa-key-list-mode-map):
5367 * man.el (Man-mode-map):
5368 * startup.el (splash-screen-keymap):
5369 * simple.el (special-mode-map): Use scroll-up-command and
5370 scroll-down-command.
5371
5372 * progmodes/idlw-help.el (idlwave-help-mode-map):
5373 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5374 * net/newst-plainview.el (newsticker-mode-map):
5375 * emulation/ws-mode.el (wordstar-mode-map):
5376 * emulation/vi.el (vi-com-map):
5377 * calc/calc-graph.el (calc-graph-show-dumb):
5378 * term/sun.el (terminal-init-sun):
5379 * term/ns-win.el (global-map):
5380 * progmodes/grep.el (grep-mode-map):
5381 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5382 * mail/rmail.el (rmail-mode-map):
5383 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5384
5385 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5386 custom-safe-themes as special.
5387
5388 2011-10-01 Julien Danjou <julien@danjou.info>
5389
5390 * notifications.el (notifications-notify): Fix docstring.
5391
5392 2011-10-01 Per Starbäck <per@starback.se>
5393
5394 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5395
5396 2011-09-30 Martin Rudalics <rudalics@gmx.at>
5397
5398 * startup.el (command-line-1): Fix last fix by inserting
5399 initial-scratch-message into *scratch* before displaying it.
5400 (Bug#9605) and (Bug#9636)
5401
5402 2011-09-29 Eli Zaretskii <eliz@gnu.org>
5403
5404 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5405 window is hscrolled, move by logical lines. (Bug#9607)
5406 (line-move-visual): Update the doc string to the above effect.
5407
5408 2011-09-29 Martin Rudalics <rudalics@gmx.at>
5409
5410 * window.el (display-buffer-record-window): When WINDOW is the
5411 selected window use `point' instead of `window-point'. (Bug#9626)
5412
5413 * startup.el (command-line-1): Use insert-before-markers when
5414 inserting initial-scratch-message. (Bug#9605)
5415
5416 * help.el (help-window): Remove variable.
5417
5418 2011-09-29 Glenn Morris <rgm@gnu.org>
5419
5420 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5421
5422 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
5423
5424 * descr-text.el (describe-char-categories): Accept category
5425 descriptions more than one line long.
5426
5427 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5428
5429 * simple.el (delete-trailing-whitespace): Fix last change.
5430
5431 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5432 Don't confuse "y => 3" as the beginning of a `y' operation.
5433
5434 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5435 object has more than 4 slots (bug#9613).
5436
5437 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
5438
5439 * subr.el (with-output-to-temp-buffer):
5440 * net/quickurl.el (quickurl, quickurl-browse-url):
5441 Fix typos in docstrings.
5442
5443 2011-09-27 Eli Zaretskii <eliz@gnu.org>
5444
5445 * minibuffer.el (completion-styles)
5446 (completion-category-overrides): Cross reference each other in doc
5447 strings.
5448
5449 2011-09-27 Glenn Morris <rgm@gnu.org>
5450
5451 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5452 to split-string. (Bug#9606)
5453
5454 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5455
5456 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5457 (bug#9615).
5458
5459 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
5460
5461 * emacs-lisp/package.el (list-packages): Fix echo area message.
5462
5463 2011-09-27 Leo Liu <sdl.web@gmail.com>
5464
5465 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5466
5467 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
5468
5469 * net/dbus.el (dbus-unregister-object): Don't release services for
5470 registered signals. (Bug#9581)
5471
5472 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5473
5474 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5475 function that picks between cfengine 2 and 3 support
5476 automatically. Update docs accordingly.
5477
5478 2011-09-22 Kenichi Handa <handa@m17n.org>
5479
5480 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5481 ZERO.
5482 (indian-itrans-v5-table-for-tamil): New variable.
5483 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5484
5485 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5486
5487 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5488 that's true if the current command involved collapsing of text.
5489 It's reset to false at the beginning of the next command.
5490 (allout-post-command-business): Move the cursor to the beginning
5491 of entry if the cursor is hidden and collapsing activity just
5492 happened.
5493
5494 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
5495
5496 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5497 tracking (Bug#9541).
5498
5499 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
5500
5501 * net/newst-reader.el (newsticker-html-renderer)
5502 (newsticker-show-news): Automatically load html rendering package
5503 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5504 because w3m-fill-column is let-bound" and the error "Symbol's value
5505 as variable is void: w3m-fill-column".
5506
5507 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
5508
5509 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5510 Release services only if they are defined. (Bug#9581)
5511
5512 2011-09-23 Richard Stallman <rms@gnu.org>
5513
5514 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5515 distinguish start of paragraph from start of its text.
5516
5517 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5518
5519 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5520 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5521 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5522
5523 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5524
5525 * international/mule-diag.el (mule-diag): Insert a newline after
5526 each fontset description.
5527
5528 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5529
5530 * simple.el (delete-trailing-whitespace):
5531 Document last change; simplify.
5532
5533 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5534
5535 * simple.el (delete-trailing-whitespace): Also delete
5536 extra newlines at the end of the buffer.
5537
5538 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5539 (picture-newline): Use forward-line so as to ignore fields.
5540
5541 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5542
5543 * subr.el (with-wrapper-hook): Fix edebug spec.
5544
5545 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5546
5547 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5548 (bug#4538).
5549
5550 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
5551
5552 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5553 Fix nasty bug using wrong cached values.
5554
5555 2011-09-23 Alan Mackenzie <acm@muc.de>
5556
5557 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5558
5559 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
5560
5561 * window.el (pop-to-buffer): Ensure right window is selected if we
5562 chose another frame.
5563
5564 2011-09-22 Eli Zaretskii <eliz@gnu.org>
5565
5566 * simple.el (what-cursor-position): Use get-char-property-change
5567 and next-single-char-property-change, to be able to show display
5568 properties that come from overlays as well as text properties.
5569
5570 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
5571
5572 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5573
5574 * cmuscheme.el (run-scheme, switch-to-scheme):
5575 * cus-edit.el (customize-group, custom-buffer-create)
5576 (customize-browse):
5577 * info.el (info):
5578 * shell.el (shell):
5579 * mail/sendmail.el (mail):
5580 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5581
5582 2011-09-22 Richard Stallman <rms@gnu.org>
5583
5584 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5585 move back only to line beg, don't move back over blank lines.
5586
5587 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
5588
5589 * files.el (copy-directory): Set directory attributes only in case
5590 they could be retrieved from the source directory. (Bug#9565)
5591
5592 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5593
5594 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5595 (hs-find-block-beginning, hs-hide-level-recursive):
5596 Ignore strings as well as comments. (Bug#9502)
5597
5598 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5599
5600 * progmodes/sql.el (sql-comint-postgres):
5601 Convert port number to a string. (Bug#9566)
5602
5603 2011-09-22 Martin Rudalics <rudalics@gmx.at>
5604
5605 * window.el (quit-window): Undedicate window when switching to
5606 previous buffer. Reported by Thierry Volpiatto
5607 <thierry.volpiatto@gmail.com>.
5608 (special-display-popup-frame): When popping up a new frame reset
5609 its previous buffers to nil. Simplify code.
5610
5611 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
5612
5613 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5614 and process filter, as done also in `shell-command'.
5615
5616 2011-09-21 Martin Rudalics <rudalics@gmx.at>
5617
5618 * window.el (set-window-buffer-start-and-point):
5619 Call set-window-start with NOFORCE argument t.
5620 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5621 (quit-window): Reword doc-string. Handle new format of
5622 quit-restore parameter. Don't delete window if it has a
5623 previous buffer we can show instead of the present one.
5624 (display-buffer-record-window): Rewrite using a new format for
5625 the quit-restore window parameter
5626 (special-display-popup-frame, display-buffer-same-window)
5627 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5628 (display-buffer-pop-up-window, display-buffer-use-some-window):
5629 Adapt symbol passed to display-buffer-record-window.
5630 * help.el (help-window-setup): Handle new format of quit-restore
5631 parameter.
5632
5633 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5634
5635 * faces.el (face-list): Fix docstring (bug#9564).
5636
5637 * window.el (display-buffer--action-function-custom-type):
5638 Don't include internal functions in the Custom interface.
5639
5640 2011-09-20 Juri Linkov <juri@jurta.org>
5641
5642 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5643 (Info-forward-node, Info-backward-node, Info-next-preorder)
5644 (Info-last-preorder): Use it. (Bug#9528)
5645
5646 2011-09-20 Juri Linkov <juri@jurta.org>
5647
5648 * info.el (Info-last-preorder): Visit last menu item only when
5649 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5650
5651 2011-09-20 Julien Danjou <julien@danjou.info>
5652
5653 * password-cache.el (password-cache-remove): Remove entries even if the
5654 value is nil, so that password with a nil value (negative caching) is
5655 possible to invalidate.
5656
5657 2011-09-20 Lawrence Mitchell <wence@gmx.li>
5658
5659 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5660 all whitespace around breakpoint. (Bug#9553)
5661 (f90-find-breakpoint): Only break at whitespace inside a comment.
5662
5663 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5664
5665 * minibuffer.el (completion-file-name-table): Keep track of errors.
5666 (completion-table-with-predicate): Handle the case where pred1 is nil.
5667 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5668
5669 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5670
5671 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5672 (debugger-return-value): Signal an error if the debugging context does
5673 not await any return value.
5674
5675 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5676 * image-mode.el (image-toggle-display-text)
5677 (image-toggle-display-image): Stay away from evil `intangible'.
5678
5679 2011-09-19 Leo Liu <sdl.web@gmail.com>
5680
5681 * replace.el (occur-revert-arguments): Make it permanent-local.
5682 (occur-mode): Don't call font-lock-defontify.
5683
5684 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
5685
5686 * net/ldap.el (ldap-search-internal): Don't push empty search
5687 result (Bug#9508).
5688
5689 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5690
5691 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5692
5693 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
5694
5695 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5696 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5697
5698 2011-09-18 Juri Linkov <juri@jurta.org>
5699
5700 * buff-menu.el (Buffer-menu-mode-map):
5701 * dired.el (dired-mode-map):
5702 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5703 (lisp-interaction-mode-map):
5704 * emacs-lisp/package.el (package-menu-mode-map):
5705 * epa.el (epa-key-list-mode-map):
5706 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5707 (menu-bar-options-menu):
5708 * outline.el (outline-mode-menu-bar-map):
5709 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5710 * vc/vc-dir.el (vc-dir-menu-map):
5711 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5712 Capitalize non-function content words in menu item strings.
5713
5714 * dired.el (dired-mode-map): Add menu item for
5715 `image-dired-dired-toggle-marked-thumbs'.
5716
5717 2011-09-18 Juri Linkov <juri@jurta.org>
5718
5719 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5720 to `isearch-case-fold-search' and restore its original value
5721 after the `isearch-mode' call.
5722
5723 2011-09-18 Juri Linkov <juri@jurta.org>
5724
5725 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5726 because `zgrep' returns 1 for successful matches (bug#9226).
5727
5728 2011-09-18 Juri Linkov <juri@jurta.org>
5729
5730 * info.el (Info-extract-menu-node-name): Check the second match
5731 for empty string (second test-case of bug#9528).
5732 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5733 intermediate nodes to the history (first test-case of bug#9528).
5734
5735 2011-09-18 Juri Linkov <juri@jurta.org>
5736
5737 * info.el (Info-mode-syntax-table): New variable.
5738 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
5739
5740 2011-09-18 Juri Linkov <juri@jurta.org>
5741
5742 * info.el (Info-file-supports-index-cookies):
5743 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5744 outputs one more line for long file names (bug#4142).
5745
5746 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
5747
5748 * newcomment.el (comment-normalize-vars): If prompting for
5749 comment-start, set comment-start-skip too (Bug#8424).
5750
5751 2011-09-18 Johan Bockgård <bojohan@gnu.org>
5752
5753 * icomplete.el: Fix previous fix of Bug#5849.
5754 (icomplete-mode): Don't set completion-show-inline-help.
5755 (icomplete-minibuffer-setup): Set completion-show-inline-help
5756 locally during icompletion.
5757
5758 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
5759
5760 * woman.el (woman2-process-escapes): Don't delete unrecognized
5761 escapes (Bug#7843).
5762
5763 * files.el (inhibit-first-line-modes-regexps): Add image files.
5764 (hack-local-variables-prop-line): Return nil for malformed
5765 prop-lines (Bug#9044).
5766
5767 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
5768
5769 * net/tramp.el (top): Don't require 'shell.
5770 (tramp-methods): Fix docstring.
5771 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
5772 Return complete remote file name. Handle "smb" case.
5773 Use `tramp-tmpdir', if defined for the respective method.
5774 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5775
5776 * net/tramp-compat.el (top): Require 'shell.
5777
5778 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5779 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5780 `tramp-current-host'.
5781 (tramp-get-remote-tmpdir): Remove.
5782
5783 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5784 `tramp-tmpdir' entries.
5785 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5786 (tramp-smb-handle-file-attributes): Ignore errors.
5787 (tramp-smb-wait-for-output): Check also for process end.
5788
5789 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5790
5791 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5792 when sending QUIT (bug#9312).
5793
5794 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
5795
5796 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5797 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5798 occur-mode-display-occurrence.
5799 (occur-edit-mode): Add usage message.
5800 (occur-cease-edit): New command.
5801 (occur-after-change-function): Use text properties to find the
5802 position of the prefix text.
5803 (occur-engine): Set stickiness of prefix text properties.
5804
5805 2011-09-17 Glenn Morris <rgm@gnu.org>
5806
5807 * progmodes/etags.el (complete-tag):
5808 Fix call to completion-in-region. (Bug#9526)
5809
5810 2011-09-17 Juri Linkov <juri@jurta.org>
5811
5812 * textmodes/ispell.el (ispell-word): Add to the error message
5813 the word, ispell program name and current dictionary (bug#9121).
5814 (ispell-tex-arg-end): Capitalize "error" in the error message.
5815
5816 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5817
5818 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5819 check. (Bug#4251)
5820
5821 2011-09-17 Juri Linkov <juri@jurta.org>
5822
5823 * window.el (window-safe-min-height, window-safe-min-width):
5824 Fix typos (followup to bug#9522).
5825
5826 2011-09-17 Sven Joachim <svenjoac@gmx.de>
5827
5828 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5829
5830 2011-09-16 Eli Zaretskii <eliz@gnu.org>
5831
5832 * simple.el (line-move): If goal-column is set, move by logical
5833 lines, not by display lines. (Bug#971)
5834 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5835 to reflect the above change.
5836
5837 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5838
5839 * image.el (imagemagick-register-types): Use regexp-opt.
5840
5841 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
5842
5843 * window.el (display-buffer-base-action): Rename from
5844 display-buffer-default-action. Make default value empty.
5845 (display-buffer-overriding-action): Convert to defvar.
5846 (display-buffer-fallback-action): New var.
5847
5848 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
5849
5850 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5851 declaration.
5852 (package--add-to-archive-contents): If there is a duplicate entry
5853 with an older version, remove it.
5854 (package-menu-mark-delete, package-menu-mark-install)
5855 (package-menu-mark-unmark): Make unused args optional.
5856 (package-menu-mark-obsolete-for-deletion):
5857 Use package-menu-get-status instead of a regexp search.
5858 (package-menu-get-status): Use tabulated-list-entry.
5859 (package-menu-mark-upgrades): New command.
5860 (package-menu-mode-map): Bind it to U. Add it to menu bar.
5861 (package-menu-execute): Do installation before deletion.
5862 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5863 instead of checking major-mode.
5864 (package-menu--find-upgrades): New function.
5865
5866 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5867
5868 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5869 passwords in the log buffer.
5870 (smtpmail-process-filter): Update the process marker so that the
5871 "broken by peer" status message is inserted in the right place.
5872
5873 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5874
5875 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5876 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5877 bibtex-completion-at-point-function.
5878 (bibtex-completion-at-point-function): Use them.
5879
5880 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5881
5882 * mpc.el (mpc-constraints-tag-lookup): New function.
5883 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5884 also to browser "album|playlist".
5885
5886 2011-09-14 Juri Linkov <juri@jurta.org>
5887
5888 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5889 (isearch-edit-string): Use length of `isearch-string' when
5890 `isearch-fail-pos' returns nil.
5891 (isearch-message): Remove duplicate code and call
5892 `isearch-fail-pos' with arg `t'.
5893
5894 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
5895
5896 * replace.el (occur-mode-goto-occurrence): Don't force using other
5897 window (Bug#9499).
5898
5899 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5900
5901 2011-09-14 Martin Rudalics <rudalics@gmx.at>
5902
5903 * window.el (display-buffer-window): Remove.
5904 (display-buffer-record-window): Use help-setup window parameter
5905 instead of variable display-buffer-window.
5906 (display-buffer-function, special-display-buffer-names)
5907 (special-display-function): Mention help-setup parameter instead
5908 of display-buffer-window in doc-string.
5909 * help.el (help-window-setup): New argument help-window.
5910 Use help-window-setup parameter instead of display-buffer-window.
5911 Reword some messages.
5912 (with-help-window): Pass window used for displaying the buffer
5913 to help-window-setup. Don't set display-buffer-window.
5914
5915 2011-09-13 Glenn Morris <rgm@gnu.org>
5916
5917 * emacs-lisp/debug.el (debugger-make-xrefs):
5918 Preserve point. (Bug#9462)
5919
5920 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
5921
5922 * window.el (window-deletable-p): Use next-frame.
5923
5924 2011-09-13 Martin Rudalics <rudalics@gmx.at>
5925
5926 * window.el (window-auto-delete): Remove.
5927 (window-deletable-p): Remove argument FORCE. Don't deal with
5928 dedication and previous buffers.
5929 (switch-to-prev-buffer): Don't delete window.
5930 (delete-windows-on): Delete a window's frame if and only if the
5931 window is dedicated.
5932 (replace-buffer-in-windows): Delete buffer's window or frame if
5933 and only if window is dedicated.
5934 (quit-window): Handle quit-restore as before last change.
5935 (bury-buffer): Delete window only if window-deletable-p returns t.
5936
5937 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
5938
5939 * window.el (window-deletable-p): Never delete the last frame on a
5940 given terminal.
5941
5942 2011-09-13 Glenn Morris <rgm@gnu.org>
5943
5944 * help.el (describe-key-briefly): Copy previous standard-output change.
5945
5946 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
5947
5948 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5949
5950 2011-09-13 Glenn Morris <rgm@gnu.org>
5951
5952 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5953 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5954
5955 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
5956
5957 * dired-aux.el (dired-mark-read-string): Don't return default
5958 value on empty input (Bug#9361).
5959 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5960 Omit initial minibuffer contents.
5961 (dired-do-chmod): Signal an error on empty input.
5962 (dired-mark-read-string): Don't return default on empty input.
5963
5964 * files.el (file-modes-symbolic-to-number): Doc fix.
5965
5966 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5967
5968 * international/mule-cmds.el (ucs-completions): Remove.
5969 (read-char-by-name): Use complete-with-action instead; add metadata.
5970
5971 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
5972
5973 * window.el (display-buffer--action-function-custom-type)
5974 (display-buffer--action-custom-type): New vars.
5975 (display-buffer-alist, display-buffer-default-action)
5976 (display-buffer-overriding-action): Add defcustom types.
5977
5978 * frame.el (delete-other-frames): Doc fix (Bug#276).
5979
5980 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5981
5982 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5983
5984 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
5985
5986 Change modes that used same-window-* vars to use switch-to-buffer.
5987
5988 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5989 Use switch-to-buffer.
5990
5991 * cus-edit.el (customize-group, custom-buffer-create)
5992 (customize-browse, custom-buffer-create-other-window):
5993 Use switch-to-buffer or switch-to-buffer-other-window.
5994
5995 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5996 (Info-prev, Info-up, Info-speedbar-goto-node)
5997 (info-display-manual): Use switch-to-buffer.
5998 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5999
6000 * mail/sendmail.el (mail): Use switch-to-buffer.
6001 (mail-recover): Use switch-to-buffer-other-window.
6002
6003 * cmuscheme.el (run-scheme, switch-to-scheme):
6004 * ielm.el (ielm):
6005 * shell.el (shell):
6006 * net/rlogin.el (rlogin):
6007 * net/telnet.el (telnet, rsh):
6008 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6009
6010 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6011
6012 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6013
6014 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6015
6016 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6017 so don't mention it (bug#9301).
6018 (dired-sort-toggle-or-edit): Clarify string further.
6019
6020 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6021 match `x', `w32' and `ns', like the manual says (bug#9029).
6022
6023 * subr.el (eval-after-load): Doc string clarification (bug#9125).
6024 (process-kill-buffer-query-function): Mention the buffer name in
6025 the query.
6026
6027 * image-mode.el (image-next-line): The line parameter is mandatory
6028 (bug#9258).
6029
6030 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6031 which can be useful (bug#9301).
6032
6033 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6034
6035 * subr.el (match-string): Mention that the current buffer should
6036 be the same as the search was done in (bug#9282).
6037
6038 * facemenu.el: Disable the remove-* commands if the mark isn't
6039 active (bug#9162).
6040
6041 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6042
6043 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6044 of display-buffer.
6045 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6046
6047 * replace.el (occur-mode-goto-occurrence)
6048 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6049 and display-buffer.
6050
6051 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6052 display-buffer.
6053
6054 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6055 special-display and same-window variables.
6056 (mail-other-window): Use switch-to-buffer-other-window.
6057 (mail-other-frame): USe switch-to-buffer-other-frame.
6058
6059 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6060 Use display-buffer-other-frame.
6061 (gdb-display-gdb-buffer): Use pop-to-buffer.
6062
6063 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6064
6065 * progmodes/python.el: Don't set same-window-buffer-names.
6066
6067 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6068
6069 * window.el (display-buffer-alist): Add *Python*.
6070
6071 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6072
6073 * window.el (display-buffer-alist): Add entry for buffers
6074 previously handled same-window-*.
6075 (display-buffer-alist, display-buffer-default-action)
6076 (display-buffer-overriding-action): Mark as risky.
6077 (display-buffer-alist): Document action function changes.
6078 (display-buffer--same-window-action)
6079 (display-buffer--other-frame-action): New variables.
6080 (switch-to-buffer, display-buffer-other-frame): Use them.
6081 (display-buffer): Rename reuse-frame entry to reusable-frames.
6082 (display-buffer-reuse-selected-window): Function deleted.
6083 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6084 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6085 (display-buffer-special): New function.
6086 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6087 display-buffer-reuse-or-pop-window. Split off special-display
6088 part into display-buffer-special.
6089 (display-buffer-use-some-window): Don't perform any special
6090 pop-up-frames handling.
6091 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
6092 (display-buffer--maybe-same-window): Rename from
6093 display-buffer-maybe-same-window.
6094
6095 * info.el: Don't set same-window-regexps.
6096 (info-setup): New function.
6097 (info-other-window, info): Call it.
6098
6099 * cus-edit.el: Don't set same-window-regexps.
6100 (customize-group): New argument.
6101 (customize-group-other-window): Use it.
6102 (customize-face, customize-face-other-window): Likewise.
6103 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6104
6105 * net/rlogin.el:
6106 * net/telnet.el:
6107 * progmodes/gud.el: Don't set same-window-regexps.
6108
6109 * cmuscheme.el:
6110 * ielm.el:
6111 * shell.el:
6112 * mail/sendmail.el:
6113 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6114
6115 2011-09-10 Juri Linkov <juri@jurta.org>
6116
6117 * isearch.el (isearch-edit-string): Remove obsolete mention of
6118 `C-w' (`isearch-yank-word-or-char') from docstring.
6119 (isearch-query-replace): Fix typo in docstring (bug#9466).
6120
6121 2011-09-10 Juri Linkov <juri@jurta.org>
6122
6123 * paren.el (show-paren-function): Don't show escaped parens.
6124 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6125
6126 2011-09-10 Eli Zaretskii <eliz@gnu.org>
6127
6128 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6129 (mm-default-file-encoding): Remove autoload forms, they are
6130 replaced with autoload cookies in mml.el and mm-encode.el.
6131 (mail-add-attachment): New command.
6132 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6133 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6134 the doc string.
6135 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6136
6137 2011-09-10 Reuben Thomas <rrt@sc3d.org>
6138
6139 * simple.el (count-words-region): Use buffer if there's no region
6140 (bug#9429).
6141
6142 2011-09-09 Juri Linkov <juri@jurta.org>
6143
6144 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6145 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6146 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6147
6148 2011-09-09 Alan Mackenzie <acm@muc.de>
6149
6150 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6151 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6152
6153 2011-09-09 Eli Zaretskii <eliz@gnu.org>
6154
6155 Fix for Savannah bug#9392.
6156 * simple.el (mail-encode-mml): New defvar.
6157
6158 * mail/rmail.el (mail-encode-mml): Add a defvar.
6159 (rmail-enable-mime-composing): Default to t.
6160 (rmail-forward): Use MIME method of forwarding only if both
6161 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6162 Set mail-encode-mml non-nil if the MIME method was used.
6163
6164 * mail/sendmail.el (mml-to-mime): Add autoload form.
6165 (mail-encode-mml): Add a defvar.
6166 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6167 to nil.
6168 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6169 message through mml-to-mime, and reset mail-encode-mml to nil.
6170
6171 2011-09-09 Glenn Morris <rgm@gnu.org>
6172
6173 * woman.el (woman-if-body): When processing an .el block,
6174 do not delete the next .el block as well. (Bug#9447)
6175 (woman-special-characters): Add oq, cq, and hy characters.
6176
6177 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6178
6179 * window.el (window-deletable-p): Make sure window is live before
6180 invoking window-prev-buffers.
6181
6182 2011-09-08 Leo Liu <sdl.web@gmail.com>
6183
6184 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6185
6186 2011-09-08 Juri Linkov <juri@jurta.org>
6187
6188 * progmodes/compile.el (compilation-environment): Make it
6189 a defcustom (bug#8340).
6190
6191 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6192
6193 * window.el (frame-auto-delete): Rename to window-auto-delete.
6194 Make it control auto-deletion of windows and/or frames.
6195 (window-deletable-p): New argument FORCE. Rewrite conditions
6196 for deleting window/frame. (Bug#9419)
6197 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6198 Rewrite handling of case when window/frame can be deleted.
6199 (delete-windows-on): Call window-deletable-p with new FORCE
6200 argument t. (Bug#9456)
6201
6202 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
6203
6204 * help-mode.el (help-mode): Restore autoload.
6205
6206 2011-09-07 Juri Linkov <juri@jurta.org>
6207
6208 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6209 `compilation-environment'. Set buffer-local
6210 `compilation-environment' to `thisenv' later after (funcall mode).
6211 (Bug#8340)
6212
6213 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6214 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6215 instead of replacing its value. (Bug#8340)
6216
6217 2011-09-07 Juri Linkov <juri@jurta.org>
6218
6219 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6220 based on text properties put by `grep-filter' instead of matching
6221 escape sequences.
6222 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6223 to the value of `grep-error-screen-columns' (bug#9438).
6224
6225 2011-09-07 Juri Linkov <juri@jurta.org>
6226
6227 * simple.el (next-error-highlight, next-error-highlight-no-select):
6228 Doc fix (bug#9432).
6229
6230 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6231
6232 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6233 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6234
6235 2011-09-07 Leo Liu <sdl.web@gmail.com>
6236
6237 * net/rcirc.el (rcirc-mode): Conditionally initialize
6238 rcirc-input-ring.
6239
6240 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6241
6242 * emacs-lisp/find-func.el (find-function-C-source): Only set
6243 find-function-C-source-directory after checking that we found a source
6244 file there (bug#9440).
6245
6246 2011-09-06 Alan Mackenzie <acm@muc.de>
6247
6248 * isearch.el (isearch-other-meta-char): Wherever a key list is
6249 unread, "unread" the prefix arg, too. This fixes bug #8901.
6250
6251 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6252
6253 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6254
6255 2011-09-05 Juri Linkov <juri@jurta.org>
6256
6257 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6258
6259 2011-09-05 Juri Linkov <juri@jurta.org>
6260
6261 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6262 keeping point where processing of grep matches begins, and
6263 continue to delete remaining escape sequences from the same point.
6264 (grep-filter): Make leading zero optional in "0?1;31m" because
6265 git-grep emits "\033[1;31m" escape sequences unlike expected
6266 "\033[01;31m" as GNU Grep does (bug#9408).
6267 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6268
6269 2011-09-05 Juri Linkov <juri@jurta.org>
6270
6271 * subr.el (y-or-n-p): Capitalize "yes".
6272
6273 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
6274
6275 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6276 `tramp-cache-unload-hook' where appropriate.
6277 (tramp-methods): Rename `tramp-remote-sh' to
6278 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6279 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6280
6281 * net/tramp-sh.el (top): Don't require 'shell.
6282 (tramp-methods): Add `tramp-remote-shell' and
6283 `tramp-remote-shell-args' entries.
6284 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6285 (tramp-sh-handle-shell-command): Remove.
6286 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6287 Use `tramp-remote-shell'.
6288
6289 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
6290
6291 * mail/sendmail.el (sendmail-query-once-function): Delete.
6292 (sendmail-query-once): Save directly to send-mail-function.
6293 Update message-send-mail-function too.
6294
6295 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6296
6297 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6298
6299 * progmodes/python.el (python-mode-map): Use correct function to
6300 start python interpreter from menu-bar (as reported by Geert
6301 Kloosterman).
6302 (inferior-python-mode-map): Fix typo.
6303 (python-shell-map): Remove.
6304
6305 2011-09-03 Deniz Dogan <deniz@dogan.se>
6306
6307 * net/rcirc.el (rcirc-print): Simplify code for
6308 rcirc-scroll-show-maximum-output. There is no need to walk
6309 through all windows to find the right one.
6310
6311 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6312
6313 * help.el (help-return-method): Doc fix.
6314
6315 2011-09-03 Martin Rudalics <rudalics@gmx.at>
6316
6317 * window.el (window-deletable-p): Don't return a non-nil value
6318 when there's a buffer that was shown in the window before.
6319 (Bug#9419)
6320 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6321 Set window's previous buffers to nil.
6322
6323 2011-09-03 Eli Zaretskii <eliz@gnu.org>
6324
6325 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6326 newline before and after the tag line, so it doesn't interfere
6327 with determining the paragraph direction of bidirectional text.
6328
6329 2011-09-03 Leo Liu <sdl.web@gmail.com>
6330
6331 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6332
6333 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6334
6335 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
6336 (pop-to-buffer): Change interactive spec. Pass second argument
6337 directly to display-buffer.
6338 (display-buffer): Fix interactive spec. Use functionp to
6339 distinguish between a function and a list of functions.
6340
6341 * abbrev.el (edit-abbrevs):
6342 * arc-mode.el (archive-extract):
6343 * autoinsert.el (auto-insert):
6344 * bookmark.el (bookmark-bmenu-list):
6345 * files.el (find-file):
6346 * view.el (view-buffer):
6347 * progmodes/compile.el (compilation-goto-locus):
6348 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6349
6350 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6351
6352 * window.el (display-buffer-alist): Doc fix.
6353 (display-buffer): Add docstring. Don't treat
6354 display-buffer-default specially.
6355 (display-buffer-reuse-selected-window)
6356 (display-buffer-same-window, display-buffer-maybe-same-window)
6357 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6358 (display-buffer-pop-up-window)
6359 (display-buffer-reuse-or-pop-window)
6360 (display-buffer-use-some-window): New functions.
6361 (display-buffer-default-action): Use them.
6362 (display-buffer-default): Delete.
6363 (pop-to-buffer-1): Fix choice of actions.
6364
6365 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6366
6367 * minibuffer.el (completion--insert-strings): Don't get confused by
6368 completion entries that end with an LF char.
6369
6370 2011-09-01 Eli Zaretskii <eliz@gnu.org>
6371
6372 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6373
6374 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
6375
6376 * window.el (display-buffer): Restore interactive spec.
6377 (display-buffer-same-window, display-buffer-other-window):
6378 New functions.
6379 (pop-to-buffer-1): New function. Use the above.
6380 (pop-to-buffer, pop-to-buffer-same-window): Use it.
6381 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
6382
6383 * view.el (view-buffer-other-window, view-buffer-other-frame):
6384 Just use pop-to-buffer.
6385
6386 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6387
6388 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6389
6390 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6391
6392 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6393
6394 2011-08-31 Richard Stallman <rms@gnu.org>
6395
6396 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6397 of the separation of rmail-view-buffer from rmail-buffer.
6398 If you say no to "replace original", the decrypt is in the
6399 view buffer. If you say yes, the decrypt goes into the
6400 rmail buffer also.
6401
6402 2011-08-31 Martin Rudalics <rudalics@gmx.at>
6403
6404 * window.el (display-buffer-window): Rewrite doc-string.
6405 (display-buffer-record-window): New function.
6406 (display-buffer-macro-specifiers)
6407 (display-buffer-even-window-sizes, display-buffer-set-height)
6408 (display-buffer-set-width, display-buffer-in-window)
6409 (display-buffer-reuse-window, display-buffer-split-specifiers)
6410 (display-buffer-side-specifiers, display-buffer-split-window-1)
6411 (display-buffer-split-window, display-buffer-split-atom-window)
6412 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6413 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6414 (display-buffer-other-window-means-other-frame)
6415 (display-buffer-normalize-special)
6416 (display-buffer-normalize-default)
6417 (display-buffer-normalize-argument)
6418 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6419 (display-buffer-normalize-specifiers, display-buffer-frame)
6420 (display-buffer-same-window, display-buffer-same-frame)
6421 (display-buffer-other-window)
6422 (display-buffer-same-frame-other-window)
6423 (display-buffer-other-frame, pop-to-buffer-same-window)
6424 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6425 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6426 (switch-to-buffer-same-frame)
6427 (switch-to-buffer-other-window-same-frame)
6428 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6429 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6430 (display-buffer-alist-set): Remove.
6431 (display-buffer-function, special-display-buffer-names)
6432 (special-display-regexps, special-display-function):
6433 In doc-string refer to display-buffer-window and quit-restore
6434 parameter.
6435 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6436 (special-display-frame-alist, special-display-popup-frame)
6437 (same-window-buffer-names, same-window-regexps, same-window-p)
6438 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6439 (split-window-preferred-function, split-height-threshold)
6440 (split-width-threshold, window-splittable-p)
6441 (split-window-sensibly, window--try-to-split-window)
6442 (window--frame-usable-p, even-window-heights)
6443 (window--even-window-heights, window--display-buffer-1)
6444 (window--display-buffer-2, display-buffer-other-frame):
6445 Restore old Emacs 23 code, order and doc-strings where applicable.
6446 (display-buffer-default, display-buffer-assq-regexp): New functions.
6447 (display-buffer-alist): Rewrite doc-string.
6448 (display-buffer-default-action)
6449 (display-buffer-overriding-action): New variables.
6450 (display-buffer, switch-to-buffer): Rewrite.
6451 (pop-to-buffer): Restore Emacs 23 behavior but use
6452 window-normalize-buffer-to-display.
6453 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6454 Restore Emacs 23 behavior but use
6455 window-normalize-buffer-to-switch-to.
6456 (pop-to-buffer-same-window): Rewrite.
6457 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6458 Rewrite using Emacs 23 options.
6459
6460 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
6461
6462 * net/tramp.el (tramp-root-regexp): Remove.
6463 (tramp-completion-file-name-regexp-unified)
6464 (tramp-completion-file-name-regexp-separate)
6465 (tramp-completion-file-name-regexp-url): Don't use leading volume
6466 letter on win32 systems. (Bug#5303, Bug#9311)
6467 (tramp-drop-volume-letter): Simplify definition.
6468 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
6469
6470 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6471
6472 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6473 (bug#9356).
6474
6475 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6476
6477 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
6478
6479 2011-08-29 Juri Linkov <juri@jurta.org>
6480
6481 * isearch.el (isearch-done): Don't display message "Mark saved"
6482 when arg `edit' is non-nil to prevent its flicker in the echo area.
6483
6484 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
6485
6486 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6487 obsolete packages for deletion.
6488
6489 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6490
6491 * help-mode.el (help-mode-map): Add special-mode-map to parent.
6492 (help-mode): Derive help-mode from special-mode. Don't invoke
6493 view-mode from help-mode.
6494 (help-xref-override-view-map): Remove.
6495 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6496 view-mode is not used anymore.
6497
6498 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
6499
6500 * server.el (server-port): Doc fix.
6501
6502 * cus-theme.el (custom-theme-choose-mode): Inherit from
6503 special-mode (Bug#9124).
6504 (custom-theme-choose-mode-map): Add special-mode to parent.
6505
6506 2011-08-28 Alan Mackenzie <acm@muc.de>
6507
6508 * progmodes/cc-fonts.el
6509 (c-make-font-lock-BO-decl-search-function): New function.
6510 (c-basic-matchers-after - "Fontify the clauses after various
6511 keywords"): Extract the three keyword lists for the 3 erroneous
6512 constructs from the list of four, and use the new function above
6513 in place of an old one.
6514
6515 2011-08-28 Deniz Dogan <deniz@dogan.se>
6516
6517 * net/rcirc.el (rcirc-insert-prev-input)
6518 (rcirc-insert-next-input): Remove unused argument.
6519
6520 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6521
6522 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6523
6524 2011-08-27 Alan Mackenzie <acm@muc.de>
6525
6526 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6527 handle function pointer parameters properly.
6528
6529 2011-08-27 Martin Rudalics <rudalics@gmx.at>
6530
6531 * window.el (display-buffer-reuse-window): Fix case where
6532 selected window was reused with non-nil OTHER-WINDOW argument.
6533 (Bug#9381)
6534
6535 2011-08-27 Deniz Dogan <deniz@dogan.se>
6536
6537 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6538 oftc's NickServ messages.
6539
6540 2011-08-27 Glenn Morris <rgm@gnu.org>
6541
6542 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6543
6544 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
6545
6546 * emacs-lisp/package.el (package-install): Call package-initialize
6547 if called interactively.
6548
6549 2011-08-26 Leo Liu <sdl.web@gmail.com>
6550
6551 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6552
6553 2011-08-25 Juri Linkov <juri@jurta.org>
6554
6555 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6556 `search-whitespace-regexp' (bug#9364).
6557
6558 2011-08-25 Juri Linkov <juri@jurta.org>
6559
6560 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6561 `regexp-search-ring' to their global values to protect from
6562 updating by `read-from-minibuffer' (bug#9185).
6563
6564 2011-08-25 Juri Linkov <juri@jurta.org>
6565
6566 * textmodes/ispell.el (ispell-command-loop): Add newline
6567 at the end of the "Use option `i'..." line.
6568
6569 2011-08-25 Juri Linkov <juri@jurta.org>
6570
6571 * battery.el (display-battery-mode): If `battery-status-function'
6572 or `battery-mode-line-format' is nil, display the message and set
6573 `display-battery-mode' to nil (bug#9363).
6574
6575 2011-08-25 Eli Zaretskii <eliz@gnu.org>
6576
6577 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6578 bidi-string-mark-left-to-right; they are unnecessary now.
6579
6580 2011-08-25 Deniz Dogan <deniz@dogan.se>
6581
6582 * net/quickurl.el: Documentation typo fixes.
6583
6584 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
6585
6586 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6587
6588 2011-08-25 Glenn Morris <rgm@gnu.org>
6589
6590 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6591
6592 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6593 (smtpmail-via-smtp): Handle nil response from smtp.
6594
6595 2011-08-24 Juri Linkov <juri@jurta.org>
6596
6597 * proced.el (proced-marked): Inherit from `error' instead of
6598 `font-lock-warning-face'.
6599
6600 * ibuffer.el (ibuffer-marked-face): Change default face from
6601 `font-lock-warning-face' to `warning'.
6602 (ibuffer-deletion-face): Change default face from
6603 `font-lock-type-face' to `error'.
6604
6605 * battery.el (battery-update): Use the face `error' instead of
6606 `font-lock-warning-face' (bug#6117).
6607
6608 2011-08-24 Juri Linkov <juri@jurta.org>
6609
6610 * faces.el (success): Change face color from "Green3" to
6611 "ForestGreen" on light background (bug#9353).
6612
6613 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
6614
6615 * window.el (quit-window): Rename from quit-restore-window.
6616 Use same arglist as old quit-window.
6617 (frame-auto-delete): Doc fix.
6618
6619 * view.el (view-mode-exit): Use quit-window.
6620
6621 2011-08-24 Juri Linkov <juri@jurta.org>
6622
6623 * isearch.el (isearch-ring-adjust1): Start visiting previous
6624 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6625 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6626 for empty search string (when the last search string is reused
6627 automatically) to adjust the isearch ring to the last element and
6628 prepare the correct index for further M-p commands (bug#9185).
6629
6630 2011-08-24 Kenichi Handa <handa@m17n.org>
6631
6632 * international/ucs-normalize.el: If decomposition property of
6633 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6634 nil.
6635 (nfd, nfkd): Likewise.
6636
6637 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6638
6639 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6640 from process filters aren't reliably transmitted to the surrounding
6641 accept-process-output.
6642 (mpc-proc-check): New function.
6643 (mpc-proc-sync): Use it (bug#8293)
6644
6645 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6646
6647 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6648 Add compatibility functions (bug#9313).
6649
6650 2011-08-23 Eli Zaretskii <eliz@gnu.org>
6651
6652 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6653
6654 * international/uni-bidi.el: Regenerate.
6655
6656 2011-08-23 Kenichi Handa <handa@m17n.org>
6657
6658 * international/charprop.el:
6659 * international/uni-bidi.el:
6660 * international/uni-category.el:
6661 * international/uni-combining.el:
6662 * international/uni-comment.el:
6663 * international/uni-decimal.el:
6664 * international/uni-decomposition.el:
6665 * international/uni-digit.el:
6666 * international/uni-lowercase.el:
6667 * international/uni-mirrored.el:
6668 * international/uni-name.el:
6669 * international/uni-numeric.el:
6670 * international/uni-old-name.el:
6671 * international/uni-titlecase.el:
6672 * international/uni-uppercase.el: Regenerate.
6673
6674 2011-08-23 Martin Rudalics <rudalics@gmx.at>
6675
6676 * help.el (help-window-setup): Fix message displayed when other
6677 window is reused. (Bug#9341)
6678
6679 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6680
6681 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6682 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6683
6684 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6685 Mark obsolete.
6686 * shell.el (shell-parse-pcomplete-arguments): New function.
6687 (shell-completion-vars): Use it instead (bug#9160).
6688
6689 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6690
6691 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6692 strings and comments (bug#9333).
6693
6694 * emacs-lisp/debug.el (debug-arglist): New function.
6695 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6696 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6697
6698 2011-08-22 Juri Linkov <juri@jurta.org>
6699
6700 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6701 Revert regexp that highlights output switches to its old
6702 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6703
6704 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6705 to check for empty output (bug#9226).
6706
6707 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
6708
6709 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6710 symbol-constituent as the default, as that stops font-lock from
6711 working properly (Bug#8843).
6712
6713 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6714
6715 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6716 `coding-system-for-*' around the process open call to avoid
6717 auth-source side effects.
6718 (smtpmail-try-auth-methods): Expand the secret password.
6719 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6720 probe hangs.
6721
6722 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6723
6724 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6725
6726 * emacs-lisp/find-func.el (find-function-noselect): New arg
6727 lisp-only.
6728
6729 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6730 signal an error for built-in functions (Bug#6664).
6731
6732 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6733
6734 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6735 (smtpmail-try-auth-methods): Use it.
6736
6737 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6738
6739 * font-lock.el (font-lock-fontify-region)
6740 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6741 (font-lock-default-unfontify-buffer)
6742 (font-lock-default-fontify-region)
6743 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6744
6745 * progmodes/compile.el (compilation-error-properties):
6746 Fix confusion between file struct and message struct (Bug#9319).
6747 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6748 `ant' regexp.
6749
6750 * net/browse-url.el (browse-url-firefox): Don't call
6751 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6752
6753 2011-08-20 Glenn Morris <rgm@gnu.org>
6754
6755 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6756
6757 * tutorial.el (tutorial--default-keys): Update some default bindings.
6758
6759 * files.el (hack-local-variables): Fully ignore case for "mode:".
6760
6761 2011-08-20 Alan Mackenzie <acm@muc.de>
6762
6763 Resolve invalid use of a regexp in regexp-opt.
6764
6765 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6766 detection for a java annotation.
6767
6768 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
6769 detection for a java annotation.
6770
6771 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6772 handling for java.
6773 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6774
6775 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
6776
6777 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6778 (Bug#9274).
6779
6780 2011-08-20 Alan Mackenzie <acm@muc.de>
6781
6782 Fontify CPP expressions correctly when starting in the middle of
6783 such a construct. Mainly for when jit-lock etc. starts a chunk
6784 here.
6785
6786 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
6787 variable.
6788 (c-make-font-lock-search-form): New function, extracted from
6789 c-make-font-lock-search-function.
6790 (c-make-font-lock-search-function): Use the above function.
6791 (c-make-font-lock-context-search-function): New function.
6792 (c-cpp-matchers): Enhance the preprocessor expression case with
6793 the above function
6794 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6795 which takes an expression.
6796
6797 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6798
6799 2011-08-20 Martin Rudalics <rudalics@gmx.at>
6800
6801 * window.el (display-buffer-reuse-window)
6802 (display-buffer-pop-up-window): Don't reuse or split a side
6803 window.
6804
6805 2011-08-19 Glenn Morris <rgm@gnu.org>
6806
6807 * files.el (hack-local-variables-prop-line, hack-local-variables):
6808 Downcase "Mode:". (Bug#9331)
6809
6810 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
6811
6812 * international/characters.el: Add L and R categories.
6813
6814 * subr.el (bidi-string-mark-left-to-right): Rename from
6815 string-mark-left-to-right. Use category search.
6816
6817 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6818
6819 2011-08-18 Juri Linkov <juri@jurta.org>
6820
6821 * faces.el (error, warning, success): New faces with definitions
6822 copied from old default values of `font-lock-warning-face',
6823 `compilation-warning', `compilation-info' (bug#6117).
6824
6825 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6826
6827 * progmodes/compile.el (compilation-error): Inherit from `error'.
6828 (compilation-warning): Inherit from `warning'.
6829 (compilation-info): Inherit from `success'.
6830
6831 * dired.el (dired-marked): Inherit from `warning'.
6832 (dired-flagged): Inherit from `error'.
6833
6834 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6835
6836 * mail/smtpmail.el (auth-source): Require to avoid problems with
6837 binding variables (bug#9298). Also clean up some unused
6838 autoloads.
6839
6840 * net/network-stream.el (network-stream-open-starttls):
6841 Support using starttls.el without using gnutls-cli.
6842
6843 2011-08-17 Juri Linkov <juri@jurta.org>
6844
6845 * progmodes/grep.el (rgrep): Handle the case when
6846 `grep-find-command' is a cons cell (bug#9278).
6847
6848 2011-08-17 Martin Rudalics <rudalics@gmx.at>
6849
6850 * window.el (display-buffer-pop-up-frame): Run frame creation
6851 function with BUFFER current (as special-display-popup-frame
6852 does). Reported by Drew Adams.
6853
6854 2011-08-17 Daiki Ueno <ueno@unixuser.org>
6855
6856 * epa-mail.el: Simplify GnuPG group expansion using
6857 epg-expand-group.
6858 (epa-mail-group-alist, epa-mail-group-modtime)
6859 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6860 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6861 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6862 Remove.
6863
6864 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
6865
6866 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6867
6868 2011-08-16 Alan Mackenzie <acm@muc.de>
6869
6870 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6871 Correct, to avoid the inside of macros.
6872
6873 2011-08-16 Richard Stallman <rms@gnu.org>
6874
6875 * epa-mail.el: Handle GnuPG group definitions.
6876 (epa-mail-group-alist, epa-mail-group-modtime)
6877 (epa-mail-gnupg-conf-file): New variables.
6878 (epa-mail-parse-groups, epa-mail-sync-groups)
6879 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6880 (epa-mail-expand-recipients): New functions.
6881 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6882
6883 * mail/rmail.el (rmail-epa-decrypt): New command.
6884
6885 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6886 Don't bind buffer-read-only, just inhibit-read-only.
6887 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6888 (epa-decrypt-armor-in-region): Make error message clearer.
6889
6890 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6891
6892 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6893 and "a2b" to "ab" for `prefix'.
6894
6895 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
6896
6897 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6898 filter groups.
6899 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6900 Fourquet (Bug#8804).
6901
6902 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
6903
6904 * startup.el (argi): Declare as global variable (bug#9275).
6905
6906 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
6907
6908 * subr.el (string-mark-left-to-right): Search the entire string
6909 for RTL script, not just the terminating character. Doc fix.
6910
6911 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6912
6913 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6914 New function.
6915 (js--regexp-literal, js-syntax-propertize-function): Remove.
6916 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6917 (js-mode-map): Don't rebind electric keys.
6918 (js-insert-and-indent): Remove.
6919 (js-mode): Setup electric-layout and electric-indent instead.
6920
6921 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6922
6923 2011-08-12 Daiki Ueno <ueno@unixuser.org>
6924
6925 * epa.el (epa-progress-callback-function): Fix the logic of
6926 displaying progress.
6927 * epa-file.el (epa-file-insert-file-contents): Make progress
6928 display more user-friendly.
6929 (epa-file-write-region): Ditto.
6930
6931 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
6932
6933 * subr.el (string-mark-left-to-right): New function.
6934
6935 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6936 Use string-mark-left-to-right.
6937 (list-buffers-noselect): Caller changed.
6938
6939 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6940 Use string-mark-left-to-right.
6941 (tabulated-list-print): Recenter after moving point.
6942
6943 2011-08-10 Juri Linkov <juri@jurta.org>
6944
6945 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6946 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6947 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6948
6949 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
6950
6951 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6952 (Bug#7554).
6953
6954 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
6955
6956 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6957 character. (Bug#6594)
6958
6959 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
6960
6961 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6962 (image-dired--with-db-file): New macro.
6963 (image-dired-write-tags, image-dired-remove-tag)
6964 (image-dired-create-gallery-lists, image-dired-write-comments)
6965 (image-dired-get-comment, image-dired-mark-tagged-files)
6966 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6967 (image-dired-gallery-generate): Use insert-file-contents.
6968
6969 * time.el (display-time-world-list, display-time-world-display):
6970 * time-stamp.el (time-stamp-string):
6971 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6972 set-time-zone-rule (Bug#7337).
6973
6974 2011-08-08 Daiki Ueno <ueno@unixuser.org>
6975
6976 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6977 (epg-error-to-string, epg-errors-to-string): New function.
6978 (epg-wait-for-completion): Reverse errors list.
6979 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6980 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6981 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6982 (epg-sign-keys, epg-generate-key-from-file)
6983 (epg-generate-key-from-string): Format errors by using
6984 epg-errors-to-string (bug#9255).
6985 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6986
6987 2011-08-07 Juri Linkov <juri@jurta.org>
6988
6989 * faces.el (list-faces-display): Remove extra angle bracket
6990 from `help-mode-map'.
6991
6992 * info.el (Info-history-toc-nodes): Doc fix.
6993
6994 * longlines.el (longlines-mode): Doc fix.
6995
6996 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6997
6998 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6999 of statements and in a few more cases (bug#9183).
7000
7001 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7002 New functions.
7003 (cl-transform-lambda): Use them (bug#9239).
7004
7005 2011-08-05 Martin Rudalics <rudalics@gmx.at>
7006
7007 * window.el (display-buffer-same-window)
7008 (display-buffer-same-frame, display-buffer-other-window)
7009 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7010 (pop-to-buffer-other-window)
7011 (pop-to-buffer-same-frame-other-window)
7012 (pop-to-buffer-other-frame): Make them defuns.
7013 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7014
7015 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7016
7017 * subr.el (make-composed-keymap): Move from C. Change calling
7018 convention, and improve docstring to bring attention to a subtle point.
7019 * minibuffer.el (completing-read-default): Adjust accordingly.
7020
7021 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
7022
7023 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7024 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7025
7026 * net/trampver.el: Update release number.
7027
7028 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7029
7030 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7031 "in" (bug#9190).
7032
7033 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7034
7035 * mail/sendmail.el (sendmail-query-once): Restore the current
7036 buffer after querying (bug#9074).
7037
7038 * dired.el (dired-flagged): Use different faces for marked and
7039 flagged files (bug#6117).
7040
7041 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7042 (bug#4433).
7043
7044 * ido.el (ido-mode): Switch off the message if called
7045 non-interactively.
7046
7047 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7048 before 587, since it appears that that's more likely to work for
7049 more people.
7050
7051 * cus-edit.el (custom-file): When running under emacs -q, always
7052 refuse to save the customizations, even if the .emacs file doesn't
7053 exist.
7054
7055 * info.el: Remove the `Info-beginning-of-buffer' function
7056 (bug#8325).
7057
7058 * net/network-stream.el (network-stream-open-starttls):
7059 Use `starttls-available-p' to see whether starttls.el can be used.
7060
7061 2011-08-01 Martin Rudalics <rudalics@gmx.at>
7062
7063 * window.el (display-buffer-in-window): Don't set dedicated status
7064 of window here (Bug#9215).
7065 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7066 (display-buffer-pop-up-side-window)
7067 (display-buffer-in-side-window): Set dedicated status of window here.
7068
7069 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7070
7071 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7072 before binding generated-autoload-file.
7073
7074 2011-08-01 Deniz Dogan <deniz@dogan.se>
7075
7076 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7077
7078 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
7079
7080 Sync with Tramp 2.2.2.
7081
7082 * net/trampver.el: Update release number.
7083
7084 2011-07-30 Juri Linkov <juri@jurta.org>
7085
7086 * dired-aux.el (dired-touch-initial): Remove function.
7087 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7088 current time, and `default' to the last modification time of the
7089 current marked file (bug#6887).
7090
7091 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7092
7093 * simple.el (goto-line): Use string-to-number to provide a
7094 numeric argument to read-number (bug#9163).
7095
7096 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
7097
7098 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7099 connection process, it could be nil.
7100
7101 2011-07-27 Leo Liu <sdl.web@gmail.com>
7102
7103 Simplify url handling in rcirc-mode.
7104
7105 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7106 (rcirc-browse-url-at-mouse): Remove.
7107 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7108
7109 2011-07-26 Alan Mackenzie <acm@muc.de>
7110
7111 Fontify bitfield declarations properly.
7112
7113 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7114 (c-symbol-chars): Now exported as a lang variable.
7115 (c-not-primitive-type-keywords): New lang variable.
7116
7117 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7118 QT keyword "more" to prevent "more slots: ...." being spuriously
7119 parsed as a bitfield declaration.
7120
7121 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7122 Refactor and enhance to handle bitfield declarations.
7123 (c-punctuation-in): New function.
7124 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7125 declarations properly.
7126
7127 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
7128
7129 * calendar/icalendar.el (icalendar--all-events): Take care of
7130 multiple vcalendars in a single file.
7131 (icalendar--convert-float-to-ical): Checkdoc fixes.
7132
7133 2011-07-25 Deniz Dogan <deniz@dogan.se>
7134
7135 * image.el (insert-image): Clarifying docstring.
7136
7137 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
7138
7139 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7140 `tramp-send-command-and-check' if there is no error.
7141 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7142
7143 2011-07-22 Alan Mackenzie <acm@muc.de>
7144
7145 Prevent cc-langs.elc being loaded at run time.
7146
7147 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7148 cc-langs.
7149
7150 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
7151 "(require 'cc-langs)". Quote a form so it will evaluate at
7152 (cc-mode's) compilation time.
7153
7154 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
7155
7156 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7157 loading. (Bug#9114)
7158
7159 2011-07-21 Martin Rudalics <rudalics@gmx.at>
7160
7161 * window.el (display-buffer-pop-up-window)
7162 (display-buffer-pop-up-side-window)
7163 (display-buffer-in-side-window): Call display-buffer-set-height
7164 and display-buffer-set-width after setting the new window's
7165 buffer so `fit-window-to-buffer' and friends work on the right buffer.
7166
7167 2011-07-20 Sam Steingold <sds@gnu.org>
7168
7169 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7170 (etags-tags-included-tables): Call `convert-standard-filename' on
7171 the file names contained in TAGS so that windows Emacs can handle
7172 TAGS files created by cygwin ctags.
7173
7174 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7175
7176 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7177 which apparently didn't work.
7178
7179 2011-07-19 Roland Winkler <winkler@gnu.org>
7180
7181 * proced.el (proced-send-signal): For *Marked Processes* buffer
7182 put point at beginning of buffer.
7183
7184 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
7185
7186 * proced.el (proced-format): Make header lines align with the text
7187 (bug#1779).
7188
7189 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7190
7191 * view.el (view-buffer): Allow running in `special' modes if we're
7192 visiting a file (bug#8615).
7193
7194 2011-07-19 Martin Rudalics <rudalics@gmx.at>
7195
7196 * window.el (display-buffer-alist-of-strings-p)
7197 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7198 New functions.
7199 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7200 more accurately.
7201
7202 2011-07-18 Alan Mackenzie <acm@muc.de>
7203
7204 Fontify declarators properly when, e.g., a jit-lock chunk begins
7205 inside a declaration.
7206
7207 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7208
7209 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7210 New function.
7211 (c-complex-decl-matchers): Insert reference to
7212 c-font-lock-enclosing-decls.
7213
7214 * progmodes/cc-engine.el (c-backward-single-comment):
7215 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7216 to nil around calls to (forward-comment -1).
7217
7218 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7219
7220 * image.el (put-image): Doc typo fix.
7221
7222 * progmodes/etags.el (tags-search): Doc typo fix.
7223
7224 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7225 password if we get errors 550 to 554.
7226
7227 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7228
7229 * net/gnutls.el (gnutls-log-level): Remove.
7230
7231 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7232 indentation character (bug#6380).
7233
7234 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7235
7236 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7237 to clarify what the problem is (bug#4291).
7238
7239 * simple.el (current-kill): Clarify what
7240 `interprogram-paste-function' does (bug#7500).
7241 (auto-fill-mode): Document `auto-fill-function' in relation to
7242 `auto-fill-mode' (bug#2470).
7243
7244 2011-07-16 Lawrence Mitchell <wence@gmx.li>
7245
7246 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7247 method if slot is read-only (bug#9035).
7248
7249 2011-07-16 Martin Rudalics <rudalics@gmx.at>
7250
7251 * frame.el (select-frame-set-input-focus): New argument NORECORD.
7252 * window.el (pop-to-buffer): Select window used even if it was
7253 selected before, see discussion of (Bug#8615), (Bug#6954).
7254 Pass argument NORECORD on to select-frame-set-input-focus.
7255
7256 2011-07-15 Glenn Morris <rgm@gnu.org>
7257
7258 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
7259 Respect help-form.
7260
7261 2011-07-09 Lawrence Mitchell <wence@gmx.li>
7262
7263 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7264 (gnutls-negotiate): Use it.
7265
7266 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7267
7268 * net/gnutls.el (gnutls-negotiate):
7269 Upcase `gnutls-algorithm-priority'.
7270
7271 2011-07-15 Glenn Morris <rgm@gnu.org>
7272
7273 * jka-compr.el (jka-compr-verbose): Move from here...
7274 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7275 Add missing :version tag.
7276 * info.el: No need to require jka-compr when compiling.
7277
7278 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7279
7280 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7281 (gnutls-negotiate): Use it.
7282
7283 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7284
7285 * info.el (Info-beginning-of-buffer): New command.
7286 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7287 announcing `b' as the key (bug#8325).
7288 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
7289
7290 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7291
7292 * international/mule-cmds.el
7293 (describe-specified-language-support): Make the error message
7294 clearer (bug#8905).
7295
7296 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7297
7298 * isearch.el (isearch-barrier): Add a doc string, since it's
7299 mentioned in a function doc string (bug#8678).
7300
7301 2011-07-15 Martin Rudalics <rudalics@gmx.at>
7302
7303 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7304 buffer argument (Bug#9083) and self-identifying label argument.
7305
7306 2011-07-15 Glenn Morris <rgm@gnu.org>
7307
7308 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7309
7310 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7311
7312 * man.el (Man-fontify-manpage): Fix message when formatting the
7313 man page (bug#7929).
7314
7315 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7316
7317 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7318 argument LRM; if non-nil, append an invisible LRM character to the
7319 buffer name.
7320 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7321 last argument non-nil, when formatting buffer names.
7322 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7323 paragraph direction.
7324
7325 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7326
7327 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7328 the man page name (bug#7929).
7329
7330 * image.el (put-image): Mention the `put-image' overlay property
7331 (bug#7834).
7332
7333 * scroll-bar.el (set-scroll-bar-mode): Mention that
7334 `scroll-bar-mode' lists the values (bug#7772).
7335
7336 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7337 command (bug#7729).
7338
7339 * rect.el (apply-on-rectangle): Return the point after the last
7340 operation.
7341 (string-rectangle): Go to the point after the last operation
7342 (bug#7522).
7343
7344 * printing.el (pr-toggle-region): Clarify the documentation
7345 slightly (bug#7493).
7346
7347 * time.el (display-time-update):
7348 Allow `display-time-mail-function' to return nil (bug#7158).
7349 Fix suggested by Detlev Zundel.
7350
7351 * vc/diff.el (diff): Clarify the order the file names are read
7352 (bug#7111).
7353
7354 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7355 the doc string (bug#7015).
7356
7357 * font-lock.el (font-lock-maximum-decoration): Mention what
7358 numeric levels mean (bug#6935).
7359
7360 * startup.el (initial-buffer-choice): Don't mention the `none'
7361 selection, which is against policy.
7362
7363 2011-07-14 Martin Rudalics <rudalics@gmx.at>
7364
7365 * window.el (display-buffer-normalize-special):
7366 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
7367
7368 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7369
7370 * subr.el (version<, version<=, version=): Mention "-CVS" and
7371 "-12345" alpha version numbers.
7372
7373 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7374
7375 * bindings.el: Add advertised binding for set-mark-command
7376 (Bug#5772).
7377
7378 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7379
7380 * bindings.el (mode-line-other-buffer):
7381 * bookmark.el (bookmark-bmenu-2-window):
7382 * bs.el (bs-cycle-next, bs-cycle-previous):
7383 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7384 switch-to-buffer.
7385
7386 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7387 Delete.
7388
7389 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
7390
7391 * follow.el (follow-debug-message, follow-redisplay):
7392 * jka-cmpr-hook.el (with-auto-compression-mode):
7393 Fix typos in docstrings.
7394
7395 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7396
7397 * subr.el (with-silent-modifications): Clarify somewhat what the
7398 macro inhibits (bug#6525).
7399
7400 * simple.el (eval-expression): Note what it does if called
7401 interactively (bug#6495).
7402
7403 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7404
7405 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7406 Use pop-to-buffer buffer-or-name if it is nil.
7407
7408 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7409 Remove switch-to-buffer.
7410
7411 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7412
7413 * files.el (make-directory): Clarify that an error will be raised
7414 if there's an error (bug#6397).
7415
7416 * startup.el (initial-buffer-choice): Add `none' as a choice
7417 (bug#6234).
7418
7419 * subr.el (add-hook): Clarify section about buffer-local hooks
7420 (bug#6218).
7421
7422 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7423
7424 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7425
7426 * tabify.el (untabify): Preserve the current column so that point
7427 doesn't move (bug#6032).
7428
7429 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7430
7431 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7432 Rewrite to avoid awkward possessive "s" (bug#5986).
7433
7434 2011-07-13 Glenn Morris <rgm@gnu.org>
7435
7436 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7437 (dired-insert-directory): Give a message the first time
7438 if ls is found not to support --dired.
7439
7440 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7441
7442 * simple.el (toggle-truncate-lines): Clarify what is toggled
7443 (bug#5580). Text by Drew Adams.
7444
7445 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7446
7447 * simple.el (blink-matching-open): Make the error message from the
7448 last change less verbose.
7449
7450 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7451
7452 * font-lock.el (font-lock-comment-face): Use the high contrast
7453 "yellow" color for font-lock-comment-face on low color terminals
7454 using a dark background color (bug#4221).
7455
7456 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7457
7458 * dired.el (dired-insert-set-properties): Make the doc string
7459 reflect what it does now (bug#5325).
7460
7461 * simple.el (blink-matching-open): Say that we were unable to find
7462 the match within the limit, if we're limited (bug#5122).
7463
7464 * international/mule-cmds.el (prefer-coding-system): Add an
7465 example (bug#4869).
7466
7467 * progmodes/etags.el (tags-search): Document `file-list-form'
7468 (bug#4731).
7469
7470 2011-07-13 Lawrence Mitchell <wence@gmx.li>
7471
7472 * net/browse-url.el (browse-url-default-browser)
7473 (browse-url-browser-function): Make the default browser choice a
7474 bit more logical (bug#4300). Also clean up the doc string.
7475
7476 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7477
7478 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7479 binary endings (bug#4440).
7480
7481 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7482
7483 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7484 which can be pretty annoying (bug#8971).
7485
7486 * jka-compr.el (jka-compr-verbose): New variable, and use
7487 throughout (bug#8971).
7488
7489 * info.el (Info-find-file): Fall back on the installation
7490 directory if we can't find the info node anywhere else.
7491
7492 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7493
7494 * vc/vc.el (vc-revert-file):
7495 Don't set file time-stamp in the past. (Bug#5181)
7496
7497 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7498
7499 * files.el (after-find-file): Give a better error message when
7500 trying to find a symlink that points to a file that doesn't exist
7501 (bug#4398).
7502
7503 * progmodes/cc-vars.el: Remove (probably) misleading comment
7504 (bug#4396).
7505
7506 2011-07-12 Johan Bockgård <bojohan@gnu.org>
7507
7508 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7509
7510 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
7511
7512 * mouse-sel.el: Hack restoring functionality, while keeping
7513 compatibility with 2010-07-03 changes to mouse selection.
7514 (mouse-sel-primary-overlay): New var.
7515 (mouse-sel-selection-alist): Use it.
7516 (mouse-sel-mode): Doc fix; remove points that are default features
7517 of mouse.el.
7518
7519 2011-07-12 Johan Bockgård <bojohan@gnu.org>
7520
7521 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7522 Fix previous fix (bug#2490).
7523
7524 2011-07-12 Roland Winkler <winkler@gnu.org>
7525
7526 * textmodes/bibtex.el (bibtex-initialize):
7527 Use pop-to-buffer-same-window.
7528 (bibtex-search-entries): Fix interactive call.
7529
7530 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7531
7532 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7533 Fontise bytecomp Error lines more correctly (bug#2490).
7534 Fix suggested by Johan Bockgård.
7535
7536 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7537
7538 * dired-x.el (dired-guess-default): Use `delete-dups'.
7539
7540 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
7541
7542 * dired.el (dired-mark-prompt):
7543 * dired-aux.el (dired-read-shell-command): Doc fix.
7544
7545 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7546
7547 * mail/sendmail.el (sendmail-query-once):
7548 Use `customize-save-variable' unconditionally, now that it works under
7549 emacs -Q.
7550
7551 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7552
7553 * cus-edit.el (custom-file): Take an optional no-error variable.
7554 (customize-save-variable): Set the variable, and give a warning if
7555 running under "emacs -q".
7556
7557 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
7558
7559 * loadhist.el (unload-feature-special-hooks):
7560 Add `auto-coding-functions', `fill-nobreak-predicate' and
7561 `find-directory-functions' (bug#5327).
7562
7563 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7564
7565 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7566
7567 * cus-edit.el (custom-guess-name-alist): -alist variables should
7568 use the `alist' type (bug#3120). Suggested by Drew Adams.
7569
7570 * printing.el: Add documentation to all the `pr-toggle-' commands.
7571
7572 2011-07-11 Leo Liu <sdl.web@gmail.com>
7573
7574 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7575 backends where it makes sense (bug#2623).
7576
7577 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7578
7579 * dired-x.el (dired-guess-default): Remove duplicate shell command
7580 entries (bug#2028).
7581 (dired-guess-default): Fix grammar in doc string (bug#2028).
7582 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
7583
7584 * subr.el (remove-duplicates): New conveniency function.
7585
7586 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7587
7588 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7589 (bug#1526).
7590
7591 2011-07-10 Martin Rudalics <rudalics@gmx.at>
7592
7593 * window.el (display-buffer-normalize-default): Don't invert
7594 meaning of even-window-heights. Reported by Eli Zaretskii
7595 <eliz@gnu.org>.
7596
7597 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7598
7599 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7600
7601 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
7602
7603 * window.el (display-buffer): Fix arguments to
7604 display-buffer-reuse-window in last change.
7605
7606 * faces.el (link): Use a less saturated blue on light backgrounds.
7607
7608 * startup.el (fancy-startup-text, fancy-about-text)
7609 (fancy-startup-tail): Use font-lock faces, for background safety.
7610
7611 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7612
7613 * emulation/viper-cmd.el (viper-change-state-to-vi):
7614 Limit triggering of abbrev expansion (Bug#9038).
7615
7616 2011-07-09 Martin Rudalics <rudalics@gmx.at>
7617
7618 * window.el (display-buffer-default-specifiers): Remove.
7619 (display-buffer-macro-specifiers): Remove default specifiers.
7620 (display-buffer-alist): Default to nil.
7621 (display-buffer-reuse-window): New optional argument other-window.
7622 (display-buffer-pop-up-window): Allow splitting internal
7623 windows. Check whether a live window was created.
7624 (display-buffer-other-window-means-other-frame)
7625 (display-buffer-normalize-arguments): Rename to
7626 display-buffer-normalize-argument and rewrite. Set the
7627 other-window specifier.
7628 (display-buffer-normalize-special): New function.
7629 (display-buffer-normalize-options): Rename to
7630 display-buffer-normalize-default and rewrite.
7631 (display-buffer-normalize-options-inhibit): Remove.
7632 (display-buffer-normalize-specifiers): Rewrite.
7633 (display-buffer): Process other-window specifier and call
7634 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7635 more faithfully.
7636 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
7637 (display-buffer-alist-set): Don't handle 'unset default values.
7638 (display-buffer-in-window, display-buffer-alist-set):
7639 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
7640 <tassilo@member.fsf.org>.
7641
7642 2011-07-09 Leo Liu <sdl.web@gmail.com>
7643
7644 * register.el (insert-register): Restore accidental change on
7645 2011-06-26. (Bug#9028)
7646
7647 2011-07-09 Glenn Morris <rgm@gnu.org>
7648
7649 * subr.el (remq): Handle the empty list. (Bug#9024)
7650
7651 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7652
7653 * mail/sendmail.el (send-mail-function): No longer delay custom
7654 initialization.
7655 * custom.el (custom-initialize-delay): Doc fix.
7656
7657 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7658
7659 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7660
7661 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
7662
7663 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7664 human-friendly prompt.
7665
7666 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7667
7668 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7669 provided by a particular plugin.
7670
7671 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7672
7673 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7674 save customizations (with "emacs -Q"), just set the variable
7675 instead of erroring out.
7676
7677 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7678
7679 2011-07-08 Juri Linkov <juri@jurta.org>
7680
7681 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7682 (archive-zip-update-case): Use 7z if found by `executable-find'.
7683 The order of searching the available programs is the same as in
7684 `archive-zip-extract' (bug#8968).
7685
7686 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7687
7688 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7689 (menu-bar-options-menu): Tweak descriptions.
7690
7691 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7692
7693 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7694 menu items into verb phrases (bug#1421). Also refill to fit under
7695 80 columns.
7696
7697 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7698
7699 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7700 (Info-read-node-name): Doc fix (Bug#1084).
7701
7702 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7703 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7704 (end-of-sexp, beginning-of-sexp)
7705 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7706 (forward-symbol, forward-same-syntax, word-at-point)
7707 (sentence-at-point): Doc fix (Bug#1144).
7708
7709 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7710
7711 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7712 should cover it (bug#1281).
7713
7714 * cus-edit.el (custom-show): Mark as obsolete.
7715
7716 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
7717 negotiation fails, then possibly try again with a non-encrypted
7718 connection (bug#9017).
7719
7720 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7721 be used.
7722
7723 2011-07-07 Richard Stallman <rms@gnu.org>
7724
7725 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7726 property, and handle its changed format.
7727 Look for the correct line number.
7728 Use file's line contents (but not past first =) to find
7729 correct line in message.
7730
7731 2011-07-07 Kenichi Handa <handa@m17n.org>
7732
7733 * international/characters.el (build-unicode-category-table):
7734 Delete it.
7735 (unicode-category-table): Set it by unicode-property-table-internal.
7736
7737 * international/mule-cmds.el (char-code-property-alist): Move to
7738 to src/chartab.c.
7739 (get-char-code-property): Call unicode-property-table-internal to
7740 load a file. Call get-unicode-property-internal where necessary.
7741 (put-char-code-property): Call unicode-property-table-internal to
7742 load a file. Call put-unicode-property-internal where necessary.
7743 put-unicode-property-internal where necessary.
7744 (char-code-property-description):
7745 Call unicode-property-table-internal to load a file.
7746
7747 * international/charprop.el:
7748 * international/uni-bidi.el:
7749 * international/uni-category.el:
7750 * international/uni-combining.el:
7751 * international/uni-comment.el:
7752 * international/uni-decimal.el:
7753 * international/uni-decomposition.el:
7754 * international/uni-digit.el:
7755 * international/uni-lowercase.el:
7756 * international/uni-mirrored.el:
7757 * international/uni-name.el:
7758 * international/uni-numeric.el:
7759 * international/uni-old-name.el:
7760 * international/uni-titlecase.el:
7761 * international/uni-uppercase.el: Regenerate.
7762
7763 * loadup.el: Load international/charprop.el before
7764 international/characters.
7765
7766 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7767
7768 * window.el (next-buffer, previous-buffer): Signal an error if
7769 called from a minibuffer window.
7770
7771 * bindings.el: Revert 2011-07-04 change.
7772
7773 2011-07-06 Richard Stallman <rms@gnu.org>
7774
7775 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7776 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7777 Treat markers like ints.
7778 (rmail-mime-entity): Doc fix.
7779
7780 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7781
7782 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7783 defcustom again for backwards compatibility.
7784
7785 * simple.el (shell-command-on-region): Fill.
7786
7787 * dired-aux.el (dired-kill-line): Add a doc string.
7788
7789 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7790 to "\\sw\\|\\s_" (bug#358).
7791
7792 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7793 (dired-unmark-backward): Ditto.
7794 (dired-flag-backup-files): Ditto.
7795
7796 * dired-x.el (dired-mark-sexp): Ditto.
7797
7798 2011-07-06 Richard Stallman <rms@gnu.org>
7799
7800 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7801 (rmail-mime-entity): New arg TRUNCATED.
7802 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7803 New functions.
7804 (rmail-mime-save): Warn if entity is truncated.
7805 (rmail-mime-toggle-hidden): Likewise, for showing.
7806 (rmail-mime-process-multipart): Record when an entity is truncated.
7807
7808 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7809 if ENTITY is a string.
7810
7811 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7812
7813 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
7814 of faces when `M-C-x'-ing their definitions (bug#8378).
7815 Also clean up the code slightly.
7816
7817 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
7818 because that makes the colors go away.
7819
7820 * mail/sendmail.el (send-mail-function): Change the default to
7821 `sendmail-query-once'.
7822 (sendmail-query-once): Add an autoload cookie.
7823
7824 * net/network-stream.el (network-stream-open-starttls): Try using
7825 a plain connection even if the server offered STARTTLS, and we
7826 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7827 capability. This should make smtpmail.el work in slightly more
7828 configurations.
7829
7830 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
7831
7832 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7833 New defun.
7834 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7835
7836 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7837
7838 * progmodes/sql.el: Version 3.0
7839 (sql-product-alist): Add product :completion-object,
7840 :completion-column, and :statement attributes.
7841 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
7842 (sql-mode-syntax-table): Mark all punctuation.
7843 (sql-font-lock-keywords-builder): Temporarily remove fallback on
7844 ansi keywords.
7845 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
7846 (sql-mode-oracle-font-lock-keywords): Improve.
7847 (sql-oracle-show-reserved-words): New function for development.
7848 (sql-product-font-lock): Simplify for source code buffers.
7849 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7850 New functions.
7851 (sql-highlight-product): Set product specific syntax table.
7852 (sql-mode-map): Add statement movement functions.
7853 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7854 New variable.
7855 (sql-statement-regexp, sql-beginning-of-statement)
7856 (sql-end-of-statement, sql-signum): New functions.
7857 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
7858 (sql-show-sqli-buffer): Bug fix.
7859 (sql-interactive-mode): Store connection data as buffer local.
7860 (sql-connect): Add NEW-NAME parameter. Redesign interaction
7861 with sql-interactive-mode.
7862 (sql-save-connection): Save buffer local settings.
7863 (sql-connection-menu-filter): Change menu entry name.
7864 (sql-product-interactive): Bug fix.
7865 (sql-preoutput-hold): New variable.
7866 (sql-interactive-remove-continuation-prompt): Bug fixes.
7867 (sql-debug-redirect): New variable.
7868 (sql-str-literal): New function.
7869 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
7870 Redesign.
7871 (sql-oracle-save-settings, sql-oracle-restore-settings)
7872 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7873 (sql-completion-object, sql-completion-column)
7874 (sql-completion-sqlbuf): New variables.
7875 (sql-build-completions-1, sql-build-completions)
7876 (sql-try-completion): New functions.
7877 (sql-read-table-name): Use them.
7878 (sql-contains-names): New buffer local variable.
7879 (sql-list-all, sql-list-table): Use it.
7880 (sql-oracle-completion-types): New variable.
7881 (sql-oracle-completion-object, sql-sqlite-completion-object)
7882 (sql-postgres-completion-object): New functions.
7883
7884 2011-07-06 Glenn Morris <rgm@gnu.org>
7885
7886 * window.el (pop-to-buffer): Doc fix.
7887
7888 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
7889
7890 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7891
7892 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
7893
7894 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7895
7896 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
7897
7898 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
7899
7900 * button.el (button): Inherit from link face. Suggested by Dan
7901 Nicolaescu.
7902
7903 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7904
7905 * progmodes/gdb-mi.el: Fit in 80 columns.
7906 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7907 switch-to-buffer.
7908
7909 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7910 if imenu is simply not configured (bug#8941).
7911
7912 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7913
7914 * allout.el (allout-post-undo-hook): New allout outline-change
7915 event hook to signal undo activity.
7916 (allout-post-command-business): Run allout-post-undo-hook if an
7917 undo just occurred.
7918 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7919 * allout-widgets.el (allout-widgets-after-undo-function):
7920 Ensure the integrity of the current item's decoration after it has been
7921 in the vicinity of an undo.
7922 (allout-widgets-mode): Include allout-widgets-after-undo-function
7923 on the new allout-post-undo-hook.
7924
7925 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7926
7927 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7928 Let define-derived-mode define it.
7929 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7930 cycles of abbrev-table inheritance (bug#8998).
7931
7932 2011-07-05 Roland Winkler <winkler@gnu.org>
7933
7934 * textmodes/bibtex.el: Add support for biblatex.
7935 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7936 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7937 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7938 (bibtex-entry-alist, bibtex-field-alist): New variables.
7939 (bibtex-entry-field-alist): Obsolete alias for
7940 bibtex-BibTeX-entry-alist.
7941 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7942 (bibtex-set-dialect): New command.
7943 (bibtex-entry-type, bibtex-entry-head)
7944 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7945 Bind via bibtex-set-dialect.
7946 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7947 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7948 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7949 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7950 Define via bibtex-set-dialect.
7951 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7952 Obey bibtex-no-opt-remove-re.
7953 (bibtex-vec-push, bibtex-vec-incr): New functions.
7954 (bibtex-format-entry, bibtex-field-list)
7955 (bibtex-print-help-message, bibtex-validate)
7956 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7957
7958 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7959
7960 * progmodes/compile.el (compilation-goto-locus):
7961 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7962 * bs.el (bs-cycle-next, bs-cycle-previous):
7963 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7964 * bindings.el (mode-line-other-buffer):
7965 * autoinsert.el (auto-insert):
7966 * arc-mode.el (archive-extract):
7967 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7968
7969 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
7970
7971 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7972 Fix check of `emacs-lock-unlockable-modes'.
7973 Coerce true values of `emacs-lock--try-unlocking' to t.
7974
7975 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
7976
7977 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7978 * emacs-lock.el: New file.
7979
7980 2011-07-05 Julien Danjou <julien@danjou.info>
7981
7982 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7983 than `boundp' to check if face is set.
7984
7985 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
7986
7987 * register.el (registerv-make):
7988 * window.el (window-min-height): Fix typos in docstrings.
7989
7990 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7991
7992 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7993 Update doc string.
7994
7995 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
7996
7997 * server.el (server-execute): Catch quit and call
7998 `server-return-error' to pass the error back to emacsclient and
7999 close the connection (bug#8942).
8000
8001 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8002
8003 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8004 insecure exception for current topic. Also note that auto-saves
8005 are handled differently.
8006
8007 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
8008 State variables for tracking auto-save inhibition situation.
8009
8010 (allout-write-contents-hook-handler): Rename from
8011 'allout-write-file-hook-handler', and describe how it depends on
8012 write-contents-functions sensitivity to non-nil value to prevent
8013 file write.
8014
8015 (allout-auto-save-hook-handler): Remove. auto-save does not check
8016 this in individual buffers, only in the starting buffer, so this
8017 is not the right way for us to inhibit auto-save in a buffer
8018 according to its condition.
8019
8020 (allout-mode): Use new allout-write-contents-hook-handler, and
8021 only with write-contents-functions. Remove auto-save provisions -
8022 they're implemented elsewhere.
8023
8024 (allout-before-change-handler): If undo is in progress, note that
8025 for attention of allout-post-command-business.
8026
8027 (allout-post-command-business): If the command we're following was
8028 an undo, check for change in the status of encrypted items and
8029 adjust auto-save inhibitions accordingly.
8030
8031 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8032 according to whether there are or aren't any plain-text topics
8033 pending encryption.
8034
8035 (allout-inhibit-auto-save-info-for-decryption):
8036 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8037 if there are plain-text topics pending encryption.
8038
8039 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8040 buffer-saved-size and some allout state to not inhibit auto-saves
8041 if there are no longer any plain-text topics pending encryption.
8042
8043 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8044 No longer provide for exemption of the current topic.
8045
8046 2011-07-04 Juri Linkov <juri@jurta.org>
8047
8048 Add 7z operations to delete and save changed members (bug#8968).
8049 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8050 New defcustoms.
8051 (archive-7z-write-file-member): New function.
8052 (archive-7z-summarize): Fix the number of dashes in the
8053 listing output.
8054
8055 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8056
8057 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8058 (bug#8958).
8059
8060 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
8061
8062 * bindings.el: Ignore next-buffer and previous-buffer in
8063 minibuffer-local-map.
8064
8065 * font-lock.el (font-lock-builtin-face): Change light background
8066 color to dark slate blue (Bug#6693).
8067
8068 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8069
8070 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8071
8072 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8073
8074 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8075 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8076 Add switch-to-buffer.
8077
8078 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8079
8080 * isearch.el (isearch-search-fun-function): Clarify further the
8081 meaning of the function returned.
8082
8083 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
8084
8085 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8086
8087 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8088 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8089 Use it.
8090 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8091 `tramp-default-remote-path' does not exist.
8092 (tramp-send-command-and-read): New optional argument NOERROR.
8093 (tramp-open-connection-setup-interactive-shell)
8094 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8095 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8096 (tramp-process-sentinel): Flush also process' connection property.
8097 (tramp-sh-handle-start-file-process): Do not set process
8098 sentinel. It is done now ...
8099 (tramp-maybe-open-connection): ... here. (Bug#8929)
8100
8101 2011-07-04 MON KEY <monkey@sandpframing.com>
8102
8103 * play/animate.el (animate-string): Doc fixes and allow changing
8104 the buffer name (bug#5417).
8105
8106 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8107
8108 * play/animate.el (animation-buffer-name): Rename from *animate*.
8109
8110 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8111
8112 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8113 This is simpler and helps future-proof the code.
8114 (timer-until): Use time-subtract and float-time.
8115 (timer--time-less-p): Use time-less-p.
8116
8117 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8118
8119 * type-break.el (timep): Use the value of `float-time' to avoid a
8120 byte-compiler warning.
8121
8122 * server.el (server-eval-and-print): Return any result, even nil.
8123
8124 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8125
8126 * type-break.el: Accept time formats that the builtins accept.
8127 (timep, type-break-time-difference): Accept any format that
8128 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8129 This is simpler and helps future-proof the code.
8130 (type-break-time-difference): Round rather than ignoring
8131 subseconds components.
8132
8133 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8134
8135 * info.el (Info-apropos-matches): Make non-interactive, since it
8136 doesn't seem to do anything useful as a command (bug#8829).
8137
8138 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
8139
8140 * frame.el (frame-background-mode, frame-set-background-mode):
8141 Move from faces.el.
8142 (frame-default-terminal-background): New function.
8143
8144 * custom.el (custom-push-theme): Don't record faces in `changed'
8145 theme; this doesn't work correctly for per-frame face settings.
8146 (disable-theme): Use face-set-after-frame-default to reset faces.
8147 (custom--frame-color-default): New function.
8148
8149 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8150
8151 * dired.el (dired-flagging-regexp): Remove unused variable
8152 (bug#8769).
8153
8154 2011-03-29 Kevin Ryde <user42@zip.com.au>
8155
8156 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8157 `perl-Test2' extend to match possible "fail #N" rep count
8158 (bug#8377).
8159
8160 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8161
8162 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8163 `smtpmail-via-smtp' now returns the error instead of nil.
8164
8165 * isearch.el (isearch-search-fun-function): Clarify the doc string
8166 (bug#8101).
8167
8168 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
8169
8170 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8171 unnecessary spaces (bug#8987).
8172
8173 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8174
8175 * net/network-stream.el (open-network-stream): Use the
8176 :end-of-capability command thoughout.
8177
8178 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8179
8180 * net/network-stream.el (open-network-stream): Add the
8181 :end-of-capability command parameter, used by pop3.el.
8182
8183 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8184
8185 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8186
8187 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8188 for list)" (bug#6475).
8189
8190 * files.el (file-expand-wildcards): Ignore non-readable
8191 sub-directories while trying to find matches instead of signaling
8192 an error (bug#6297).
8193
8194 * man.el (Man-reference-regexp): Allow matching possible
8195 word-wrapped references (bug#6289).
8196
8197 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8198 for consistency with the other vc buffers (bug#6197).
8199 (vc-checkin): Ditto.
8200
8201 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8202
8203 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8204
8205 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8206
8207 * custom.el (defcustom): Clarify that :set is only used in the
8208 Customize user interface (bug#6089).
8209
8210 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8211 associated with a file, refuse to run instead of erroring out
8212 (bug#6084).
8213
8214 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8215 the doc string, since it appears that using `fill-column' always
8216 controls the width (bug#7845).
8217
8218 * simple.el (shell-command-on-region): Say where the error output
8219 went if `shell-command-default-error-buffer' is set (bug#6857).
8220
8221 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8222
8223 * allout.el (allout-yank-processing): Adjust cursor position for
8224 backwards-deleted space.
8225
8226 (allout-rebullet-heading): Register changes with
8227 allout-exposure-changed-hook, so the modified topic is properly
8228 decorated.
8229
8230 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8231
8232 * minibuffer.el (completion-in-region): Document PREDICATE
8233 (bug#7136).
8234
8235 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8236 of keyword/argument pairs (bug#6904).
8237
8238 * replace.el (multi-occur):
8239 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
8240
8241 2011-07-02 Drew Adams <drew.adams@oracle.com>
8242
8243 * dired.el (dired-mark-if): Make the message about whether it's
8244 marking or unmarking clearer (bug#8523).
8245
8246 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8247
8248 * disp-table.el (display-table-print-array): New function.
8249 (describe-display-table): Use it to print the vectors more pretty
8250 (Bug#8859).
8251
8252 2011-07-02 Martin Rudalics <rudalics@gmx.at>
8253
8254 * window.el (window-state-get-1): Don't assign clone numbers.
8255 Add clone-of item to list of window parameters.
8256 (window-state-put-2): Don't process clone numbers.
8257 (display-buffer-alist): Fix doc-string.
8258
8259 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8260
8261 * subr.el (remq): Don't allocate if it's not needed.
8262 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8263 (keymap--merge-bindings): New functions.
8264 (keymap-canonicalize): Use them to refine the canonicalization.
8265 * minibuffer.el (minibuffer-local-completion-map)
8266 (minibuffer-local-must-match-map): Move initialization from C.
8267 (minibuffer-local-filename-completion-map): Move initialization from C;
8268 don't inherit from anything here.
8269 (minibuffer-local-filename-must-match-map): Make obsolete.
8270 (completing-read-default): Use make-composed-keymap to combine
8271 minibuffer-local-filename-completion-map with either
8272 minibuffer-local-must-match-map or
8273 minibuffer-local-filename-completion-map.
8274
8275 2011-07-01 Glenn Morris <rgm@gnu.org>
8276
8277 * type-break.el (type-break-time-sum): Use dolist.
8278
8279 * textmodes/flyspell.el (flyspell-word-search-backward):
8280 Replace CL function.
8281
8282 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8283
8284 * mouse.el (mouse--strip-first-event): New function.
8285 (function-key-map): Use it to map fringe clicks to normal clicks
8286 by default.
8287
8288 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8289 (vc-bzr-revision-completion-table): Add support for annotate and date.
8290
8291 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8292 inherit from parent.
8293
8294 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8295
8296 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
8297 (dired-show-file-type): Doc fixup (bug#8818).
8298
8299 * dired.el (dired-mode): Fix up the doc string as suggested by
8300 Drew Adams (bug#8817).
8301
8302 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8303 cookie, since the manual says that it should be possible to add
8304 this function to `find-file-hook' (bug#8709).
8305
8306 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8307
8308 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8309 here. Noted Ted Zlatanov as the maintainer.
8310 (cfengine-common-settings, cfengine-common-syntax): New functions
8311 to set up common things between `cfengine-mode' and
8312 `cfengine3-mode'.
8313 (cfengine3-mode): New mode.
8314 (cfengine3-defuns cfengine3-defuns-regex
8315 (cfengine3-class-selector-regex cfengine3-category-regex)
8316 (cfengine3-vartypes cfengine3-font-lock-keywords)
8317 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
8318 (cfengine3-indent-line): Add from cfengine3.el.
8319
8320 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
8321
8322 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8323
8324 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8325
8326 2011-07-01 Martin Rudalics <rudalics@gmx.at>
8327
8328 * window.el (same-window-buffer-names, same-window-regexps)
8329 (same-window-p, special-display-frame-alist)
8330 (special-display-popup-frame, special-display-function)
8331 (special-display-buffer-names, special-display-regexps)
8332 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8333 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8334 (split-window-preferred-function, split-height-threshold)
8335 (split-width-threshold, even-window-heights)
8336 (display-buffer-mark-dedicated, window-splittable-p)
8337 (split-window-sensibly, window-safely-shrinkable-p):
8338 Un-obsolete.
8339 (display-buffer): Don't spread args with function specifier
8340 because special-display-popup-frame won't like it.
8341
8342 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8343
8344 Time-stamp simplifications and fixes.
8345 These improve accuracy slightly, and future-proof the code
8346 against some potential changes to current-time format.
8347
8348 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8349 by using time-since and float-time.
8350
8351 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8352 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8353 + NNN microseconds".
8354
8355 * type-break.el (type-break-time-sum): Rewrite using time-add.
8356
8357 * play/hanoi.el (hanoi-current-time-float): Remove.
8358 All uses replaced by float-time.
8359
8360 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8361 This yields a more-accurate answer.
8362 (rng-time-to-float): Remove; no longer needed.
8363
8364 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8365
8366 * calendar/timeclock.el (timeclock-seconds-to-time):
8367 Defalias to seconds-to-time, since they're the same thing.
8368
8369 * emacs-lisp/elp.el (elp-elapsed-time):
8370 * emacs-lisp/benchmark.el (benchmark-elapse):
8371 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8372
8373 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8374
8375 * window.el (bury-buffer): Don't iconify the only frame.
8376 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8377 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8378
8379 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
8380
8381 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8382 Add mouse-yank-primary.
8383
8384 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8385
8386 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8387
8388 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8389
8390 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8391 (find-library-name): Use it to find relative load names when provided
8392 absolute file name (bug#8803).
8393
8394 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8395
8396 * textmodes/flyspell.el (flyspell-word): Consider words that
8397 differ only in case as potential doublons (bug#5687).
8398
8399 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8400 Remove two rather uninteresting debugging-like messages to make
8401 debbugs.el more silent.
8402
8403 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8404 a password-like phrase.
8405
8406 2011-06-30 Masatake YAMATO <yamato@redhat.com>
8407
8408 * progmodes/cc-guess.el: New file.
8409
8410 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
8411
8412 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8413 derived from `c-basic-common-init'.
8414
8415 * progmodes/cc-mode.el (top-level): Require cc-guess.
8416 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8417
8418 2011-06-30 Lawrence Mitchell <wence@gmx.li>
8419
8420 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8421
8422 2011-06-30 Alan Mackenzie <acm@muc.de>
8423
8424 * progmodes/cc-engine.el (c-guess-continued-construct):
8425 Correct the handling of template-args-cont, particularly for when font
8426 lock is disabled. Name this case as "CASE G".
8427
8428 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8429
8430 * allout.el (allout-yank-processing): Fix injection of extra space
8431 between bullet and non-whitespace character in first topic when
8432 pasting, ensuring that the actual spacing in the pasted topic
8433 following the bullet char is preserved. This extra space was
8434 causing pasted encrypted topics to get a decrypted status even
8435 when the content was actually still encrypted. Now the decryption
8436 status from before the paste is preserved.
8437
8438 (allout-flag-region): Set all allout overlays so they evaporate
8439 when reduced to zero length (evanescent), to prevent overlay
8440 leakage.
8441
8442 2011-06-30 Glenn Morris <rgm@gnu.org>
8443
8444 * w32-fns.el (w32-charset-info-alist): Declare.
8445
8446 * find-dired.el (find-grep-options): Simplify.
8447
8448 * term/ns-win.el (ns-set-resource): Declare.
8449
8450 * ses.el (row, col): Declare dynamic variables honestly.
8451
8452 * textmodes/reftex-parse.el (index-tags): Declare.
8453
8454 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
8455
8456 * cus-edit.el (customize-push-and-save): New function.
8457
8458 * files.el (hack-local-variables-confirm): Use it.
8459
8460 * custom.el (load-theme): New arg NO-CONFIRM.
8461 Use customize-push-and-save (Bug#8720).
8462 (custom-enabled-themes): Doc fix.
8463
8464 * cus-theme.el (customize-create-theme)
8465 (custom-theme-merge-theme): Callers to load-theme changed.
8466
8467 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8468
8469 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8470 short URLs have at least one dot in them (bug #7614).
8471
8472 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8473 nil, because using a pty is apparently too slow (bug #895).
8474
8475 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8476
8477 * mail/sendmail.el (sendmail-query-once): New function.
8478 (sendmail-query-once-function): New variable.
8479
8480 2011-06-29 Glenn Morris <rgm@gnu.org>
8481
8482 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8483
8484 * ses.el (top-level): Require cl when compiling.
8485 (ses-set-localvars): Fix error statement.
8486 Call it at compile time to silence a storm of warnings.
8487
8488 2011-06-29 Martin Rudalics <rudalics@gmx.at>
8489
8490 * window.el (normalize-live-buffer): Rename to
8491 window-normalize-buffer.
8492 (normalize-live-frame): Rename to window-normalize-frame.
8493 (normalize-any-window): Rename to window-normalize-any-window.
8494 (normalize-live-window): Rename to window-normalize-live-window.
8495 (make-window-atom): Rename to window-make-atom.
8496 (window-resize-reset): Rename to window--resize-reset.
8497 (window-resize-reset-1): Rename to window--resize-reset-1.
8498 (resize-mini-window): Rename to window--resize-mini-window.
8499 (resize-subwindows-skip-p): Rename to
8500 window--resize-subwindows-skip-p.
8501 (resize-subwindows-normal): Rename to
8502 window--resize-subwindows-normal.
8503 (resize-subwindows): Rename to window--resize-subwindows.
8504 (resize-other-windows): Rename to window--resize-siblings.
8505 (resize-this-window): Rename to window--resize-this-window.
8506 (resize-root-window): Rename to window--resize-root-window.
8507 (resize-root-window-vertically): Rename to
8508 window--resize-root-window-vertically.
8509 (normalize-buffer-to-display): Rename to
8510 window-normalize-buffer-to-display.
8511 (normalize-buffer-to-switch-to): Rename to
8512 window-normalize-buffer-to-switch-to.
8513 Correspondingly update all callers of the functions listed
8514 above.
8515 (display-buffer-alist, display-buffer-normalize-arguments)
8516 (display-buffer-normalize-options, display-buffer)
8517 (display-buffer-alist-set): Use "function" instead of
8518 "fun-with-args".
8519
8520 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
8521
8522 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8523 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8524 debbugs.gnu.org. Mention acknowledgment email.
8525
8526 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8527
8528 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8529 buffer multibyteness, since it shouldn't matter.
8530
8531 2011-06-28 Martin Rudalics <rudalics@gmx.at>
8532
8533 * window.el (display-buffer-in-side-window): Handle dedicated
8534 windows as in display-buffer-reuse-window.
8535 (display-buffer-normalize-alist): Use value of override
8536 specifier.
8537 (display-buffer-normalize-specifiers): Use value of
8538 other-window-means-other-frame specifier.
8539 (display-buffer-alist): Rewrite some texts in widgets.
8540 (display-buffer): Spread arguments when calling function
8541 specified by fun-with-args.
8542
8543 2011-06-28 Deniz Dogan <deniz@dogan.se>
8544
8545 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8546 Unnest `let'.
8547
8548 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8549 selectors (Bug#5732).
8550 (css-proprietary-nmstart-re): Use `regexp-opt'.
8551
8552 2011-06-27 Jari Aalto <jari.aalto@cante.net>
8553
8554 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8555 (eshell-ls-date-format): New defcustom.
8556 (eshell-ls-file): Use it.
8557
8558 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8559
8560 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8561
8562 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8563
8564 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8565 (ange-ftp-make-tmp-name): New arg.
8566 (ange-ftp-file-local-copy): Use it.
8567
8568 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
8569
8570 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8571 no-conversion (Bug#8870).
8572
8573 2011-06-27 Martin Rudalics <rudalics@gmx.at>
8574
8575 * window.el (window-right, window-left, window-child)
8576 (window-child-count, window-last-child)
8577 (window-iso-combination-p, walk-window-tree-1)
8578 (window-atom-check-1, window-tree-1, delete-window)
8579 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8580 new naming conventions - window-vchild, window-hchild,
8581 window-next and window-prev are now called window-top-child,
8582 window-left-child, window-next-sibling and window-prev-sibling
8583 respectively.
8584 (resize-window-reset): Rename to window-resize-reset.
8585 (resize-window-reset-1): Rename to window-resize-reset-1.
8586 (resize-window): Rename to window-resize.
8587 (window-min-height, window-min-width)
8588 (resize-mini-window, resize-this-window, resize-root-window)
8589 (resize-root-window-vertically, adjust-window-trailing-edge)
8590 (enlarge-window, shrink-window, maximize-window)
8591 (minimize-window, delete-window, quit-restore-window)
8592 (split-window, balance-windows, balance-windows-area-adjust)
8593 (balance-windows-area, window-state-put-2)
8594 (display-buffer-even-window-sizes, display-buffer-set-height)
8595 (display-buffer-set-width, set-window-text-height)
8596 (fit-window-to-buffer): Rename all "resize-window" prefixed
8597 calls to use the "window-resize" prefix convention.
8598 (display-buffer-alist): Fix symbol for label specifier.
8599 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8600 corresponding specifier.
8601 Reported by Juanma Barranquero <lekktu@gmail.com>.
8602
8603 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8604
8605 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8606 convention.
8607 (ses-call-printer): Does not pass an empty string to formatter when the
8608 cell is empty to keep from barking printer Calc math-format-value.
8609
8610 2011-06-27 Richard Stallman <rms@gnu.org>
8611
8612 * battery.el (battery-mode-line-limit): New variable.
8613 (battery-update): Handle it.
8614
8615 * mail/rmailmm.el (rmail-mime-process-multipart):
8616 Handle truncated messages.
8617
8618 2011-06-27 Glenn Morris <rgm@gnu.org>
8619
8620 * progmodes/flymake.el (flymake-err-line-patterns):
8621 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8622
8623 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8624
8625 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
8626 (ses--clean-!, ses--clean-_): New functions.
8627 (ses-range): Add configurability of readout order, and conversion
8628 to Calc vector.
8629
8630 * ses.el (ses-repair-cell-reference-all): New function.
8631 (ses-cell-symbol): Set macro as safe, so that it can be used in
8632 formulas.
8633
8634 * ses.el: Update cycle detection algorithm.
8635 (ses-localvars): Add ses--Dijkstra-attempt-nb and
8636 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
8637 (ses-set-localvars): New function.
8638 (ses-make-cell): Add property-list as a cell element.
8639 (ses-cell-property-get-fun, ses-cell-property-get)
8640 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
8641 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8642 New functions.
8643 (ses-cell-property-set, ses-cell-property-pop)
8644 (ses-cell-property-get-handle): New macro.
8645 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8646 New aliases, used for code readability.
8647 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8648 cycle detection.
8649 (ses-self-reference-early-detection): New defcustom.
8650 (ses-formula-references): Robustify against self-referring cells.
8651 (ses-mode): Use ses-set-localvars.
8652 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8653 before lauching the update processing.
8654 (ses-initialize-Dijkstra-attempt): New function.
8655 (ses-recalculate-cell): Update for cycle detection based on
8656 Dijkstra algorithm.
8657
8658 * ses.el: Fix commenting and indenting convention.
8659
8660 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8661
8662 * bs.el (bs-cycle-next): Complete last change.
8663
8664 2011-06-27 Drew Adams <drew.adams@oracle.com>
8665
8666 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8667
8668 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8669
8670 * net/network-stream.el (network-stream-open-starttls):
8671 Don't re-get capabilities unless we've reestablished connection.
8672 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8673
8674 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8675 to binary to possibly avoid line encoding issues on Windows (among
8676 other things).
8677
8678 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8679
8680 * net/network-stream.el (open-network-stream): Return an :error
8681 saying what the problem was, if possible.
8682
8683 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8684 server.
8685
8686 * net/network-stream.el (network-stream-open-starttls): If we
8687 wanted to use STARTTLS, and the server offered it, but we weren't
8688 able to because we had no STARTTLS support, then close the connection.
8689 (open-network-stream): Return an :error element, if present.
8690
8691 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
8692
8693 * hl-line.el (hl-line-sticky-flag): Doc fix.
8694 (global-hl-line-sticky-flag): New option (Bug#8323).
8695 (global-hl-line-highlight): Obey it.
8696
8697 * vc/vc.el (vc-revert-show-diff): Default to t.
8698
8699 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8700
8701 * allout-widgets.el (allout-widgets-post-command-business):
8702 Stop decorating intermediate isearch matches. They're not being
8703 undecorated when an isearch is continued past, and isearch
8704 automatically collapses them. This leads to "widget leaks", where
8705 decorated items accumulate in collapsed areas. Lines with lots of
8706 hidden widgets can slow down cursor travel, substantially.
8707 Too much complicated machinery would be needed to ensure undecoration,
8708 so we're doing without this nicety.
8709
8710 (allout-widgets-tally-string): Don't try to do a hash-table-count
8711 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8712 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8713 *Messages* when allout-widgets-maintain-tally is t.
8714
8715 2011-06-26 Martin Rudalics <rudalics@gmx.at>
8716
8717 * window.el (display-buffer-normalize-argument): Rename to
8718 display-buffer-normalize-arguments. Handle special meaning of
8719 LABEL argument. Respect special-display-function when popping up
8720 a new frame. Fix code searching for a window showing the buffer
8721 on another frame.
8722 (display-buffer-normalize-specifiers):
8723 Call display-buffer-normalize-arguments.
8724 (display-buffer-in-window): Don't undedicate the window if its
8725 buffer remains the same.
8726 Reported by Drew Adams <drew.adams@oracle.com>.
8727 (display-buffer-alist): Add choice for same-window macro
8728 specfier.
8729 (display-buffer): Mention special meaning of LABEL argument in
8730 doc-string. Fix quoting. Don't pop up a new frame even as
8731 fallback.
8732
8733 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
8734
8735 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8736 avoid deleting the current window in some cases (bug#8911).
8737
8738 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8739
8740 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8741 (Bug#8934)
8742
8743 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8744
8745 * net/network-stream.el (network-stream-open-starttls):
8746 Use built-in TLS support if `gnutls-available-p' is true.
8747 (network-stream-open-tls): Ditto.
8748
8749 2011-06-26 Leo Liu <sdl.web@gmail.com>
8750
8751 * register.el (registerv): New struct.
8752 (registerv-make): New function.
8753 (jump-to-register, describe-register-1, insert-register):
8754 Support the jump-func, print-func and insert-func slot of a registerv
8755 struct. (Bug#8415)
8756
8757 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
8758
8759 * vc/vc.el (vc-revert-show-diff): New defcustom.
8760 (vc-diff-internal): New arg specifying diff buffer.
8761 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8762 reuse an existing *vc-diff* buffer (Bug#8927).
8763
8764 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8765
8766 2011-06-26 Glenn Morris <rgm@gnu.org>
8767
8768 * progmodes/f90.el (f90-critical-indent): New option.
8769 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8770 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8771 (f90-mode): Doc fix.
8772 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8773 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8774 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8775 (f90-match-end): Handle block, critical.
8776
8777 2011-06-25 Glenn Morris <rgm@gnu.org>
8778
8779 * calendar/diary-lib.el (diary-included-files): Doc fix.
8780 (diary-include-files): New function, extracted from
8781 diary-include-other-diary-files and diary-mark-included-diary-files.
8782 (diary-include-other-diary-files, diary-mark-included-diary-files):
8783 Just call diary-include-files.
8784 (diary-mark-entries): Reset diary-included-files on first call.
8785
8786 * calendar/diary-lib.el (diary-mark-entries)
8787 (diary-mark-included-diary-files):
8788 Visit included diary-files in temp buffers.
8789
8790 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8791 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8792 (f90-start-block-re, f90-imenu-generic-expression)
8793 (f90-looking-at-program-block-start, f90-no-block-limit):
8794 Add support for submodules.
8795
8796 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8797 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
8798
8799 2011-06-25 Eli Zaretskii <eliz@gnu.org>
8800
8801 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8802 buffer-file-type before setting its value, to avoid disastrous
8803 global effects on decoding files for DOS/Windows systems. (Bug#8780)
8804
8805 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
8806
8807 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8808
8809 * ses.el (ses-unload-function):
8810 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8811
8812 * proced.el (proced-unload-function):
8813 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8814
8815 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8816
8817 * server.el (server-create-window-system-frame): Add parameters arg.
8818 (server-process-filter): Doc fix. Handle frame-parameters.
8819
8820 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
8821
8822 Fix bug#8730, bug#8781.
8823
8824 * loadhist.el (unload--set-major-mode): New function.
8825 (unload-feature): Use it.
8826
8827 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8828 (python-unload-function): New function.
8829
8830 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8831
8832 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8833
8834 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8835
8836 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8837 the candidates list.
8838
8839 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
8840
8841 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8842
8843 2011-06-23 Richard Stallman <rms@gnu.org>
8844
8845 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8846 (rmail-variables): Set next-error-move-function.
8847 (rmail-what-message): Take argument POS.
8848 (rmail-next-error-move): New function.
8849
8850 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8851
8852 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8853 messages for adjacent non-terminals.
8854
8855 2011-06-23 Richard Stallman <rms@gnu.org>
8856
8857 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
8858 (rmail-show-message-1): Preserve buffer modified flag.
8859 (rmail-start-mail): Don't specify use of rmail-mail-return;
8860 that's done by mail-bury now.
8861 (rmail-mail-return): Handle arg NEWBUF.
8862
8863 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
8864
8865 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8866 SIZE is a number.
8867
8868 2011-06-23 Martin Rudalics <rudalics@gmx.at>
8869
8870 * window.el (get-lru-window, get-mru-window)
8871 (get-largest-window): Never return a minibuffer window.
8872 (display-buffer-pop-up-window): Fix a bug that could lead to
8873 reusing the minibuffer window.
8874 (display-buffer): Pass original specifier argument to
8875 display-buffer-function instead of the normalized one.
8876 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8877
8878 2011-06-22 Leo Liu <sdl.web@gmail.com>
8879
8880 * minibuffer.el (completing-read-function)
8881 (completing-read-default): Move from minibuf.c
8882
8883 2011-06-22 Richard Stallman <rms@gnu.org>
8884
8885 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8886 to Rmail even if not started by a special Rmail command.
8887
8888 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8889 Copy the buffer currently showing just one message.
8890
8891 2011-06-22 Roland Winkler <winkler@gnu.org>
8892
8893 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8894 (bibtex-clean-entry): First delete the old key so that a
8895 customized algorithm for generating the new key does not get
8896 confused by the old key.
8897 (bibtex-url): Obey regexp of first step.
8898 (bibtex-search-entries): Do not use add-to-list with local
8899 list-var.
8900
8901 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8902
8903 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8904 stored a user name, then query for the password first, instead of
8905 waiting for SMTP to give an error message and the trying again.
8906
8907 2011-06-22 Lawrence Mitchell <wence@gmx.li>
8908
8909 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8910 BUFFER in call-process.
8911
8912 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8913
8914 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8915 QUIT twice.
8916 (smtpmail-try-auth-methods): Require user name and password from
8917 auth-source.
8918
8919 2011-06-22 Martin Rudalics <rudalics@gmx.at>
8920
8921 * window.el (display-buffer-default-specifiers)
8922 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8923 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
8924 (split-window): Normalize SIDE argument (Bug#8916).
8925
8926 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8927 (special-display-frame-alist, special-display-popup-frame):
8928 Remove duplicate declarations. These are now in window.el.
8929
8930 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8931
8932 * mail/smtpmail.el (smtpmail-via-smtp):
8933 Set :use-starttls-if-possible so that we always use STARTTLS if the
8934 server supports it. SMTP servers that support STARTTLS commonly
8935 require it.
8936
8937 * net/network-stream.el (network-stream-open-starttls): Support
8938 upgrading to STARTTLS always, even if we don't have built-in support.
8939 (open-network-stream): Add the :always-query-capabilities keyword.
8940
8941 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8942 upgrades with `open-network-stream', and rely solely on
8943 auth-source for all credentials. Big changes throughout the file,
8944 but in particular:
8945 (smtpmail-auth-credentials): Remove.
8946 (smtpmail-starttls-credentials): Remove.
8947 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8948 MAIL FROM, too.
8949
8950 * net/network-stream.el (network-stream-open-starttls):
8951 Provide support for client certificates both for external and built-in
8952 STARTTLS.
8953 (auth-source): Require.
8954 (open-network-stream): Document the :client-certificate keyword.
8955 (network-stream-certificate): Change cert-cert to cert and
8956 cert-key to key.
8957
8958 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
8959
8960 * net/tramp-cache.el (top): Don't load the persistency file when
8961 "emacs -Q" has been called.
8962
8963 2011-06-21 Tim Harper <timcharper@gmail.com>
8964
8965 * term/ns-win.el (ns-initialize-window-system):
8966 Set application-specific `ApplePressAndHoldEnabled' system
8967 resource to NO as it is not yet supported by the NS port.
8968
8969 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
8970
8971 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8972 (list-dynamic-libraries): ...not here.
8973
8974 2011-06-21 Leo Liu <sdl.web@gmail.com>
8975
8976 * subr.el (sha1): Implement sha1 using secure-hash.
8977
8978 2011-06-21 Martin Rudalics <rudalics@gmx.at>
8979
8980 * window.el (display-buffer-alist): In default value do not
8981 enforce searching a window on any but the selected frame.
8982 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8983 (display-buffer-select-window): Remove function.
8984 (display-buffer-in-window): When a window on another frame gets
8985 reused, do not select it any more but just raise its frame if
8986 necessary (Bug#8851) and (Bug#8856).
8987 (display-buffer-normalize-options): Handle pop-up-frames related
8988 options more faithfully.
8989 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8990 window if it is on another frame.
8991 (display-buffer-alist, display-buffer-default-specifiers):
8992 Don't make new frame unsplittable by default.
8993 (display-buffer-normalize-argument): Fix doc-string typo and use
8994 'same-frame-other-window instead of 'other-window when associating
8995 with display-buffer-macro-specifiers.
8996
8997 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8998
8999 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9000 New functions.
9001 (5x5-mode-map, 5x5-mode-menu): Bind them.
9002 (5x5-draw-grid): Tweak the solver's rendering.
9003
9004 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9005
9006 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9007 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9008
9009 2011-06-21 Drew Adams <drew.adams@oracle.com>
9010
9011 * menu-bar.el: Use function variable instead of switch-to-buffer.
9012 (menu-bar-select-buffer-function): New variable.
9013 (menu-bar-update-buffers): Use it (bug#8876).
9014
9015 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9016
9017 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9018 variable's status.
9019
9020 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9021
9022 * x-dnd.el (x-dnd-version-from-flags)
9023 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9024 and long as number (Bug#8899).
9025 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9026
9027 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9028
9029 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
9030 (completion-try-completion, completion-all-completions): Compute the
9031 metadata argument if it's missing; make it optional (bug#8795).
9032
9033 * wid-edit.el: Use lex-bind and move towards completion-at-point.
9034 (widget-complete): Use new :completion-function property.
9035 (widget-completions-at-point): New function.
9036 (default): Use :completion-function instead of :complete.
9037 (widget-default-completions): Rename from widget-default-complete;
9038 Rewrite.
9039 (widget-string-complete, widget-file-complete, widget-color-complete):
9040 Remove functions.
9041 (file, symbol, function, variable, coding-system, color):
9042 * international/mule-cmds.el (default-input-method, charset)
9043 (language-info-custom-alist):
9044 * cus-edit.el (face): Use new property :completions.
9045
9046 * progmodes/pascal.el (pascal-completions-at-point): New function.
9047 (pascal-mode): Use it.
9048 (pascal-mode-map): Use completion-at-point.
9049 (pascal-toggle-completions): Make obsolete.
9050 (pascal-complete-word, pascal-show-completions):
9051 * progmodes/octave-mod.el (octave-complete-symbol):
9052 Redefine as obsolete alias.
9053 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9054 Signal absence of completion info for old Octave,
9055 (inferior-octave-complete): Redefine as obsolete alias.
9056 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9057 (meta-completions-at-point): Rename from meta-complete-symbol and
9058 adapt it for use on completion-at-point-functions.
9059 (meta-common-mode): Use it.
9060 (meta-looking-at-backward, meta-match-buffer): Remove.
9061 (meta-complete-symbol): Redefine as obsolete alias.
9062 (meta-common-mode-map): Use completion-at-point.
9063 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9064 (makefile-mode-map): Use completion-at-point.
9065 (makefile-completions-at-point): Rename from makefile-complete and
9066 adapt it for use on completion-at-point-functions.
9067 (makefile-mode): Use it.
9068 (makefile-complete): Redefine as obsolete alias.
9069
9070 2011-06-20 Deniz Dogan <deniz@dogan.se>
9071
9072 * net/rcirc.el: Delete trailing whitespaces once and for all.
9073
9074 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9075
9076 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9077
9078 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
9079
9080 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9081
9082 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9083
9084 2011-06-19 Martin Rudalics <rudalics@gmx.at>
9085
9086 * window.el (display-buffer-other-window-means-other-frame):
9087 Call display-buffer-normalize-alist.
9088 (display-buffer-normalize-specifiers-1): Rename to
9089 display-buffer-normalize-argument. New argument other-frame.
9090 Rewrite.
9091 (display-buffer-normalize-specifiers-2): Rename to
9092 display-buffer-normalize-options.
9093 (display-buffer-normalize-alist-1): New function.
9094 (display-buffer-normalize-specifiers-3): Rename to
9095 display-buffer-normalize-alist.
9096 Call display-buffer-normalize-alist-1.
9097 (display-buffer-normalize-options-inhibit): New variable.
9098 (display-buffer-normalize-specifiers): Rewrite calling
9099 display-buffer-normalize-alist,
9100 display-buffer-normalize-argument, and
9101 display-buffer-normalize-options. Don't call the latter if
9102 display-buffer-normalize-options-inhibit is non-nil.
9103 (frame-auto-delete): New option.
9104 (window-deletable-p): Use frame-auto-delete.
9105 (window-list-no-nils, window-state-ignored-parameters)
9106 (window-state-get-1, window-state-get, window-state-put-list)
9107 (window-state-put-1, window-state-put-2, window-state-put):
9108 New functions.
9109 (display-buffer-normalize-options): Move special-display-p group
9110 after pop-up-frame group (Bug#8851) and (Bug#8856).
9111
9112 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
9113
9114 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9115 groups (Bug#8776).
9116 (rx-submatch-n): New function.
9117 (rx): Document it.
9118
9119 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9120 (Bug#8768).
9121
9122 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9123
9124 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9125
9126 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9127 anytime existing face settings are present (Bug#8889).
9128
9129 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9130 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9131 Remove unused argument.
9132
9133 2011-06-18 Martin Rudalics <rudalics@gmx.at>
9134
9135 * window.el (display-buffer-default-specifiers):
9136 Remove pop-up-frame. Add pop-up-window-min-height,
9137 pop-up-window-min-width, and another reuse-window specifier
9138 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
9139 (display-buffer-normalize-specifiers-2):
9140 Handle split-height-threshold and split-width-threshold also when
9141 pop-up-windows is unset. Add a reuse-window specifier for the
9142 case popping up a new window fails.
9143 (special-display-popup-frame): Remove double quoting.
9144 (display-buffer-normalize-specifiers-1): Fix thinko.
9145
9146 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9147
9148 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9149 according to comint-completion-addsuffix.
9150
9151 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9152 (pcomplete-suffix-list): Mark as obsolete.
9153 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9154 pcomplete-seen in the closure.
9155 (pcomplete-comint-setup): Setup completion-at-point as well.
9156 (pcomplete--entries): New function.
9157 (pcomplete--env-regexp): New var.
9158 (pcomplete-entries): Rewrite to work with partial-completion and
9159 without relying on pcomplete-suffix-list.
9160 (pcomplete-pare-list): Remove, unused.
9161
9162 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9163
9164 * window.el (display-buffer-alist): Set pop-up-window-min-height
9165 and pop-up-window-min-width in default value. Reported by
9166 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9167 other-window-means-other-frame.
9168 (display-buffer-macro-specifiers): Comment out entry for
9169 other-window specifier.
9170 (display-buffer-other-window-means-other-frame): New function.
9171 (display-buffer-normalize-specifiers-1): New arguments
9172 buffer-name and label. Treat other-window case specially.
9173 (display-buffer-normalize-specifiers-2): Treat other-window case
9174 specially.
9175 (display-buffer-normalize-specifiers-3): New function.
9176 (display-buffer-normalize-specifiers):
9177 Call display-buffer-normalize-specifiers-3.
9178
9179 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9180
9181 * window.el (same-window-p): Fix two typos introduced when
9182 adding with-no-warnings.
9183 (display-buffer-normalize-specifiers-1): Don't check
9184 pop-up-frames for 'unset initialization.
9185 (display-buffer-normalize-specifiers-2): Major rewrite using
9186 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9187 (pop-up-frames, display-buffer-reuse-frames)
9188 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9189 Suggested by David Engster <deng@randomsample.de>.
9190 (even-window-heights): Initialize to 'unset.
9191 (display-buffer-alist-set): Handle new 'unset initializations.
9192 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9193 other window case.
9194
9195 2011-06-16 Martin Rudalics <rudalics@gmx.at>
9196
9197 * window.el (display-buffer-normalize-specifiers-1):
9198 Respect current value of pop-up-frames for most reasonable values of
9199 second argument of display-buffer (Bug#8865).
9200 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9201 (switch-to-buffer-other-window-same-frame)
9202 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9203 Adams (Bug#8875).
9204 (display-buffer): Don't check noninteractive when calling
9205 display-buffer-pop-up-frame.
9206 (display-buffer-pop-up-frame): Never pop up a frame in
9207 noninteractive mode (Bug#8857).
9208 (enlarge-window, shrink-window): Don't report an error when the
9209 window can't be resized as requested (Bug#8862).
9210
9211 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9212
9213 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9214
9215 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9216
9217 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9218
9219 2011-06-15 Alan Mackenzie <acm@muc.de>
9220
9221 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9222 for declarators, disable knr checking to speed up for normal files.
9223 2: Refactor, replacing a sequence of nested if forms by a cond form.
9224
9225 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9226
9227 * net/network-stream.el (open-network-stream): Add the keyword
9228 :always-query-capabilities for the case where you want to force a
9229 `plain' network connection, but the protocol still requires the
9230 capabilitiy command (i.e., SMTP and EHLO).
9231
9232 * subr.el (process-live-p): Rename from `process-alive-p' for
9233 consistency with other `-live-p' functions.
9234
9235 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9236
9237 * window.el (same-window-buffer-names, same-window-regexps)
9238 (special-display-frame-alist, special-display-popup-frame)
9239 (special-display-function, special-display-buffer-names)
9240 (special-display-regexps, pop-up-frame-alist)
9241 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9242 (pop-up-windows, split-window-preferred-function)
9243 (split-height-threshold, split-width-threshold, even-window-heights)
9244 (display-buffer-mark-dedicated): Don't encourage the use of
9245 display-buffer-alist from Elisp code.
9246
9247 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9248
9249 * progmodes/python.el (python-mode): Derive from prog-mode.
9250 * progmodes/ps-mode.el (ps-mode):
9251 * progmodes/mixal-mode.el (mixal-mode):
9252 * progmodes/cfengine.el (cfengine-mode):
9253 * progmodes/ld-script.el (ld-script-mode): Likewise.
9254
9255 2011-06-15 Martin Rudalics <rudalics@gmx.at>
9256
9257 * window.el (display-buffer-alist): Trim default value to avoid
9258 popping up a new frame (Bug#8857) or reusing an arbitrary window
9259 on another frame.
9260 (display-buffer): Do not fall back on popping up a new frame in
9261 batch mode (Bug#8857).
9262
9263 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
9264
9265 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9266 (custom-theme-summary): New function.
9267 (customize-themes): Use it.
9268
9269 2011-06-13 Glenn Morris <rgm@gnu.org>
9270
9271 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9272
9273 2011-06-13 Martin Rudalics <rudalics@gmx.at>
9274
9275 * help.el (help-window): Remove variable.
9276 (help-window-point-marker, temp-buffer-max-height)
9277 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9278 (help-print-return-message): Don't set help-window.
9279 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9280 (help-window-setup-finish): Remove.
9281 (help-window-display-message, help-window-setup)
9282 (with-help-window): Major rewrite based on new
9283 display-buffer-window variable.
9284
9285 * help-mode.el (help-mode-finish): Remove help-window related
9286 code.
9287
9288 * view.el (view-exits-all-viewing-windows): Remove reference to
9289 view-return-to-alist in doc-string.
9290 (view-return-to-alist): Make obsolete.
9291 (view-buffer): Call pop-to-buffer-same-window and remove
9292 undo-window code.
9293 (view-buffer-other-window): Call pop-to-buffer-other-window and
9294 simplify code. Ignore second argument.
9295 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9296 simplify code. Ignore second argument.
9297 (view-return-to-alist-update): Make obsolete.
9298 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9299 Rewrite using quit-restore window parameters.
9300 (view-mode-exit): Rename second argument to EXIT-ONLY.
9301 Rewrite using quit-restore-window.
9302 (View-exit, View-exit-and-edit, View-leave, View-quit)
9303 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9304 appropriate arguments.
9305 (view-end-message): Use quit-restore window parameter.
9306
9307 * window.el (display-buffer-function): Rewrite doc-string.
9308 (display-buffer-window, display-buffer-alist): New variables.
9309 (display-buffer-split-specifiers)
9310 (display-buffer-side-specifiers)
9311 (display-buffer-macro-specifiers): New constants.
9312 (display-buffer-even-window-sizes, display-buffer-set-height)
9313 (display-buffer-set-width, display-buffer-select-window)
9314 (display-buffer-in-window, display-buffer-reuse-window)
9315 (display-buffer-split-window-1, display-buffer-split-window)
9316 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9317 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9318 (display-buffer-in-side-window, normalize-buffer-to-display)
9319 (display-buffer-normalize-specifiers-1)
9320 (display-buffer-normalize-specifiers-2)
9321 (display-buffer-normalize-specifiers, display-buffer-frame):
9322 New functions.
9323 (display-buffer): Major rewrite.
9324 (display-buffer-other-window, display-buffer-other-frame)
9325 (pop-to-buffer, switch-to-buffer-other-window)
9326 (switch-to-buffer-other-frame): Rewrite.
9327 (display-buffer-same-window, display-buffer-same-frame)
9328 (display-buffer-same-frame-other-window)
9329 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9330 (pop-to-buffer-other-window)
9331 (pop-to-buffer-same-frame-other-window)
9332 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9333 (switch-to-buffer-other-window-same-frame): New functions.
9334 (same-window-p, special-display-p): Rewrite disabling warnings.
9335 Make obsolete.
9336 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9337 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9338 Make obsolete
9339 (same-window-buffer-names, same-window-regexps)
9340 (special-display-frame-alist, special-display-popup-frame)
9341 (special-display-function, special-display-buffer-names)
9342 (special-display-regexps, pop-up-frame-alist)
9343 (pop-up-frame-function, split-window-preferred-function)
9344 (split-height-threshold, split-width-threshold)
9345 (even-window-heights): Make obsolete.
9346
9347 2011-06-12 Glenn Morris <rgm@gnu.org>
9348
9349 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
9350 Misc simplifications.
9351
9352 2011-06-12 Martin Rudalics <rudalics@gmx.at>
9353
9354 * window.el (window-safely-shrinkable-p): Restore function which
9355 was inadvertently removed in change from 2011-06-11. Declare as
9356 obsolete.
9357
9358 * calendar/calendar.el (calendar-generate-window):
9359 Use window-iso-combined-p instead of combination of one-window-p and
9360 window-safely-shrinkable-p.
9361
9362 2011-06-12 Glenn Morris <rgm@gnu.org>
9363
9364 * progmodes/fortran.el (fortran-mode-syntax-table):
9365 * progmodes/f90.el (f90-mode-syntax-table):
9366 Set % to punctuation. (Bug#8820)
9367 (f90-find-tag-default): Remove, no longer needed.
9368
9369 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9370
9371 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9372
9373 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
9374
9375 * image.el (image-animated-p): Return animation delay in seconds.
9376 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9377 (image-animate-timeout): Remove DELAY argument. Don't assume
9378 every subimage has the same delay; get it from image-animated-p.
9379 (image-animate): Caller changed.
9380
9381 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
9382
9383 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9384 to ignored backtrace functions.
9385
9386 2011-06-11 Glenn Morris <rgm@gnu.org>
9387
9388 * calendar/appt.el (appt-disp-window-function): Doc fix.
9389 (appt-check): Handle overlapping appointments. (Bug#8337)
9390
9391 2011-06-11 Martin Rudalics <rudalics@gmx.at>
9392
9393 * window.el (window-tree-1, window-tree): New functions, moving
9394 the latter to window.el.
9395 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9396 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9397 (bw-refresh-edges): Remove.
9398 (balance-windows-1, balance-windows-2): New functions.
9399 (balance-windows): Rewrite in terms of window tree functions,
9400 balance-windows-1 and balance-windows-2.
9401 (bw-adjust-window): Remove.
9402 (balance-windows-area-adjust): New function with functionality of
9403 bw-adjust-window but using resize-window.
9404 (set-window-text-height): Rewrite doc-string.
9405 Use normalize-live-window and resize-window.
9406 (enlarge-window-horizontally, shrink-window-horizontally):
9407 Rename argument to DELTA.
9408 (window-buffer-height): New function.
9409 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9410 Rewrite using new window resize routines.
9411 (kill-buffer-and-window, mouse-autoselect-window-select):
9412 Use ignore-errors instead of condition-case.
9413 (quit-window): Call delete-frame instead of delete-windows-on
9414 for the only buffer on frame.
9415
9416 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9417
9418 * loadup.el (top-level): Load window before files for the sake
9419 of replace-buffer-in-windows.
9420
9421 * files.el (read-buffer-to-switch)
9422 (switch-to-buffer-other-window)
9423 (switch-to-buffer-other-frame, display-buffer-other-frame):
9424 Move to window.el.
9425
9426 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9427 (previous-buffer): Move to window.el.
9428
9429 * bindings.el (unbury-buffer): Move to window.el.
9430
9431 * window.el (delete-other-windows-vertically): Move after
9432 definition of delete-other-windows.
9433 (other-window, delete-windows-on, replace-buffer-in-windows):
9434 Move here from window.c.
9435 (record-window-buffer, unrecord-window-buffer)
9436 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9437 (switch-to-next-buffer): New functions.
9438 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9439 from simple.el. Call switch-to-next-buffer.
9440 (previous-buffer): Move here from simple.el.
9441 Call switch-to-prev-buffer.
9442 (bury-buffer): Move here from buffer.c. Switch to previous
9443 buffer when window cannot be deleted.
9444 (unbury-buffer): Move here from bindings.el.
9445 (ctl-x-map): Move binding for other-window from window.c to
9446 here.
9447 (read-buffer-to-switch, switch-to-buffer-other-window)
9448 (switch-to-buffer-other-frame): Move here from files.el.
9449 (normalize-buffer-to-switch-to): New functions.
9450 (switch-to-buffer): Move here from buffer.c.
9451 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9452
9453 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9454
9455 * window.el (window-min-height, window-min-width): Move here
9456 from window.c. Add defcustoms and rewrite doc-strings.
9457 (resize-mini-window, resize-window): New functions.
9458 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9459 Move here from window.c.
9460 (maximize-window, minimize-window): New functions.
9461 (delete-window, delete-other-windows, split-window): Move here
9462 from window.c.
9463 (window-split-min-size): New function.
9464 (split-window-keep-point): Mention split-window-above-each-other
9465 instead of split-window-vertically.
9466 (split-window-above-each-other, split-window-vertically):
9467 Rename split-window-vertically to split-window-above-each-other
9468 and provide defalias for old definition.
9469 (split-window-side-by-side, split-window-horizontally):
9470 Rename split-window-horizontally to split-window-side-by-side
9471 and provide defalias for the old definition.
9472 (ctl-x-map): Move bindings for delete-window,
9473 delete-other-windows and enlarge-window here from window.c.
9474 Replace bindings for split-window-vertically and
9475 split-window-horizontally by bindings for
9476 split-window-above-each-other and split-window-side-by-side.
9477
9478 * cus-start.el (all): Remove entries for window-min-height and
9479 window-min-width. Add entries for window-splits and
9480 window-nest.
9481
9482 2011-06-09 Glenn Morris <rgm@gnu.org>
9483
9484 * calendar/appt.el (appt-mode-line): New function.
9485 (appt-check, appt-disp-window): Use it.
9486
9487 * files.el (hack-one-local-variable-eval-safep):
9488 Allow minor-modes with explicit +/-1 arguments.
9489
9490 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9491
9492 * term/xterm.el (xterm): Add defgroup.
9493 (xterm-extra-capabilities): Add defcustom to supply known xterm
9494 capabilities, skip querying them, or query them (default).
9495 (terminal-init-xterm): Use it.
9496 (terminal-init-xterm-modify-other-keys): New function to set up
9497 modifyOtherKeys support to simplify `terminal-init-xterm'.
9498
9499 2011-06-09 Martin Rudalics <rudalics@gmx.at>
9500
9501 * window.el (resize-window-reset, resize-window-reset-1)
9502 (resize-subwindows-skip-p, resize-subwindows-normal)
9503 (resize-subwindows, resize-other-windows, resize-this-window)
9504 (resize-root-window, resize-root-window-vertically)
9505 (window-deletable-p, window-or-subwindow-p)
9506 (frame-root-window-p): New functions.
9507
9508 2011-06-09 Glenn Morris <rgm@gnu.org>
9509
9510 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9511 (ange-ftp-get-files): Use it.
9512
9513 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9514
9515 * mail/sendmail.el (mail-recover-1, mail-recover):
9516 * files.el (recover-file, recover-session):
9517 Handle dired-listing-switches not being just a single short option.
9518
9519 2011-06-09 Glenn Morris <rgm@gnu.org>
9520
9521 * calendar/appt.el (appt-display-message, appt-disp-window):
9522 Handle lists of appointments.
9523
9524 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9525
9526 * window.el (one-window-p): Move down in code.
9527 Rewrite doc-string.
9528 (window-current-scroll-bars): Rewrite doc-string.
9529 Normalize live window argument.
9530 (walk-windows, get-window-with-predicate, count-windows):
9531 Rewrite doc-string. Use window-list-1.
9532 (window-in-direction-2, window-in-direction, get-mru-window):
9533 New functions.
9534
9535 2011-06-08 Reuben Thomas <rrt@sc3d.org>
9536
9537 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9538 Doc fix (Bug#8713).
9539
9540 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
9541
9542 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9543
9544 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
9545
9546 * loadhist.el (unload-feature-special-hooks):
9547 Add `comint-output-filter-functions'.
9548
9549 2011-06-08 Ivan Kanis <gnu@kanis.fr>
9550
9551 * calendar/appt.el (appt-check): Move some initializations into the let.
9552
9553 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9554
9555 * window.el (window-height): Defalias to window-total-height.
9556 (window-width): Defalias to window-body-width.
9557
9558 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
9559
9560 * image-mode.el (image-toggle-animation): New command.
9561 (image-mode-map): Bind it to RET.
9562 (image-mode): Update message.
9563 (image-toggle-display-image): Avoid a spurious cache flush.
9564 (image-transform-rotation): Doc fix.
9565 (image-transform-properties): Return quickly in the normal case.
9566 (image-animate-loop): Rename from image-animate-max-time.
9567
9568 * image.el (image-animate-max-time): Move to image-mode.el.
9569 (create-animated-image): Remove unnecessary function.
9570 (image-animate): Rename from image-animate-start. New arg.
9571 (image-animate-stop): Remove; just use image-animate-timer.
9572 (image-animate-timer): Use car-safe.
9573 (image-animate-timeout): Rename argument.
9574
9575 2011-06-07 Martin Rudalics <rudalics@gmx.at>
9576
9577 * window.el (get-lru-window, get-largest-window): Move here from
9578 window.c. Rename first argument to ALL-FRAMES.
9579 Rephrase doc-strings.
9580 (get-buffer-window-list): Rewrite using window-list-1.
9581 Rephrase doc-string.
9582 (window-safe-min-height, window-safe-min-width): New constants.
9583 (window-size-ignore, window-min-size, window-min-size-1)
9584 (window-sizable, window-sizable-p, window-size-fixed-1)
9585 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9586 (window-max-delta-1, window-max-delta, window-resizable)
9587 (window-resizable-p, window-total-height, window-total-width)
9588 (window-body-width): New functions.
9589 (window-full-height-p, window-full-width-p): Rewrite using
9590 window-total-size.
9591 (window-body-height): Rewrite using window-body-size.
9592
9593 2011-06-06 Martin Rudalics <rudalics@gmx.at>
9594
9595 * window.el (window-right, window-left, window-child)
9596 (window-child-count, window-last-child, window-any-p)
9597 (normalize-live-buffer, normalize-live-frame)
9598 (normalize-any-window, normalize-live-window)
9599 (window-iso-combination-p, window-iso-combined-p)
9600 (window-iso-combinations)
9601 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9602 (windows-with-parameter, window-with-parameter)
9603 (window-atom-root, make-window-atom, window-atom-check-1)
9604 (window-atom-check, window-side-check, window-check):
9605 New functions.
9606 (ignore-window-parameters, window-sides, window-sides-vertical)
9607 (window-sides-slots): New variables.
9608 (window-size-fixed): Move down in code. Minor doc-string fix.
9609
9610 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9611
9612 * comint.el (comint-dynamic-complete-as-filename)
9613 (comint-dynamic-complete-filename): Correctly call
9614 completion-in-region.
9615
9616 2011-06-05 Deniz Dogan <deniz@dogan.se>
9617
9618 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9619 in last change.
9620
9621 2011-06-05 Deniz Dogan <deniz@dogan.se>
9622
9623 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9624 (rcirc): Use it to prompt for encryption.
9625
9626 2011-06-05 Roland Winkler <winkler@gnu.org>
9627
9628 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9629 (bibtex-search-entries): New command bound to C-c C-a.
9630 (bibtex-display-entries): New function.
9631
9632 2011-06-05 Roland Winkler <winkler@gnu.org>
9633
9634 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9635 (bibtex-insert-kill): After yanking insert newline if necessary.
9636 (bibtex-initialize): Call bibtex-string-files-init only once.
9637 (bibtex-mode): Do not call easy-menu-add.
9638 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9639 (bibtex-yank): Set arg properly if nil.
9640
9641 2011-06-05 Roland Winkler <winkler@gnu.org>
9642
9643 * textmodes/bibtex.el (bibtex-search-entry-globally):
9644 New variable.
9645 (bibtex-search-entry): Use it.
9646
9647 2011-06-05 Roland Winkler <winkler@gnu.org>
9648
9649 * textmodes/bibtex.el (bibtex-entry-format): New option
9650 sort-fields.
9651 (bibtex-format-entry, bibtex-reformat): Honor this option.
9652 (bibtex-parse-entry): Return fields in proper order.
9653
9654 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
9655
9656 * doc-view.el (doc-view-remove-if): Move computation of result out
9657 of `dolist' to silence misleading lexical-binding warning.
9658
9659 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
9660
9661 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9662 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9663
9664 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9665
9666 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9667 "SunOS 5.10".
9668
9669 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9670
9671 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9672 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9673 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9674 (tramp-parse-putty):
9675 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9676 (tramp-completion-function-alist-ssh)
9677 (tramp-completion-function-alist-telnet)
9678 (tramp-completion-function-alist-su)
9679 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9680 cookie.
9681
9682 * net/tramp-ftp.el:
9683 * net/tramp-sh.el:
9684 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9685 load "tramp.el" `tramp-set-completion-function'.
9686
9687 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9688
9689 * shell.el: Require and use pcomplete.
9690 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9691 (shell-completion-vars): Set pcomplete-default-completion-function.
9692
9693 2011-06-04 Deniz Dogan <deniz@dogan.se>
9694
9695 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9696 `memq' (Bug#8799).
9697
9698 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9699
9700 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9701
9702 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
9703
9704 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9705 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9706 * vc/log-view.el (log-view-beginning-of-defun):
9707 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9708 (smerge-refine-forward, smerge-refine-chopup-region):
9709 Silence warning for unused `dotimes' counter variables.
9710
9711 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9712
9713 * net/tramp.el (tramp-with-progress-reporter): Rename from
9714 with-progress-reporter. Use `declare'.
9715 * net/tramp-smb.el:
9716 * net/tramp-sh.el:
9717 * net/tramp-gvfs.el: Update all uses.
9718
9719 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9720
9721 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9722 buffer isn't killed before making it current.
9723
9724 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9725
9726 Silence various byte-compiler warnings.
9727 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9728 `access-type' and new obsolescence format.
9729 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9730 new format.
9731 (byte-compile-check-variable): New `access-type' argument.
9732 Only warn if the access-type is obsolete.
9733 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9734 (byte-compile-variable-set): Adjust callers.
9735 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9736 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9737 setting it as obsolete.
9738 * simple.el (minibuffer-completing-symbol):
9739 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9740 access as obsolete.
9741 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9742 obsolete yet.
9743 * international/quail.el (quail-mouse-choose-completion): Remove unused
9744 code referring to obsolete var.
9745 (quail-choose-completion-string): Remove.
9746 * server.el (server-clients-with, server-kill-buffer-query-function)
9747 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9748 * proced.el (proced-send-signal):
9749 * emacs-lisp/lisp.el (lisp-complete-symbol):
9750 Replace completion-annotate-function with completion-extra-properties.
9751
9752 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9753
9754 * simple.el (goto-line): Use read-number.
9755 (overriding-map-is-bound): Remove.
9756 (saved-overriding-map): Change default.
9757 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9758 Take the map as argument.
9759 (universal-argument, negative-argument, digit-argument): Use it.
9760 (restore-overriding-map): Adjust.
9761 (do-auto-fill): Use fill-forward-paragraph.
9762 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9763
9764 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9765 (minibuffer-inactive-mode): New major mode.
9766 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9767 the *Messages* buffer" hack.
9768 (mouse-popup-menubar): Don't burp if the event is a normal key.
9769
9770 Miscellaneous tweaks.
9771 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9772 lexical scoping as in subr.el's dolist and dotimes.
9773 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9774 Silence compiler warning.
9775 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9776 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9777 * international/ccl.el (ccl-compile): Trivial simplification.
9778 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9779 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9780 `printflag' argument.
9781 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9782 Purecopy the whole obsolescence data.
9783
9784 2011-06-01 Leo Liu <sdl.web@gmail.com>
9785
9786 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9787 improve doc-string as suggested by Marco Pessotto
9788 <melmothx@gmail.com>.
9789 (rcirc-print): Fix last change.
9790
9791 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9792
9793 * minibuffer.el (complete-with-action): Return nil for the metadata and
9794 boundaries of non-functional tables.
9795 (completion-table-dynamic): Return nil for the metadata.
9796 (completion-table-with-terminator): Add default case, using
9797 complete-with-action.
9798 (completion--metadata): New function.
9799 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9800 to try and avoid pathological performance problems.
9801 (completion--embedded-envvar-table): Return `category' metadata.
9802
9803 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9804
9805 * subr.el (process-alive-p): New tiny convenience function.
9806
9807 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9808
9809 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9810 content but also its previous major mode.
9811
9812 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
9813
9814 * emacs-lisp/debug.el (debug): Restore the previous content of the
9815 *Backtrace* buffer when we exit with C-M-c.
9816
9817 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9818
9819 * minibuffer.el: Add metadata method to completion tables.
9820 (completion-category-overrides): New defcustom.
9821 (completion-metadata, completion--field-metadata)
9822 (completion-metadata-get, completion--styles)
9823 (completion--cycle-threshold): New functions.
9824 (completion-try-completion, completion-all-completions):
9825 Add `metadata' argument to choose completion-styles.
9826 (completion--do-completion): Use metadata to choose cycling.
9827 (completion-all-sorted-completions): Use metadata for sorting.
9828 Remove :completion-cycle-penalty which is not needed any more.
9829 (completion--try-word-completion): Add `metadata' argument.
9830 (minibuffer-completion-help): Check metadata for annotation function
9831 and sorting.
9832 (completion-file-name-table): Return `category' metadata.
9833 (minibuffer-completing-file-name): Make obsolete.
9834 * simple.el (minibuffer-completing-symbol): Make obsolete.
9835 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9836 completion-try-completion.
9837
9838 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9839
9840 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9841
9842 2011-05-30 Leo Liu <sdl.web@gmail.com>
9843
9844 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
9845 (rcirc-print): Decode all incoming messages (bug#8744).
9846 (rcirc-decode-coding-system): Allow value nil for automatic coding
9847 system detection.
9848
9849 2011-06-01 Glenn Morris <rgm@gnu.org>
9850
9851 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9852
9853 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9854
9855 * image.el (image-animate-max-time): Allow nil and t values.
9856 Default to nil.
9857 (create-animated-image): Doc fix.
9858 (image-animate-start): Remove second arg; just use
9859 image-animate-max-time.
9860 (image-animate-timeout): Doc fix. Args changed.
9861
9862 * image-mode.el (image-toggle-display-image): Ensure that the
9863 image spec passed to the animate timer is the same object as in
9864 the buffer's display property (Bug#6981).
9865 (image-transform-properties): Doc fix.
9866
9867 * image.el (image-animate-max-time): Default to nil.
9868
9869 2011-05-29 Martin Rudalics <rudalics@gmx.at>
9870
9871 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9872 entire buffer list (Bug#8184).
9873
9874 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9875
9876 * image.el (imagemagick-types-inhibit)
9877 (imagemagick-register-types): Doc fix.
9878
9879 2011-05-29 Deniz Dogan <deniz@dogan.se>
9880
9881 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9882 default.
9883
9884 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9885
9886 * select.el: Don't perform clipboard-manager saving in hooks;
9887 leave the hooks empty.
9888
9889 2011-05-28 Leo Liu <sdl.web@gmail.com>
9890
9891 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9892 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9893 (occur-edit-mode): New major mode (Bug#8463).
9894 (occur-after-change-function): New function.
9895 (occur-engine): Give Occur tags a read-only property.
9896
9897 2011-05-28 Kevin Ryde <user42@zip.com.au>
9898
9899 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9900
9901 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9902
9903 * bindings.el (help-echo): Make the initial non-indicator dash
9904 empty on graphical terminals (Bug#7295).
9905
9906 * files.el (auto-mode-alist): Move config rule after the
9907 in-stripping one (Bug#8547).
9908
9909 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9910
9911 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9912 setting (Bug#8740).
9913
9914 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9915
9916 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9917 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9918 (Bug#8539).
9919
9920 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9921
9922 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9923
9924 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9925
9926 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9927 (hs-hide-block-at-point, hs-find-block-beginning)
9928 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9929 (Bug#8279).
9930
9931 2011-05-28 Glenn Morris <rgm@gnu.org>
9932
9933 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9934
9935 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9936
9937 * help-fns.el (describe-function-1): If the function is a derived
9938 major mode, print the parent mode.
9939
9940 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9941 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9942
9943 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9944
9945 * minibuffer.el (completion--capf-wrapper): Check applicability before
9946 returning non-nil for non-exclusive completion data.
9947 * progmodes/etags.el (tags-completion-at-point-function):
9948 * info-look.el (info-lookup-completions-at-point): Mark as
9949 non-exclusive.
9950 (info-complete): Adjust accordingly.
9951
9952 * info-look.el: Convert to lexical-binding and completion-at-point.
9953 (info-lookup-completions-at-point): New function.
9954 (info-complete): Use it and completion-in-region.
9955
9956 2011-05-28 Drew Adams <drew.adams@oracle.com>
9957
9958 * isearch.el: Let M-e start with point at the first mismatched char.
9959 (isearch-fail-pos): New function.
9960 (isearch-edit-string): Use it.
9961
9962 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9963
9964 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9965
9966 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
9967
9968 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9969 traversal functions for avl-trees.
9970 (avl-tree--stack): New struct.
9971 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9972 (avl-tree-enter): Add optional `updatefun' arg.
9973 (avl-tree--do-enter): Add optional `updatefun' arg.
9974 Change return value.
9975 (avl-tree-delete): Add optional `test' and `nilflag' args.
9976 (avl-tree--do-delete): Add `test' and `nilflag' args.
9977 Change return value.
9978 (avl-tree-member): Add optional `nilflag'
9979 (avl-tree-member-p): New function.
9980 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9981 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9982 (avl-tree-stack-empty-p): New functions.
9983
9984 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9985 avl-tree--del-balance1 and make it work both ways.
9986 (avl-tree--del-balance2): Remove.
9987 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9988 make it work both ways.
9989 (avl-tree--enter-balance2): Remove.
9990 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9991 New macros.
9992 (avl-tree--mapc, avl-tree-map): Add direction argument.
9993
9994 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
9995
9996 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9997
9998 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
9999
10000 * select.el: Support clipboard managers with built-in function
10001 x-clipboard-manager-save, via delete-frame-functions and
10002 kill-emacs-hook.
10003 (xselect-convert-to-targets): Add MULTIPLE target to list.
10004 (xselect-convert-to-save-targets): New function.
10005
10006 2011-05-27 Kenichi Handa <handa@m17n.org>
10007
10008 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10009 let-binding rfc2047-encode-encoded-words to nil.
10010
10011 2011-05-27 Glenn Morris <rgm@gnu.org>
10012
10013 * mail/emacsbug.el: Don't require url-util.
10014
10015 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10016
10017 * files.el (set-auto-mode):
10018 Also respect mode: entries at the end of the file. (Bug#8586)
10019
10020 2011-05-26 Glenn Morris <rgm@gnu.org>
10021
10022 * files.el (hack-local-variables-prop-line, hack-local-variables):
10023 Downcase mode names, as seems to be traditional.
10024 (hack-local-variables, hack-local-variables-apply): Doc fixes.
10025
10026 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10027 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10028
10029 2011-05-25 Julien Danjou <julien@danjou.info>
10030
10031 * textmodes/rst.el (rst-define-level-faces): Do not define face
10032 symbol if it is already defined.
10033
10034 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10035
10036 * play/5x5.el (5x5-new-game, 5x5-randomize):
10037 Reset 5x5-solver-output to nil when a new grid is cast.
10038 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10039 these debugging traces, as defmacro breaks the compiled code.
10040
10041 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10042
10043 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10044
10045 2011-05-24 Leo Liu <sdl.web@gmail.com>
10046
10047 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10048 (vc-bzr-sha1): Adapt.
10049
10050 * sha1.el: Remove. Function `sha1' is now builtin.
10051
10052 * bindings.el: Provide sha1 feature.
10053
10054 2011-05-24 Kenichi Handa <handa@m17n.org>
10055
10056 * mail/sendmail.el: Require `rfc2047'.
10057 (mail-insert-from-field): Do not perform RFC2047 encoding.
10058 (mail-encode-header): New function.
10059 (sendmail-send-it): Set buffer-file-coding-system of the work
10060 buffer to the return value of select-message-coding-system.
10061 Call mail-encode-header.
10062
10063 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10064
10065 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
10066
10067 * mail/supercite.el (sc-default-cite-frame):
10068 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
10069
10070 2011-05-24 Glenn Morris <rgm@gnu.org>
10071
10072 * progmodes/python.el (brm-menu): Declare.
10073
10074 * emulation/viper.el (viper-set-hooks): Declare.
10075
10076 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10077 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10078 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10079 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10080 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10081 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10082
10083 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10084
10085 Add an :exit-function for completion-at-point.
10086
10087 * minibuffer.el (completion--done): New fun.
10088 (completion--do-completion): Use it. New arg `expect-exact'.
10089 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10090 since completion--do-completion does it for us now.
10091 (minibuffer-force-complete): Use completion--done and
10092 completion--replace. Handle sole-completion case with more care.
10093 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10094 (completion-extra-properties): New var.
10095 (completion-annotate-function): Make obsolete.
10096 (minibuffer-completion-help): Adjust accordingly.
10097 Use completion-list-insert-choice-function.
10098 (completion-at-point, completion-help-at-point):
10099 Bind completion-extra-properties.
10100 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10101 * simple.el (completion-list-insert-choice-function): New var.
10102 (completion-setup-function): Preserve it.
10103 (choose-completion): Pay attention to it, shuffle the code a bit.
10104 (choose-completion-string): New arg `insert-function'.
10105
10106 * textmodes/bibtex.el: Convert to lexical binding.
10107 (bibtex-mode-map): Use completion-at-point.
10108 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10109 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10110 (bibtex-complete): Define as obsolete alias.
10111 (bibtex-complete-internal): Remove.
10112 (bibtex-format-entry): Remove unused sub-group in regexp.
10113 * shell.el (shell--command-completion-data)
10114 (shell-environment-variable-completion):
10115 * pcomplete.el (pcomplete-completions-at-point):
10116 * comint.el (comint--complete-file-name-data): Use :exit-function
10117 instead of completion-table-with-terminator so it also works for
10118 choose-completion.
10119
10120 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10121
10122 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10123
10124 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10125 (bug#8710).
10126
10127 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10128
10129 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10130
10131 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10132 customization variable and implement: If non-nil, auto-fill will
10133 be inhibited while on topic's header line.
10134
10135 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10136
10137 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
10138 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
10139 always have a solution in grid size = 5 cases.
10140 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10141 (5x5-solver-output, 5x5-log-buffer): New vars.
10142 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10143 Make these variables buffer local to achieve 5x5 multi-session-ness.
10144 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10145 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10146 (5x5-solve-suggest): New funs.
10147 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10148 randomize a grid so that we ensure that there is always a solution.
10149 (5x5-make-random-grid): Allow other movement than flipping.
10150
10151 2011-05-23 Kevin Ryde <user42@zip.com.au>
10152
10153 * emacs-lisp/advice.el (ad-read-advised-function):
10154 Use `function-called-at-point' as the default, if it has
10155 advice and passes PREDICATE.
10156
10157 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10158
10159 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10160 byte-compile-lambda if it's actually a lambda.
10161
10162 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10163 Fix function quoting. Use backquote better.
10164
10165 2011-05-22 Yuanle Song <sylecn@gmail.com>
10166
10167 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10168 matching (Bug#8516).
10169
10170 2011-01-22 Jari Aalto <jari.aalto@cante.net>
10171
10172 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10173 different face (Bug#8178).
10174
10175 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
10176
10177 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10178 defface (Bug#8144).
10179
10180 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10181
10182 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10183 funcall as well (bug#8712). Warn when performing those conversions.
10184 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10185
10186 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10187
10188 2011-05-22 Glenn Morris <rgm@gnu.org>
10189
10190 * files.el (hack-local-variables-prop-line): Small simplifications.
10191 (hack-local-variables, hack-local-variables-prop-line):
10192 If MODE-ONLY, return the mode, rather than just `t'.
10193
10194 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10195
10196 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10197
10198 2011-05-21 Glenn Morris <rgm@gnu.org>
10199
10200 * files.el (hack-local-variables-prop-line, hack-local-variables):
10201 If only interested in the mode, don't bother doing the other stuff.
10202
10203 * image-mode.el (image-after-revert-hook):
10204 Redraw all frames on which the image is visible. (Bug#8567)
10205
10206 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10207
10208 * wid-edit.el (widget-checklist-match-inline):
10209 Fix 2011-04-19 change. (Bug#8649)
10210
10211 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10212
10213 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10214 Also allow singlespace after single-letter capitals followed by a dot.
10215
10216 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10217 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10218
10219 2011-05-20 Nix <nix@esperi.org.uk>
10220
10221 * files.el (basic-save-buffer-2):
10222 Fix handling of break-hardlink-on-save with non-existent files.
10223
10224 2011-05-19 Deniz Dogan <deniz@dogan.se>
10225
10226 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
10227 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
10228
10229 2011-05-19 Glenn Morris <rgm@gnu.org>
10230
10231 * progmodes/f90.el (f90-type-def-re):
10232 Handle "type, bind(c)". (Bug#8691)
10233
10234 * emacs-lisp/autoload.el (batch-update-autoloads):
10235 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10236
10237 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
10238
10239 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10240 property for the correct connection in case of multihops.
10241
10242 2011-05-18 Glenn Morris <rgm@gnu.org>
10243
10244 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
10245 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10246
10247 Rationalize calendar handling of day and month abbrev-arrays.
10248 * calendar/calendar.el (calendar-customized-p): New function.
10249 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10250 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10251 Add :set function.
10252 (calendar-abbrev-length, calendar-day-abbrev-array)
10253 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10254 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10255 Elements may no longer be nil.
10256 (calendar-day-name, calendar-month-name):
10257 Update for changed nature of abbrev arrays.
10258 * calendar/diary-lib.el (diary-name-pattern):
10259 Update for changed nature of abbrev arrays.
10260 (diary-mark-entries-1): Update calendar-make-alist calls.
10261 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10262 * calendar/cal-html.el (cal-html-day-abbrev-array):
10263 Simply inherit from calendar-day-abbrev-array.
10264
10265 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10266
10267 * progmodes/grep.el (grep-mode): Disable default
10268 compilation-directory-matcher setting (bug#8684).
10269
10270 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
10271
10272 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10273 instead of "head" and "tail". There were problems with SunOS 5.9,
10274 and it performs better.
10275
10276 2011-05-17 Glenn Morris <rgm@gnu.org>
10277
10278 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10279
10280 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10281 Replace obsolete function.
10282
10283 * shell.el (pcomplete-parse-arguments-function): Declare.
10284
10285 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10286 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10287 (appt-check): Doc fixes.
10288 (appt-disp-window-function, appt-delete-window-function):
10289 Remove needless special case in custom :type.
10290 (appt-display-count): Default to 0, not nil.
10291 (appt-check): Reset appt-display-count to 0, not nil.
10292
10293 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
10294
10295 * progmodes/python.el (python-font-lock-keywords):
10296 Add the Python 3.X keyword "nonlocal" (bug#8639).
10297
10298 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10299
10300 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10301
10302 2011-05-16 Kevin Ryde <user42@zip.com.au>
10303
10304 * info-look.el (makefile-automake-mode): New setups, looking in
10305 automake manual, then makefile-mode.
10306 (makefile-mode): Remove automake manual, have it just in
10307 makefile-automake-mode since there's various things different or
10308 not relevant to plain make.
10309 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10310 believe a hypothetical automake-mode would go to makefile-mode,
10311 not the other way around.
10312
10313 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
10314
10315 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10316 hunk-end tags (Bug#8672).
10317
10318 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10319 vc-annotate-show-diff-revision-at-line (Bug#8671).
10320
10321 2011-05-14 Glenn Morris <rgm@gnu.org>
10322
10323 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10324 in the middle of an existing one with multiple authors. (Bug#8645)
10325 (change-log-font-lock-keywords): Also handle multiple author lines
10326 with leading tabs. (Bug#8644)
10327
10328 * calendar/appt.el (appt-check): Rename some local variables.
10329 Some simplification/reordering.
10330
10331 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10332 (feedmail-sendmail-f-doesnt-sell-me-out)
10333 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10334 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10335 (feedmail-queue-runner-message-sender): Set :version.
10336 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10337 (bbdb-dwim-net-address, vm-mail): Declare.
10338 (feedmail-binmail-gnulinuxish-template):
10339 Rename from feedmail-binmail-linuxish-template.
10340 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10341 Use insert-buffer-substring.
10342
10343 2011-05-14 Bill Carpenter <bill@carpenter.org>
10344
10345 * mail/feedmail.el (feedmail-patch-level): Increase.
10346 (feedmail-debug): New custom group.
10347 (feedmail-confirm-outgoing-timeout)
10348 (feedmail-sendmail-f-doesnt-sell-me-out)
10349 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10350 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10351 (feedmail-sender-line, feedmail-from-line)
10352 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
10353 (feedmail-spray-this-address)
10354 (feedmail-spray-address-fiddle-plex-list)
10355 (feedmail-queue-use-send-time-for-date)
10356 (feedmail-queue-use-send-time-for-message-id)
10357 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10358 (feedmail-buffer-eating-function):
10359 Doc fixes.
10360 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10361 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10362 (feedmail-message-action-scroll-down): New functions.
10363 (feedmail-queue-directory, feedmail-queue-draft-directory):
10364 Use expand-file-name.
10365 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10366 Remove C-v help entry.
10367 (feedmail-queue-buffer-file-name): New variable.
10368 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10369 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10370 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10371 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10372 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10373 (feedmail-message-action-toggle-spray)
10374 (feedmail-run-the-queue-no-prompts)
10375 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10376 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10377 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10378 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10379 (feedmail-envelope-deducer, feedmail-fiddle-from)
10380 (feedmail-fiddle-sender, feedmail-default-date-generator)
10381 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10382 (feedmail-fiddle-spray-address)
10383 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10384 (feedmail-fiddle-list-of-fiddle-plexes)
10385 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10386 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10387 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10388 Change default. Doc fix.
10389 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10390 (feedmail-binmail-linuxish-template): New constant.
10391 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10392 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10393 (feedmail-send-it): Add debug call.
10394 Use feedmail-queue-buffer-file-name, and
10395 feedmail-send-it-immediately-wrapper.
10396 (feedmail-message-action-send): Add debug call.
10397 Use feedmail-send-it-immediately-wrapper.
10398 (feedmail-queue-express-to-queue): Add debug call.
10399 Run feedmail-queue-express-hook.
10400 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10401 (feedmail-message-action-help-blat):
10402 Rename from feedmail-queue-send-edit-prompt-help-first.
10403 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10404 Check line-endings. Handle errors better.
10405 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10406 Doc fix. Add debug call.
10407 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10408 Use feedmail-queue-send-edit-prompt-inner.
10409 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10410 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10411 from feedmail-queue-send-edit-prompt.
10412 (feedmail-queue-send-edit-prompt-help)
10413 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10414 (feedmail-tidy-up-slug): Add debug call.
10415 Respect feedmail-queue-slug-suspect-regexp.
10416 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10417 (feedmail-dump-message-to-queue): Add debug call.
10418 Expand queue-directory.
10419 (feedmail-dump-message-to-queue): Change message slightly.
10420 Use feedmail-say-chatter.
10421 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10422 (feedmail-send-it-immediately-wrapper): New function.
10423 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10424 Insert empty string rather than newline. Handle full-frame case.
10425 Use catch/throw. Use feedmail-say-chatter.
10426 (feedmail-fiddle-from): Try mail-host-address.
10427 (feedmail-default-message-id-generator): Doc fix.
10428 Bind system-time-locale. Handle missing end.
10429 (feedmail-fiddle-x-mailer): Add debug call.
10430 Handle feedmail-x-mailer-line being nil.
10431 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10432 Add debug call. Use buffer-substring-no-properties.
10433 (feedmail-say-debug, feedmail-say-chatter): New functions.
10434 (feedmail-find-eoh): Give an explicit error.
10435
10436 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
10437
10438 * net/newst-treeview.el (newsticker-treeview-face): Change default
10439 family from helvetica to sans.
10440 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
10441 etc/images/newsticker.
10442
10443 * net/newst-reader.el (newsticker-feed-face): Change default
10444 family from helvetica to sans.
10445
10446 * net/newst-plainview.el (newsticker-new-item-face)
10447 (newsticker-old-item-face, newsticker-immortal-item-face)
10448 (newsticker-obsolete-item-face, newsticker-date-face)
10449 (newsticker-statistics-face): Change default family from
10450 helvetica to sans.
10451 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
10452 etc/images/newsticker.
10453
10454 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10455 (newsticker--process-auto-mark-filter-match): : Tell user about
10456 auto-marking.
10457
10458 2011-05-13 Didier Verna <didier@xemacs.org>
10459
10460 Common Lisp indentation improvements on defmethod and lambda-lists.
10461 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10462 TODO entries.
10463 (lisp-lambda-list-keyword-parameter-indentation)
10464 (lisp-lambda-list-keyword-parameter-alignment)
10465 (lisp-lambda-list-keyword-alignment): New customizable user options.
10466 (lisp-indent-defun-method): Improve docstring.
10467 (extended-loop-p): Fix comment.
10468 (lisp-indent-lambda-list-keywords-regexp): New variable.
10469 (lisp-indent-lambda-list): New function.
10470 (lisp-indent-259): Use it.
10471 (lisp-indent-defmethod): Support for more than one
10472 method qualifier and properly indent methods lambda-lists.
10473 (defgeneric): Provide a missing common-lisp-indent-function property.
10474
10475 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10476
10477 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10478 bounds for the empty string (bug#8667).
10479
10480 2011-05-13 Glenn Morris <rgm@gnu.org>
10481
10482 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10483
10484 * mail/sendmail.el (sendmail-program): Try executable-find first.
10485 (sendmail-send-it): `sendmail-program' cannot be unbound.
10486
10487 * calendar/appt.el (appt-make-list): Simplify.
10488 (appt-time-msg-list): Doc fix.
10489 (appt-check): Change mode-line message at the time of the appointment.
10490
10491 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10492
10493 * progmodes/ld-script.el (ld-script-keywords)
10494 (ld-script-builtins): Update keywords list.
10495
10496 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10497
10498 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10499
10500 * shell.el (shell-completion-vars): New function.
10501 (shell-mode):
10502 * simple.el (read-shell-command): Use it.
10503 (blink-matching-open): No need for " [...]" in minibuffer-message.
10504
10505 2011-05-12 Glenn Morris <rgm@gnu.org>
10506
10507 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10508 (appt-check): Simplify.
10509
10510 2011-05-12 Eli Zaretskii <eliz@gnu.org>
10511
10512 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
10513 literal "/dev/null".
10514
10515 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10516
10517 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10518 Fix typo.
10519
10520 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
10521
10522 * progmodes/which-func.el (which-function):
10523 Use add-log-current-defun instead of add-log-current-defun-function,
10524 which might not be defined (Bug#8260).
10525
10526 2011-05-12 Glenn Morris <rgm@gnu.org>
10527
10528 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10529 Let byte-compile-initial-macro-environment always take precedence.
10530
10531 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10532
10533 * net/rcirc.el: Add support for SSL/TLS connections.
10534 (rcirc-server-alist): New field `encryption'.
10535 (rcirc): Check `encryption' settings.
10536 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10537 Merge make-local-variable into `set'.
10538 (rcirc--connection-open-p): New function.
10539 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10540 the process is not a network process (e.g. running gnutls-cli).
10541 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10542 Make rcirc-(en|de)code-coding-system local here.
10543 (rcirc-mode): Merge make-local-variable into `set'.
10544 (rcirc-parent-buffer): Make permanent buffer-local.
10545 (rcirc-multiline-minor-mode): Don't do it here.
10546 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10547 there's no server buffer.
10548
10549 2011-05-11 Glenn Morris <rgm@gnu.org>
10550
10551 * newcomment.el (comment-kill): Prefix "unused" local.
10552
10553 * term/w32console.el (get-screen-color): Declare.
10554
10555 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10556 Handle symbol elements of byte-compile-initial-macro-environment.
10557
10558 2011-05-10 Leo Liu <sdl.web@gmail.com>
10559
10560 * bookmark.el (bookmark-bmenu-mode-map):
10561 Bind bookmark-bmenu-search to `/'.
10562
10563 * mail/footnote.el: Convert to utf-8 encoding.
10564 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10565 (Footnote-unicode): New function.
10566 (footnote-style-alist): Add unicode style to the list.
10567 (footnote-style): Doc fix.
10568
10569 2011-05-10 Jim Meyering <meyering@redhat.com>
10570
10571 Fix doubled-word typos.
10572 * international/quail.el (quail-insert-kbd-layout): and and -> and
10573 * kermit.el: and and -> and
10574 * net/ldap.el (ldap-search-internal): to to -> to
10575 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10576 * progmodes/js.el (js-mode): and and -> and
10577 * textmodes/artist.el (artist-move-to-xy): at at -> at
10578 (artist-draw-region-trim-line-endings): if if -> if
10579 And Safetyc -> Safety.
10580 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10581
10582 2011-05-10 Glenn Morris <rgm@gnu.org>
10583 Stefan Monnier <monnier@iro.umontreal.ca>
10584
10585 * files.el (hack-one-local-variable-eval-safep):
10586 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10587
10588 2011-05-10 Glenn Morris <rgm@gnu.org>
10589
10590 * calendar/diary-lib.el (diary-list-entries-hook)
10591 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10592 (diary-nongregorian-marking-hook, diary-list-entries)
10593 (diary-include-other-diary-files, diary-mark-entries)
10594 (diary-mark-included-diary-files): Doc fixes.
10595
10596 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10597
10598 * misc.el: Require tabulated-list.el during compilation.
10599
10600 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10601
10602 * progmodes/compile.el (compilation-start):
10603 Run compilation-filter-hook for the async case too.
10604 (compilation-filter-hook): Doc fix.
10605
10606 2011-05-09 Deniz Dogan <deniz@dogan.se>
10607
10608 * wdired.el: Remove outdated installation comment. Fix usage
10609 comment.
10610
10611 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10612
10613 * misc.el: Implement new command `list-dynamic-libraries'.
10614 (list-dynamic-libraries--loaded-only-p): New variable.
10615 (list-dynamic-libraries--refresh): New function.
10616 (list-dynamic-libraries): New command.
10617
10618 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10619
10620 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10621 Fix the ant regexp to handle end-line and end-column info from jikes.
10622 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10623 higher priority to avoid clobbering by gnu.
10624
10625 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10626
10627 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10628 if the face has existing theme settings (Bug#8454).
10629
10630 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10631
10632 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10633 Only match variables declared via `my' or `our' (Bug#8261).
10634
10635 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10636 special file names `.' and `..' (Bug#8259).
10637
10638 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10639
10640 * progmodes/grep.el (grep-mode-font-lock-keywords):
10641 Remove buffer-changing entries.
10642 (grep-filter): New function.
10643 (grep-mode): Add it to compilation-filter-hook.
10644
10645 * progmodes/compile.el (compilation-filter-hook)
10646 (compilation-filter-start): New defvars.
10647 (compilation-filter): Call compilation-filter-hook prior to
10648 updating the process mark.
10649
10650 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10651
10652 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10653
10654 2011-05-07 Eli Zaretskii <eliz@gnu.org>
10655
10656 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10657 mailclient-send-it even if window-system is nil. (Bug#8595)
10658
10659 * term/w32console.el (terminal-init-w32console):
10660 Call get-screen-color and use its output to set the frame
10661 background-mode. (Bug#8597)
10662
10663 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10664
10665 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10666 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10667 New functions.
10668 (defgeneric, eieio--defmethod): Use them.
10669 (eieio-defgeneric): Remove.
10670 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10671
10672 2011-05-07 Glenn Morris <rgm@gnu.org>
10673
10674 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10675 Use let rather than let*.
10676 (timeclock-find-discrep): Remove unused local.
10677
10678 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10679
10680 * calendar/appt.el (appt-time-msg-list): Doc fix.
10681
10682 2011-05-06 Noah Friedman <friedman@splode.com>
10683
10684 * apropos.el (apropos-print-doc): Only use
10685 emacs-lisp-docstring-fill-column when it is bound to an integer,
10686 per that variable's documentation.
10687
10688 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10689
10690 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
10691 and warnings are not silently discarded (e.g. use -d instead of -P).
10692
10693 2011-05-06 Glenn Morris <rgm@gnu.org>
10694
10695 * calendar/appt.el (appt-message-warning-time): Doc fix.
10696 (appt-warning-time-regexp): New option.
10697 (appt-make-list): Respect appt-message-warning-time.
10698
10699 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10700 New options.
10701 (diary-add-to-list): Strip comments from the displayed string.
10702 (diary-mode): Set comment-start and comment-end.
10703
10704 * vc/diff-mode.el (smerge-refine-subst): Declare.
10705 (diff-refine-hunk): Don't require smerge-mode when compiling.
10706
10707 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
10708
10709 * simple.el (list-processes): Return nil as the docstring says.
10710
10711 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10712
10713 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10714 to "".
10715 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10716 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10717 determining of binary transfer. (Bug#7383)
10718
10719 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10720
10721 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10722 Fix port computation bug. (Bug#8618)
10723
10724 2011-05-05 Glenn Morris <rgm@gnu.org>
10725
10726 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10727
10728 * simple.el (shell-dynamic-complete-functions)
10729 (comint-dynamic-complete-functions): Declare.
10730
10731 * net/network-stream.el (gnutls-negotiate):
10732 * simple.el (tabulated-list-print): Fix declarations.
10733
10734 * progmodes/gud.el (syntax-symbol, syntax-point):
10735 Remove unnecessary and incorrect declarations.
10736
10737 * emacs-lisp/check-declare.el (check-declare-scan):
10738 Handle byte-compile-initial-macro-environment in bytecomp.el
10739
10740 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10741
10742 Fix earlier half-done eieio-defmethod change (bug#8338).
10743 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10744 Streamline and change calling convention.
10745 (defmethod): Adjust accordingly and simplify.
10746 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10747 new eieio--defmethod.
10748 (slot-boundp): Minor CSE simplification.
10749
10750 2011-05-05 Milan Zamazal <pdm@zamazal.org>
10751
10752 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10753 (glasses-make-readable): Use glasses-separate-capital-groups.
10754
10755 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
10756
10757 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10758 (warning-series): Doc fix.
10759 (display-warning): Don't try to create the buffer if we just found it.
10760
10761 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
10762
10763 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10764 (autoload-find-generated-file): New function.
10765 (generate-file-autoloads): Bind generated-autoload-file to
10766 buffer-file-name.
10767 (update-file-autoloads, update-directory-autoloads):
10768 Use autoload-find-generated-file. If called interactively, prompt for
10769 output file (Bug#7989).
10770 (batch-update-autoloads): Doc fix.
10771
10772 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
10773
10774 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10775
10776 2011-05-04 Glenn Morris <rgm@gnu.org>
10777
10778 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10779 function, so it follows changes in calendar-date-style.
10780 (diary-fancy-date-matcher): New function.
10781 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10782 (diary-fancy-font-lock-fontify-region-function):
10783 Use diary-fancy-date-pattern as a function.
10784
10785 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10786 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10787
10788 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10789
10790 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10791 instead of positional arguments. Allow :keylist and :crlfiles
10792 arguments.
10793 (open-gnutls-stream): Call it.
10794
10795 * net/network-stream.el (network-stream-open-starttls): Adjust to
10796 call `gnutls-negotiate' with :process and :hostname arguments.
10797
10798 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10799
10800 * minibuffer.el (completion--message): New function.
10801 (completion--do-completion, minibuffer-complete)
10802 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10803 (completion--do-completion): Don't ignore completion-auto-help when in
10804 icomplete-mode.
10805
10806 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10807 internal encoding (e.g. tibetan zero is not whitespace).
10808 (global-whitespace-mode): Prefer save-current-buffer.
10809 (whitespace-trailing-regexp): Remove useless save-match-data.
10810 (whitespace-empty-at-bob-regexp): Minor simplification.
10811
10812 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
10813
10814 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10815
10816 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10817
10818 * textmodes/ispell.el (ispell-add-per-file-word-list):
10819 Use `concat' to create string for insertion.
10820
10821 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10822
10823 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10824 Avoid open-line which runs post-self-insert-hook.
10825 (bibtex-fill-entry): Remove unused `end' var.
10826
10827 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10828
10829 * textmodes/ispell.el (ispell-add-per-file-word-list):
10830 Protect against `nil' value of `comment-start' (Bug#8579).
10831
10832 2011-05-03 Leo Liu <sdl.web@gmail.com>
10833
10834 * isearch.el (isearch-yank-pop): New command.
10835 (isearch-mode-map): Bind it to `M-y'.
10836 (isearch-forward): Mention it.
10837
10838 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10839
10840 * simple.el (minibuffer-complete-shell-command): Remove.
10841 (minibuffer-local-shell-command-map): Use completion-at-point.
10842 (read-shell-command): Setup completion vars here instead.
10843 (read-expression-map): Bind TAB to symbol completion.
10844
10845 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10846 error directly rather via storing it into `results'.
10847
10848 2011-05-02 Leo Liu <sdl.web@gmail.com>
10849
10850 * vc/diff.el: Fix description.
10851
10852 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10853
10854 * server.el (server-eval-at): New function.
10855
10856 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10857
10858 * net/network-stream.el (open-network-stream): Take a :nowait
10859 parameter and pass it on to `make-network-process'.
10860 (network-stream-open-plain): Ditto.
10861
10862 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10863
10864 * faces.el (face-spec-set-match-display): Don't match toolkit
10865 options on terminal frames.
10866
10867 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10868
10869 * progmodes/pascal.el: Use lexical binding.
10870 (pascal-mode-map): Remove author preferences.
10871
10872 * pcomplete.el (pcomplete-std-complete): Don't abuse
10873 completion-at-point.
10874
10875 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
10876
10877 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10878 removing code that has been dead since 1991 or so.
10879
10880 * startup.el (command-line): When warning about "_emacs", use a
10881 delayed warning to allow the user to filter it out.
10882
10883 2011-04-28 Deniz Dogan <deniz@dogan.se>
10884
10885 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10886 user has not joined.
10887
10888 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10889
10890 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10891 aren't any completions at point.
10892
10893 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
10894
10895 * subr.el (display-delayed-warnings): New function.
10896 (delayed-warnings-hook): New variable.
10897
10898 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10899
10900 * minibuffer.el (completion-at-point, completion-help-at-point):
10901 Don't presume that a given completion-at-point-function will always
10902 use the same calling convention.
10903
10904 * pcomplete.el (pcomplete-completions-at-point):
10905 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10906 pcomplete-seen is non-nil.
10907 (pcomplete-comint-setup): Also recognize the new comint/shell
10908 completion functions.
10909 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10910 pcomplete-seen is non-nil.
10911
10912 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
10913
10914 * calendar/icalendar.el (diary-lib): Add require statement.
10915 (icalendar--create-uid): Read out a uid from a text-property on
10916 the first character in the entry. This allows for code to add its
10917 own uid to the entry.
10918 (icalendar--convert-float-to-ical): Add export of
10919 `diary-float'-entries save for those with the optional DAY
10920 argument.
10921
10922 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10923
10924 * subr.el (shell-quote-argument): Use alternate escaping strategy
10925 when we spot a variable reference in a string.
10926
10927 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10928
10929 * cus-start.el (all): Define customization for debug-on-event.
10930
10931 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10932
10933 * subr.el (shell-quote-argument): Escape correctly under Windows.
10934
10935 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10936
10937 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10938
10939 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
10940
10941 * net/tramp.el (tramp-process-actions): Add POS argument.
10942 Delete region between POS and (pos).
10943
10944 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10945 Use `nil' position in `tramp-process-actions' call.
10946 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10947
10948 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10949 position in `tramp-process-actions' call.
10950
10951 * net/trampver.el: Update release number.
10952
10953 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10954
10955 * custom.el (defcustom): Obey lexical-binding.
10956
10957 Fix octave-inf completion problems reported by Alexander Klimov.
10958 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10959 Inherit from octave-mode-syntax-table.
10960 (inferior-octave-mode): Set info-lookup-mode.
10961 (inferior-octave-completion-at-point): New function.
10962 (inferior-octave-complete): Use it and completion-in-region.
10963 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10964 comint-filename-completion.
10965 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10966 symbol elements which shouldn't be word elements.
10967 (octave-font-lock-keywords, octave-beginning-of-defun)
10968 (octave-function-header-regexp): Adjust regexps accordingly.
10969 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10970
10971 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
10972
10973 * net/gnutls.el (gnutls-errorp): Declare before first use.
10974
10975 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10976
10977 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10978 verify-error, and verify-hostname-error parameters. Check whether
10979 default trustfile exists before going to use it. Add missing
10980 argument to gnutls-message-maybe call. Return value.
10981 Reported by Claudio Bley <claudio.bley@gmail.com>.
10982 (open-gnutls-stream): Add usage example.
10983
10984 * net/network-stream.el (network-stream-open-starttls): Give host
10985 parameter to `gnutls-negotiate'.
10986 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
10987 * subr.el (shell-quote-argument): Escape correctly under Windows.
10988
10989 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
10990
10991 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10992 Use correct match group (bug#8438).
10993
10994 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
10995
10996 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10997 (package-menu--generate): New arg specifying packages to show.
10998 (package-menu-refresh, package-menu-execute, list-packages):
10999 Callers changed.
11000 (package-show-package-list): New function, replacing deleted
11001 package--list-packages (renamed because it is non-internal).
11002
11003 * finder.el (finder-list-matches): Use package-show-package-list
11004 instead of deleted package--list-packages.
11005
11006 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11007 Based on a previous implementation by Juanma Barranquero (Bug#8366).
11008 (vc-annotate-mode-map): Bind it to RET.
11009
11010 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11011
11012 * progmodes/etags.el (next-file): Don't use set-buffer to change
11013 buffers (Bug#8478).
11014
11015 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11016
11017 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11018
11019 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11020 (apropos-accumulator): Doc fix.
11021 (apropos-function, apropos-macro, apropos-command)
11022 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11023 (apropos-plist): Add face property.
11024 (apropos-symbols-internal): Fix indentation.
11025 (apropos-print): Simplify help, and recognize apropos-multi-type.
11026 (apropos-print-doc): Use button-type-get to extract the button's
11027 face property. Fill docstring (Bug#8352).
11028
11029 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
11030
11031 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11032
11033 * play/mpuz.el (mpuz-silent): Doc fix.
11034 (mpuz-mode-map): Use mapc.
11035 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11036 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11037 Fix typos in docstrings.
11038
11039 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11040 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11041
11042 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11043
11044 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
11045
11046 * minibuffer.el (completion--do-completion): Avoid the "Next char
11047 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11048
11049 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11050 mouse-2 into unread-command-events, it is interpreted correctly.
11051
11052 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
11053 (image-toggle-display): Doc fix.
11054
11055 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
11056
11057 * textmodes/page.el (what-page): Use line-number-at-pos to
11058 calculate line number (Bug#6825).
11059
11060 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11061
11062 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11063 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11064 Pass argument NO-DEFAULT to `find-tag-interactive'.
11065
11066 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11067
11068 Lexical-binding cleanup.
11069
11070 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11071 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11072 * progmodes/ada-prj.el (ada-prj-initialize-values)
11073 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11074 (ada-prj-show-value):
11075 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11076 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11077 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11078 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11079 * progmodes/bug-reference.el (bug-reference-push-button):
11080 * progmodes/fortran.el (fortran-line-length):
11081 * progmodes/glasses.el (glasses-change):
11082 * progmodes/octave-mod.el (octave-fill-paragraph):
11083 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11084 (python-pdbtrack-grub-for-buffer, python-sentinel):
11085 * progmodes/sql.el (sql-save-connection):
11086 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11087 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11088 Mark unused parameters.
11089
11090 * progmodes/compile.el (compilation--flush-directory-cache)
11091 (compilation--flush-parse, compile-internal): Mark unused parameters.
11092 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11093 (compilation-next-error-function): Remove unused variable `timestamp'.
11094
11095 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11096 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11097
11098 * progmodes/dcl-mode.el (dcl-end-of-command):
11099 Remove unused variable `start'.
11100 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11101 (dcl-option-value-basic, dcl-option-value-offset)
11102 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11103 Mark unused parameters.
11104 (dcl-save-local-variable): Remove unused variable `val'.
11105 (mode): Declare.
11106
11107 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11108 Mark unused parameters.
11109 (delphi-ignore-changes): Move before first use.
11110 (delphi-charset-token-at): Remove unused variable `start'.
11111 (delphi-else-start): Remove unused variable `if-count'.
11112 (delphi-comment-block-start, delphi-comment-block-end):
11113 Remove unused variable `kind'.
11114 (delphi-indent-line): Remove unused variable `new-point'.
11115
11116 * progmodes/ebrowse.el (ebrowse-files-list)
11117 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11118 Mark unused parameters. Don't quote `lambda'.
11119 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11120 Don't quote `lambda'.
11121 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11122 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11123 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11124 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11125 Use `ignore-errors'.
11126 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11127 (ebrowse-view/find-file-and-search-pattern)
11128 (ebrowse-view/find-member-declaration/definition):
11129 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11130 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11131 Rename parameter PREFIX-ARG to PREFIX.
11132 (ebrowse-tags-read-name): Remove unused variables `start' and
11133 `member-info'.
11134 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11135 to `tags-file'.
11136
11137 * progmodes/etags.el (local-find-tag-hook): Declare.
11138 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11139 Mark unused parameters.
11140
11141 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11142 (executable-interpret): Mark unused parameter.
11143
11144 * progmodes/flymake.el (flymake-process-sentinel)
11145 (flymake-after-change-function)
11146 (flymake-create-temp-with-folder-structure)
11147 (flymake-get-include-dirs-dot): Mark unused parameters.
11148 (flymake-safe-delete-directory): Remove unused variable `err'.
11149
11150 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11151 (speedbar-timer-fn, speedbar-line-text)
11152 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11153 (speedbar-center-buffer-smartly): Declare functions.
11154 (gdb-find-watch-expression): Remove unused variable `array'.
11155 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11156 (gdb-starting): Mark unused parameters.
11157 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11158 (gdb-table-string): Remove unused variable `res'.
11159 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11160 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11161 (gdb-display-buffer): Remove unused variable `cur-size'.
11162
11163 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11164 allow lexical-binding compilation.
11165 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11166 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11167 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11168 Mark unused parameters.
11169 (gud-gdb-marker-filter): Remove unused variable `match'.
11170 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11171 lambda expressions and funcall them, instead of using `fset'.
11172
11173 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11174 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11175
11176 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11177 variable `header-beg'; use `let'.
11178
11179 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11180 `restart', `last-sexp' and `at-do'.
11181
11182 * progmodes/js.el (js--debug): Mark unused parameter.
11183 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11184 (js--splice-into-items): Remove unused variable `item'.
11185 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11186
11187 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11188 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11189 (makefile-complete): Remove unused variable `try'.
11190 (makefile-fill-paragraph, makefile-match-function-end):
11191 Mark unused parameters.
11192
11193 * progmodes/octave-inf.el (inferior-octave-complete):
11194 Remove unused variable `proc'.
11195 (inferior-octave-output-digest): Mark unused parameter.
11196
11197 * progmodes/perl-mode.el (perl-calculate-indent):
11198 Remove unused variable `err'.
11199
11200 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11201 (prolog-indent-line): Mark unused parameters.
11202 (prolog-indent-line): Remove unused variable `beg'.
11203
11204 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11205 (reporter-dont-compact-list): Declare.
11206
11207 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11208 Remove unused variable `char'.
11209 (sh-debug): Mark unused parameter.
11210 (sh-get-indent-info): Remove unused variable `start'.
11211 (sh-calculate-indent): Remove unused variable `var'.
11212
11213 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11214 (simula-electric-keyword): Remove unused variable `null'.
11215 (simula-search-backward, simula-search-forward): Remove unused
11216 variables `begin' and `end'.
11217
11218 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11219 Remove unused variable `pos'.
11220 (vera-electric-tab, vera-comment-uncomment-region):
11221 Mark unused parameters.
11222 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11223
11224 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
11225
11226 * emacs-lisp/package.el (package--builtins, package-alist)
11227 (package-load-descriptor, package-built-in-p, package-activate)
11228 (define-package, package-installed-p)
11229 (package-compute-transaction, package-buffer-info)
11230 (package--push): Doc fix. Distinguish more clearly between
11231 version strings and version lists.
11232
11233 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
11234
11235 Lexical-binding cleanup.
11236
11237 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11238 (5x5-make-mutate-best):
11239 * play/fortune.el (fortune-in-buffer):
11240 * play/gomoku.el (gomoku-init-display):
11241 * play/solitaire.el (solitaire, solitaire-do-check):
11242 * play/tetris.el (tetris-default-update-speed-function):
11243 Mark unused parameters.
11244
11245 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11246 (bubbles--shift): Remove unused variable `char-org'.
11247 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11248 (bubbles--show-images): Remove unused variable `char'.
11249
11250 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11251 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11252 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11253 (decipher-analyze-buffer): Use ?\s.
11254 (decipher-make-checkpoint): Remove unused variable `mapping'.
11255
11256 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11257
11258 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11259 Remove unused variable `result'; use `let'.
11260
11261 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11262 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11263 (gametree-children-shown-p, gametree-compute-reduced-score):
11264 Use `ignore-errors'.
11265
11266 * play/handwrite.el (ps-lpr-switches): Declare.
11267 (handwrite): Remove unused variables `pmin' and `lastp'.
11268
11269 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11270
11271 * play/landmark.el (landmark-init-display)
11272 (landmark-update-naught-weights): Mark unused parameters.
11273 (landmark-y): Remove unused variable `noise'. Simplify.
11274 (landmark-human-plays): Remove unused variable `score'.
11275
11276 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11277 (mpuz-try-proposal): Remove unused variable `game'.
11278
11279 * play/zone.el (life-patterns): Declare.
11280
11281 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
11282
11283 * vc/vc.el (ediff-vc-internal): Declare function.
11284
11285 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11286
11287 * shell.el: Use lexical-binding and std completion UI.
11288 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11289 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11290 comint-preoutput-filter-functions rather than on
11291 comint-output-filter-functions.
11292 (shell-command-completion, shell--command-completion-data)
11293 (shell-filename-completion, shell-environment-variable-completion)
11294 (shell-c-a-p-replace-by-expanded-directory): New functions.
11295 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11296 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11297 (shell-dynamic-complete-environment-variable): Use them.
11298 (shell-dynamic-complete-as-environment-variable)
11299 (shell-dynamic-complete-as-command): Remove.
11300 (shell-match-partial-variable): Match past point.
11301 * comint.el: Clean up use of completion-at-point-functions.
11302 (comint-completion-at-point): New function.
11303 (comint-mode): Use it completion-at-point-functions.
11304 (comint-dynamic-complete): Make it obsolete.
11305 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11306 (comint-c-a-p-replace-by-expanded-history): New function.
11307 (comint-dynamic-complete-functions)
11308 (comint-replace-by-expanded-history): Use it.
11309 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11310 termination strings. Try harder to avoid second try-completion.
11311 (completion-in-region-mode-map): Disable bindings that don't work yet.
11312
11313 * comint.el: Use lexical-binding. Require CL.
11314 (comint-dynamic-complete-functions): Use comint-filename-completion.
11315 (comint-completion-addsuffix): Tweak custom type.
11316 (comint-filename-completion, comint--common-suffix)
11317 (comint--common-quoted-suffix, comint--table-subvert)
11318 (comint--complete-file-name-data): New functions.
11319 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11320 (comint-dynamic-list-filename-completions): Use them.
11321 (comint-dynamic-simple-complete): Make obsolete.
11322
11323 * minibuffer.el (completion-in-region-mode):
11324 Keep completion-in-region-mode--predicate global.
11325 (completion-in-region--postch):
11326 Assume completion-in-region-mode--predicate is not null.
11327
11328 * progmodes/flymake.el (flymake-start-syntax-check-process):
11329 Obey `dir'. Simplify.
11330
11331 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11332 we're in VC after all.
11333
11334 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11335
11336 * vc/vc.el (vc-diff-build-argument-list-internal)
11337 (vc-version-ediff, vc-ediff): New commands.
11338 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11339
11340 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11341
11342 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11343 add sanity check.
11344
11345 * obsolete/erc-hecomplete.el: Make obsolete.
11346 * obsolete/: Standardize obsolescence info in the header.
11347
11348 2011-04-20 Glenn Morris <rgm@gnu.org>
11349
11350 * calendar/solar.el (solar-horizontal-coordinates):
11351 Use the longitude argument rather than `calendar-longitude'.
11352 (solar-date-next-longitude): Remove unused locals.
11353
11354 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11355
11356 * whitespace.el: New version 13.2.1.
11357
11358 2011-04-20 felix <EmacsWiki> (tiny change)
11359
11360 * whitespace.el (global-whitespace-mode): Keep highlight when
11361 switching between major modes on a file.
11362
11363 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11364
11365 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11366 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11367 multi-line comments as well.
11368
11369 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
11370
11371 Lexical-binding cleanup.
11372
11373 * arc-mode.el (archive-mode-revert):
11374 * cmuscheme.el (scheme-interactively-start-process):
11375 * custom.el (custom-initialize-delay):
11376 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11377 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11378 * emacs-lock.el (emacs-lock-clear-sentinel):
11379 * ezimage.el (defezimage):
11380 * follow.el (follow-avoid-tail-recenter):
11381 * fringe.el (set-fringe-mode-1):
11382 * generic-x.el (bat-generic-mode-compile):
11383 * help-mode.el (help-info-variable, help-do-xref)
11384 (help-mode-revert-buffer):
11385 * help.el (view-emacs-todo):
11386 * iswitchb.el (iswitchb-completion-help):
11387 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11388 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11389 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11390 * locate.el (locate-update):
11391 * longlines.el (longlines-encode-region)
11392 (longlines-after-change-function):
11393 * outline.el (outline-isearch-open-invisible):
11394 * ps-def.el (declare-function, charset-dimension, char-width)
11395 (encode-char):
11396 * ps-mule.el (ps-mule-plot-string):
11397 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11398 (recentf-edit-list-select, recentf-edit-list-validate)
11399 (recentf-open-files-action):
11400 * rect.el (delete-whitespace-rectangle-line)
11401 (rectangle-number-line-callback):
11402 * register.el (window-configuration-to-register)
11403 (frame-configuration-to-register):
11404 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11405 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11406 (xselect-convert-to-targets, xselect-convert-to-delete)
11407 (xselect-convert-to-filename, xselect-convert-to-charpos)
11408 (xselect-convert-to-lineno, xselect-convert-to-colno)
11409 (xselect-convert-to-os, xselect-convert-to-host)
11410 (xselect-convert-to-user, xselect-convert-to-class)
11411 (xselect-convert-to-name, xselect-convert-to-integer)
11412 (xselect-convert-to-atom, xselect-convert-to-identity):
11413 * subr.el (declare, ignore, process-kill-without-query)
11414 (text-clone-maintain):
11415 * terminal.el (te-get-char, te-tic-sentinel):
11416 * tool-bar.el (tool-bar-make-keymap):
11417 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11418 * type-break.el (type-break-mode, type-break-noninteractive-query):
11419 * view.el (View-back-to-mark):
11420 * wid-browse.el (widget-browse-action, widget-browse-widget)
11421 (widget-browse-widgets, widget-browse-sexp):
11422 * widget.el (define-widget-keywords):
11423 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11424 Mark unused parameters.
11425
11426 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11427 (align-areas): Remove unused variable `look'.
11428 (align-region): Remove unused variables `real-end' and `pos-list'.
11429
11430 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11431
11432 * bindings.el (mode-line-modified, mode-line-remote):
11433 Mark unused parameters.
11434 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11435
11436 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11437 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11438
11439 * comint.el (comint-history-isearch-pop-state)
11440 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11441 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11442 (comint-substitute-in-file-name): Doc fix.
11443
11444 * completion.el (cmpl-statistics-block): Mark unused parameter.
11445 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11446 (save-completions-to-file, load-completions-from-file):
11447 Remove unused local variable `e'.
11448
11449 * composite.el (compose-chars): Remove unused variable `len'.
11450 (lgstring-insert-glyph): Remove unused variable `g'.
11451 (compose-glyph-string): Remove unused variables `ascent',
11452 `descent', `lbearing' and `rbearing'.
11453 (compose-glyph-string-relative): Remove unused variables
11454 `lbearing', `rbearing' and `wadjust'.
11455 (compose-gstring-for-graphic): Remove unused variables `header',
11456 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11457 (compose-gstring-for-terminal): Remove unused variables `header'
11458 and `nchars'. Use `let', not `let*'.
11459
11460 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11461 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11462 (Custom-buffer-done, custom-buffer-create-internal)
11463 (custom-browse-visibility-action, custom-browse-group-tag-action)
11464 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11465 (widget-magic-mouse-down-action, custom-toggle-parent)
11466 (custom-add-parent-links, custom-toggle-hide-variable)
11467 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11468 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11469 (custom-face-menu-create, custom-variable-menu-create, get)
11470 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11471 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11472 (customize-apropos): Remove unused variable `tests'.
11473 (custom-group-value-create): Remove unused variable `hidden-p'.
11474 (sort-fold-case): Declare.
11475
11476 * cus-theme.el (custom-reset-standard-faces-list)
11477 (custom-reset-standard-variables-list): Declare.
11478 (customize-create-theme, custom-theme-revert, custom-theme-write)
11479 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11480 Mark unused parameters.
11481
11482 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11483
11484 * delim-col.el (delimit-columns-max): Move defvar before first use.
11485
11486 * descr-text.el (describe-char-categories): Don't quote `lambda'.
11487 (describe-char): Don't quote `lambda'. Mark unused parameter.
11488
11489 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11490 (auto-insert): Declare.
11491 (desktop-restore-file-buffer): Rename desktop-* parameters;
11492 mark unused ones.
11493 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11494 (desktop-buffer): Rename desktop-* parameters.
11495
11496 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11497 (dframe-reposition-frame-xemacs, dframe-help-echo)
11498 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11499 Mark unused parameters.
11500
11501 * dired-aux.el (backup-extract-version-start, overwrite-query)
11502 (overwrite-backup-query, rename-regexp-query)
11503 (rename-non-directory-query): Declare.
11504 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11505 (dired-add-entry): Remove unused variable `orig-file-name'.
11506 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11507 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11508 `dired-copy-preserve-time' directly.
11509 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11510 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11511
11512 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11513 (dired-virtual-revert, dired-make-relative-symlink):
11514 Mark unused parameters.
11515 (manual-program): Declare.
11516 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11517 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11518 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11519
11520 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11521
11522 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11523
11524 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11525 Declare.
11526
11527 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11528
11529 * electric.el (Electric-command-loop): Rename parameter
11530 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11531
11532 * expand.el (expand-in-literal): Remove unused variable `here'.
11533
11534 * facemenu.el (facemenu-add-new-color):
11535 Remove unused variable `docstring'.
11536
11537 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11538 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11539 (face-attr-construct): Mark unused parameter. Doc fix.
11540 (read-color): Remove unused variable `hex-string'.
11541
11542 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11543 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11544 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11545 (display-buffer-other-frame): Remove unused variable `old-window'.
11546 (kill-buffer-hook): Declare.
11547 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11548 Mark unused parameters.
11549 (after-find-file): Pass 1 to `auto-save-mode', not t.
11550
11551 * files-x.el (auto-insert): Declare.
11552 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11553
11554 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
11555 variable `buf'. Mark unused parameter.
11556 (find-lisp-insert-directory): Mark unused parameter.
11557
11558 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11559 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11560 (format-common-tail): Remove, unused.
11561 (format-deannotate-region): Remove unused variable `loc'.
11562 (format-annotate-region): Remove unused variable `p'.
11563 (format-annotate-single-property-change): Remove unused variables
11564 `default' and `tail'.
11565
11566 * forms.el (read-file-filter): Declare.
11567 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11568
11569 * frame.el (frame-creation-function-alist): Mark unused parameter.
11570 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11571
11572 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11573 Remove unused parameters.
11574 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11575 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11576
11577 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11578 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11579 (hfy-prepare-tag-map): Mark unused parameters.
11580 (htmlfontify-buffer): Use `called-interactively-p'.
11581
11582 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11583 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11584 (ibuffer-do-occur): Mark unused parameters.
11585 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11586 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11587
11588 * ibuffer.el: Don't quote `lambda'.
11589 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11590 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11591 Mark unused parameters.
11592
11593 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11594 (ido-completing-read): Mark unused parameters.
11595 (ido-copy-current-word): Mark unused parameters;
11596 remove unused variable `name'.
11597 (ido-sort-merged-list): Remove unused parameter `dirs'.
11598
11599 * ielm.el (ielm-input-sender): Mark unused parameter.
11600 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11601 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11602 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11603 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11604 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11605
11606 * image-dired.el (image-dired-display-thumbs): Remove unused
11607 variables `curr-file' and `count'.
11608 (image-dired-remove-tag): Remove unused variable `start'.
11609 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11610 variable `curr-file'
11611 (image-dired-rotate-original): Remove unused variable `temp-file'.
11612 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11613 Remove unused variable `file'.
11614 (image-dired-gallery-generate): Remove unused variable `curr'.
11615 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11616
11617 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11618
11619 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11620
11621 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11622
11623 * isearch.el (minibuffer-history-symbol): Declare.
11624 (isearch-edit-string): Remove unused variable `err'.
11625 (isearch-message-prefix, isearch-message-suffix):
11626 Mark unused parameters.
11627
11628 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11629
11630 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11631
11632 * makesum.el (double-column): Remove unused variable `cnt'.
11633
11634 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11635 (ido-ignore-item-temp-list): Declare.
11636
11637 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11638 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11639 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11640 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11641 `mouse-col-delta'.
11642
11643 * mouse-sel.el (mouse-extend-internal):
11644 Remove unused variable `orig-window-frame'.
11645
11646 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11647 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11648 Move declarations before first use.
11649 (pcomplete-opt): Mark unused parameters; doc fix.
11650
11651 * proced.el (proced-revert): Mark unused parameter.
11652 (proced-send-signal): Remove unused variable `err'.
11653
11654 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11655 Rename parameter PREFIX-ARG to ARG.
11656 (ps-basic-plot-string, ps-basic-plot-whitespace):
11657 Mark unused parameters.
11658
11659 * replace.el (replace-count): Define.
11660 (occur-revert-function): Mark unused parameters.
11661 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11662 (isearch-case-fold-search, isearch-string): Declare.
11663 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11664 bind `case-fold-search'. Remove unused variables `beg' and `end',
11665 and simplify.
11666 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11667 COUNT and bind `replace-count'.
11668 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11669 to COUNT.
11670
11671 * savehist.el (print-readably, print-string-length): Declare.
11672
11673 * shadowfile.el (shadow-expand-cluster-in-file-name):
11674 Remove unused variable `cluster'.
11675 (shadow-copy-file): Remove unused variable `i'.
11676 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11677 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11678 (shadow-define-literal-group, shadow-define-regexp-group)
11679 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11680
11681 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11682 (shell): Use `called-interactively-p'.
11683 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11684
11685 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11686 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11687 (delete-backward-char): Remove unused variable `ocol'.
11688 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11689 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11690 (event-apply-hyper-modifier, event-apply-shift-modifier)
11691 (event-apply-control-modifier, event-apply-meta-modifier):
11692 Mark unused parameters.
11693 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11694 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11695
11696 * speedbar.el (speedbar-ignored-directory-expressions)
11697 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11698 (speedbar-find-file, speedbar-dir-follow)
11699 (speedbar-directory-buttons-follow, speedbar-tag-find)
11700 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11701 (speedbar-buffers-line-directory, speedbar-buffer-click):
11702 Mark unused parameters.
11703 (speedbar-tag-file): Remove unused variable `mode'.
11704 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11705
11706 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11707
11708 * talk.el (talk): Remove unused variable `display'.
11709
11710 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11711 (tar-write-region-annotate): Mark unused parameter.
11712
11713 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11714 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11715 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11716 warning by another.
11717
11718 * time-stamp.el (time-stamp-string-preprocess):
11719 Remove unused variable `require-padding'.
11720
11721 * tree-widget.el (widget-glyph-enable): Declare.
11722 (tree-widget-action): Mark unused parameter.
11723
11724 * w32-fns.el (x-get-selection): Mark unused parameter.
11725 (autoload-make-program, generated-autoload-file): Declare.
11726
11727 * wdired.el (wdired-revert): Mark unused parameters.
11728 (wdired-xcase-word): Remove unused variable `err'.
11729
11730 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11731 (whitespace-help-scroll): Remove unused variable `data-help'.
11732
11733 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11734 (widget-image-insert, widget-after-change, default)
11735 (widget-default-format-handler, widget-default-notify)
11736 (widget-default-prompt-value, widget-info-link-action)
11737 (widget-url-link-action, widget-function-link-action)
11738 (widget-variable-link-action, widget-file-link-action)
11739 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11740 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11741 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11742 (widget-insert-button-action, widget-delete-button-action, visibility)
11743 (widget-documentation-link-action, widget-documentation-string-action)
11744 (widget-const-prompt-value, widget-regexp-match, symbol)
11745 (widget-coding-system-prompt-value)
11746 (widget-key-sequence-value-to-external, sexp)
11747 (widget-sexp-value-to-internal, character, vector, cons)
11748 (widget-choice-prompt-value, widget-boolean-prompt-value)
11749 (widget-color--choose-action): Mark unused parameters.
11750 (widget-item-match-inline, widget-choice-match-inline)
11751 (widget-checklist-match, widget-checklist-match-inline)
11752 (widget-group-match): Rename parameter VALUES to VALS.
11753 (widget-field-value-set): Remove unused variable `size'.
11754 (widget-color-action): Remove unused variables `value' and `start'.
11755
11756 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
11757 variable `dir'. Doc fix.
11758 (windmove-find-other-window): Don't pass it.
11759
11760 * window.el (count-windows): Mark unused parameter.
11761 (bw-adjust-window): Remove unused variable `err'.
11762
11763 * woman.el (woman-file-name): Remove unused variable `default'.
11764 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11765 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11766 (global-font-lock-mode): Declare.
11767 (woman-decode-region): Mark unused parameter.
11768 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11769
11770 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11771 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11772 (x-dnd-handle-moz-url): Remove unused variable `title'.
11773 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11774
11775 * xml.el (xml-parse-tag, xml-parse-attlist):
11776 Remove unused variable `pos'.
11777
11778 2011-04-19 Glenn Morris <rgm@gnu.org>
11779
11780 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11781 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11782 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11783 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11784 * calendar/cal-html.el (cal-html-insert-minical):
11785 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11786 (calendar-mark-date-pattern):
11787 Prefix "unused" locals.
11788
11789 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11790 optional argument `style'.
11791
11792 * calendar/appt.el (appt-make-list):
11793 * calendar/cal-china.el (calendar-chinese-date-string):
11794 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11795 (diary-hebrew-yahrzeit):
11796 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11797 * calendar/calendar.el (calendar-generate-window):
11798 * calendar/time-date.el (time-to-days):
11799 Remove unused local variables.
11800
11801 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
11802
11803 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11804 glyphless-char-display table.
11805 (tabulated-list-glyphless-char-display): New var.
11806
11807 2011-04-18 Sam Steingold <sds@gnu.org>
11808
11809 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11810 to acknowledgments.
11811
11812 2011-04-17 Glenn Morris <rgm@gnu.org>
11813
11814 * calendar/diary-lib.el (diary-sexp-entry):
11815 * calendar/holidays.el (holiday-sexp):
11816 Set debug-on-error rather than the removed stack-trace-on-error.
11817
11818 2011-04-16 Glenn Morris <rgm@gnu.org>
11819
11820 * progmodes/f90.el: Use lexical-binding.
11821 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11822
11823 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11824
11825 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11826 (mail-mode): Setup mailalias completion here instead.
11827 * mail/mailalias.el: Use lexical-binding.
11828 (pattern, mailalias-done): Declare dynamic.
11829 (mail-completion-at-point-function): New function, from mail-complete.
11830 (mail-complete): Use it.
11831 (mail-completion-expand): New function.
11832 (mail-get-names): Use it.
11833 (mail-directory, mail-directory-process, mail-directory-stream):
11834 Don't use `pattern' for lexically bound arg.
11835
11836 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11837
11838 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11839 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11840 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11841
11842 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11843 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11844 (byte-interactive-p): Define them again, for use when inlining
11845 old code.
11846
11847 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
11848
11849 * loadup.el: Use `string-to-number', not `string-to-int'.
11850
11851 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11852
11853 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11854 gud-gdb-complete-command.
11855 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11856 (gud-gdb-completion-at-point): New function.
11857 (gud-gdb-completions): Remove.
11858
11859 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
11860
11861 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11862 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11863 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11864 whether `executable-find' is bound.
11865
11866 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11867
11868 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11869
11870 * minibuffer.el (completion-in-region-mode-predicate)
11871 (completion-in-region-mode--predicate): New vars.
11872 (completion-in-region, completion-in-region--postch)
11873 (completion-in-region-mode): Use them.
11874 (completion--capf-wrapper): Also return the hook function.
11875 (completion-at-point, completion-help-at-point):
11876 Adjust and provide a predicate.
11877
11878 Preserve arg names for advice of subr and lexical functions (bug#8457).
11879 * help-fns.el (help-function-arglist): Consolidate the subr and
11880 new-byte-code cases. Add argument `preserve-names' to extract names
11881 from the docstring when needed.
11882 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11883 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11884 (ad-arglist): Use help-function-arglist's new arg.
11885 (ad-definition-type): Use cond.
11886
11887 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
11888
11889 * autorevert.el (auto-revert-handler):
11890 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11891 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11892 Don't quote lambda.
11893
11894 * image-mode.el (image-transform-set-scale):
11895 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11896
11897 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11898
11899 * net/network-stream.el (network-stream-open-starttls): Only do
11900 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
11901 Upgrades via gnutls-cli are too slow to be done opportunistically.
11902
11903 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
11904
11905 * dframe.el (dframe-current-frame): Remove spurious quote.
11906
11907 2011-04-12 Glenn Morris <rgm@gnu.org>
11908
11909 * calendar/cal-tex.el (cal-tex-end-document):
11910 Try to automatically use latin1 input if needed.
11911
11912 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11913 Don't try to cons a mark onto an empty element.
11914
11915 2011-04-11 Leo Liu <sdl.web@gmail.com>
11916
11917 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11918 buffers.
11919 (ido-kill-buffer-at-head): Support killing virtual buffers.
11920
11921 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
11922
11923 * minibuffer.el (completion-show-inline-help): New var.
11924 (completion--do-completion, minibuffer-complete)
11925 (minibuffer-force-complete, minibuffer-complete-word):
11926 Inhibit minibuffer messages if completion-show-inline-help is nil.
11927
11928 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11929 to avoid interference from inline help (Bug#5849).
11930
11931 2011-04-10 Leo Liu <sdl.web@gmail.com>
11932
11933 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11934 Fix typo.
11935
11936 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
11937
11938 * image-mode.el (image-toggle-display-image): Signal an error if
11939 not in Image mode.
11940 (image-transform-mode, image-transform-resize)
11941 (image-transform-set-rotation): Doc fix.
11942 (image-transform-set-resize): Delete.
11943 (image-transform-set-scale, image-transform-fit-to-height)
11944 (image-transform-fit-to-width): Handle image-toggle-display-image
11945 and image-transform-resize directly.
11946
11947 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
11948
11949 * doc-view.el (doc-view-fit-width-to-window)
11950 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11951 New functions for fitting the shown image to the Emacs window size.
11952 (doc-view-mode-map): Add bindings for the new functions.
11953
11954 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
11955
11956 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
11957 Fix typo in docstring.
11958
11959 2011-04-08 Eli Zaretskii <eliz@gnu.org>
11960
11961 * files.el (file-size-human-readable): Produce one digit after
11962 decimal, like "ls -lh" does.
11963
11964 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11965 the file size representation.
11966
11967 * simple.el (list-processes): If async subprocesses are not
11968 available, error out with a clear error message.
11969
11970 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
11971
11972 * help.el (help-form-show): New function, to be called from C.
11973 Put help-form output in a buffer named differently than *Help*.
11974
11975 2011-04-08 Eli Zaretskii <eliz@gnu.org>
11976
11977 * files.el (file-size-human-readable): New function.
11978
11979 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11980 computing the representation inline. Don't require `cl'.
11981
11982 2011-04-08 Glenn Morris <rgm@gnu.org>
11983
11984 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11985
11986 * net/browse-url.el (browse-url-firefox):
11987 Test system-type, not system-configuration.
11988
11989 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11990 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11991 Use log-edit-empty-buffer-p. (Bug#7598)
11992
11993 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11994 (rlogin-mode-map): Initialize in the defvar.
11995 (rlogin): Use ignore-errors.
11996
11997 * replace.el (occur-mode-map): Some fixes for menu items.
11998
11999 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12000
12001 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12002
12003 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12004
12005 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12006 issuing unused warnings.
12007
12008 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12009 macro directly.
12010
12011 * simple.el: Lisp reimplement of list-processes. Based on an
12012 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12013 (process-menu-mode): New major mode.
12014 (list-processes--refresh, list-processes):
12015 (process-menu-visit-buffer): New functions.
12016
12017 * files.el (save-buffers-kill-emacs): Don't assume any return
12018 value of list-processes, which is undocumented anyway.
12019
12020 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12021
12022 * emacs-lisp/tabulated-list.el: New file.
12023
12024 * emacs-lisp/package.el: Use Tabulated List mode.
12025 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12026 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12027 table format using Tabulated List mode variables.
12028 (package--push): New macro, replacing package-list-maybe-add.
12029 (package-menu--generate): Use package--push. Renamed from
12030 package--generate-package-list.
12031 (package-menu-refresh, list-packages): Use it.
12032 (package-menu--print-info): Rename from package-print-package.
12033 Return insertion data instead of inserting it directly.
12034 (package-menu-describe-package, package-menu-execute):
12035 Use tabulated-list-get-id.
12036 (package-menu-mark-delete, package-menu-mark-install)
12037 (package-menu-mark-unmark, package-menu-backup-unmark)
12038 (package-menu-mark-obsolete-for-deletion):
12039 Use tabulated-list-put-tag.
12040 (package--list-packages, package-menu-revert)
12041 (package-menu-get-package, package-menu-get-version)
12042 (package-menu-sort-by-column): Functions deleted.
12043 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12044 (package-menu--status-predicate, package-menu--version-predicate)
12045 (package-menu--name-predicate)
12046 (package-menu--description-predicate): Handle arguments in the
12047 Tabulated List format.
12048 (package-list-packages-no-fetch): Call list-packages.
12049
12050 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
12051
12052 * files.el (after-find-file-from-revert-buffer): Remove variable.
12053 (after-find-file): Don't bind it.
12054 (revert-buffer-in-progress-p): New variable.
12055 (revert-buffer): Bind it.
12056 Pass nil for `after-find-file-from-revert-buffer'.
12057
12058 * saveplace.el (save-place-find-file-hook): Use new variable
12059 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12060
12061 2011-04-06 Glenn Morris <rgm@gnu.org>
12062
12063 * Makefile.in (AUTOGEN_VCS): New variable.
12064 (autoloads): Use $AUTOGEN_VCS.
12065
12066 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12067 * calendar/calendar.el (calendar-mode-map):
12068 Check for toolkit scroll bars. (Bug#8305)
12069
12070 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12071
12072 * minibuffer.el (completion-in-region--postch)
12073 (completion-in-region-mode): Remove unnecessary messages.
12074
12075 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
12076
12077 * font-lock.el (font-lock-refresh-defaults):
12078 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12079 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12080
12081 * info.el (Info-directory-list, Info-read-node-name-2)
12082 (Info-split-parameter-string): Doc fixes.
12083 (Info-virtual-nodes): Reflow docstring.
12084 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12085 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12086 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12087 Fix typos in docstrings.
12088 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12089 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12090 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12091 (Info-restore-desktop-buffer): Mark unused parameters.
12092 (Info-directory-find-file, Info-directory-find-node)
12093 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12094 (Info-virtual-index-find-node, Info-apropos-find-file)
12095 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
12096 Mark unused parameters; fix typos in docstrings.
12097 (Info-virtual-index): Remove unused local variable `nodename'.
12098
12099 2011-04-05 Deniz Dogan <deniz@dogan.se>
12100
12101 * net/rcirc.el: Update my e-mail address.
12102 (rcirc-mode-map): Remove M-o binding.
12103
12104 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12105
12106 * startup.el (command-line): Save the cursor's theme-face
12107 directly, instead of using face-override-spec.
12108
12109 * custom.el (load-theme): Minor optimization in assigning faces.
12110
12111 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12112
12113 * help-fns.el (describe-variable): Complete all variables having
12114 documentation, including keywords.
12115 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12116
12117 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12118
12119 Convert to lexical-binding.
12120
12121 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12122 (bs--get-marked-string, bs--get-modified-string)
12123 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12124 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12125 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12126
12127 * ehelp.el (electric-help-execute-extended)
12128 (electric-help-ctrl-x-prefix):
12129 * hexl.el (hexl-revert-buffer-function):
12130 * linum.el (linum-after-change, linum-after-scroll):
12131 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12132
12133 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12134
12135 2011-04-04 Daiki Ueno <ueno@unixuser.org>
12136
12137 * epa-dired.el:
12138 * epa-mail.el:
12139 * epa-hook.el:
12140 * epa-file.el:
12141 * epa.el:
12142 * epg.el: Use lexical binding.
12143
12144 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
12145
12146 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12147
12148 * textmodes/flyspell.el (flyspell-word): Recognize default
12149 dictionary case for flyspell-mark-duplications-exceptions.
12150 Use regexp matching for languages.
12151 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12152 default dictionary (Bug#7926).
12153
12154 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
12155
12156 * emacs-lisp/package.el (package--with-work-buffer):
12157 Recognize https URLs.
12158
12159 * net/network-stream.el: Move from gnus/proto-stream.el.
12160 Change prefix to network-stream throughout.
12161 (open-protocol-stream): Merge into open-network-stream, leaving
12162 open-protocol-stream as an alias. Handle nil BUFFER args.
12163
12164 * subr.el (open-network-stream): Move to net/network-stream.el.
12165
12166 2011-04-02 Glenn Morris <rgm@gnu.org>
12167
12168 * find-dired.el (find-exec-terminator): New option.
12169 (find-ls-option): Test for -ls support.
12170 (find-ls-subdir-switches): Test for -b in find-ls-option.
12171 (find-dired, find-grep-dired): Doc fixes.
12172 (find-dired): Use find-exec-terminator.
12173
12174 * find-dired.el (find-ls-option, find-ls-subdir-switches)
12175 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12176 (find-name-arg): Remove purecopy.
12177
12178 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12179 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12180 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12181 accordingly. Don't add the null-device if not needed.
12182
12183 * files.el (save-some-buffers): Doc fix.
12184
12185 2011-04-02 Eli Zaretskii <eliz@gnu.org>
12186
12187 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12188
12189 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
12190
12191 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12192 Use `dolist' rather than `mapcar'.
12193
12194 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12195
12196 Add lexical binding.
12197
12198 * subr.el (apply-partially): Use new closures rather than CL.
12199 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12200 (dolist, dotimes): Use slightly different expansion for lexical code.
12201 (functionp): Move to C.
12202 (letrec): New macro.
12203 (with-wrapper-hook): Use it and apply-partially instead of CL.
12204 (eval-after-load): Preserve lexical-binding.
12205 (save-window-excursion, with-output-to-temp-buffer): Turn them
12206 into macros.
12207
12208 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12209
12210 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12211 than the arglist.
12212 (help-add-fundoc-usage): Don't add `Not documented'.
12213 (help-function-arglist): Handle closures, subroutines, and new
12214 byte-code-functions.
12215 (help-make-usage): Remove leading underscores.
12216 (describe-function-1): Handle closures.
12217 (describe-variable): Use special-variable-p for completion.
12218
12219 * files.el (lexical-binding): Declare safe.
12220
12221 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12222 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12223 (pcase): Add `let' pattern.
12224 Change memoization so it actually works.
12225 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12226 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12227 <let>: New case.
12228
12229 * emacs-lisp/macroexp.el: Use lexical binding.
12230 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12231 Don't convert ' to #' without checking that it's indeed quoting
12232 a lambda.
12233
12234 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
12235 Use eval-sexp-add-defvars.
12236 (eval-sexp-add-defvars): New fun.
12237
12238 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12239
12240 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12241 Don't autoload.
12242 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12243 than the internal `byte-compile-lambda'.
12244 (defmethod): Don't hide code under quotes.
12245 (eieio-defmethod): New `code' argument.
12246
12247 * emacs-lisp/eieio-comp.el: Remove.
12248
12249 * emacs-lisp/edebug.el (edebug-eval-defun)
12250 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12251 (edebug-toggle): Avoid `eval'.
12252
12253 * emacs-lisp/disass.el (disassemble-internal): Handle new
12254 `closure' objects.
12255 (disassemble-1): Handle new byte codes.
12256
12257 * emacs-lisp/cl.el (pushnew): Silence warning.
12258
12259 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12260 (cl-byte-compile-throw): Remove.
12261 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12262
12263 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12264 closures.
12265
12266 * emacs-lisp/cconv.el: New file.
12267
12268 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12269 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12270 (byte-compile-initial-macro-environment):
12271 Handle declare-function here.
12272 (byte-compile--lexical-environment): New var.
12273 (byte-stack-ref, byte-stack-set, byte-discardN)
12274 (byte-discardN-preserve-tos): New lap codes.
12275 (byte-interactive-p): Don't use any more.
12276 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12277 New macros.
12278 (byte-compile-lapcode): Use them and handle new lap codes.
12279 (byte-compile-obsolete): Remove.
12280 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12281 (byte-compile-arglist-warn): Check late def of inlinable funs.
12282 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12283 since they should have been expanded by now.
12284 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12285 (byte-compile-from-buffer): Remove unused second arg.
12286 (byte-compile-preprocess): New function.
12287 (byte-compile-toplevel-file-form): New function to distinguish
12288 file-form calls from outside from file-form calls from hunk-handlers.
12289 (byte-compile-file-form): Simplify.
12290 (byte-compile-file-form-defsubst): Remove.
12291 (byte-compile-file-form-defmumble): Simplify now that
12292 byte-compile-lambda always returns a byte-code-function.
12293 (byte-compile): Preprocess.
12294 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12295 Remove, not used any more.
12296 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12297 (byte-compile-make-args-desc): New funs.
12298 (byte-compile-lambda): Handle lexical functions. Always return
12299 a byte-code-function.
12300 (byte-compile-reserved-constants): New var, to make up room for
12301 closed-over variables.
12302 (byte-compile-constants-vector): Obey it.
12303 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12304 (byte-compile-macroexpand-declare-function): New function.
12305 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12306 byte-code-functions.
12307 (byte-compile-form): Check obsolescence here.
12308 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12309 (byte-compile-variable-ref): Remove.
12310 (byte-compile-dynamic-variable-op): New fun.
12311 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12312 (byte-compile-variable-set): New funs.
12313 (byte-compile-discard): Add 2 args.
12314 (byte-compile-stack-ref, byte-compile-stack-set)
12315 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12316 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12317 macroexpand-all instead.
12318 (byte-compile-quote-form): Remove.
12319 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12320 (byte-compile-bind, byte-compile-unbind): New funs.
12321 (byte-compile-let): Handle let* and lexical binding.
12322 (byte-compile-let*): Remove.
12323 (byte-compile-catch, byte-compile-unwind-protect)
12324 (byte-compile-track-mouse, byte-compile-condition-case):
12325 Handle a new :fun-body form, used for lexical scoping.
12326 (byte-compile-save-window-excursion)
12327 (byte-compile-with-output-to-temp-buffer): Remove.
12328 (byte-compile-defun): Simplify.
12329 (byte-compile-stack-adjustment): New fun.
12330 (byte-compile-out): Use it.
12331 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12332
12333 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12334 handler any more.
12335
12336 * emacs-lisp/byte-opt.el: Use lexical binding.
12337 (byte-inline-lapcode): Remove (to bytecomp).
12338 (byte-compile-inline-expand): Pay attention to inlining to/from
12339 lexically bound code.
12340 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12341 any more.
12342 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12343 any more and don't call compiler-macros.
12344 (byte-compile-splice-in-already-compiled-code): Remove.
12345 (byte-code): Don't inline any more.
12346 (disassemble-offset): Receive `bytes' as argument rather than via
12347 dynamic scoping.
12348 (byte-compile-tag-number): Declare before first use.
12349 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12350 `return' even if make-spliceable.
12351 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12352 obsolete interactive-p.
12353 (byte-optimize-lapcode): Optimize new lap-codes.
12354 Don't trip up on new form of `byte-constant' lap code.
12355
12356 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12357
12358 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12359
12360 * custom.el (custom-initialize-default, custom-declare-variable):
12361 Use `defvar'.
12362
12363 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12364 New variables.
12365 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12366 (COMPILE_FIRST): Add macroexp and cconv.
12367 * makefile.w32-in: Mirror changes in Makefile.in.
12368
12369 * vc/cvs-status.el:
12370 * vc/diff-mode.el:
12371 * vc/log-edit.el:
12372 * vc/log-view.el:
12373 * vc/smerge-mode.el:
12374 * textmodes/bibtex-style.el:
12375 * textmodes/css.el:
12376 * startup.el:
12377 * uniquify.el:
12378 * minibuffer.el:
12379 * newcomment.el:
12380 * reveal.el:
12381 * server.el:
12382 * mpc.el:
12383 * emacs-lisp/smie.el:
12384 * doc-view.el:
12385 * dired.el:
12386 * abbrev.el: Use lexical binding.
12387
12388 2011-04-01 Eli Zaretskii <eliz@gnu.org>
12389
12390 * info.el (info-display-manual): New function.
12391
12392 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12393
12394 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12395
12396 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12397
12398 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
12399 an entry for that server in rcirc-authinfo. (Bug#8385)
12400
12401 2011-03-31 Glenn Morris <rgm@gnu.org>
12402
12403 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12404
12405 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12406
12407 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12408
12409 * progmodes/python.el (python-default-interpreter)
12410 (python-python-command-args, python-jython-command-args)
12411 (python-which-shell, python-which-args, python-which-bufname)
12412 (python-file-queue, python-comint-output-filter-function)
12413 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12414 variables and functions.
12415
12416 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12417
12418 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12419 (completion-in-region-mode): New minor mode.
12420 (completion-in-region): Use it.
12421 (completion-in-region--data, completion-in-region-mode-map): New vars.
12422 (completion-in-region--postch): New function.
12423 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12424 New vars.
12425 (completion--capf-wrapper): New function.
12426 (completion-at-point): Use it to track well-behavedness of
12427 hook functions.
12428 (completion-help-at-point): New command.
12429
12430 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12431
12432 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12433 syntax class to search for whitespace on a single line
12434 (Message-ID: <4D938140.4030905@redhat.com>).
12435
12436 2011-03-30 Leo Liu <sdl.web@gmail.com>
12437
12438 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12439 New commands.
12440 (edit-abbrevs-map): Bind them here.
12441 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12442
12443 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12444
12445 * allout.el (allout-hide-by-annotation, allout-flag-region):
12446 Reduce possibility of overlay leakage by making them volatile.
12447
12448 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12449 hash is not shared between buffers. Mode initialization is
12450 responsible for giving it a useful starting value.
12451 (allout-item-span): Reduce possibility of overlay leakage by
12452 making them volatile.
12453 (allout-widgets-count-buttons-in-region): Add diagnostic function
12454 for tracking down button overlay leaks.
12455
12456 2011-03-29 Leo Liu <sdl.web@gmail.com>
12457
12458 * ido.el (ido-read-internal): Use the default history var
12459 minibuffer-history if no HISTORY is specified.
12460
12461 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12462
12463 * net/imap.el (imap-shell-open, imap-process-connection-type):
12464 Use imap-process-connection-type for 'shell' streams as well as
12465 Kerberos, SSL, other subprocesses.
12466
12467 2011-03-28 Leo Liu <sdl.web@gmail.com>
12468
12469 * abbrev.el (abbrev-table-empty-p): New function.
12470 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12471 nonempty ones. (Bug#5937)
12472
12473 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12474
12475 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12476
12477 2011-03-27 Leo Liu <sdl.web@gmail.com>
12478
12479 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12480 for foreground and background colors.
12481 (ansi-color-make-color-map): Adapt.
12482
12483 2011-03-25 Leo Liu <sdl.web@gmail.com>
12484
12485 * midnight.el (midnight-time-float): Remove. Note it calculates
12486 the microsecond component incorrectly and seconds-to-time does the
12487 same job.
12488 Remove redundant (require 'timer).
12489
12490 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12491 (ido-completions): Remove unused arguments. (Bug#8329)
12492
12493 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12494
12495 * minibuffer.el (completion--flush-all-sorted-completions):
12496 Remove itself from hook.
12497 (completion-at-point): Let the functions perform the completion
12498 immediately and return nil or t.
12499 * comint.el (comint-dynamic-complete-functions): Now identical to
12500 completion-at-point-functions.
12501 (comint-dynamic-list-input-ring): Remove unused var `index'.
12502 (comint--match-partial-filename, comint--unquote&expand-filename):
12503 New funs, split from comint-match-partial-filename.
12504 (comint-dynamic-complete): Use completion-at-point.
12505 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12506
12507 2011-03-24 Drew Adams <drew.adams@oracle.com>
12508
12509 * thingatpt.el: Support `defun'.
12510
12511 2011-03-23 Leo Liu <sdl.web@gmail.com>
12512
12513 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12514
12515 * help-mode.el (help-mode-finish): Tweak regexp.
12516
12517 2011-03-23 Glenn Morris <rgm@gnu.org>
12518
12519 * eshell/esh-opt.el (eshell-eval-using-options):
12520 Do not bind unused local variable `eshell-option-stub'.
12521
12522 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12523
12524 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12525
12526 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12527 keymap variable in `with-no-warnings' to avoid a warning when the
12528 keymap has been already `defconst'ed.
12529
12530 2011-03-22 Leo Liu <sdl.web@gmail.com>
12531
12532 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12533 encode all chars in abbrevs; otherwise use emacs-mule or
12534 utf-8-emacs. (Bug#8308)
12535
12536 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12537
12538 * simple.el (backward-delete-char-untabify):
12539 Avoid warning about using `delete-backward-char'.
12540
12541 * image.el (image-type-file-name-regexps): Make it variable.
12542 `imagemagick-register-types' modifies it, and the user may want
12543 to add new extensions for known image types.
12544 (imagemagick-register-types): Throw error if not using ImageMagick.
12545
12546 2011-03-22 Leo Liu <sdl.web@gmail.com>
12547
12548 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12549 located before rcirc-prompt-end-marker.
12550 (rcirc-complete): Error if point is not after rcirc prompt.
12551 Handle the case when table is nil.
12552 (rcirc-user-authenticated): Define to fix compiler warning.
12553
12554 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
12555
12556 * custom.el (custom--inhibit-theme-enable): Make it affect only
12557 custom-theme-set-variables and custom-theme-set-faces.
12558 (provide-theme): Ignore custom--inhibit-theme-enable.
12559 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12560 (custom-enabling-themes): Delete variable.
12561 (enable-theme): Accept only loaded themes as arguments.
12562 Ignore the special custom-enabled-themes variable.
12563 (custom-enabled-themes): Forbid themes from setting this.
12564 Eliminate use of custom-enabling-themes.
12565 (custom-push-theme): Quote "changed" custom var entry.
12566
12567 2011-03-21 Leo Liu <sdl.web@gmail.com>
12568
12569 * ido.el (ido-read-internal): Add ido-selected to history instead
12570 of user input.
12571
12572 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12573
12574 * subr.el (deferred-action-list, deferred-action-function):
12575 Mark obsolete.
12576
12577 2011-03-21 Leo Liu <sdl.web@gmail.com>
12578
12579 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12580 change on 2011-02-13 (bug#8309).
12581
12582 * minibuffer.el (read-file-name-function): Change default value.
12583 (read-file-name--defaults): Rename from read-file-name-defaults.
12584 (read-file-name-default): Rename from read-file-name.
12585 (read-file-name): Call read-file-name-function.
12586
12587 2011-03-21 Glenn Morris <rgm@gnu.org>
12588
12589 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12590 Doc fixes.
12591
12592 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
12593
12594 * cus-theme.el: Add missing provide statement.
12595 (customize-create-theme): Extract theme value correctly.
12596 (custom-theme-visit-theme): Autoload.
12597 (customize-create-theme): Prompt before inserting default faces.
12598
12599 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12600
12601 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12602 units and musical notes.
12603
12604 2011-03-20 Leo Liu <sdl.web@gmail.com>
12605
12606 * ido.el (ido-read-internal): Use completing-read-default.
12607 (ido-completing-read): Fix compatibility with completing-read.
12608
12609 2011-03-20 Christian Ohler <ohler@gnu.org>
12610
12611 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12612 (ert-delete-all-tests): Use `called-interactively-p' rather than
12613 `interactive-p'.
12614 (ert--make-xrefs-region): Respect END.
12615
12616 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12617
12618 * dired-aux.el (dired-create-directory): Signal an error if the
12619 directory already exists (Bug#8246).
12620
12621 * facemenu.el (list-colors-display): Call list-faces-display
12622 inside with-help-window.
12623 (list-colors-print): Use display property to align the final
12624 column, instead of checking window-width.
12625
12626 2011-03-19 Eli Zaretskii <eliz@gnu.org>
12627
12628 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
12629 windows-nt systems.
12630 (emerge-protect-metachars): Quote correctly for ms-dos and
12631 windows-nt systems.
12632
12633 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
12634
12635 * info.el (info-initialize): Replace all uses of `:' with
12636 path-separator for compatibility with non-Unix systems.
12637 Cache quoting of path-separator. (Bug#8258)
12638
12639 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
12640
12641 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12642 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12643 (mouse-avoidance-mode): Fix typos in docstrings.
12644
12645 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12646
12647 * startup.el (package-subdirectory-regexp): Move from package.el.
12648 Omit \\` and \\', and let callers add them.
12649
12650 * emacs-lisp/package.el (package-strip-version)
12651 (package-load-all-descriptors): Add \\` and \\' to
12652 package-subdirectory-regexp before using it.
12653 (package-untar-buffer): New arg DIR; ensure that file untars only
12654 into this expected directory. Remove superfluous delete-region.
12655 (package-unpack): Caller changed.
12656 (package-tar-file-info): Use package-subdirectory-regexp.
12657
12658 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12659
12660 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12661 diff-mode-shared-map (bug#8284).
12662 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
12663
12664 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12665
12666 * calendar/time-date.el (format-seconds): Use assoc instead of
12667 assoc-string, since assoc-string doesn't exist in XEmacs.
12668
12669 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
12670
12671 * custom.el (custom-known-themes): Reflow docstring.
12672 (custom-theme-load-path): Fix typo in docstring.
12673 (load-theme): Fix typo in error message.
12674 (custom-available-themes, custom-variable-theme-value):
12675 Use `let', not `let*'.
12676
12677 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12678
12679 * calc/README: Mention inclusion of musical notes.
12680
12681 * calc/calc-units.el (calc-lu-quant): Rename from
12682 `calc-logunits-quantity'.
12683 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12684 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12685 (calc-db): Rename from `calc-dblevel'.
12686 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12687 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12688 (calc-np): Rename from `calc-nplevel'.
12689 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12690 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12691 (calc-lu-plus): Rename from `calc-logunits-add'.
12692 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12693 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12694 (calc-lu-minus): Rename from `calc-logunits-sub'.
12695 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12696 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12697 (calc-lu-times): Rename from `calc-logunits-mul'.
12698 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12699 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12700 (calc-lu-divide): Rename from `calc-logunits-div'.
12701 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12702 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12703
12704 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12705 functions being autoloaded.
12706
12707 * calc/calc.el (calc-lu-power-reference): Rename from
12708 `calc-logunits-power-reference'.
12709 (calc-lu-field-reference): Rename from
12710 `calc-logunits-field-reference'.
12711
12712 * calc/calc-help.el (calc-l-prefix-help):
12713 Mention musical note functions.
12714
12715 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12716
12717 * minibuffer.el (completion-all-sorted-completions):
12718 Use :completion-cycle-penalty text property if present.
12719
12720 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12721
12722 * allout.el (allout-yank-processing): Adjust for new rebulleting
12723 regime so bullet being yanked is used without prompting the user
12724 for a choice.
12725
12726 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
12727
12728 * startup.el (command-line): Warn the user that _emacs is deprecated.
12729
12730 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
12731
12732 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12733 (delphi-verbose, delphi-comment-face, delphi-string-face)
12734 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12735 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12736 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12737 (delphi-new-comment-line, delphi-font-lock-defaults)
12738 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12739 Fix typos in docstrings.
12740
12741 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12742
12743 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
12744 Invert the roles of character and string values for INSTEAD, so a
12745 string is used for the more common case of a defaulting prompt.
12746
12747 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12748
12749 * progmodes/ruby-mode.el (ruby-backward-sexp):
12750 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12751 * play/gamegrid.el (gamegrid-make-face):
12752 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12753 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12754 * notifications.el (notifications-notify):
12755 * net/xesam.el (xesam-search-engines):
12756 * net/quickurl.el (quickurl-list-insert):
12757 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12758
12759 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
12760
12761 * startup.el (command-line): Update package subdirectory regexp.
12762
12763 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12764
12765 * allout.el (allout-abbreviate-flattened-numbering)
12766 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12767
12768 * subr.el (read-char-choice): Only show the cursor after the prompt,
12769 not after the answer.
12770
12771 2011-03-15 Kevin Ryde <user42@zip.com.au>
12772
12773 * help-fns.el (variable-at-point): Skip leading quotes, if any
12774 (bug#8253).
12775
12776 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12777
12778 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12779 warning message.
12780
12781 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
12782
12783 * shell.el (shell): When called interactively, offer to change the
12784 shell file name on remote hosts.
12785
12786 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12787
12788 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12789 integration for LDAP parameters. The host, base, user or binddn,
12790 and secret tokens can be specified in a netrc file, for instance.
12791 This is optional because an `auth-source' parameter must be
12792 specified in the search attributes.
12793
12794 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
12795
12796 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12797
12798 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12799
12800 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12801 into declaration. Remove redundant and harmful binding.
12802
12803 2011-03-12 Eli Zaretskii <eliz@gnu.org>
12804
12805 * files.el (file-ownership-preserved-p): Pass `integer' as an
12806 explicit 2nd argument to `file-attributes'. If the file's owner
12807 is the Administrators group on Windows, and the current user is
12808 Administrator, consider that a match.
12809
12810 * server.el (server-ensure-safe-dir): Consider server directory
12811 safe on MS-Windows if its owner is the Administrators group while
12812 the current Emacs user is Administrator. Use `=' to compare
12813 numerical UIDs, since they could be integers or floats.
12814
12815 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
12816
12817 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12818
12819 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
12820
12821 Sync with Tramp 2.2.1.
12822
12823 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12824
12825 * net/trampver.el: Update release number.
12826
12827 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12828
12829 * progmodes/compile.el (compilation--previous-directory): Fix up
12830 various nil/dead-marker mismatches (bug#8014).
12831 (compilation-directory-properties, compilation-error-properties):
12832 Don't call it at a position past the one we're about to change.
12833
12834 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12835 Disable obsolescence warnings in the file that declares it.
12836
12837 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12838
12839 * allout-widgets.el (allout-widgets-tally):
12840 Initialize allout-widgets-tally as a hash table rather than nil to
12841 prevent mode-line redisplay warnings. Also, clarify the module
12842 description and fix a comment typo.
12843
12844 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
12845
12846 * help-fns.el (describe-variable): Don't complete keywords.
12847 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12848
12849 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
12850
12851 * emacs-lisp/package.el (package-version-join): Impose a standard
12852 string representation for pre/alpha/beta version lists.
12853 (package-unpack-single): Standardize the directory name by passing
12854 it through package-version-join.
12855 (package-strip-rcs-id): Accept any version string that does not
12856 signal an error in version-to-list.
12857
12858 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
12859
12860 * simple.el (delete-trailing-whitespace): Return nil for the
12861 benefit of `write-file-functions'.
12862
12863 2011-03-10 Glenn Morris <rgm@gnu.org>
12864
12865 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12866
12867 * vc/vc-git.el (vc-git-program): New option.
12868 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12869 (vc-git--call): Use it.
12870
12871 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12872
12873 * cus-edit.el (Custom-newline): If no button at point, look
12874 for a subgroup button at start-of-line. (Bug#2298)
12875
12876 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12877
12878 2011-03-10 Julien Danjou <julien@danjou.info>
12879
12880 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12881 `cursor-type' is nil.
12882
12883 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12884
12885 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12886
12887 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12888
12889 * allout.el: Change so yank of distinctive-bullet items
12890 preserves the existing header prefix, rebulleting it if necessary,
12891 rather than replacing it. This is necessary for proper operation
12892 of cooperative addons like allout-widgets.
12893 (allout-make-topic-prefix, allout-rebullet-heading):
12894 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12895 value as alternate bullet to be used, instead of prompting the user
12896 for a bullet character.
12897
12898 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
12899
12900 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12901 Do not use `tramp-file-name-port', because this returns also
12902 `tramp-default-port'.
12903
12904 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12905
12906 * net/rcirc.el (rcirc-handler-001): Remove useless
12907 with-rcirc-process-buffer.
12908 (rcirc-check-auth-status): Swap arguments to string-match.
12909
12910 2011-03-09 Glenn Morris <rgm@gnu.org>
12911
12912 * shell.el (shell-mode):
12913 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12914
12915 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12916 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12917
12918 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
12919
12920 * emacs-lisp/package.el (package-refresh-contents)
12921 (package-menu-execute): Use condition-case-no-debug.
12922
12923 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
12924
12925 * simple.el (shell-command-to-string): Use `process-file'.
12926
12927 * emacs-lisp/package.el (package-tar-file-info): Handle also
12928 remote files.
12929
12930 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12931 Use `equal' for upload base check.
12932
12933 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12934
12935 * textmodes/texinfo.el (texinfo-environments):
12936 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12937
12938 2011-03-08 Glenn Morris <rgm@gnu.org>
12939
12940 * cus-start.el (cursor-in-non-selected-windows):
12941 Fix :set quoting oddness. (Bug#8192)
12942
12943 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12944 in some setf expressions. (Bug#2159)
12945
12946 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
12947
12948 * custom.el (custom-available-themes): Return themes in
12949 alphabetical order.
12950
12951 See ChangeLog.15 for earlier changes.
12952
12953 ;; Local Variables:
12954 ;; coding: utf-8
12955 ;; End:
12956
12957 Copyright (C) 2011-2012 Free Software Foundation, Inc.
12958
12959 This file is part of GNU Emacs.
12960
12961 GNU Emacs is free software: you can redistribute it and/or modify
12962 it under the terms of the GNU General Public License as published by
12963 the Free Software Foundation, either version 3 of the License, or
12964 (at your option) any later version.
12965
12966 GNU Emacs is distributed in the hope that it will be useful,
12967 but WITHOUT ANY WARRANTY; without even the implied warranty of
12968 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12969 GNU General Public License for more details.
12970
12971 You should have received a copy of the GNU General Public License
12972 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.