* ruby-mode.el: Handle general delimited literals.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
dfbd787f
SM
12012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4 (ruby-syntax-propertize-regexp): Remove.
5 (ruby-syntax-propertize-function): Split regexp into chunks.
6 Match following code directly.
7
85222d44
DG
82012-04-24 Dmitry Gutov <dgutov@yandex.ru>
9
51a8ea2a
DG
10 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
11 (ruby-syntax-propertize-regexp): New function.
12 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
13 by a special keyword.
14
85222d44
DG
15 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
16 (ruby-syntax-general-delimiters-goto-beg)
17 (ruby-syntax-propertize-general-delimiters): New functions.
18 (ruby-syntax-propertize-function): Use them to handle GDL.
19 (ruby-font-lock-keywords): Move old handling of GDL...
20 (ruby-font-lock-syntactic-keywords): .. to here.
21 (ruby-calculate-indent): Adjust indentation for GDL.
22
b613912b
MA
232012-04-24 Michael Albinus <michael.albinus@gmx.de>
24
25 * notifications.el (notifications-interface)
26 (notifications-notify-method, notifications-notify)
27 (notifications-close-notification-method): Fix docstring.
28 (notifications-get-capabilities-method): New defconst.
29 (notifications-get-capabilities): New defun.
30
257440aa
LL
312012-04-24 Leo Liu <sdl.web@gmail.com>
32
33 * progmodes/python.el: Move hideshow setup to the end.
34
b1bac16e
MR
352012-04-24 Martin Rudalics <rudalics@gmx.at>
36
37 * window.el (handle-select-window): Clear echo area since this is
38 no more done by read_char (Bug#11304).
39
d81bd059
SM
402012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
41
42 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
43 and `/ M' to filter-derived-mode.
44 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
45 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
46 (ibuffer-mark-by-mode): Use default rather than initial-input.
47 (ibuffer-filter-by-derived-mode): Autoload and require-match.
48
c4cf6d91
IA
492012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
50
51 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
52 (ibuffer-filter-by-derived-mode): New filter.
53 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
54
7511ded8
CY
552012-04-23 Andreas Politz <politza@fh-trier.de>
56
57 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
58
775c916b
CY
592012-04-23 Chong Yidong <cyd@gnu.org>
60
61 * cus-edit.el (customize-apropos, customize-apropos-options):
62 Disable matching of non-option variables (Bug#11176).
63 (customize-option, customize-option-other-window)
64 (customize-changed-options): Doc fix.
65 (customize-apropos-options, customize-apropos-faces)
66 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
67
68 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 69 Fix word list splitting (Bug#11132).
46c71e23
CY
70 (apropos-symbol, apropos-keybinding, apropos-label)
71 (apropos-property, apropos-function-button)
72 (apropos-variable-button, apropos-misc-button): New faces.
73 (apropos-symbol-face, apropos-keybinding-face)
74 (apropos-label-face, apropos-property-face, apropos-match-face):
75 Variables removed (Bug#8396).
76 (apropos-library-button, apropos-format-plist, apropos-print)
77 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 78
2df41f9c
MA
792012-04-23 Michael Albinus <michael.albinus@gmx.de>
80
81 * net/xesam.el (xesam-mode-map): Use let-bound map in
82 initialization. (Bug#11292)
83
da00640a
AM
842012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
85
86 Preserve ispell session localwords when switching back to
87 original buffer.
88
89 * ispell.el (ispell-buffer-session-localwords): New buffer-local
90 variable to hold buffer session localwords.
91 (ispell-kill-ispell): add option 'clear to delete session
92 localwords.
93 (ispell-command-loop, ispell-change-dictionary)
94 (ispell-buffer-local-words): Preserve session localwords when
95 needed.
96
97 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
98 Preserve session localwords when needed.
99
f621ccf5
AM
1002012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
101
102 * ispell.el (ispell-insert-word) Remove unneeded function using
103 obsolete `translation-table-for-input'.
104 (ispell-word, ispell-process-line, ispell-complete-word): Use
105 plain `insert' instead of removed `ispell-insert-word'.
106
c2d1019e
CY
1072012-04-22 Chong Yidong <cyd@gnu.org>
108
109 * cus-edit.el (custom-variable-menu)
110 (custom-variable-reset-saved, custom-face-menu)
111 (custom-face-reset-saved): If there is no saved value, make the
112 "reset-saved" operation bring back the default (Bug#9509).
113 (custom-face-state): Properly detect themed faces.
114
eeddc531
CY
115 * faces.el (face-spec-set): Stop supporting deprecated form of
116 third arg.
117
dcbf5805
MA
1182012-04-22 Michael Albinus <michael.albinus@gmx.de>
119
120 Move functions from C to Lisp. Make non-blocking method calls
121 the default. Implement further D-Bus standard interfaces.
122
123 * net/dbus.el (dbus-message-internal): Declare function. Remove
124 unneeded function declarations.
125 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
126 (dbus-message-type-method-return, dbus-message-type-error)
127 (dbus-message-type-signal): Declare variables. Remove local
128 definitions.
129 (dbus-interface-dbus, dbus-interface-peer)
130 (dbus-interface-introspectable, dbus-interface-properties)
131 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
132 Adapt docstring.
133 (dbus-interface-objectmanager): New defconst.
134 (dbus-call-method, dbus-call-method-asynchronously)
135 (dbus-send-signal, dbus-method-return-internal)
136 (dbus-method-error-internal, dbus-register-service)
137 (dbus-register-signal, dbus-register-method): New defuns, moved
138 from dbusbind.c
139 (dbus-call-method-handler, dbus-setenv)
140 (dbus-get-all-managed-objects, dbus-managed-objects-handler): New
141 defuns.
142 (dbus-call-method-non-blocking): Make it an obsolete function.
143 (dbus-unregister-object, dbus-unregister-service)
144 (dbus-handle-event, dbus-register-property)
145 (dbus-property-handler): Obey the new structure of
146 `bus-registered-objects'.
147 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
148 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
149 Use `dbus-call-method'.
150
cf20dee0
CY
1512012-04-22 Chong Yidong <cyd@gnu.org>
152
153 * cus-edit.el (custom-commands, custom-reset-menu)
154 (Custom-reset-standard): Tweak labels.
155 (custom-reset-button-menu): Change default to t.
156 (custom-buffer-create-internal): For the custom-reset-button-menu
157 case, put the revert button first.
158 (custom-group-subtitle): New face.
159 (custom-group-value-create): Align docstring to a specific column.
160
161 * wid-edit.el (widget-documentation-link-add): Don't handle
162 indentation in this function.
163 (widget-documentation-string-indent-to): New function.
164 (widget-documentation-string-value-create): Use it.
165
166 * autorevert.el (auto-revert):
167 * epg-config.el (epg):
168 * ibuffer.el (ibuffer):
169 * mpc.el (mpc):
170 * ses.el (ses):
171 * eshell/eshell.el (eshell):
172 * net/ange-ftp.el (ange-ftp):
173 * progmodes/ebnf2ps.el (postscript):
174 * progmodes/flymake.el (flymake):
175 * progmodes/prolog.el (prolog):
176 * progmodes/verilog-mode.el (verilog-mode):
177 * progmodes/which-func.el (which-func):
178 * term/xterm.el (xterm):
179 * textmodes/picture.el (picture):
180 * textmodes/tildify.el (tildify):
181 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
182 customization buffers.
183
583e23bd
AM
1842012-04-22 Alan Mackenzie <acm@muc.de>
185
186 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
187 Adding a ) can hide the resulting (..) from searches. Fix it.
188 Bound the backward search to the position of the existing (.
189
7dd51bf1
JB
1902012-04-21 Juanma Barranquero <lekktu@gmail.com>
191
192 * progmodes/verilog-mode.el (verilog-mode): Check whether
193 which-func-modes is t before adding verilog-mode.
194 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
195
d64a438f
LL
1962012-04-21 Leo Liu <sdl.web@gmail.com>
197
7dd51bf1 198 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 199
081e8d65
MV
2002012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
201
202 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
203 filling of the last column of a table (Bug#5635).
204 (woman-find-next-control-line): New arg, specifying an additional
205 regexp component for the control line.
206 (woman2-roff-buffer): Use it.
207 (woman-break-table): New function.
208 (woman2-TS): Use it.
209
2102012-04-21 Chong Yidong <cyd@gnu.org>
211
212 * woman.el (woman-set-buffer-display-table, woman-decode-region)
213 (woman-horizontal-escapes, woman-negative-vertical-space)
214 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
215 (WoMan-warn-ignored): Use ?\s instead of ?\ .
216
ed571ccb
SM
2172012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
218
219 * minibuffer.el (completion-file-name-table): Complete user names.
220
39773899
LL
2212012-04-20 Leo Liu <sdl.web@gmail.com>
222
223 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
224 and pcase-let*.
225
de6ff46d
CY
2262012-04-20 Chong Yidong <cyd@gnu.org>
227
228 * server.el (server-execute): Respect initial-buffer-choice if it
229 is a string and there are no files to open (Bug#2825).
230 (server-create-window-system-frame, server-create-tty-frame):
231 Don't switch buffers here.
2d0e8e61
CY
232 (server-process-filter): Only try to open a window system frame if
233 compiled with graphical support (Bug#8314).
de6ff46d 234
54071013
DN
2352012-04-20 Dan Nicolaescu <dann@gnu.org>
236
237 * battery.el (battery-echo-area-format): Display remaining time
238 for sysfs backend too (Bug#11269).
239 (battery-linux-sysfs): Fix conditional for the charge.
240
f30d612a
CY
2412012-04-20 Chong Yidong <cyd@gnu.org>
242
c07a4c0b 243 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
244 (gdb-inferior-io--init-proc): New function.
245 (gdb-init-1): Use it.
246 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
247 responsible for allocating a new pty and hooking it to gdb when
248 the old pty gets an EIO due to process exit.
249 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
250 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
251 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
252
2116e93c
EZ
2532012-04-20 Eli Zaretskii <eliz@gnu.org>
254
255 * window.el (window-min-size, window-sizable, window-min-delta)
256 (window-max-delta, window--resizable, window-resizable)
257 (window-total-size, window-full-height-p, window-full-width-p)
258 (window-in-direction, window--resize-mini-window, window-resize)
259 (window--resize-child-windows-normal)
260 (window--resize-child-windows, window--resize-siblings)
261 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 262 (enlarge-window, shrink-window): Doc fixes.
2116e93c 263
c07a4c0b 2642012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e
CY
265
266 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty): New
267 function to call delete-process on the gdb-inferior buffer's pty.
268 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
269 pty process (Bug#11273).
270 (gdb-update): New arg to suppress talking to the gdb process.
271 (gdb-done-or-error): Use it.
272 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
273 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
274 sentinel not being called.
275
276 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
277
d02766ab
CY
278 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
279
c07a4c0b 2802012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
281
282 * net/network-stream.el (open-network-stream): Doc fix.
283
c07a4c0b 2842012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
285
286 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
287
c07a4c0b 2882012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
289
290 Ensure searching for keywords is case sensitive.
291
292 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
293 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
294 (c-defun-name, c-mark-function, c-cpp-define-name)
295 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 296 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 297
c07a4c0b 298 * progmodes/cc-mode.el (c-font-lock-fontify-region): Bind
f0f6bc35
AM
299 case-fold-search to nil.
300
c07a4c0b 3012012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
302
303 * mail/sendmail.el (mail-bury): Call return action with the right
304 Rmail buffer (Bug#11242).
305
9a864fa2
CY
306 * server.el (server-process-filter): Handle corner case where both
307 tty and nowait options are present (Bug#11102).
308
539aa513
EZ
3092012-04-20 Eli Zaretskii <eliz@gnu.org>
310
311 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
312 (top level): Put into the executable the ident-style '$Id:' tag on
313 windows-nt as well.
539aa513 314
cfc7d5da
SM
3152012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
316
317 * electric.el (electric-indent-post-self-insert-function): Check that
318 electric-indent-mode is enabled in current buffer.
319
5b01685c
JB
3202012-04-19 Juanma Barranquero <lekktu@gmail.com>
321
322 * imenu.el (imenu-progress-message): Restore; it is "used" in
323 erc/erc-imenu.el and net/snmp-mode.el.
324
4d6769e1
JB
3252012-04-19 Juanma Barranquero <lekktu@gmail.com>
326
327 * avoid.el (mouse-avoidance-mode): Mark unused arg.
328 (mouse-avoidance-nudge-mouse): Remove unused binding.
329
330 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
331
332 * descr-text.el (describe-char):
333 * progmodes/python.el (python-describe-symbol):
334 Don't call `toggle-read-only', set `buffer-read-only'.
335
336 * imenu.el (imenu-default-goto-function): Mark unused args.
337 (imenu-progress-message): Remove obsolete macro; all callers changed.
338
339 * subr.el (keymap-canonicalize): Remove unused binding.
340 (read-passwd): Mark unused arg.
341
342 * tutorial.el (tutorial--display-changes): Remove unused binding.
343 (tutorial--save-tutorial-to): Remove unused variable.
344
345 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
346 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
347 (package-generate-autoloads, package-menu--generate)
348 (package-menu--find-upgrades): Remove unused bindings.
349
350 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
351 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
352 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
353 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
354 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
355 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
356 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
357 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
358 (cua-delete-char-rectangle): Mark unused args.
359 (cua-align-rectangle): Remove unused binding.
360
361 * mail/rmail.el (compilation--message->loc)
362 (epa--find-coding-system-for-mime-charset): Declare.
363
364 * net/dbus.el (dbus-register-service): Declare.
365 (dbus-name-owner-changed-handler): Remove unused binding.
366
367 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
368 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
369 (nxml-scan-backward-within): Mark unused arg.
370 (nxml-dynamic-markup-word): Remove unused binding.
371
372 * mouse.el (mouse-menu-major-mode-map):
373 * emacs-lisp/authors.el (authors-scan-change-log)
374 (authors-add-to-author-list):
375 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
376 * emacs-lisp/smie.el (smie-auto-fill):
377 * mail/sendmail.el (mail-bury):
378 * mail/unrmail.el (unrmail):
379 * net/tls.el (open-tls-stream):
380 * textmodes/picture.el (picture-mouse-set-point):
381 Remove unused bindings.
382
8c8fc5df
MA
3832012-04-19 Michael Albinus <michael.albinus@gmx.de>
384
385 * net/tramp.el (tramp-action-password): Let-bind
386 `enable-recursive-minibuffers' to t.
387
a77b0ac9
SS
3882012-04-18 Sam Steingold <sds@gnu.org>
389
390 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
391 instead of 'string to accommodate values like [f11].
392 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
393 * progmodes/gdb-mi.el: Likewise.
394
12a106a9
LL
3952012-04-18 Leo Liu <sdl.web@gmail.com>
396
397 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
398 current buffer.
399 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
400 LOCAL is nil.
401
bc6494ef
CY
4022012-04-18 Chong Yidong <cyd@gnu.org>
403
404 * simple.el (line-move): Use forward-line if in batch mode
405 (Bug#11053).
406
c09c46b2
CS
4072012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
408
409 * files.el (after-find-file): Do not try to add a final newline if
410 the buffer is read-only (Bug#11156).
411
5f6530ea
RS
4122012-04-17 Richard Stallman <rms@gnu.org>
413
414 * mail/rmail.el (rmail-start-mail):
415 Pass (rmail-mail-return...) for the return-action.
416 Pass (rmail-yank-current-message...) for the yank-action.
417 (rmail-yank-current-message): New function.
418 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
419 (rmail-reply): Likewise.
420 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
421
422 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 423 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
424 buffer, not newbuf.
425
197b6f3c
JB
4262012-04-17 Juanma Barranquero <lekktu@gmail.com>
427
428 * server.el (server-ensure-safe-dir): Simplify.
429
2311d8e5 4302012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 431
2311d8e5
GM
432 * emacs-lisp/smie.el: Provide smarter auto-filling.
433 (smie-auto-fill): New function.
434 (smie-setup): Use it.
98fb480e 435
2311d8e5
GM
436 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
437
4382012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
439
440 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
441 (comment-indent): Use it.
442
2311d8e5 4432012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
444
445 * ses.el: The overall change is to add cell renaming, that is
446 setting fancy names for cell symbols other than name matching
447 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 448 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 449 (ses-create-cell-variable): New defun.
2311d8e5 450 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
451 (ses-relocate-formula): Relocate formulas only for cells the
452 symbols of which are not renamed, i.e. symbols whose names do not
453 match regexp "\\`[A-Z]+[0-9]+\\'".
454 (ses-relocate-all): Relocate values only for cells the symbols of
455 which are not renamed.
456 (ses-load): Create cells variables as the (ses-cell ...) are read,
457 in order to check row col consistency with cell symbol name only
458 for cells that are not renamed.
459 (ses-replace-name-in-formula): New defun.
460 (ses-rename-cell): New defun.
4bdf2ad2 461
fc72b15c
PO
4622012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
463
464 * progmodes/perl-mode.el (perl-indent-parens-as-block):
465 New option (bug#11118).
466 (perl-calculate-indent): Respect it.
467
12e10e61
GM
4682012-04-17 Glenn Morris <rgm@gnu.org>
469
470 * dired-aux.el (dired-mark-read-string): Doc fix.
471
30009afd
DA
4722012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
473
474 * dired-aux.el (dired-mark-read-string): Offer optional completion.
475 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
476
41f03f4d
GM
4772012-04-17 Glenn Morris <rgm@gnu.org>
478
479 * mouse.el (mouse-drag-track):
480 * speedbar.el (speedbar-frame-mode):
481 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
482
f45f90f3
LL
4832012-04-16 Leo Liu <sdl.web@gmail.com>
484
485 * progmodes/python.el: Trivial cleanup.
486
94ee8db5
GM
4872012-04-16 Glenn Morris <rgm@gnu.org>
488
121b8917
GM
489 * vc/vc.el (vc-string-prefix-p):
490 * vc/pcvs-util.el (cvs-string-prefix-p):
491 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
492 * mpc.el (mpc-string-prefix-p):
493 Make all of these into obsolete aliases for string-prefix-p.
494 Update callers.
495 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
496
1197ecfa
GM
497 * textmodes/two-column.el: Move custom options to the start.
498 (frame-width): Remove compat definition.
499 (2C-associate-buffer, 2C-dissociate):
500 Use with-current-buffer rather than save-excursion.
501 (2C-dissociate): Force a mode-line update.
502 (2C-autoscroll): Use ignore-errors.
503
099e7202
GM
504 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
505 Autoload trivia.
506
bf350d6a
GM
507 * emacs-lisp/cl-extra.el (*random-state*):
508 Remove unnecessary declaration.
509
0e829eab
GM
510 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
511
e3ad7552
GM
512 * play/cookie1.el (cookie-snarf):
513 Give an explicit error if input file cannot be read.
514
68892d27
GM
515 * play/yow.el (yow-file): Use expand-file-name rather than concat.
516
20f0c46d
GM
517 * progmodes/perl-mode.el (c-macro-expand):
518 Remove unnecessary autoload (it is in loaddefs.el).
519
5a0978ce
GM
520 * textmodes/picture.el (picture-desired-column)
521 (picture-update-desired-column): Convert comments to doc-strings.
522 (picture-substitute): Remove function.
523 (picture-mode-map): Initialize in the defvar.
524
6b955486
GM
525 * woman.el: Remove eval-after-load for tar-mode.
526 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
527 (woman-tar-extract-file): Autoload it.
528
94ee8db5
GM
529 * frame.el (automatic-hscrolling): Make this alias obsolete.
530
177eca34
AM
5312012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
532
533 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 534 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
535 (ispell-dictionary-base-alist): Revert to original XEmacs
536 friendly version for default. [:alpha:] will be added in
537 `ispell-set-spellchecker-params' if needed
177eca34 538
c505aaeb
CY
5392012-04-16 Chong Yidong <cyd@gnu.org>
540
541 * image.el (imagemagick--extension-regexp): New variable.
542 (imagemagick-register-types): Use it.
543 (imagemagick-types-inhibit): Add :set function. Allow new value
544 of t to inhibit all types.
545
546 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
547 so we can preload it.
548
549 * loadup.el (fboundp): Preload regexp-opt, needed by
550 imagemagick-register-types.
551
60efac0f
CY
5522012-04-15 Chong Yidong <cyd@gnu.org>
553
554 * frame.el (scrolling): Remove nearly unused customization group.
555
556 * scroll-all.el (scroll-all-mode): Move to windows group.
557
5dd1713e
CY
5582012-04-15 Chong Yidong <cyd@gnu.org>
559
560 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
561
e6fd457e
CY
5622012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
563
564 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 565 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 566
e153c136
GM
5672012-04-15 Glenn Morris <rgm@gnu.org>
568
569 * simple.el (process-file-side-effects): Doc fix.
570
e6fd457e 5712012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
572
573 * international/mule-cmds.el (set-language-environment): Doc fix.
574
3603c3b1
JB
5752012-04-14 Juanma Barranquero <lekktu@gmail.com>
576
577 * server.el (server-auth-key, server-generate-key): Doc fixes.
578 (server-get-auth-key): Doc fix. Use `string-match-p'.
579 (server-start): Reflow docstring.
580
e6de100c
LI
5812012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
582
583 * server.el (server-generate-key): `called-interactively-p'
584 requires a parameter.
585
29734c21
MN
5862012-04-14 Michal Nazarewicz <mina86@mina86.com>
587
588 * server.el (server-auth-key): New variable.
75f1671a 589 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
590 (server-start): Use the new variable and functions to allow
591 setting a permanent server key (bug#9423).
592
d65c9521
LL
5932012-04-14 Leo Liu <sdl.web@gmail.com>
594
595 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
596
5ae255c7
PE
5972012-04-14 Paul Eggert <eggert@cs.ucla.edu>
598
599 Spelling fixes.
600 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
601 Emacs uses American spelling.
602
d5e6342e
JB
6032012-04-14 Juanma Barranquero <lekktu@gmail.com>
604
605 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
606 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
607 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
608 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
609
ab036cd7
SM
6102012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
611
612 * progmodes/which-func.el (which-func-modes): Change default.
613
35dc09a1 6142012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
615
616 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
617 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
618
35dc09a1 6192012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
620
621 * custom.el (custom-theme-set-variables): Doc fix.
622
35dc09a1 6232012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
624
625 * international/mule.el (set-auto-coding-for-load): Doc fix.
626
35dc09a1 6272012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 628
35dc09a1
GM
629 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
630 imenu work again for Objective C Mode. Correct the *-index values,
631 these having been disturbed by a previous change in 2011-08.
57f845ee 632
0de3da9f
AM
633 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
634 Correct two search limits.
635
35dc09a1 6362012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
637
638 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
639
35dc09a1 6402012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
641
642 * international/characters.el: Fix sorting.
643
35dc09a1 6442012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
645
646 * international/characters.el: Add more missing Latin case pairs.
647
35dc09a1 6482012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
649
650 * files.el (dir-locals-set-class-variables): Doc fix.
651
35dc09a1 6522012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 653
3f1b5bf8
EZ
654 * international/characters.el: Add set-case-syntax-pair call for
655 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
656 counterpart. (Bug#11209)
657
9f847f41
EZ
658 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
659
35dc09a1 6602012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
661
662 * calendar/holidays.el (calendar-check-holidays): Doc fix.
663
35dc09a1 6642012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 665
35dc09a1
GM
666 * textmodes/ispell.el (ispell-dictionary-base-alist):
667 Add data for Hebrew.
e2627d21 668
35dc09a1 6692012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 670
35dc09a1
GM
671 * net/rcirc.el (rcirc-cmd-quit):
672 Revert 2012-03-18 change (Bug#11192).
5c14e333 673
35dc09a1 6742012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
675
676 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
677
35dc09a1 6782012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 679
4517fe3a
SM
680 * minibuffer.el (completion-in-region-mode-map):
681 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 682
b472a594
VD
6832012-04-13 Vivek Dasmohapatra <vivek@etla.org>
684
685 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
686
09b95ce3
MY
6872012-04-13 Masatake YAMATO <yamato@redhat.com>
688
689 * minibuffer.el (minibuffer-local-filename-syntax): New variable
690 to allow `C-M-f' and `C-M-b' to move to the nearest path
691 separator (bug#9511).
692
4b63a9ca
LI
6932012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
694
695 * avoid.el: Require cl when compiling. And also move the
696 `provide' to the end.
697
7b55b8bf
TV
6982012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
699
700 * avoid.el (mouse-avoidance-banish-position): New variable.
701 (mouse-avoidance-banish-destination): Use it (bug#10165).
702
adedaa1f
LL
7032012-04-13 Leo Liu <sdl.web@gmail.com>
704
705 * progmodes/which-func.el (which-func-modes): Add objc-mode.
706
70e74021
KB
7072012-04-13 Ken Brown <kbrown@cornell.edu>
708
709 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 710 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
711 (browse-url-filename-alist): For the same reason, don't modify
712 file:// URLs on Cygwin.
713
e75e89ba
SM
7142012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
715
716 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
717 the region on shift if the binding is already shifted (bug#11221).
718
82f289a4
GM
7192012-04-12 Glenn Morris <rgm@gnu.org>
720
721 * mail/mailpost.el: Move to obsolete/.
722
d333dc4c
DA
7232012-04-12 Drew Adams <drew.adams@oracle.com>
724
725 * imenu.el (imenu--generic-function): Ignore invisible definitions
726 (bug#10123).
727
0d15b5ba
VD
7282012-04-12 Vivek Dasmohapatra <vivek@etla.org>
729
730 * hexl.el (hexl-bits): New variable.
731 (hexl-options): Mention the variable in the doc string.
75f1671a 732 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 733 (hexl-mode): Mention the new variable.
75f1671a
JB
734 (hexl-mode, hexl-current-address, hexl-current-address):
735 Use the displen.
0d15b5ba
VD
736 (hexl-ascii-start-column): New function.
737 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
738 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
739
64a440db
AM
7402012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
741
742 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
743 '("-i" ENCODING), in 2 separate command-line arguments, to specify
744 the encoding, as expected by hunspell.
745
6decb6c2
SM
7462012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
747
748 * battery.el (battery--linux-sysfs-regexp): New const.
749 (battery-status-function): Use it. Remove yeeloong special case.
750 (battery-yeeloong-sysfs): Remove.
751 (battery-echo-area-format): Remove yeeloong special case.
752
088be6fb
SM
7532012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
754
6622e416
SM
755 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
756 Reported by Noah Friedman.
757
088be6fb
SM
758 * subr.el (read-passwd): Use read-string.
759
b49f886e
LMI
7602012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
761
762 * vcursor.el (vcursor-move): Increase the priority of the overlay
763 (bug#9663).
764
a63067fc
DD
7652012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
766
767 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
768 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
769
ac3cf14a
WS
7702012-04-11 William Stevenson <yhvh2000@gmail.com>
771
772 * textmodes/artist.el (artist-mode): Convert artist-mode to use
773 define-minor-mode (bug#10760).
774
c4fc691b 7752012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 776
4d6769e1 777 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
778 that directories matching `grep-find-ignored-files' won't be
779 pruned (bug#10351).
780
af23e2e5
CY
7812012-04-11 Chong Yidong <cyd@gnu.org>
782
783 * startup.el (command-line): Remove support for long-obsolete
784 variable font-lock-face-attributes.
785
ab7ce8c1
GM
7862012-04-11 Glenn Morris <rgm@gnu.org>
787
788 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
789
de8c03dc
SM
7902012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
791
792 * window.el (window--state-get-1): Obey window-point-insertion-type.
793
050cc68b
LB
7942012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
795
796 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
797 to previous function when point is on the first character of a
75f1671a 798 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 799
a38c310c
GM
8002012-04-11 Glenn Morris <rgm@gnu.org>
801
effed0c2
GM
802 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
803 not just file-errors.
804
a38c310c
GM
805 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
806 (vc-bzr-sha1): Use internal sha1.
807
0221e323
SM
8082012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
809
810 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
811
43956923
SG
8122012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
813
814 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
815 that start in the middle of the line (bug#10496).
816
6a8c9eaf
DN
8172012-04-10 Dan Nicolaescu <dann@gnu.org>
818
819 * battery.el (battery-linux-proc-acpi): Only one battery is
820 discharged at a time, but that seems to confuse battery.el when
821 computing `rate-type' for the battery not being discharged
822 (bug#10332).
823
1930bf5d
SM
8242012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
825
2a718f6f
SM
826 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
827
599430d0
SM
828 * international/quail.el: Use dolist and simplify.
829 (quail-define-package, quail-update-keyboard-layout)
830 (quail-define-rules): Use dolist.
831 (quail-insert-kbd-layout, quail-get-translation): CSE.
832
a2754b6c
SM
833 * tmm.el: Use dolist, remove left over hook.
834 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
835 Use dolist.
836 (calendar-load-hook): Don't mess with it.
837
1930bf5d
SM
838 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
839 Use derived-mode-p. Run the diff asynchronously.
840
9f67961c
LMI
8412012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
842
843 * obsolete/mouse-sel.el: Add an Obsolete-since header.
844
2a8ce227
JB
8452012-04-10 Juanma Barranquero <lekktu@gmail.com>
846
847 * misc.el: Display absolute path of loaded DLLs (bug#10424).
848 (list-dynamic-libraries--loaded): New function.
849 (list-dynamic-libraries--refresh): Use it.
850
8f33b5f8
NW
8512012-04-10 Nathan Weizenbaum <nweiz@google.com>
852
1930bf5d
SM
853 * progmodes/python.el (python-fill-paragraph):
854 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
855 disabled (bug#7018).
856
b12f0439
L
8572012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
858
1930bf5d 859 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
860 DOS/MS Windows for the Baltic languages. There are still plenty
861 of texts written in this encoding/codepage (bug#6519).
b12f0439 862
57c3bd01
GM
8632012-04-10 Glenn Morris <rgm@gnu.org>
864
865 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
866 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
867
6c3eab30
FA
8682012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
869
1930bf5d 870 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
871 next-line "n" and previous-line "p" in order to make recentf more
872 consistent with ibuffer, dired or org-mode (bug#9387).
873
24d78a88
LMI
8742012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
875
bc72b5d9
LMI
876 * image.el (put-image): Return the overlay created instead of the
877 optional input string (bug#7834). Note that this may break code
878 that is (for some reason or other) depending on `put-image'
879 returning the string.
880
bd2dba5a
LMI
881 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
882
74beb59f
LMI
883 * simple.el (zap-to-char): Allow zapping using input methods
884 (bug#1580).
885
24d78a88
LMI
886 * textmodes/fill.el (fill-region): Leave point and mark where they
887 were before filling (bug#5399).
888
263f20cd
GM
8892012-04-09 Glenn Morris <rgm@gnu.org>
890
891 * version.el (emacs-bzr-get-version):
892 Handle lightweight checkouts of local branches.
893
58d1f797
AS
8942012-04-09 Andreas Schwab <schwab@linux-m68k.org>
895
263f20cd 896 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 897
b4d3bc10
CY
8982012-04-09 Chong Yidong <cyd@gnu.org>
899
900 * custom.el (custom-variable-p): Return nil for non-symbol
901 arguments instead of signaling an error.
902 (user-variable-p): Obsolete alias for custom-variable-p.
903
904 * apropos.el (apropos-variable):
905 * files-x.el (read-file-local-variable):
906 * simple.el (set-variable):
907 * woman.el (woman-mini-help):
908 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
909
fd06db5d
GM
9102012-04-09 Glenn Morris <rgm@gnu.org>
911
e5fcdb5e
GM
912 * startup.el (normal-top-level): Don't look for leim-list.el
913 in places where it will not be found. (Bug#910)
914
fd06db5d
GM
915 * international/mule-cmds.el (set-default-coding-systems):
916 * files.el (normal-mode):
917 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
918 This function was removed with ucs-tables.el in 2008.
919
b39bb7e1
EZ
9202012-04-08 Eli Zaretskii <eliz@gnu.org>
921
922 * textmodes/ispell.el (ispell-check-version): For hunspell, set
923 ispell-encoding8-command to "-i", without a trailing space.
924 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
925 separate command-line arguments, to specify the encoding, since
926 that's how hunspell expects it.
927
5c5b8e23
GM
9282012-04-08 Glenn Morris <rgm@gnu.org>
929
930 * loadup.el: Load bindings before cus-start.
931 This reduces somewhat the number of "rogue" settings in emacs -Q.
932
a1ed8b05
GM
9332012-04-07 Glenn Morris <rgm@gnu.org>
934
935 * version.el (emacs-bzr-get-version): New function.
dfae128a 936 (emacs-bzr-version): New variable.
a1ed8b05
GM
937 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
938 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
939
b142f158
EZ
9402012-04-07 Eli Zaretskii <eliz@gnu.org>
941
dfae128a
GM
942 * international/uni-bidi.el, international/uni-category.el:
943 * international/uni-combining.el, international/uni-decimal.el:
944 * international/uni-decomposition.el, international/uni-digit.el:
945 * international/uni-lowercase.el, international/uni-mirrored.el:
946 * international/uni-name.el, international/uni-numeric.el:
947 * international/uni-titlecase.el, international/uni-uppercase.el:
948 Update for Unicode 6.1.
b142f158 949
9078ead6
EZ
9502012-04-07 Eli Zaretskii <eliz@gnu.org>
951
952 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
953
f23d2c7d
LMI
9542012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
955
956 * window.el (shrink-window): Mention the `window-min-height'
957 variable in the doc string.
958
0a0a3573
BG
9592012-04-05 Bastien Guerry <bzg@altern.org>
960
961 * color.el (color-lighten-name): Fix typo.
962
e5248ac9
SM
9632012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
964
965 * server.el (server--on-display-p): New function.
966 (server--on-display-p): Use it.
967
b4243e22
GV
9682012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
969
970 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
971 (bug#11145).
972
305d9f44
SM
9732012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
974
975 * comint.el (comint--common-quoted-suffix): Check string boundary
976 before comparing (bug#11158).
977 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
978
3d439cd1
CY
9792012-04-04 Chong Yidong <cyd@gnu.org>
980
321cc491
CY
981 * minibuffer.el (completion-extra-properties): Doc fix.
982
3d439cd1
CY
983 * subr.el (delayed-warnings-hook): Doc fix.
984
2d562c0f
DU
9852012-04-04 Daiki Ueno <ueno@unixuser.org>
986
987 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
988 selection (Bug#11159).
989 (epa-insert-keys): Inform that the default public key will be
990 exported if no key is selected.
991
4443f204
RS
9922012-04-04 Richard Stallman <rms@gnu.org>
993
994 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
995
529c06b6
CY
9962012-04-03 Chong Yidong <cyd@gnu.org>
997
998 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
999 mail-insert-file, not its obsolete alias mail-attach-file.
1000
66b907dc
MA
10012012-04-03 Michael Albinus <michael.albinus@gmx.de>
1002
1003 * notifications.el (notifications-notify): Fix docstring.
1004
c0ea195d
GM
10052012-04-02 Glenn Morris <rgm@gnu.org>
1006
1007 * emacs-lisp/authors.el (authors-aliases): Another addition.
1008
5ca64e00
MA
10092012-04-02 Michael Albinus <michael.albinus@gmx.de>
1010
1011 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1012 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1013 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1014
42ee526b
CY
10152012-04-01 Chong Yidong <cyd@gnu.org>
1016
1017 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1018 Handle root directory properly.
1019 (copy-directory): Caller changed.
1020
1021 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1022 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1023
0b021094
GM
10242012-03-31 Glenn Morris <rgm@gnu.org>
1025
40f86458
GM
1026 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1027
7019c177
GM
1028 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1029
a1daddd6
GM
1030 * calendar/calendar.el (calendar-window-list)
1031 (calendar-hide-window): Restore. (Bug#11140)
1032 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1033
0b021094
GM
1034 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1035
40311efc
TV
10362012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1037
1038 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1039 Check if file is a symlink (Bug#10489).
1040
1041 * files.el (copy-directory): Likewise.
1042
5319014e
CY
10432012-03-30 Chong Yidong <cyd@gnu.org>
1044
1045 * image.el (imagemagick-types-inhibit)
1046 (imagemagick-register-types): Doc fix.
1047
935d1290
AM
10482012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1049
1050 * ispell.el (ispell-get-extended-character-mode): Disable
75f1671a
JB
1051 extended-char-mode for hunspell. hunspell does not support it
1052 and treats ~word as ordinary words in pipe mode.
935d1290 1053
61c6e8fd
GM
10542012-03-30 Glenn Morris <rgm@gnu.org>
1055
1056 * tutorial.el (help-with-tutorial): Ensure local variables don't
1057 happen to make the buffer read-only. (Bug#11127)
1058
81fdff00
SM
10592012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1060
1061 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1062 (perl-calculate-indent): Return `noindent' in strings.
1063
6e7a6ec0
SS
10642012-03-28 Sam Steingold <sds@gnu.org>
1065
1066 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1067 instead of the broken adhockery which does not prevent calendar
1068 buffers from being displayed at random after exit.
1069 (calendar-window-list, calendar-hide-window): Remove the broken
1070 adhockery.
1071
fee88ca0
GM
10722012-03-28 Glenn Morris <rgm@gnu.org>
1073
1074 * replace.el (query-replace-map): Doc fix.
1075
38de3354
AS
10762012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1077
1078 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1079 contents. (Bug#11109)
1080
b973155e
SM
10812012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1082
1083 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1084 (bug#11077).
1085 (avl-tree--check, avl-tree--check-node): New funs.
1086
dcb6e7b3
MR
10872012-03-27 Martin Rudalics <rudalics@gmx.at>
1088
1089 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
1090 (switch-to-prev-buffer, switch-to-next-buffer):
1091 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
1092 showing a buffer already is done on the same frame.
1093
b4fa35fa
GM
10942012-03-27 Glenn Morris <rgm@gnu.org>
1095
1096 * startup.el (mail-host-address): Doc fix.
1097
f9210e18
SM
10982012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1099
1100 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1101 than 197 variables.
1102
c0bf7753
AF
11032012-03-26 Ami Fischman <ami@fischman.org>
1104
1105 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1106
33da7b16
GM
11072012-03-26 Glenn Morris <rgm@gnu.org>
1108
02243d9d
GM
1109 * files.el (save-buffers-kill-emacs): Doc fix.
1110
33da7b16
GM
1111 * startup.el (normal-top-level, command-line, command-line-1):
1112 Give them doc strings.
1113
e5a69fd0
EZ
11142012-03-25 Eli Zaretskii <eliz@gnu.org>
1115
1116 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 1117 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 1118
9a69676a
CY
11192012-03-25 Chong Yidong <cyd@gnu.org>
1120
4125cb8b
CY
1121 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1122 theme if it was previously enabled before (Bug#11031).
1123
dd470960
CY
1124 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1125 spec with custom-face-get-current-spec if its :shown-value is not
1126 determined yet (Bug#9337).
4125cb8b 1127 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 1128
9a69676a
CY
1129 * button.el (button-at): Minor addition to docstring.
1130
6e7e90fa
SL
11312012-03-24 Simon Leinen <simon.leinen@gmail.com>
1132
1133 * vc/vc.el (vc-merge): Fix a prompt.
1134
f06e2758
CY
11352012-03-24 Chong Yidong <cyd@gnu.org>
1136
1137 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1138 point (Bug#9623).
1139
6e7e90fa
SL
1140 * button.el (button-at): Minor addition to docstring.
1141
b9d0879b
SM
11422012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1143
1144 * newcomment.el (comment-choose-indent): No space after BOL.
1145
e71cebb3
SS
11462012-03-22 Sam Steingold <sds@gnu.org>
1147
1148 * window.el (switch-to-prev-buffer): Revert last patch because the
1149 bug turned out to be an advertised feature (Elisp manual 28.14).
1150
335aff35
GM
11512012-03-22 Glenn Morris <rgm@gnu.org>
1152
1153 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1154 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1155
c676576a
LMI
11562012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1157
1158 * net/network-stream.el (network-stream-open-starttls): Make error
1159 message under Windows be less misleading.
1160
126f3d39
LW
11612012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1162
1163 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1164 understands (bug#9942).
1165
64fee311
CY
11662012-03-22 Chong Yidong <cyd@gnu.org>
1167
1168 * simple.el (end-of-visible-line): Handle return value of
1169 next-single-property-change properly (Bug#9371).
1170
a640d29a
KH
11712012-03-22 Kenichi Handa <handa@m17n.org>
1172
1173 * international/quail.el (quail-insert-kbd-layout): Fix previous
1174 change. To avoid unwanted bidi reordering, use
1175 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1176
39675016
DG
11772012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1178
1179 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1180 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1181 (ruby-beginning-of-indent): Be more careful with the difference
1182 between word-boundary and symbol boundary.
1183 (ruby-mode-syntax-table): Make : a symbol constituent.
1184
0a6934fc 11852012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 1186
3d008e4f
SM
1187 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1188
0a6934fc
SM
11892012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1190
af67c9d7
SM
1191 * progmodes/etags.el (tags-completion-at-point-function):
1192 Improve last fix.
1193
1acad97c
SM
1194 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1195
e298b5da
SS
11962012-03-21 Sam Steingold <sds@gnu.org>
1197
1198 * progmodes/etags.el (tags-completion-at-point-function):
1199 Avoid the error when point is inside the pattern.
1200
91d82a70
JY
12012012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1202
1203 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1204 line (Bug#10855).
1205
69188b79
CY
12062012-03-21 Drew Adams <drew.adams@oracle.com>
1207
1208 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1209
99fc91fe
AK
12102012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1211
1212 * ido.el (ido-set-current-directory, ido-read-internal)
1213 (ido-choose-completion-string, ido-completion-help): Handle nil
1214 value of ido-completion-buffer (Bug#11008).
1215
087bbb4c
SS
12162012-03-21 Sam Steingold <sds@gnu.org>
1217
1218 * window.el (switch-to-prev-buffer): Do not switch to a visible
1219 window previous buffer, just like with the frame previous buffers.
1220
fb5b8aca
CY
12212012-03-21 Chong Yidong <cyd@gnu.org>
1222
1223 * faces.el (make-face, make-empty-face, copy-face):
1224 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1225 Doc fixes.
1226
dc9924b8
SM
12272012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1228
1229 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1230 (widget-complete): Remove broken use of it.
1231
f0bcceb9
CY
12322012-03-20 Chong Yidong <cyd@gnu.org>
1233
dc9924b8
SM
1234 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1235 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
1236 characters.
1237
ee52ebf3
TH
12382012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1239
1240 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1241 to draw rectangles, not squares. (Regression introduced by revno
1242 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1243
4c5779ab
CY
12442012-03-18 Chong Yidong <cyd@gnu.org>
1245
1246 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1247 it is not yet defined (for temacs).
1248
15360934
LL
12492012-03-18 Leo Liu <sdl.web@gmail.com>
1250
dc9924b8 1251 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 1252
d9a8eb66
EZ
12532012-03-17 Eli Zaretskii <eliz@gnu.org>
1254
1255 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1256 (ispell-choices-win-default-height, ispell-silently-savep)
1257 (ispell-dictionary-alist, ispell-encoding8-command)
1258 (ispell-check-version, ispell-aspell-find-dictionary)
1259 (ispell-valid-dictionary-list, ispell-words-keyword)
1260 (ispell-get-word, ispell-internal-change-dictionary)
1261 (ispell-region, ispell-skip-region-list)
1262 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1263 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1264 (ispell-message-text-end, ispell-message)
1265 (ispell-buffer-local-parsing): Doc fix.
1266
f02ff80d
J
12672012-03-13 Jambunathan K <kjambunathan@gmail.com>
1268
1269 * htmlfontify.el: Add support for code block fontification for ODT
1270 export (Bug #9914).
1271 (hfy-optimisations): Define new option
1272 `body-text-only'
1273 (hfy-fontify-buffer): Honor above setting.
1274 (hfy-begin-span, hfy-end-span): New routines factored out form
1275 `hfy-fontify-buffer'.
1276 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1277 that permit insertion of custom tags.
1278 (hfy-fontify-buffer): Use above handlers.
1279 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1280 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 1281 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 1282 over multiple runs. This is made possible by having the caller let
f02ff80d
J
1283 bind a special variable `hfy-user-sheet-assoc'.
1284 (htmlfontify-string): New defun.
1285 (hfy-compile-face-map): Make sure that the last char in the
1286 buffer is correctly fontified.
1287 (hfy-face-resolve-face): Whitespace only change.
1288
9ac7a13f
EZ
12892012-03-17 Eli Zaretskii <eliz@gnu.org>
1290
1291 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1292 message more clear.
1293
e2b5bdd7
LL
12942012-03-16 Leo Liu <sdl.web@gmail.com>
1295
1296 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1297
2e492df3
AM
12982012-03-16 Alan Mackenzie <acm@muc.de>
1299
1300 Further optimise the handling of large macros.
1301
1302 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1303 limit to a call of `c-literal-limits'.
1304 (c-determine-+ve-limit): New function.
dc9924b8
SM
1305 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1306 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
1307 In CASE 5B, restrict a search limit to 500.
1308 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1309
1310 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1311 Restrict macro bounds to +-500 from after-change's BEG END.
1312
50e94f0c
LL
13132012-03-16 Leo Liu <sdl.web@gmail.com>
1314
1315 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1316
6f09f6ed
AH
13172012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1318
1319 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 1320 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 1321
c7e73d51
GM
13222012-03-16 Glenn Morris <rgm@gnu.org>
1323
da986230
GM
1324 * view.el (view-buffer, view-buffer-other-window)
1325 (view-buffer-other-frame): Doc fixes re special mode-class.
1326
0835f01e
GM
1327 * subr.el (eval-after-load): If named feature is provided not from
1328 a file, run after-load forms. (Bug#10946)
1329
c7e73d51
GM
1330 * calendar/calendar.el (calendar-insert-at-column):
1331 Handle non-unit-width characters a bit better. (Bug#10978)
1332
3f2eafd1
CY
13332012-03-15 Chong Yidong <cyd@gnu.org>
1334
1335 * emacs-lisp/ring.el (ring-extend): New function.
1336 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1337
1338 * comint.el (comint-read-input-ring)
1339 (comint-add-to-input-history): Grow comint-input-ring lazily.
1340
103af3fe
SM
13412012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1342
663b1677
SM
1343 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1344 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1345
103af3fe
SM
1346 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1347 (imenu-add-to-menubar): Don't add a redundant index.
1348 (imenu-update-menubar): Handle a dynamically composed keymap.
1349
899cb7cb
KY
13502012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1351
1352 * mail/sendmail.el (mail-encode-header):
1353 Bind rfc2047-encode-encoded-words to nil.
1354
3809f91d
GM
13552012-03-13 Glenn Morris <rgm@gnu.org>
1356
1357 * calendar/calendar.el (calendar-string-spread):
1358 Handle non-unit-width characters a bit better. (Bug#10978)
1359
9e345a01
LL
13602012-03-13 Leo Liu <sdl.web@gmail.com>
1361
1362 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1363 directory and file as argument (Bug#10822).
1364
4a07df36
KS
13652012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1366
1367 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1368 For dynamically generated code, follow $PC.
1369 (gdb-disassembly-handler-custom): Handle no function name case.
1370
4aaa9356
TL
13712012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1372
1373 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1374 * emulation/ws-mode.el (ws-query-replace):
1375 * sort.el (sort-regexp-fields):
1376 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1377
225979da
SM
13782012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1379
1380 * dabbrev.el: Fix cycle completion order (bug#10963).
1381 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1382 (dabbrev-completion): Don't use an obarray; provide
1383 a cycle-sort-function.
1384
e2f1fdab
LL
13852012-03-12 Leo Liu <sdl.web@gmail.com>
1386
dc9924b8 1387 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
1388 (kill-do-not-save-duplicates): Doc fix.
1389
b19490ed
SM
13902012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1391
1392 * dabbrev.el: Fix cycle completion (bug#10963).
1393 Use lexical binding and wrap to 80 columns.
1394 (dabbrev-completion): Delay computing the list of completions.
1395
4b05d722
KH
13962012-03-12 Kenichi Handa <handa@m17n.org>
1397
1398 * international/quail.el (quail-insert-kbd-layout): Surround each
1399 row by LRO and PDF instead of inserting many LRMs. Pad the left
1400 and right of each non-spacing marks. Insert invisible space
1401 between lower and upper characters to prevent composition.
1402
dbbc2e69
SM
14032012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1404
1405 * minibuffer.el (minibuffer-complete): Don't get confused when the
1406 function is run twice via different commands (bug#10958).
1407 (complete-with-action): Fix docstring.
1408
292112ed
CY
14092012-03-12 Chong Yidong <cyd@gnu.org>
1410
5d1ac394
CY
1411 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1412 (nxml-completion-at-point-function): New function.
1413 (nxml-mode): Use it.
1414 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1415
292112ed
CY
1416 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1417 Load generated autoloads file before byte compiling (Bug#10970).
1418 (package--make-autoloads-and-compile): New helper fun.
1419
4098f8f7
CS
14202012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1421
1422 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1423
8f754691
MA
14242012-03-11 Michael Albinus <michael.albinus@gmx.de>
1425
1426 * autorevert.el (auto-revert-handler): Ensure, that
1427 file-readable-p is applied only for local files or in
1428 auto-revert-tail-mode.
1429
e29ab36b
AS
14302012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1431
dbbc2e69
SM
1432 * server.el (server-eval-at): Handle non-tcp connections.
1433 Decode result string.
ad0bf5b6 1434
e29ab36b
AS
1435 * server.el (server-msg-size): New constant.
1436 (server-reply-print): New function.
1437 (server-eval-and-print): Use it.
1438 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1439 Handle -print-nonl.
1440
de5939ba
CS
14412012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1442
1443 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1444 (Bug#10987).
1445
0c93eabf
CY
14462012-03-11 Chong Yidong <cyd@gnu.org>
1447
397a688f
CY
1448 * simple.el (goto-line): Doc fix (Bug#9938).
1449
2cc775f9
CY
1450 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1451
0c93eabf
CY
1452 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1453 when finished (Bug#10963).
1454
c491fa41
MR
14552012-03-11 Martin Rudalics <rudalics@gmx.at>
1456
1457 * window.el (split-window-below): Fix bug in case where
1458 split-window-keep-point is nil (Bug#10971).
1459
300e8fa5
JL
14602012-03-11 Juri Linkov <juri@jurta.org>
1461
1462 * replace.el (replace-highlight): Set isearch-word to nil
1463 unconditionally. (Bug#10887)
1464
dbf6c5a1
EZ
14652012-03-10 Eli Zaretskii <eliz@gnu.org>
1466
1467 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1468 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 1469 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
1470 (mairix-widget-create-query): Add usage information about mairix
1471 search forms: negating words, searching for substrings, etc.
1472
b9e501de
JP
14732012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1474
1475 * international/fontset.el (font-encoding-alist): Add an entry for
1476 ksx1001 (Bug#5667).
1477
92795c91
RS
14782012-03-10 Richard Stallman <rms@gnu.org>
1479
1694e6c1
RS
1480 * mail/sendmail.el (mail-encode-header):
1481 Set rfc2047-encode-encoded-words.
1482
607e8555
RS
1483 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1484
de3bc99a
RS
1485 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1486 view buffer means not swapped.
1487 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1488 (rmail-write-region-annotate): Error if real text has disappeared.
1489
92795c91
RS
1490 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1491
699bd04e
CY
14922012-03-10 Chong Yidong <cyd@gnu.org>
1493
1494 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
1495 * emulation/cua-base.el (cua--init-keymaps):
1496 Add delete-forward-char to remappings (Bug#9666).
699bd04e 1497
570a1714
MR
14982012-03-10 Martin Rudalics <rudalics@gmx.at>
1499
dbbc2e69
SM
1500 * speedbar.el (speedbar-unhighlight-one-tag-line):
1501 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 1502
82dcf4e4
CY
15032012-03-10 Chong Yidong <cyd@gnu.org>
1504
7a2c7ca7
CY
1505 * minibuffer.el (completion-in-region, completion-help-at-point):
1506 Give the completion field overlay a high priority (Bug#6830).
1507
82dcf4e4
CY
1508 * dired.el (dired-goto-file): Recognize absolute file name
1509 listings (Bug#7126).
1510 (dired-goto-file-1): New helper function.
1511 (dired-toggle-read-only): Inhibit warnings.
1512
052e28ac
MA
15132012-03-09 Michael Albinus <michael.albinus@gmx.de>
1514
75f1671a 1515 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
1516 there are no properties.
1517
95d5e396
LL
15182012-03-09 Leo Liu <sdl.web@gmail.com>
1519
1520 * savehist.el (savehist-printable): Stricter check for string
1521 value (Bug#10937).
1522
3f018d6d
EZ
15232012-03-09 Eli Zaretskii <eliz@gnu.org>
1524
dbbc2e69
SM
1525 * mail/smtpmail.el (smtpmail-send-it):
1526 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
1527 valid mbox format.
1528
f7fd3d79
GM
15292012-03-09 Glenn Morris <rgm@gnu.org>
1530
1531 * files.el (dir-locals-find-file):
1532 Don't check result is regular, readable.
1533 (dir-locals-read-from-file): Demote errors.
1534
6ff6e72f
EZ
15352012-03-08 Eli Zaretskii <eliz@gnu.org>
1536
dbbc2e69
SM
1537 * international/quail.el (quail-insert-kbd-layout):
1538 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
1539 layout cell, to prevent their reordering by bidi display engine.
1540 For details, see the discussion in
1541 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1542
9cec7834
AM
15432012-03-08 Alan Mackenzie <acm@muc.de>
1544
1545 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1546 the starting position; make it extend the marked region when
1547 invoked repeatedly - all under appropriate circumstances.
1548 Fixes bugs #5525, #10906.
1549
9a40b8d4
GM
15502012-03-08 Glenn Morris <rgm@gnu.org>
1551
1552 * files.el (locate-dominating-file, dir-locals-find-file):
1553 Undo 2012-03-06 change.
1554
7a08ed35
EZ
15552012-03-07 Eli Zaretskii <eliz@gnu.org>
1556
dbbc2e69
SM
1557 * international/quail.el (quail-help):
1558 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
1559 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1560 for the reason.
1561
5aca4f71 15622012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
1563
1564 Avoid superfluous registering of signals. (Bug#10807)
1565
1566 * notifications.el (notifications-on-action-object)
1567 (notifications-on-close-object): New defvars.
1568 (notifications-on-action-signal, notifications-on-closed-signal):
1569 Unregister the signal if not needed any longer.
1570 (notifications-notify): Register `notifications-action-signal' or
1571 `notifications-closed-signal', if :on-action or :on-close has been
1572 passed as argument.
1573
78e8b10a
CY
15742012-03-07 Chong Yidong <cyd@gnu.org>
1575
1576 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1577 non-X platforms.
1578
69481eb8
GM
15792012-03-06 Glenn Morris <rgm@gnu.org>
1580
1581 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1582 (x-disown-selection-internal, x-get-selection-internal):
1583 Doc fix (add arglist signatures). (Bug#10783)
1584
133b8e11
KS
15852012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1586
1587 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1588 Handle breakpoints with no "type".
1589
99a83064
GM
15902012-03-06 Glenn Morris <rgm@gnu.org>
1591
1592 * files.el (locate-dominating-file): Add optional predicate argument.
1593 (dir-locals-find-file): Make use of above change.
1594
17798e78
TTN
15952012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1596
1597 * info.el (Info-insert-dir): Also try "dir.gz".
1598
eb182446
GM
15992012-03-06 Glenn Morris <rgm@gnu.org>
1600
8f2114ee
GM
1601 * files.el (dir-locals-find-file):
1602 Ignore non-readable or non-regular files. (Bug#10928)
1603
eb182446
GM
1604 * files.el (locate-dominating-file): Doc fix.
1605
24679323
AS
16062012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1607
1608 * calendar/calendar.el (calendar-set-mode-line):
1609 `getenv' returns a string. (Bug#10951)
1610
01d972a9
LL
16112012-03-05 Leo Liu <sdl.web@gmail.com>
1612
109aa8a9
LL
1613 * simple.el (backward-delete-char-untabify): Constrain point to
1614 field (Bug#10939).
1615
01d972a9
LL
1616 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1617
10607bea
CY
16182012-03-05 Chong Yidong <cyd@gnu.org>
1619
1620 * simple.el (count-words): If called from Lisp, return the word
1621 count, for symmetry with `count-lines'. Arglist changed.
1622 (count-words--message): Args changed. Consolidate counting code
1623 from count-words and count-words-region.
1624 (count-words-region): Caller changed.
1625 (count-lines-region): Make it an obsolete alias.
1626
5dd11cfe
TH
16272012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1628
1629 * saveplace.el (save-place-to-alist)
1630 (save-place-ignore-files-regexp): Allow value nil to disable this
1631 feature.
1632
c349f4e6
CY
16332012-03-04 Chong Yidong <cyd@gnu.org>
1634
1635 * faces.el (face-spec-reset-face): For the default face, reset the
1636 attributes to default values (Bug#10748).
1637
e627be4c
LMI
16382012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1639
1640 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1641 previous patch: Check `message-send-mail-function', and not the
1642 default function (bug#10897).
1643
ebeabff4
MA
16442012-03-04 Michael Albinus <michael.albinus@gmx.de>
1645
a41a6cf4
MA
1646 * notifications.el (notifications-on-action-signal)
1647 (notifications-on-closed-signal): Check for unique service name of
1648 incoming event. Fix error in removing entry.
ebeabff4 1649 (top): Register for signals with wildcard service name.
a41a6cf4 1650 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 1651
c1ca42b4
CY
16522012-03-04 Chong Yidong <cyd@gnu.org>
1653
dc9924b8 1654 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 1655
ea16568d
GM
16562012-03-04 Glenn Morris <rgm@gnu.org>
1657
1658 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1659 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1660 (expand-abbrev, define-abbrev-table): Doc fixes.
1661
fbae4637
LMI
16622012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1663
1664 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1665 `message-default-send-mail-function' and not `send-mail-function'
1666 when doing the prompting for `sendmail-query-once' before sending
1667 in Message buffers (bug#10897).
1668
a1e7225c
LMI
1669 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1670 This is inconsistent with all the other stream functions, which leave
1671 the setting up to the higher levels (if so wanted) (bug#10931).
1672
56d093a9
AM
16732012-03-02 Alan Mackenzie <acm@muc.de>
1674
1675 Depessimize the handling of very large macros.
1676
1677 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1678 (c-macro-cache-syntactic): New variables to implement a one
1679 element macro cache.
1680 (c-invalidate-macro-cache): New function.
1681 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1682 Adapt to use the new cache.
1683 (c-state-safe-place): Use better the cache of safe positions.
1684 (c-state-semi-nonlit-pos-cache)
1685 (c-state-semi-nonlit-pos-cache-limit):
1686 New variables for...
1687 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1688 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
1689 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1690 Use c-state-semi-safe-place.
56d093a9 1691
dbbc2e69
SM
1692 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1693 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 1694
817e5c3d
MA
16952012-03-02 Michael Albinus <michael.albinus@gmx.de>
1696
dbbc2e69
SM
1697 * jka-compr.el (jka-compr-call-process):
1698 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
1699 not remote.
1700
a032a702
MA
17012012-03-01 Michael Albinus <michael.albinus@gmx.de>
1702
1703 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1704 access of FILE2, if FILE1 does not exist.
1705
99a54f21
MA
1706 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1707 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1708
1709 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1710 Add "PAGER=" to `process-environment'.
1711
f6561e1f
MM
17122012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1713
1714 * progmodes/sql.el: Bug fix
1715 (sql-get-login-ext): Save login values in globals.
1716 (sql-get-login): Use new version of `sql-get-login-ext'.
1717 (sql-interactive-mode): Set global `sql-connection' to nil.
1718 (sql-connect): Set global values for connection.
1719 (sql-product-interactive): Save global values as buffer local.
1720
2d44d9cc
LL
17212012-02-29 Leo Liu <sdl.web@gmail.com>
1722
1723 * abbrev.el (define-abbrevs): Reset sys to nil.
1724
96b49301 17252012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1726
bf7f9bc5
JB
1727 * files.el (file-equal-p): Rename from `files-equal-p'.
1728 Return nil when one or both files don't exist.
96b49301 1729 (file-subdir-of-p): Now only top directory must exists,
1730 return nil if it doesn't.
bf7f9bc5
JB
1731 (copy-directory): No need to test with `file-subdir-of-p' after
1732 creating dir.
1733 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1734 to `file-equal-p'.
96b49301 1735
44e97401
GM
17362012-02-28 Glenn Morris <rgm@gnu.org>
1737
1738 * shell.el (shell-mode):
1739 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1740 * play/landmark.el (landmark-font-lock-face-O):
1741 * play/handwrite.el (handwrite):
1742 * play/gomoku.el (gomoku-O):
1743 * net/browse-url.el (browse-url-browser-display):
1744 * international/mule.el (define-charset):
1745 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1746 * filesets.el (filesets-find-file-delay):
1747 * eshell/em-xtra.el (eshell-xtra):
1748 * eshell/em-unix.el (eshell-grep):
1749 * emulation/viper.el (viper-mode):
1750 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1751 * emacs-lisp/easymenu.el (easy-menu-define):
1752 * calendar/timeclock.el (timeclock-use-display-time):
1753 * bs.el (bs-mode):
1754 * bookmark.el (bookmark-save-flag):
1755 Doc fix (standardize possessive apostrophe usage).
1756
c98c6276
CY
17572012-02-27 Chong Yidong <cyd@gnu.org>
1758
bf7f9bc5
JB
1759 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1760 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 1761
c98c6276
CY
1762 * font-lock.el (font-lock-specified-p): Rename from
1763 font-lock-spec-present. Callers changed.
1764
9c62cd04 17652012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 1766
bf7f9bc5
JB
1767 * emacs-lisp/package.el (package-compute-transaction):
1768 Handle holding a package version to t in package-load-list.
8ac9e529 1769
530739c9
MA
17702012-02-26 Michael Albinus <michael.albinus@gmx.de>
1771
1772 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1773 (tramp-get-inode, tramp-get-device): Use cached values.
1774
487915d7
AM
17752012-02-26 Alan Mackenzie <acm@muc.de>
1776
1777 Check there is a font-lock specification before doing initial
1778 fontification.
1779
1780 * font-core.el (font-lock-mode): Move the conditional from
1781 :after-hook to font-lock-initial-fontify.
1782 (font-lock-default-function): Move the check for a specification
1783 to font-lock-spec-present.
1784
dc9924b8 1785 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
1786 (font-lock-spec-present): New function.
1787
4fd96557
JB
17882012-02-26 Jim Blandy <jimb@red-bean.com>
1789
1790 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1791 (gdb-send): Apply it to the operand of the '-interpreter-exec
1792 console' command, so that we can pass arguments with (say) quotes
1793 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1794
9a4888c0
CY
17952012-02-26 Chong Yidong <cyd@gnu.org>
1796
07498861
CY
1797 * help-fns.el (describe-function-1): Clarify description of
1798 remapping (Bug#10844).
1799
9a4888c0
CY
1800 * files.el (files-equal-p): Doc fix.
1801 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1802 and quit the loop once a mismatch is found.
1803
ea8fb88d
JB
18042012-02-25 Juanma Barranquero <lekktu@gmail.com>
1805
1806 * bs.el (bs--show-with-configuration): Don't throw an error
1807 if the window cannot be split; otherwise, subsequent calls to
1808 bs-show fail, restoring a stale window config. (Bug#10882)
1809
525795c1
JD
18102012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1811
1812 * term/ns-win.el (global-map): Bind ns-drag-file to
1813 ns-find-file (Bug#5855, Bug#10050).
1814
f008086f
AS
18152012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1816
1817 * calendar/parse-time.el (parse-time-string): Allow extractor to
1818 return nil.
1819
a3fcfa99
MA
18202012-02-25 Michael Albinus <michael.albinus@gmx.de>
1821
91027d08
JB
1822 * net/tramp.el (tramp-file-name-for-operation):
1823 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
1824
1825 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
1826 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1827 Add COPY-CONTENTS argument.
a3fcfa99 1828
67b0de11
CY
18292012-02-25 Chong Yidong <cyd@gnu.org>
1830
1831 Add custom groups for VC backends, for consistency with vc-bzr.
1832
1833 * vc/vc-arch.el (vc-arch):
1834 * vc/vc-cvs.el (vc-cvs):
1835 * vc/vc-git.el (vc-git):
1836 * vc/vc-hg.el (vc-hg):
1837 * vc/vc-mtn.el (vc-mtn):
1838 * vc/vc-rcs.el (vc-rcs):
1839 * vc/vc-sccs.el (vc-sccs):
1840 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1841 All relevant defcustoms reassigned.
1842
3c9dfce6
CY
18432012-02-25 Chong Yidong <cyd@gnu.org>
1844
1339bf43
CY
1845 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1846
3c9dfce6
CY
1847 * term/x-win.el (x-initialize-window-system): Reduce default for
1848 x-selection-timeout to 5 seconds (Bug#8869).
1849
25b2e303 18502012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1851
ec70a47d
GM
1852 * files.el (files-equal-p, file-subdir-of-p): New functions.
1853 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 1854 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
1855 * dired-aux.el (dired-copy-file-recursive): Same.
1856 (dired-create-files): Modify destination when source is equal to
1857 dest when copying files.
53a46cd0 1858 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 1859
914260cd
MA
18602012-02-24 Michael Albinus <michael.albinus@gmx.de>
1861
1862 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1863 (Bug#10874)
1864
2cb228f7
AM
18652012-02-23 Alan Mackenzie <acm@muc.de>
1866
1867 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1868 parameter "after-hook:" to allow the expansion to run code after
1869 the execution of the mode hooks.
1870
1871 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 1872 from font-lock-mode-internal.
2cb228f7 1873
91027d08 1874 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
1875 :after-hook.
1876
8f0fde21
SM
18772012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1878
3e88618b
SM
1879 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1880 (completion--cache-all-sorted-completions): New function.
1881 (completion-all-sorted-completions): Use it.
1882 (completion--do-completion, minibuffer-force-complete):
1883 Use it to re-instate the flush hook.
1884
8f0fde21
SM
1885 * icomplete.el (icomplete-completions): Replace last fix with a better
1886 one (bug#10850).
1887
8e911f6f
DG
18882012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1889
1890 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1891 when it might call us back infinitely (bug#10797).
1892
49fe4321
GM
18932012-02-23 Glenn Morris <rgm@gnu.org>
1894
1895 * minibuffer.el (completion-category-overrides): Doc fix.
1896
b291b572
SM
18972012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1898
1899 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1900 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1901
31a9ef2e
GM
19022012-02-23 Glenn Morris <rgm@gnu.org>
1903
5e6e6794 1904 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
1905 (authors-obsolete-files-regexps, authors-ignored-files)
1906 (authors-ambiguous-files, authors-renamed-files-alist):
1907 Add more entries.
1908
0bd1e074
JL
19092012-02-23 Juri Linkov <juri@jurta.org>
1910
1911 * isearch.el (isearch-occur): Sync interactive spec with occur's
1912 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1913
b617673c
JL
1914 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1915
19e9789e
JL
19162012-02-22 Juri Linkov <juri@jurta.org>
1917
1918 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1919 (ucs-insert): Doc fix. Check for hex digits in the string.
1920 Don't display `nil' in the error message. (Bug#10857)
1921
f41ce09d
AM
19222012-02-22 Alan Mackenzie <acm@muc.de>
1923
7a71b18d 1924 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 1925
ac2eceee
GM
19262012-02-22 Glenn Morris <rgm@gnu.org>
1927
1928 * ffap.el (ffap-c-path):
1929 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1930
abd1f678
CY
19312012-02-22 Chong Yidong <cyd@gnu.org>
1932
1933 * custom.el (load-theme): Doc fix.
1934
f25aef2e
GM
19352012-02-22 Glenn Morris <rgm@gnu.org>
1936
1937 * dired-x.el (dired-guess-shell-alist-default):
1938 Remove escape sequences from nroff output. (Bug#172)
1939
5f8dc2ca
GM
19402012-02-21 Glenn Morris <rgm@gnu.org>
1941
6ff86ec4
GM
1942 * vc/emerge.el (emerge-defvar-local):
1943 Set `permanent-local' property rather than unused `preserved'.
1944
be3223a3 1945 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
1946 (picture-mode-map): Use it. (Bug#10860)
1947 (picture-mode): Doc fix.
1948
3fe58f4f
JB
19492012-02-21 Juanma Barranquero <lekktu@gmail.com>
1950
1951 * newcomment.el (uncomment-region-default): Remove unused binding.
1952
f9a998c3
GM
19532012-02-21 Glenn Morris <rgm@gnu.org>
1954
1955 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1956 (picture-self-insert, picture-tab-chars): Doc fix.
1957 (picture-mode-map): Fix C-a, C-e.
1958
c6029348
GM
19592012-02-20 Glenn Morris <rgm@gnu.org>
1960
1961 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1962
ab1ce9d7
LL
19632012-02-20 Leo Liu <sdl.web@gmail.com>
1964
1965 * icomplete.el (icomplete-completions): Check FROM arg before
1966 passing to substring (Bug#10850).
1967
0fd40f89
CY
19682012-02-19 Chong Yidong <cyd@gnu.org>
1969
1970 * comint.el: Require ansi-color.
1971 (comint-output-filter-functions): Add ansi-color-process-output.
1972
1973 * ansi-color.el: Don't set comint-output-filter-functions; it is
1974 now in the initial value defined in comint.el.
1975 (ansi-color-apply-face-function): New variable.
1976 (ansi-color-apply-on-region): Use it.
1977 (ansi-color-apply-overlay-face): New function.
1978
1979 * shell.el (shell): No need to require ansi-color.
1980 (shell-mode): Use ansi-color-apply-face-function to highlight
1981 color escapes using font-lock-face property (Bug#10835).
1982
20af2394
CY
19832012-02-19 Chong Yidong <cyd@gnu.org>
1984
1985 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1986 mode-line formats (Bug#10839).
1987
e23a3fbe
GM
19882012-02-18 Glenn Morris <rgm@gnu.org>
1989
b474519e
GM
1990 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1991
1992 * mail/undigest.el (unforward-rmail-message): Doc fix.
1993
e23a3fbe
GM
1994 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1995
57939ff4
EZ
19962012-02-18 Eli Zaretskii <eliz@gnu.org>
1997
1998 * international/characters.el (script-list): Sync with the latest
1999 Unicode Character Database.
2000
0c23686e
AS
20012012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2002
2003 * international/titdic-cnv.el: Remove duplicate coding tag.
2004 * language/cham.el: Likewise.
2005 * language/tai-viet.el: Likewise.
2006
6818b449
GM
20072012-02-18 Glenn Morris <rgm@gnu.org>
2008
2009 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2010 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2011 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2012 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2013 * calendar/holidays.el (holiday-bahai-holidays)
2014 (calendar-holidays, list-holidays):
2015 Use utf-8 Bahá'í in doc-strings, menus, etc.
2016
0311a3fc
TH
20172012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2018
2019 * saveplace.el (save-place-ignore-files-regexp): New variable
2020 allowing for excluding files from saving their location of point.
2021 The default value matches the temporary commit message editing
2022 files from Git, SVN, Bazaar, and Mercurial.
2023 (save-place-to-alist): Use it.
2024
eb864a71
LM
20252012-02-17 Lawrence Mitchell <wence@gmx.li>
2026 Stefan Monnier <monnier@iro.umontreal.ca>
2027
2028 * newcomment.el (uncomment-region-default): Don't leave extra space
2029 when an arg is provided (bug#8150).
2030
ee0ce425
TZ
20312012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2032
eb864a71 2033 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 2034
95ddf442
GM
20352012-02-17 Glenn Morris <rgm@gnu.org>
2036
2037 * net/socks.el: Require network-stream. (Bug#10599)
2038
48dd1e39 20392012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
2040
2041 * international/charprop.el:
2042 * international/uni-name.el:
2043 * international/uni-old-name.el:
2044 * international/uni-comment.el: Regenerate.
2045
d68cd087
GM
20462012-02-16 Glenn Morris <rgm@gnu.org>
2047
2048 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2049 Interactively in calendar buffer, give an error if not on a date.
2050
13932042
GM
20512012-02-15 Glenn Morris <rgm@gnu.org>
2052
2053 * shell.el (shell-delimiter-argument-list):
2054 Revert 2011-02-17 change. (Bug#8027)
2055
c3a70e2b
CY
20562012-02-15 Chong Yidong <cyd@gnu.org>
2057
60236b0d
CY
2058 * minibuffer.el (completion-at-point-functions): Doc fix.
2059
c3a70e2b
CY
2060 * custom.el (defcustom): Doc fix; note use of defvar.
2061
9f26dc24
GM
20622012-02-15 Glenn Morris <rgm@gnu.org>
2063
2064 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2065 Doc fixes.
2066
6546b134
GM
20672012-02-14 Glenn Morris <rgm@gnu.org>
2068
2069 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2070
d29b2b4c
LI
20712012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2072
2073 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2074 way the ports list is computed.
835bdcba
LI
2075 (smtpmail-query-smtp-server): Prompt the user for a port number if
2076 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 2077
08dcdbc9
TZ
20782012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2079
2080 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2081
2605051a
GM
20822012-02-13 Glenn Morris <rgm@gnu.org>
2083
2084 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2085
7ee99f32
TZ
20862012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2087
2088 * net/gnutls.el (gnutls-trustfiles): New variable.
2089 (gnutls-negotiate): Use it.
2090
5f0af64f
LI
20912012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2092
2093 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2094 does its stuff if Gnus is running.
2095
c14fcc95
AM
20962012-02-13 Alan Mackenzie <acm@muc.de>
2097
2098 Fix a loop in c-set-fl-decl-start.
2099
7a71b18d 2100 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
2101 c-backward-syntactic-ws actually moves backwards.
2102
142b4d90
LL
21032012-02-13 Leo Liu <sdl.web@gmail.com>
2104
2105 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2106 beginning so that all \C-o chars are removed.
2107
fa9958a6
TZ
21082012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2109
dc9924b8 2110 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 2111
0bc5886a
AM
21122012-02-12 Alan Mackenzie <acm@muc.de>
2113
2114 Fix infinite loop with long macros.
4d6769e1 2115 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 2116
d4bd55e7
CY
21172012-02-12 Chong Yidong <cyd@gnu.org>
2118
2119 * window.el (display-buffer): Doc fix (Bug#10785).
2120
66f3fe22
GM
21212012-02-12 Glenn Morris <rgm@gnu.org>
2122
bd7da63e
GM
2123 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2124 (x-disown-selection-internal, x-get-selection-internal):
2125 Sync docs with the xselect.c versions.
2126
66f3fe22
GM
2127 * allout-widgets.el: Add missing license notice.
2128
3e0d2fa7
GM
21292012-02-11 Glenn Morris <rgm@gnu.org>
2130
cfecdf09
GM
2131 * select.el (x-get-selection-internal, x-own-selection-internal)
2132 (x-disown-selection-internal):
2133 * x-dnd.el (x-get-selection-internal): Update declarations.
2134
6d216d7f
GM
2135 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2136
2bed3f04
GM
2137 * window.el (window-sides-slots):
2138 * tool-bar.el (tool-bar-position):
2139 * term/xterm.el (xterm-extra-capabilities):
2140 * ses.el (ses-self-reference-early-detection):
2141 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2142 (verilog-auto-wire-type)
2143 (verilog-auto-delete-trailing-whitespace)
2144 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2145 (verilog-auto-tieoff-declaration):
2146 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2147 (sql-oracle-statement-starters, sql-oracle-scan-on):
2148 * progmodes/prolog.el (prolog-align-comments-flag)
2149 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2150 (prolog-left-indent-regexp, prolog-paren-indent-p)
2151 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2152 (prolog-types, prolog-mode-specificators)
2153 (prolog-determinism-specificators, prolog-directives)
2154 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2155 (prolog-electric-dot-flag)
2156 (prolog-electric-dot-full-predicate-template)
2157 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2158 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2159 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2160 (prolog-program-switches, prolog-prompt-regexp)
2161 (prolog-debug-on-string, prolog-debug-off-string)
2162 (prolog-trace-on-string, prolog-trace-off-string)
2163 (prolog-zip-on-string, prolog-zip-off-string)
2164 (prolog-use-standard-consult-compile-method-flag)
2165 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2166 (prolog-imenu-max-lines, prolog-info-predicate-index)
2167 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2168 (prolog-char-quote-workaround):
2169 * progmodes/cc-vars.el (c-defun-tactic):
2170 * net/tramp.el (tramp-encoding-command-interactive)
2171 (tramp-local-end-of-line):
2172 * net/soap-client.el (soap-client):
2173 * net/netrc.el (netrc-file):
2174 * net/gnutls.el (gnutls):
2175 * minibuffer.el (completion-category-overrides)
2176 (completion-cycle-threshold)
2177 (completion-pcm-complete-word-inserts-delimiters):
2178 * man.el (Man-name-local-regexp):
2179 * mail/feedmail.el (feedmail-display-full-frame):
2180 * international/characters.el (glyphless-char-display-control):
2181 * eshell/em-ls.el (eshell-ls-date-format):
2182 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2183 (lisp-lambda-list-keyword-parameter-indentation)
2184 (lisp-lambda-list-keyword-parameter-alignment):
2185 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2186 * dired-x.el (dired-omit-verbose):
2187 * cus-theme.el (custom-theme-allow-multiple-selections):
2188 * calc/calc.el (calc-highlight-selections-with-faces)
2189 (calc-lu-field-reference, calc-lu-power-reference)
2190 (calc-note-threshold):
2191 * battery.el (battery-mode-line-limit):
2192 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2193 (archive-7z-update):
2194 * allout.el (allout-prefixed-keybindings)
2195 (allout-unprefixed-keybindings)
2196 (allout-inhibit-auto-fill-on-headline)
2197 (allout-flattened-numbering-abbreviation):
2198 * allout-widgets.el (allout-widgets-auto-activation)
2199 (allout-widgets-icons-dark-subdir)
2200 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2201 (allout-widgets-theme-dark-background)
2202 (allout-widgets-theme-light-background)
2203 (allout-widgets-item-image-properties-emacs)
2204 (allout-widgets-item-image-properties-xemacs)
2205 (allout-widgets-run-unit-tests-on-load)
2206 (allout-widgets-time-decoration-activity)
2207 (allout-widgets-hook-error-post-time)
2208 (allout-widgets-track-decoration):
2209 Add missing :version tags to new defcustoms and defgroups.
2210
5fec1b8e
GM
2211 * progmodes/sql.el (sql-ansi-statement-starters)
2212 (sql-oracle-statement-starters): Add custom type.
2213
3e0d2fa7
GM
2214 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2215 (prolog-system-version): Give it a type.
2216
90b671e2
EZ
22172012-02-11 Eli Zaretskii <eliz@gnu.org>
2218
2219 * term/pc-win.el (x-select-text, x-selection-owner-p)
2220 (x-own-selection-internal, x-disown-selection-internal)
2221 (x-get-selection-internal): Sync doc strings and argument lists
2222 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2223
5eac0c02
LL
22242012-02-11 Leo Liu <sdl.web@gmail.com>
2225
2226 * progmodes/python.el (python-end-of-statement): Fix infinite
2227 loop. (Bug#10788)
2228
f82cb659
GM
22292012-02-10 Glenn Morris <rgm@gnu.org>
2230
2231 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2232 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2233
cc26d239
LI
22342012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2235
2236 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2237 about SMTP before checking the From header.
2238
91027d08 2239 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
2240 into own function for reuse by emacsbug.el.
2241
1be3ca5a
LL
22422012-02-10 Leo Liu <sdl.web@gmail.com>
2243
2244 * subr.el (condition-case-unless-debug): Rename from
2245 condition-case-no-debug. All callers changed.
2246 (with-demoted-errors): Fix caller.
2247
2248 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2249 * nxml/rng-valid.el (rng-do-some-validation):
2250 * emacs-lisp/package.el (package-refresh-contents)
2251 (package-menu-execute):
2252 * desktop.el (desktop-create-buffer):
91027d08 2253 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 2254
b011fbfe
GM
22552012-02-10 Glenn Morris <rgm@gnu.org>
2256
b2096d72
GM
2257 * textmodes/bibtex.el:
2258 Add missing :version tags for new/changed defcustoms.
2259
b011fbfe
GM
2260 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2261
4c7e65bf
LI
22622012-02-09 Lars Ingebrigtsen <larsi@rusty>
2263
2264 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2265 (smtpmail-via-smtp): Use it, or fall back on the From address.
2266 (smtpmail-send-it): Ditto.
2267
f3934f6f
SM
22682012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2269
2270 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2271 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2272 (byte-compile-tmp-var): New const.
2273 (byte-compile-defvar): Use it to minimize .elc size.
2274 Just use `defvar' rather than simulate it (bug#10761).
2275
a075a2c5
GM
22762012-02-09 Glenn Morris <rgm@gnu.org>
2277
cf3aa21b
GM
2278 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2279
354998cd
GM
2280 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2281 Add :version tags.
2282
dc9924b8
SM
2283 * progmodes/compile.el (compilation-error-screen-columns)
2284 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 2285
dab3703d
GM
2286 * vc/log-view.el (log-view-toggle-entry-display):
2287 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2288
3f88cd72
GM
2289 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2290 (report-emacs-bug-can-use-xdg-email):
2291 (report-emacs-bug-insert-to-mailer): Doc fixes.
2292 (report-emacs-bug): Message fix.
2293
d95b247d
GM
2294 * net/browse-url.el (browse-url-can-use-xdg-open)
2295 (browse-url-xdg-open): Doc fixes.
2296
a075a2c5
GM
2297 * electric.el (electric-indent-mode, electric-pair-mode)
2298 (electric-layout-rules, electric-layout-mode): Doc fixes.
2299 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2300
ffb6157e
MR
23012012-02-08 Martin Rudalics <rudalics@gmx.at>
2302
2303 * server.el (server-unselect-display): Don't inadvertently kill
2304 the current buffer. (Bug#10729)
2305
e1ac4066
GM
23062012-02-08 Glenn Morris <rgm@gnu.org>
2307
34e8a2da
GM
2308 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2309 (sql-list-table): Doc fixes.
2310
b4ac6e8c
GM
2311 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2312 Comment out (does nothing).
2313
e1ac4066
GM
2314 * completion.el (dynamic-completion-mode):
2315 * dirtrack.el (dirtrack-debug-mode):
2316 * electric.el (electric-layout-mode):
2317 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2318 * face-remap.el (text-scale-mode, buffer-face-mode):
2319 * iimage.el (iimage-mode):
2320 * image-mode.el (image-transform-mode):
2321 * minibuffer.el (completion-in-region-mode):
2322 * scroll-lock.el (scroll-lock-mode):
2323 * simple.el (next-error-follow-minor-mode):
2324 * tar-mode.el (tar-subfile-mode):
2325 * tooltip.el (tooltip-mode):
2326 * vcursor.el (vcursor-use-vcursor-map):
2327 * wid-browse.el (widget-minor-mode):
2328 * emulation/tpu-edt.el (tpu-edt-mode):
2329 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2330 * international/iso-ascii.el (iso-ascii-mode):
2331 * language/thai-util.el (thai-word-mode):
2332 * mail/supercite.el (sc-minor-mode):
2333 * net/goto-addr.el (goto-address-mode):
2334 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2335 * progmodes/cwarn.el (cwarn-mode):
2336 * progmodes/flymake.el (flymake-mode):
2337 * progmodes/glasses.el (glasses-mode):
2338 * progmodes/hideshow.el (hs-minor-mode):
2339 * progmodes/pascal.el (pascal-outline-mode):
2340 * textmodes/enriched.el (enriched-mode):
2341 * vc/smerge-mode.el (smerge-mode):
2342 Doc fixes (minor mode argument).
2343
5e0d957f
EZ
23442012-02-07 Eli Zaretskii <eliz@gnu.org>
2345
2346 * ls-lisp.el (ls-lisp-sanitize): New function.
2347 (ls-lisp-insert-directory): Use it to fix or remove any elements
2348 in file-alist with missing attributes. (Bug#4673)
2349
98d7371e
AM
23502012-02-07 Alan Mackenzie <acm@muc.de>
2351
2352 Fix spurious recognition of c-in-knr-argdecl.
2353
2354 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2355 putative K&R region.
2356
667ced3a
AM
23572012-02-07 Alan Mackenzie <acm@muc.de>
2358
eb864a71
LM
2359 * progmodes/cc-engine.el (c-forward-objc-directive):
2360 Prevent looping in "#pragma mark @implementation".
667ced3a 2361
5b77774d
MA
23622012-02-07 Michael Albinus <michael.albinus@gmx.de>
2363
2364 * notifications.el (notifications-on-closed-signal): Make `reason'
2365 optional. (Bug#10744)
2366
af008560
GM
23672012-02-07 Glenn Morris <rgm@gnu.org>
2368
60d47423
GM
2369 * emacs-lisp/easy-mmode.el (define-minor-mode):
2370 Doc fixes for the macro and the mode it defines.
2371
dd605cc4
GM
2372 * image.el (imagemagick-types-inhibit): Doc fix.
2373
af008560
GM
2374 * cus-start.el (imagemagick-render-type): Add it.
2375
5cc59a37
LI
23762012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2377
4d6769e1
JB
2378 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2379 Set the default at load time, too, so that `font-lock-fontify-buffer'
2380 can be called without setting up the entire mode first. This fixes
2381 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 2382
9a6dd747
CY
23832012-02-06 Chong Yidong <cyd@gnu.org>
2384
2d16b285
CY
2385 * simple.el (list-processes--refresh): Delete exited processes
2386 (Bug#8094).
2387
171e9b6e
CY
2388 * comint.el (comint-next-prompt): next-single-char-property-change
2389 and prev-single-char-property-change never return nil (Bug#8657).
2390
9a6dd747
CY
2391 * custom.el (defcustom): Doc fix (Bug#9711).
2392
aa4589a7
CY
23932012-02-05 Chong Yidong <cyd@gnu.org>
2394
5c2a252f
CY
2395 * cus-edit.el (custom-variable-reset-backup): Quote the value
2396 before storing it in the customized-value property (Bug#6712).
4aab9006 2397 (custom-display): Add a customization type tag.
983b9602 2398 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 2399
aa4589a7
CY
2400 * wid-edit.el (widget-field-value-get): New optional arg to
2401 suppress trailing whitespace truncation.
2402 (character): Use it (Bug#2689).
2403
1ff980ae
AS
24042012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2405
2406 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2407 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2408
03988c98
CY
24092012-02-05 Chong Yidong <cyd@gnu.org>
2410
eeb6cc88
CY
2411 * cus-edit.el (custom-variable-value-create): For mismatched
2412 types, show the current value (Bug#7600).
2413
03988c98
CY
2414 * custom.el (defcustom): Doc fix.
2415
f8cdeef0
GM
24162012-02-05 Glenn Morris <rgm@gnu.org>
2417
2418 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2419
0696d255
JB
24202012-02-05 Juanma Barranquero <lekktu@gmail.com>
2421
2422 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2423 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2424 (pp-last-sexp): Use `looking-at-p'.
2425
34c99998
GM
24262012-02-04 Glenn Morris <rgm@gnu.org>
2427
8f05da42
GM
2428 * files.el (revert-buffer):
2429 Doc fix (mention revert-buffer-in-progress-p).
2430
f160676e
GM
2431 * emacs-lisp/ert-x.el (ert-simulate-command):
2432 Check deferred-action-list (which is obsolete) is bound.
2433
c7291ad9
GM
2434 * subr.el (with-wrapper-hook): Doc fixes.
2435
34c99998
GM
2436 * simple.el (filter-buffer-substring-functions)
2437 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2438
6283a7d3
LL
24392012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2440
2441 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2442 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2443
e96e3013
LL
24442012-02-04 Leo Liu <sdl.web@gmail.com>
2445
2446 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2447
8ded50f2
GM
24482012-02-04 Glenn Morris <rgm@gnu.org>
2449
82ff1d13
GM
2450 * image.el (image-extension-data): Add obsolete alias.
2451
987a0a16
GM
2452 * isearch.el (isearch-update): Doc fix.
2453
ea32ef46
GM
2454 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2455
8ded50f2
GM
2456 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2457
eea14f31
GM
24582012-02-03 Glenn Morris <rgm@gnu.org>
2459
2460 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2461 (image-animate-timeout): Doc fix.
2462
2463 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2464
12f381b7
GM
24652012-02-02 Glenn Morris <rgm@gnu.org>
2466
953cebf5
GM
2467 * server.el (server-auth-dir): Doc fix.
2468 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2469
12f381b7
GM
2470 * subr.el (run-mode-hooks): Doc fix.
2471
953a8c3b
JL
24722012-02-02 Juri Linkov <juri@jurta.org>
2473
2474 * image-mode.el (image-toggle-display-image): Remove tautological
2475 `major-mode' from the `derived-mode-p' test.
2476
c5d3843c
KH
24772012-02-02 Kenichi Handa <handa@m17n.org>
2478
9f6e692e 2479 * composite.el (compose-region): Cancel previous change.
c5d3843c 2480
159462d4 24812012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
2482
2483 * composite.el (compose-region, compose-string): Signal error for
2484 a null string component (Bug#6988).
2485
9f562668
CY
24862012-02-01 Chong Yidong <cyd@gnu.org>
2487
e2cef717
CY
2488 * view.el (view-buffer-other-window, view-buffer-other-frame):
2489 Handle special modes like view-buffer (Bug#10650).
2490 (view-buffer): Simplify.
2491
9f562668
CY
2492 * frame.el (set-frame-font): Tweak meaning of third argument.
2493
9f6e692e
JB
2494 * dynamic-setting.el (font-setting-change-default-font):
2495 Use set-frame-font (Bug#9982).
9f562668 2496
781acb9f
GM
24972012-02-01 Glenn Morris <rgm@gnu.org>
2498
6035be52
GM
2499 * progmodes/compile.el (compilation-internal-error-properties):
2500 Respect compilation-first-column in the "*compilation*" buffer.
2501
781acb9f
GM
2502 * emacs-lisp/easy-mmode.el (define-minor-mode):
2503 Relax :variable's test for a named function.
2504
abbceb00
AM
25052012-01-31 Alan Mackenzie <acm@muc.de>
2506
2507 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2508 off by one error.
2509
fce3fdeb
CY
25102012-01-31 Chong Yidong <cyd@gnu.org>
2511
2512 * frame.el (set-frame-font): New arg ALL-FRAMES.
2513
2514 * menu-bar.el (menu-set-font): Use set-frame-font.
2515
2516 * faces.el (face-spec-reset-face): Don't apply unspecified
2517 attribute values to the default face.
2518
47893581
JB
25192012-01-31 Juanma Barranquero <lekktu@gmail.com>
2520
2521 * progmodes/cwarn.el (cwarn): Remove dead link.
2522 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2523 Remove * from defcustom docstrings.
2524 (turn-on-cwarn-mode): Make obsolete.
2525 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2526 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2527
e58e988a
GM
25282012-01-31 Glenn Morris <rgm@gnu.org>
2529
60dc2671 2530 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 2531 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 2532 Allow named functions to be used as the cdr of :variable.
e58e988a 2533
7a3f511d
GM
25342012-01-30 Glenn Morris <rgm@gnu.org>
2535
2536 * emacs-lisp/authors.el (authors-fixed-entries):
2537 Remove reference to deleted file rnewspost.el.
2538
cb882333
JB
25392012-01-29 Juanma Barranquero <lekktu@gmail.com>
2540
2541 * window.el (window-with-parameter): Remove unused variable `windows'.
2542 (window--side-check): Remove unused variable `code'.
2543 (window--resize-siblings): Remove unused variable `first'.
2544 (adjust-window-trailing-edge): Remove unused variable `failed'.
2545 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2546 Use `let', not `let*'.
2547 (balance-windows-2): Remove unused variable `found'.
2548 (window--state-put-2): Remove unused variable `splits'.
2549 (window-state-put): Remove unused variable `selected'.
2550 (same-window-p): Use `string-match-p'.
2551 (display-buffer-assq-regexp): Remove unused variable `value'.
2552 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2553 Mark argument ALIST as ignored.
2554 (pop-to-buffer): Remove unused variable `old-window'.
2555
907201af
EZ
25562012-01-29 Eli Zaretskii <eliz@gnu.org>
2557
2558 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2559 and .lzma compressed files.
2560
ea162670
CY
25612012-01-29 Chong Yidong <cyd@gnu.org>
2562
5b95ee8a
CY
2563 * frame.el (window-system-default-frame-alist): Doc fix.
2564
ea162670
CY
2565 * dynamic-setting.el (font-setting-change-default-font): Don't
2566 change the default face if SET-FONT argument is non-nil (Bug#9982).
2567
d6e6f4b1
SB
25682012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2569
2570 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2571
0f29fa41 25722012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
2573
2574 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2575 breakpoints in files outside current directory (Bug#6098).
2576
db174434
CY
25772012-01-29 Chong Yidong <cyd@gnu.org>
2578
6b25e4e2
SE
2579 * progmodes/python.el: Require ansi-color at top-level.
2580
6df6ae42
JB
2581 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2582 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
2583 (lisp-mode-abbrev-table): Add doc.
2584 (lisp-mode-variables): Don't set local-abbrev-table.
2585 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2586
e70ee681
RW
25872012-01-28 Roland Winkler <winkler@gnu.org>
2588
2589 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2590
ace88aa2
RW
25912012-01-28 Roland Winkler <winkler@gnu.org>
2592
2593 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2594 (bibtex-set-dialect): Use it. Either set global values of
2595 dialect-dependent variables or bind these variables buffer-locally
2596 (Bug#10254).
2597 (bibtex-mode): Call bibtex-set-dialect via
2598 hack-local-variables-hook.
eb864a71
LM
2599 (bibtex-dialect): Update docstring.
2600 Add safe-local-variable predicate.
ace88aa2
RW
2601 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2602 bibtex-set-dialect.
2603 (bibtex-mode-map): Define menu for each dialect.
2604 (bibtex-entry): Fix docstring.
2605
93376c5b
CY
26062012-01-28 Chong Yidong <cyd@gnu.org>
2607
2608 * eshell/esh-arg.el (eshell-quote-argument): New function.
2609
2610 * eshell/esh-ext.el (eshell-invoke-batch-file):
2611 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2612 first arg to eshell-parse-command (Bug#10523).
2613
4372494f
DA
26142012-01-28 Drew Adams <drew.adams@oracle.com>
2615
2616 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2617 `default-directory' is non-nil.
2618
4d4ec1f8
EZ
26192012-01-28 Eli Zaretskii <eliz@gnu.org>
2620
2621 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2622 line that displays system-configuration-options. (Bug#9924)
2623
7c188927
DA
26242012-01-28 Drew Adams <drew.adams@oracle.com>
2625
2626 * descr-text.el (describe-char): Show information about POS, in
2627 addition to information about the character at POS. Improve and
2628 update the doc string. Change "code point" to "code point in
2629 charset", to avoid confusion with the character's Unicode code
2630 point shown above that. (Bug#10129)
2631
e0da685a
EZ
26322012-01-28 Eli Zaretskii <eliz@gnu.org>
2633
2634 * descr-text.el (describe-char): Show the raw character, not only
2635 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2636 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2637 for the reasons.
2638
70550acf
PH
26392012-01-28 Phil Hagelberg <phil@hagelb.org>
2640
eb864a71
LM
2641 * emacs-lisp/package.el (package-install):
2642 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 2643
0ce8e868
CY
26442012-01-28 Chong Yidong <cyd@gnu.org>
2645
cb882333
JB
2646 * emacs-lisp/package.el (package-maybe-load-descriptor):
2647 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
2648 (package-maybe-load-descriptor): Use it.
2649 (package-download-transaction): Fully load required packages
2650 inside the loop, so that `require' calls work (Bug#10593).
2651 (package-install): No need to call package-initialize now.
2652
2e7f3bea
CY
26532012-01-28 Chong Yidong <cyd@gnu.org>
2654
6e9bad14
CY
2655 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2656
f823b8ca
CY
2657 * tooltip.el (tooltip-mode): Doc fix.
2658 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2659
2680c309
CY
2660 * frame.el (set-cursor-color): Doc fix (Bug#352).
2661
d7a9e63b
CY
2662 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2663 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2664
2e7f3bea
CY
2665 * cus-edit.el (custom-buffer-create-internal): Fix search button
2666 action (Bug#10542).
2ae01800 2667 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 2668
fc4f7a23
EW
26692012-01-27 Eduard Wiebe <usenet@pusto.de>
2670
2671 * dired.el (dired-mark-files-regexp):
2672 Include any subdirectory components. (Bug#10445)
2673
7dd37071
ML
26742012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2675
2676 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2677 Handle [host]:port syntax. (Bug#10533)
2678
a268160b
AH
26792012-01-27 Alex Harsanyi <harsanyi@mac.com>
2680
2681 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2682
e43273ef
GM
26832012-01-26 Glenn Morris <rgm@gnu.org>
2684
2685 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2686 * term.el (term-raw-escape-map): Use Control-X-prefix.
2687 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2688
1edf595d
MR
26892012-01-25 Martin Rudalics <rudalics@gmx.at>
2690
2691 * window.el (window-state-get, window--state-get-1): Don't deal
2692 with fixed-sizeness of windows. Simplify code.
2693
fa8eafef
JC
26942012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2695
6df6ae42
JB
2696 * window.el (window--state-get-1, window--state-put-2):
2697 Don't save and restore the mark.
fa8eafef 2698
0b21c100
CY
26992012-01-25 Chong Yidong <cyd@gnu.org>
2700
2701 * custom.el (custom-variable-p): Doc fix.
2702
5ae1a6c8
GM
27032012-01-25 Glenn Morris <rgm@gnu.org>
2704
40047858
GM
2705 * dired.el (dired-goto-file): Handle some of the more common
2706 characters that `ls -b' escapes. (Bug#10596)
2707
5ddce96c
GM
2708 * progmodes/compile.el (compilation-next-error-function):
2709 Respect compilation-first-column in the "*compilation*" buffer.
2710 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2711
5ae1a6c8
GM
2712 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2713
b559f1a9
GM
27142012-01-24 Glenn Morris <rgm@gnu.org>
2715
2716 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2717
6725d21a
JD
27182012-01-24 Julien Danjou <julien@danjou.info>
2719
2720 * color.el (color-rgb-to-hsl): Fix value computing.
2721 (color-hue-to-rgb): New function.
2722 (color-hsl-to-rgb): New function.
2723 (color-clamp, color-saturate-hsl, color-saturate-name)
2724 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2725 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2726
70df4bbe
GM
27272012-01-24 Glenn Morris <rgm@gnu.org>
2728
2729 * vc/vc-rcs.el (vc-rcs-create-tag):
2730 * vc/vc-sccs.el (vc-sccs-create-tag):
2731 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2732
802a2ae2
ML
27332012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2734
2735 * eshell/esh-util.el (eshell-read-hosts-file):
2736 Skip comment lines. (Bug#10549)
2737
d7128bb1
ML
2738 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2739
d1a5c3b4
JB
27402012-01-23 Juanma Barranquero <lekktu@gmail.com>
2741
2724d9c7
JB
2742 * subr.el (display-delayed-warnings): Doc fix.
2743 (collapse-delayed-warnings): New function to collapse identical
2744 adjacent warnings.
2745 (delayed-warnings-hook): Add it.
d1a5c3b4 2746
a5509865
MA
27472012-01-22 Michael Albinus <michael.albinus@gmx.de>
2748
2749 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2750
2751 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2752 properties, when "login-as" is set.
2753
2754 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2755 (tramp-default-user-alist): Don't add "pscp".
2756 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2757 property "login-as", if set. (Bug#10530)
2758
cc6d5805
MA
27592012-01-21 Michael Albinus <michael.albinus@gmx.de>
2760
2761 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2762 "plink1" and "psftp". (Bug#10530)
2763
27642012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
2765
2766 * international/mule-cmds.el (prefer-coding-system): Show a
2767 warning message if the default value of file-name-coding-system
2768 was not changed.
2769
f0960428
JC
27702012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2771
cb882333
JB
2772 * windmove.el (windmove-reference-loc):
2773 Fix windmove-reference-loc miscalculation.
f0960428 2774
dd6f2a63
JB
27752012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2776
2777 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2778 default unit.
2779
7b447e9b
GM
27802012-01-21 Glenn Morris <rgm@gnu.org>
2781
117a9ea1
GM
2782 * international/mule.el (auto-coding-alist): Add .tbz.
2783
7b447e9b
GM
2784 * files.el (local-enable-local-variables): Doc fix.
2785 (inhibit-local-variables-regexps): Rename from
2786 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2787 Doc fix. Add some extensions from auto-coding-alist.
2788 (inhibit-local-variables-suffixes):
2789 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2790 (inhibit-local-variables-p):
2791 New function, extracted from set-auto-mode-1.
2792 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2793 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2794 (hack-local-variables): Doc fix. Make the mode-only case
2795 respect enable-local-variables and friends.
2796 Respect inhibit-local-variables-regexps for file-locals, but
2797 not for directory-locals.
2798 (set-visited-file-name):
2799 Take account of inhibit-local-variables-regexps.
2800 Whether it applies may change as the file name is changed.
2801 * jka-cmpr-hook.el (jka-compr-install):
2802 * jka-compr.el (jka-compr-uninstall):
2803 Update for inhibit-first-line-modes-suffixes name change.
2804
dd6e3cdd
MR
28052012-01-20 Martin Rudalics <rudalics@gmx.at>
2806
2807 * help-macro.el (make-help-screen): Temporarily restore original
2808 binding for minor-mode-map-alist (Bug#10454).
2809
0d0deb38
JD
28102012-01-19 Julien Danjou <julien@danjou.info>
2811
2812 * color.el (color-name-to-rgb): Use the white color to find the max
2813 color component value and return correctly computed values.
2814 (color-name-to-rgb): Add missing float conversion for max value.
2815
34a02f46
MR
28162012-01-19 Martin Rudalics <rudalics@gmx.at>
2817
2818 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
2819 special state value for window-persistent-parameters.
2820 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
2821 (window--state-put-2): Reset all window parameters to nil before
2822 assigning values of persistent parameters.
2823
606c44c4
AM
28242012-01-18 Alan Mackenzie <acm@muc.de>
2825
2826 Eliminate sluggishness and hangs in fontification of "semicolon
2827 deserts".
2828
cb882333
JB
2829 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2830 Change value 10000 -> 3000.
606c44c4
AM
2831 (c-state-safe-place): Reformulate so it doesn't stack up an
2832 infinite number of wrong entries in c-state-nonlit-pos-cache.
2833 (c-determine-limit-get-base, c-determine-limit): New functions to
2834 determine backward search limits disregarding literals.
2835 (c-find-decl-spots): Amend commenting.
2836 (c-cheap-inside-bracelist-p): New function which detects "={".
2837
2838 * progmodes/cc-fonts.el
2839 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2840 backward search.
2841 (c-font-lock-declarations): Fix an occurrence of point being
2842 undefined. Check additionally for point being in a bracelist or
2843 near a macro invocation without a semicolon so as to avoid a
2844 fruitless time consuming search for a declarator. Give a more
2845 precise search limit for declarators using the new
2846 c-determine-limit.
2847
f3860cea
GM
28482012-01-18 Glenn Morris <rgm@gnu.org>
2849
2850 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2851 (set-auto-mode): Doc fixes.
2852
1db03b16
GM
28532012-01-17 Glenn Morris <rgm@gnu.org>
2854
0e6038be
GM
2855 * isearch.el (search-nonincremental-instead): Fix doc typo.
2856
1db03b16
GM
2857 * dired.el (dired-insert-directory): Handle newlines in directory name.
2858 (dired-build-subdir-alist): Unescape newlines in directory name.
2859
4cb0aa75
MA
28602012-01-17 Michael Albinus <michael.albinus@gmx.de>
2861
2862 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2863 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2864 (tramp-action-terminal): Use it. (Bug#10530)
2865
1d00653d
SM
28662012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2867
2868 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2869
6a6ee00d
MR
28702012-01-16 Martin Rudalics <rudalics@gmx.at>
2871
2872 * window.el (window-state-ignored-parameters): Remove variable.
2873 (window--state-get-1): Rename argument MARKERS to IGNORE.
2874 Handle persistent window parameters. Make copy of clone-of
2875 parameter only if requested. (Bug#10348)
2876 (window--state-put-2): Install a window parameter only if it has
2877 a non-nil value or an existing parameter shall be overwritten.
2878
97912def
MA
28792012-01-15 Michael Albinus <michael.albinus@gmx.de>
2880
2881 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2882
688070a5
EZ
28832012-01-14 Eli Zaretskii <eliz@gnu.org>
2884
2885 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2886 don't pass the (nil) value of `upnode' to string-match.
2887
301afadc
CY
28882012-01-14 Chong Yidong <cyd@gnu.org>
2889
2890 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 2891 Fix values recognized by the cursorBlink resource.
301afadc 2892
9e5788aa
PE
28932012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2894
2895 * epg.el (epg--make-temp-file): Avoid permission race condition
2896 when running on old Emacs versions (bug#10403).
2897
3cdb7f5a
GM
28982012-01-14 Glenn Morris <rgm@gnu.org>
2899
2900 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2901
8c82b1b4
AM
29022012-01-13 Alan Mackenzie <acm@muc.de>
2903
2904 Fix filling for when filladapt mode is enabled.
2905
2906 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2907 c-mask-paragraph, pass in `fill-paragraph' rather than
2908 `fill-region-as-paragraph'. (This is a reversion of a previous
2909 change.)
eb864a71
LM
2910 * progmodes/cc-mode.el (c-basic-common-init):
2911 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 2912
e517eda4
GM
29132012-01-13 Glenn Morris <rgm@gnu.org>
2914
1498536e
GM
2915 * dired.el (dired-switches-escape-p): New function.
2916 (dired-insert-directory): Use dired-switches-escape-p.
2917 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2918
e517eda4
GM
2919 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2920
328f984d
GM
29212012-01-12 Glenn Morris <rgm@gnu.org>
2922
2923 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2924 changes in adaptive-fill-regexp. (Bug#10276)
2925
2cc769a8
AM
29262012-01-11 Alan Mackenzie <acm@muc.de>
2927
2928 Fix Emacs bug #10463 - put `widen's around the critical spots.
2929
1d00653d 2930 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
2931 widen around each invocation of c-state-pp-to-literal. Remove an
2932 unused let variable.
2933
e52c37fa
GM
29342012-01-11 Glenn Morris <rgm@gnu.org>
2935
2936 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 2937 Doc fix.
e52c37fa 2938
96f8741e
CY
29392012-01-10 Chong Yidong <cyd@gnu.org>
2940
1d00653d
SM
2941 * net/network-stream.el (network-stream-open-starttls):
2942 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
2943 response to the capability command.
2944
b09a806e
GM
29452012-01-10 Glenn Morris <rgm@gnu.org>
2946
2947 * mail/unrmail.el (unrmail): Tweak previous change.
2948
7655cb66
CY
29492012-01-09 Chong Yidong <cyd@gnu.org>
2950
2951 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2952
9d5a8f0b
AM
29532012-01-08 Alan Mackenzie <acm@muc.de>
2954
2955 Optimise font locking in long enum definitions.
2956
2957 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2958 arm to a cond form to handle enums.
2959 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2960 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2961
9a0115ab 29622012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
2963
2964 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 2965 (Bug#10401)
6bb72cbd 2966
f186bb95
LMI
29672012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2968
29232a68
LMI
2969 * faces.el (set-face-attribute): Clarify the meaning of the nil
2970 frame (bug#10294).
2971
4e5d086d
LMI
2972 * subr.el (with-selected-frame): Mention that the selected frame
2973 is restored (bug#9980).
2974
8e66aebe
LMI
2975 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2976 (bug#9759).
2977
cd394be1 2978 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
2979 (password-read): Don't autoload unused function.
2980
adf4e762
JB
29812012-01-07 Juanma Barranquero <lekktu@gmail.com>
2982
2983 * progmodes/which-func.el (which-func-mode): Turn into a
2984 non-interactive function and mark as obsolete (bug#10428).
2985
89bd9ccd
CY
29862012-01-06 Chong Yidong <cyd@gnu.org>
2987
2988 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2989 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2990 functions, along with 1 and -1.
2991
4afee9d5
EZ
29922012-01-06 Eli Zaretskii <eliz@gnu.org>
2993
2994 * time.el (display-time-load-average)
2995 (display-time-default-load-average): Doc fixes. See the thread
2996 starting at
2997 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2998 for the details.
2999
536aea70
GM
30002012-01-06 Glenn Morris <rgm@gnu.org>
3001
665ae865
GM
3002 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3003 has no messages. (Bug#10377)
3004
c869783d
GM
3005 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3006 than Info-edit. (Bug#10385)
3007
2bb4227e
GM
3008 * time.el (display-time-load-average, display-time-next-load-average):
3009 Doc fixes.
3010
7d5944b9
GM
3011 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3012 local setting of buffer-read-only to the input buffer. (Bug#10419)
3013
536aea70
GM
3014 * calendar/calendar.el (calendar-mode):
3015 Locally set scroll-margin to 0. (Bug#10379)
3016
7dccca16
UM
30172012-01-06 Ulrich Mueller <ulm@gentoo.org>
3018
3019 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3020
afbb7930
GM
30212012-01-05 Glenn Morris <rgm@gnu.org>
3022
3023 * eshell/em-unix.el (diff-no-select): Autoload it.
3024 (eshell/diff): Use diff-no-select. (Bug#10420)
3025
04482335
CY
30262012-01-05 Chong Yidong <cyd@gnu.org>
3027
7baca3bc
CY
3028 * shell.el (shell-dynamic-complete-functions): Revert last change.
3029 (shell-command-completion-function): New function.
3030 (shell-completion-vars): Use it to implement
3031 shell-completion-execonly (Bug#10417).
3032
04482335
CY
3033 * custom.el (enable-theme): Don't set custom-safe-themes.
3034
1d00653d
SM
3035 * cus-theme.el (custom-theme-merge-theme):
3036 Ignore custom-enabled-themes and custom-safe-themes.
04482335 3037
bb5aa5d6
MM
30382012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3039
3040 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3041 first prompt in `sql-interacive-mode'.
3042 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 3043 keywords.
6df6ae42 3044 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
3045 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3046 context of original buffer. Invoke `sql-login-hook'.
3047
a7183d7c
EZ
30482012-01-04 Eli Zaretskii <eliz@gnu.org>
3049
3050 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3051 letters in cite-prefix.
3052
a1eacd1e
LMI
30532012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3054
3055 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3056
787cdb34
CY
30572012-01-03 Chong Yidong <cyd@gnu.org>
3058
1d00653d
SM
3059 * shell.el (shell-dynamic-complete-functions):
3060 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
3061 comint-filename-completion first (Bug#10417).
3062
30710442
RS
30632012-01-02 Richard Stallman <rms@gnu.org>
3064
3065 * battery.el (battery-status-function):
3066 Detect when to use battery-yeeloong-sysfs.
3067 (battery-echo-area-format): Add string for Yeeloong.
3068 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3069 (battery-yeeloong-sysfs): New function.
3070
f75bfc33
CY
30712012-01-02 Chong Yidong <cyd@gnu.org>
3072
3073 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3074 (dirtrack): Merge code for handling relative filenames in prompt
3075 from shell-dir-cookie-watcher.
3076 (dirtrack-debug-message): New arg to avoid excess format calls.
3077
3078 * shell.el (shell-dir-cookie-re): Variable deleted.
3079 (shell-dir-cookie-watcher): Function deleted.
3080 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3081 with dirtrack-mode.
3082
651e947e
EZ
30832012-01-01 Eli Zaretskii <eliz@gnu.org>
3084
1d00653d
SM
3085 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3086 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
3087 libgnutls-26.dll.
3088
94d4c7dc
AS
30892011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3090
3091 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3092
8d43f3cd
EZ
30932011-12-31 Eli Zaretskii <eliz@gnu.org>
3094
3095 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3096 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3097
98c8795a
MA
30982011-12-29 Michael Albinus <michael.albinus@gmx.de>
3099
3100 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3101 also for alternative shells.
3102 (tramp-open-connection-setup-interactive-shell): Check, whether
3103 the shell is a busybox.
3104 (tramp-send-command): Don't suppress multiple prompts for
3105 busyboxes, it hurts.
3106
51281b32
CY
31072011-12-28 Chong Yidong <cyd@gnu.org>
3108
3109 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3110 (gdb-get-source-file): Move mode line update to
3111 gdb-get-source-file (Bug#10087).
3112
2170cb53
CY
31132011-12-25 Chong Yidong <cyd@gnu.org>
3114
3115 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3116 gud-gdb-marker-filter without taking it as an argument.
3117 (gud-gdb-run-command-fetch-lines): Caller changed.
3118 (gud-gdb-completion-function): New variable.
3119 (gud-gdb-completion-at-point): Use it.
3120 (gud-gdb-completions-1): Split from gud-gdb-completions.
3121
3122 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3123 function as separate arguments.
3124 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3125 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3126 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3127 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3128 (gdb-stopped, def-gdb-auto-update-trigger)
3129 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
3130 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3131 Callers changed.
2170cb53
CY
3132 (gud-gdbmi-completions): New function.
3133 (gdb): Use it for generating the completion table.
3134
be8b11bb
AM
31352011-12-24 Alan Mackenzie <acm@muc.de>
3136
3137 Introduce a mechanism to widen the region used in context font
1d00653d 3138 locking. Use this to protect declarations from losing their contexts.
be8b11bb 3139
1d00653d
SM
3140 * progmodes/cc-langs.el (c-before-font-lock-functions):
3141 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 3142 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
3143 functions to be run just before context (etc.) font locking.
3144
3145 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 3146 New, functionality extracted from
be8b11bb 3147 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 3148 (c-in-after-change-fontification): New variable.
be8b11bb
AM
3149 (c-after-change): Set c-in-after-change-fontification.
3150 (c-set-fl-decl-start): Rejig its interface, so it can be called
3151 from both after-change and context fontifying.
b81d40f0
JB
3152 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3153 New functions.
3154 (c-standard-font-lock-fontify-region-function): New variable.
3155 (c-font-lock-fontify-region): New function.
be8b11bb 3156
341cf6ac
JL
31572011-12-24 Juri Linkov <juri@jurta.org>
3158
3159 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3160 (Bug#10348)
3161
bffcee0a
MA
31622011-12-23 Michael Albinus <michael.albinus@gmx.de>
3163
3164 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3165 existence of source file. (Bug#10325)
3166
cb5e207c
AM
31672011-12-23 Alan Mackenzie <acm@muc.de>
3168
3169 Fix unstable fontification inside templates.
3170
b81d40f0
JB
3171 * progmodes/cc-langs.el (c-before-font-lock-functions):
3172 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
3173 additionally has c-set-fl-decl-start. The other languages (apart
3174 from AWK) have that as a single entry.
3175
b81d40f0
JB
3176 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3177 The functionality for "local" declarations has been extracted to
cb5e207c
AM
3178 c-set-fl-decl-start.
3179
b81d40f0
JB
3180 * progmodes/cc-mode.el (c-common-init, c-after-change):
3181 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
3182 (c-set-fl-decl-start): New function, extracted from
3183 c-font-lock-enclosing-decls and enhanced.
3184
60ff536c
JB
31852011-12-23 Juanma Barranquero <lekktu@gmail.com>
3186
3187 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3188
1c4757d6
JL
31892011-12-22 Juri Linkov <juri@jurta.org>
3190
3191 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3192
d031f2c7
CY
31932011-12-22 Chong Yidong <cyd@gnu.org>
3194
3195 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3196
bace743a
DA
31972011-12-21 Drew Adams <drew.adams@oracle.com>
3198
3199 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3200
728a1f2b
JC
32012011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3202
3203 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3204
0d373f73
TZ
32052011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3206
fec0aaa4
TZ
3207 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3208 highlighting and support. Fix up comments for capitalization.
3209 (cfengine-mode-debug): New var.
3210 (cfengine3-mode): Change the modeline indicator to "CFE3".
3211 (cfengine3-font-lock-keywords): Improve defun highlighting.
3212 (cfengine2-actions): Rename from `cfengine-actions'.
3213 (cfengine2-font-lock-keywords): Rename from
3214 `cfengine-font-lock-keywords'.
3215 (cfengine2-imenu-expression): Rename from
3216 `cfengine-imenu-expression'.
3217 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3218 (cfengine2-beginning-of-defun): Rename from
3219 `cfengine-beginning-of-defun'.
3220 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3221 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3222 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3223 modeline indicator to "CFE2".
3224 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3225 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 3226
bc86f573
CY
32272011-12-21 Chong Yidong <cyd@gnu.org>
3228
3229 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3230 filename argument.
3231
d45ba96b
MR
32322011-12-20 Martin Rudalics <rudalics@gmx.at>
3233
3234 * window.el (window-normalize-buffer-to-display): Remove.
3235 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3236
a6198c90
CY
32372011-12-19 Chong Yidong <cyd@gnu.org>
3238
3239 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3240 Don't signal an error in a predicate function; return non-nil.
3241 (vc-dir-mark-file): Move the error here.
3242 (vc-dir-mark-unmark): If acting on the region, keep going if one
3243 of the entries cannot be marked/unmarked.
3244 (vc-dir-mark-all-files): If current entry is a directory, mark
3245 only child files, as documented.
3246
34c5fb55
VB
32472011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3248
3249 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3250 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3251 addition.
3252
c803b2b7
JD
32532011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3254
3255 * term/ns-win.el (ns-get-selection-internal)
3256 (ns-store-selection-internal): Declare.
1154d12e
JB
3257 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3258 Declare as obsolete.
3259 (ns-get-pasteboard, ns-paste-secondary):
3260 Use ns-get-selection-internal.
3261 (ns-set-pasteboard, ns-copy-including-secondary):
3262 Use ns-store-selection-internal.
c803b2b7 3263
9cff91f8 32642011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
3265
3266 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 3267 (vc-deduce-fileset): Doc fix.
99a289d9 3268
f16c898a
AS
32692011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3270
3271 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3272
763237c4
SS
32732011-12-13 Sam Steingold <sds@gnu.org>
3274
3275 * man.el (Man-getpage-in-background): When running under a
3276 window-system, ignore $MANWIDTH and $COLUMNS.
3277
5fc1c122
KH
32782011-12-15 Kenichi Handa <handa@m17n.org>
3279
3280 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3281 (setup-ethiopic-environment-internal): Comment out key-binding for
3282 ethio-toggle-punctuation.
3283
13d49cbb
AM
32842011-12-13 Alan Mackenzie <acm@muc.de>
3285
898169a2
AM
3286 Add the switch statement to AWK Mode.
3287
7a71b18d 3288 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
3289 "default" to the keywords regexp.
3290
7a71b18d 3291 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 3292 expression as the rest.
1d00653d
SM
3293 (c-nonlabel-token-key): Allow string literals for AWK.
3294 Refactor for the other modes.
898169a2 3295
13d49cbb 3296 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 3297 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
3298 routines. Limit backward searching in c-font-lock-enclosing.decl.
3299
3300 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3301 pp-state and literal type in addition to the limits.
1d00653d 3302 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 3303 (c-state-literal-at): Use the above new defun.
1d00653d
SM
3304 (c-slow-in-literal, c-fast-in-literal): Remove.
3305 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
3306
3307 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3308 being in a literal. Add a limit for backward searching.
3309
3310 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3311 c-slow-in-literal.
3312
15e0efc7
SM
33132011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3314
3315 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3316
454592a6
MR
33172011-12-13 Martin Rudalics <rudalics@gmx.at>
3318
3319 * window.el (delete-other-windows): Use correct frame in call to
3320 window-with-parameter.
3321
87393f26
DP
33222011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3323
3324 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3325 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3326 (makefile-gmake-statements, makefile-makepp-statements):
3327 Use it and add new makepp keywords.
3328 (makefile-makepp-font-lock-keywords): Add new patterns.
3329 (makefile-match-function-end): Match new [...] and [[...]].
3330
11636b22
JB
33312011-12-11 Juanma Barranquero <lekktu@gmail.com>
3332
3333 * ses.el (ses-call-printer-return, ses-cell-property-get)
3334 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3335 (ses-create-cell-variable, ses-reset-header-string)
3336 (ses-cell-set-formula, ses-repair-cell-reference-all)
3337 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3338 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3339 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3340 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3341 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3342 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3343 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3344 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3345 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3346 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3347 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3348 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3349
cf018193
VB
33502011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3351
3352 * ses.el: The overall change is to add cell renaming, that is
3353 setting fancy names for cell symbols other than name matching
3354 "\\`[A-Z]+[0-9]+\\'" regexp .
3355 (ses-create-cell-variable): New defun.
3356 (ses-relocate-formula): Relocate formulas only for cells the
3357 symbols of which are not renamed, i.e. symbols whose names do not
3358 match regexp "\\`[A-Z]+[0-9]+\\'".
3359 (ses-relocate-all): Relocate values only for cells the symbols of
3360 which are not renamed.
3361 (ses-load): Create cells variables as the (ses-cell ...) are read,
3362 in order to check row col consistency with cell symbol name only
3363 for cells that are not renamed.
3364 (ses-replace-name-in-formula): New defun.
3365 (ses-rename-cell): New defun.
3366
ee957461
CY
33672011-12-11 Chong Yidong <cyd@gnu.org>
3368
3369 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3370 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3371
9a9e9ef0
MR
33722011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3373
3374 * window.el (other-window): Fix docstring.
3375
92a8eba5
EZ
33762011-12-10 Eli Zaretskii <eliz@gnu.org>
3377
3378 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
3379 `from' or `to' address before taking its substring.
3380 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
3381 encoded name is chopped in the middle of the encoded string, and
3382 thus displayed encoded.
3383
e152e577
JB
33842011-12-10 Juanma Barranquero <lekktu@gmail.com>
3385
3386 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3387
e5d84bfe
EZ
33882011-12-10 Eli Zaretskii <eliz@gnu.org>
3389
3390 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3391 to use texinfo-update-node and commands that call it if the
3392 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 3393 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
3394 (texinfo-all-menus-update, texinfo-master-menu)
3395 (texinfo-update-node, texinfo-every-node-update)
3396 (texinfo-multiple-files-update): Doc fix. Warn against updating
3397 all the @node lines.
3398 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
3399 argument is numeric. Explain better in the doc string what the
3400 function really does.
3401 (texinfo-insert-master-menu-list): Improve the error message
3402 displayed if there's no menu in the Top node.
3403 (Bug#2975) See also this thread:
e5d84bfe
EZ
3404 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3405
1d84e9bb
MG
34062011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3407
3408 * speedbar.el (speedbar-supported-extension-expressions):
3409 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3410
382c953b
JB
34112011-12-09 Juanma Barranquero <lekktu@gmail.com>
3412
3413 * printing.el (pr-mode-alist):
3414 * simple.el (filter-buffer-substring-functions)
3415 (completion-list-insert-choice-function):
3416 * window.el (window-with-parameter, window-atom-root)
3417 (window-sides-slots, window-size-fixed, window-min-delta)
3418 (window-max-delta, window--resize-mini-window)
3419 (window--resize-child-windows-normal, window-tree)
3420 (delete-other-windows, quit-window, split-window)
3421 (display-buffer-record-window, special-display-buffer-names)
3422 (special-display-regexps, special-display-popup-frame)
3423 (same-window-p, split-window-sensibly)
3424 (display-buffer-overriding-action, display-buffer-alist)
3425 (display-buffer-base-action, display-buffer, switch-to-buffer)
3426 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3427 (fit-window-to-buffer, recenter-positions)
3428 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3429 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3430 and remove unneeded backslashes in docstrings.
3431
39c9faef
SM
34322011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3433
98449af8
SM
3434 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3435
39c9faef
SM
3436 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3437 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3438 end in ".mk".
3439 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3440 when reading the makefile (bug#10116).
3441
86ed9fdc
SM
34422011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3443
3444 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3445 (bug#10116).
3446
5580f89d
GM
34472011-12-06 Glenn Morris <rgm@gnu.org>
3448
3449 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3450
28d3917c
CY
34512011-12-06 Chong Yidong <cyd@gnu.org>
3452
3453 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3454
a98edce9
JB
34552011-12-06 Juanma Barranquero <lekktu@gmail.com>
3456
3457 * textmodes/table.el (table-shorten-cell): Fix typo.
3458
e65adfac
CG
34592011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3460
3461 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3462
71cc0b74
EZ
34632011-12-05 Eli Zaretskii <eliz@gnu.org>
3464
3465 * descr-text.el (describe-char): Fix display of strong
3466 right-to-left characters and directional embeddings and overrides.
3467
3468 * simple.el (what-cursor-position): Fix display of codepoints of
3469 strong right-to-left characters.
3470
315bc30d
CY
34712011-12-05 Chong Yidong <cyd@gnu.org>
3472
3473 * faces.el (read-color): Doc fix.
3474
58a70b94
GM
34752011-12-05 Glenn Morris <rgm@gnu.org>
3476
3477 * align.el (align--set-marker): Add doc-string.
3478 Don't try to move something that is not a marker. (Bug#10216)
3479
5158face
GM
34802011-12-04 Glenn Morris <rgm@gnu.org>
3481
3482 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3483 overly zealous deletion of trailing whitespace.
3484
520fca41
JB
34852011-12-04 Juanma Barranquero <lekktu@gmail.com>
3486
3487 * server.el (server-delete-client): On Windows, do not try to delete
3488 the only terminal.
3489 (server-process-filter): On Windows, treat requests for a tty frame as
3490 if they were for a GUI frame if the running server is in GUI mode.
3491
5e605a2e
GM
34922011-12-03 Glenn Morris <rgm@gnu.org>
3493
3494 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3495
5c3fe83f
SM
34962011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3497
6f5e57e7
SM
3498 * electric.el: Streamline electric-indent's hook.
3499 (electric-indent-chars): Revert to simple list.
3500 (electric-indent-functions): New var.
3501 (electric-indent-post-self-insert-function): Use it.
3502
5c3fe83f
SM
3503 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3504 there's no inferior buffer (bug#10196).
3505 (prolog-consult-compile): Don't use toggle-read-only.
3506
6bdac736
MA
35072011-12-02 Michael Albinus <michael.albinus@gmx.de>
3508
3509 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3510 interrupt. (Bug#10187)
3511
6131ba7f
SM
35122011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3513
99c79fee
SM
3514 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3515 (bug#9160).
3516
6131ba7f
SM
3517 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3518 (bug#10191).
3519
cb0a02ea
JL
35202011-12-02 Juri Linkov <juri@jurta.org>
3521
3522 * info.el (Info-search): Display "end of manual" when Isearch
3523 reaches the end of single-file Info manual. (Bug#9918)
3524
66e0570c
EZ
35252011-12-02 Eli Zaretskii <eliz@gnu.org>
3526
3527 * isearch.el (isearch-message-prefix): Run the input method part
3528 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3529
02b16839
JL
35302011-12-02 Juri Linkov <juri@jurta.org>
3531
3532 * isearch.el (isearch-occur): Use `word-search-regexp' for
3533 `isearch-word'.
3534 (isearch-search-and-update): Add condition for `isearch-word' and
3535 call `word-search-regexp'. (Bug#10145)
3536
0b950688
GM
35372011-12-01 Glenn Morris <rgm@gnu.org>
3538
3539 * eshell/em-hist.el (eshell-hist-initialize):
3540 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 3541 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 3542
9505c3c7
SM
35432011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3544
3545 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3546
1bbe96b2 35472011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 3548
a1beca85
SM
3549 * progmodes/verilog-mode.el (verilog-pretty-expr):
3550 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
3551 verilog, such as += *= and the like.
3552 (verilog-assignment-operator-re): Regular expression to find the
3553 assigment operator in a verilog assignment.
3554 (verilog-assignment-operation-re): Regular expression to find an
3555 assignment statement for pretty-expr.
3556 (verilog-in-attribute-p): Query returns true if point is in an
3557 attribute context; used to skip these for expression line up from
3558 pretty-expr.
3559 (verilog-in-parameter-p): Query returns true if point is in an
3560 parameter definition context; used to skip these for expression
3561 line up from pretty-expr.
3562 (verilog-in-parenthesis-p): Query returns true if point is in a
3563 parenthetical expression, specifically ( ) but not [ ] or { };
3564 used by pretty-expr.
3565 (verilog-just-one-space): If there is no space, don't add one.
3566 (verilog-get-lineup-indent-2): Specifically skip just attribute
3567 contexts for expression lineup, rather than skipping all
3568 parenthetical expressions.
3569 (verilog-calculate-indent): Fix comment, and fix indent.
3570 (verilog-do-indent): Indent declarations in lists (suggested by
3571 Joachim Lechner).
3572 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3573 skeleton items.
3574 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3575 by Alain Mellan).
3576
1bbe96b2 35772011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
3578
3579 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3580 parameters with embedded comments. Reported by Ray Stevens.
3581 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3582 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3583 Reported by Tim Holt.
3584 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3585 instantiated by upper module causing wrong expansion until AUTOed a
3586 second time. Reported by K C Buckenmaier.
3587 (verilog-diff-auto): Fix showing .* as a difference when
3588 `verilog-auto-star-save' off. Reported by Dan Dever.
3589 (verilog-auto-reset, verilog-read-always-signals)
3590 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3591 temporary signals in reset list if
3592 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
3593 style to each signal's assignment type, bug381.
3594 Reported by Thomas Esposito.
6288f0ca
WS
3595 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3596 (verilog-uvm-statement-re): Support UVM indentation and
3597 highlighting, with old OVM keywords only.
a1beca85 3598 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
3599 Support AUTOTIEOFF creating non-wire data types.
3600 Suggested by Jonathan Greenlaw.
6288f0ca
WS
3601 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3602 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3603 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
3604 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3605 Fix mismatching parenthesis inside commented out code when deleting
382c953b 3606 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
3607 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3608 non-numeric vector width. Reported by Alex Reed.
3609 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 3610 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
3611 (verilog-auto-delete-trailing-whitespace):
3612 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
3613 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3614 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3615 Fix verilog-scan-cache corruption when running user AUTO expansion
3616 hooks that call indentation routines.
3617 (verilog-simplify-range-expression): Fix typo ignoring lower case
3618 identifiers.
3619 (verilog-delete-auto): Fix delete-autos to also remove user created
3620 automatics, as long as they start with AUTO.
3621 (verilog-batch-diff-auto, verilog-diff-auto)
3622 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3623 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3624 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3625 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
3626 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3627 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
3628 is disabled and its cache will get corrupt, causing AUTOS not to
3629 expand. Instead use only -quick functions.
3630 (verilog-scan-region): Fix scanning over escaped quotes.
3631 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3632 (verilog-re-search-backward-quick)
3633 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3634 related functions now ignore strings, to fix misparsing of strings
3635 with magic comments embedded in them.
a1beca85
SM
3636 (verilog-read-auto-template):
3637 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3638 Reported by Brad Dobbie.
3639 (verilog-read-auto-template):
3640 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 3641 Reported by Brad Dobbie.
6288f0ca
WS
3642 (verilog-auto-inst, verilog-auto-inst-param)
3643 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3644 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3645 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
3646 debugging templates without merge conflicts, bug357.
3647 Reported by Brad Dobbie.
3648 (verilog-read-auto-template):
3649 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
3650 Reported by Brad Dobbie.
3651 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3652 abbrevs so user won't be asked to save.
3653 (verilog-read-auto-lisp-present): Fix to start at beginning of
3654 buffer in case called outside of verilog-auto.
3655 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3656 to "X-2". Reported by Matthew Myers.
3657 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3658 all inputs from module templates. Reported by Leith Johnson.
3659 (verilog-module-inside-filename-p): Fix locating programs as with
3660 modules.
3661 (verilog-auto-inst-port): Fix vl-width expressions when using
3662 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3663 (verilog-decls-get-regs, verilog-decls-get-signals,
3664 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3665 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3666 verilog-read-decls): Combine reg and wire structures into one var
3667 structure to represent SystemVerilog concepts.
3668 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3669 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
3670 (verilog-auto-wire-type, verilog-insert-definition):
3671 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
3672 SystemVerilog "logic" keyword instead of "wire"/"reg".
3673 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3674 to declares outputs that also have assignments (presumably in an
a1beca85
SM
3675 ifdef or generate if so there's not a driver conflict).
3676 Reported by Matthew Myers.
3677 (verilog-auto-declare-nettype, verilog-insert-definition):
3678 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
3679 `default_nettype none. Reported by Julian Gorfajn.
3680 (verilog-read-always-signals-recurse, verilog-read-decls)
3681 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3682 malformed end statement, bug325. Reported by Joshua Wise and
3683 Andrew Drake.
3684 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3685 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
3686 when expanding .* in interfaces, bug320.
3687 Reported by Pierre-David Pfister.
6288f0ca 3688 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
3689 name and open parenthesis, bug317.
3690 Reported by Pierre-David Pfister.
6288f0ca
WS
3691 (verilog-simplify-range-expression): Fix simplification of
3692 multiplications inside AUTOWIRE connections, bug303.
3693 (verilog-auto-inst-port): Support parameter expansion in
3694 multidimensional arrays.
3695 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3696 after "assert property". Reported by Julian Gorfajn.
3697 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3698 with multiplication, bug303.
3699 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3700 Reported by Jan Frode Lonnum.
3701
1bbe96b2
GM
37022011-11-30 Juanma Barranquero <lekktu@gmail.com>
3703
3704 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3705 (hfy-shell-file-name, hfy-shell):
3706 * international/fontset.el (x-decompose-font-name): Fix typos.
3707
37082011-11-29 Ken Brown <kbrown@cornell.edu>
3709
3710 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3711 (gdb-version): Remove defvar.
3712 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3713 (gdb-gud-context-command, gdb-non-stop-handler)
3714 (gdb-current-context-command, gdb-stopped): Use it.
3715 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
3716 (gdb-non-stop-handler): Don't enable pretty-printing here.
3717 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
3718 non-stop mode. Use the following.
3719 (gdb-check-target-async): New defun.
3720 (gud-watch, gdb-stopped): Fix whitespace.
3721 (gdb-get-source-file): Don't try to display the source file if
3722 `gdb-main-file' is nil.
3723
37242011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3725
3726 * align.el: Try to generate fewer markers (bug#10047).
3727 (align--set-marker): New macro.
3728 (align-region): Use it.
3729
c935221f
SM
37302011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3731
3732 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3733
e70b5064
CY
37342011-11-29 Chong Yidong <cyd@gnu.org>
3735
3736 * indent.el (indent-for-tab-command, indent-according-to-mode):
3737 Doc fix.
3738 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3739
f3af92b7
MA
37402011-11-29 Michael Albinus <michael.albinus@gmx.de>
3741
3742 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3743 aware of remote file names. (Bug#10124)
3744
ed472be9
CY
37452011-11-29 Chong Yidong <cyd@gnu.org>
3746
3747 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3748
24510c22
SM
37492011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3750
3751 * files.el (find-file): Don't use force-same-window (bug#10144).
3752 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3753 use pop-to-buffer if the selected window can't be used.
3754 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3755
c60c3703
EZ
37562011-11-28 Eli Zaretskii <eliz@gnu.org>
3757
3758 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3759 special-mode-map.
3760
e95def75
CY
37612011-11-28 Chong Yidong <cyd@gnu.org>
3762
3763 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3764
c3f1c606
NR
37652011-11-27 Nick Roberts <nickrob@snap.net.nz>
3766
3767 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3768 gdb-get-source-file-list on gdb-create-source-file-list.
3769
00db469c
EZ
37702011-11-26 Eli Zaretskii <eliz@gnu.org>
3771
3772 * whitespace.el (whitespace-newline): Use a different foreground
3773 color for 16-color light-background displays.
3774
4ad3bc2a
CY
37752011-11-24 Chong Yidong <cyd@gnu.org>
3776
3777 * window.el (display-buffer--special-action): Doc fix.
3778
e9fce1ac
JB
37792011-11-25 Juanma Barranquero <lekktu@gmail.com>
3780
3781 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3782 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3783 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3784 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3785 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3786 (avl-tree-stack-first):
3787 * emacs-lisp/cconv.el (cconv--analyse-use):
3788 * net/gnutls.el (gnutls-negotiate): Fix typos.
3789
cb825e5d
GM
37902011-11-24 Glenn Morris <rgm@gnu.org>
3791
3adbe224
GM
3792 * lpr.el (lpr-windows-system, lpr-lp-system):
3793 * mail/binhex.el (binhex-begin-line):
3794 * progmodes/grep.el (grep-history, grep-find-history):
3795 * textmodes/flyspell.el:
3796 * vc/pcvs-defs.el (cvs-global-menu):
3797 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3798 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3799 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3800
321decc8
GM
3801 * net/tls.el: Fix case of "GnuTLS".
3802
420b63ad
GM
3803 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3804
cb825e5d
GM
3805 * version.el (emacs-build-system): Give it a doc-string.
3806
a0649f08
JL
38072011-11-24 Juri Linkov <juri@jurta.org>
3808
3809 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3810
c0bc0fd4
GM
38112011-11-24 Glenn Morris <rgm@gnu.org>
3812
3813 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3814 if called on a non-mime message just toggle the headers. (Bug#8006)
3815
20db1522
JB
38162011-11-24 Juanma Barranquero <lekktu@gmail.com>
3817
3818 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3819 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3820 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3821 (allout-rebullet-heading, allout-open-sibtopic)
3822 (allout-toggle-current-subtree-encryption)
3823 (allout-toggle-subtree-encryption, allout-encrypt-string)
3824 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3825 (allout-distinctive-bullets-string, allout-auto-activation):
3826 * window.el (window-normalize-buffer-to-display):
3827 * progmodes/verilog-mode.el (verilog-batch-indent):
3828 * textmodes/bibtex.el (bibtex-field-braces-opt)
3829 (bibtex-field-strings-opt):
3830 * vc/cvs-status.el (cvs-tree-merge):
3831 Fix typos.
3832
7262a87c
MA
38332011-11-23 Michael Albinus <michael.albinus@gmx.de>
3834
3835 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3836 `non-essential' to t, in order to avoid remote connections.
3837
283430a1
EZ
38382011-11-23 Eli Zaretskii <eliz@gnu.org>
3839
a1beca85
SM
3840 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3841 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
3842 case-insensitively.
3843
d2992a38
ML
38442011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3845
3846 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3847
50419064
GM
38482011-11-23 Glenn Morris <rgm@gnu.org>
3849
da94eca1
GM
3850 * paths.el (rmail-file-name): Reformat the doc-string so that it
3851 is picked up.
3852
9aac4de2
GM
3853 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3854 (rmail-auto-file): Ignore case in the "special" field names,
3855 as mail-fetch-field does for all others.
3856
8038d2d2
GM
3857 * mail/rmail.el (rmail-forward):
3858 * mail/rmailkwd.el (rmail-set-label):
3859 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3860 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3861
f3fe222a
GM
3862 * mail/rmail.el (rmail-current-message): Doc fix.
3863
50419064
GM
3864 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3865
28109f49
SM
38662011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3867
3868 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3869
394c65f1
GM
38702011-11-22 Glenn Morris <rgm@gnu.org>
3871
3872 * mail/rmailmm.el (test-rmail-mime-handler)
3873 (test-rmail-mime-bulk-handler)
3874 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3875
f2a0aa3a
JL
38762011-11-21 Juri Linkov <juri@jurta.org>
3877
1154d12e
JB
3878 * calc/calc.el (calc-read-key-sequence):
3879 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 3880
9c34a344
LMI
38812011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3882
3883 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3884 Tell the caller that the next line needs recomputation, even
3885 though it doesn't start a sexp (bug#10094).
3886
f04a3be9
SM
38872011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3888
3889 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3890
7978747f
SM
38912011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3892
f04a3be9
SM
3893 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3894 Use force-same-window.
7978747f 3895
fe7a3057
JB
38962011-11-20 Juanma Barranquero <lekktu@gmail.com>
3897
3898 * descr-text.el (describe-char-unicode-data):
3899 * json.el (json-string-escape):
3900 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3901 (Footnote-unicode, Footnote-style-p):
3902 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3903
24901d61
CY
39042011-11-20 Chong Yidong <cyd@gnu.org>
3905
3906 * window.el (replace-buffer-in-windows): Restore interactive spec.
3907
bac7ff22
SM
39082011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3909
24f3d7b9
SM
3910 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3911
bac7ff22
SM
3912 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3913 (byte-compile-global-not-obsolete-vars): New var.
3914 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3915 Use it.
3916 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3917
cd1181db
JB
39182011-11-20 Juanma Barranquero <lekktu@gmail.com>
3919
3920 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3921 * progmodes/pascal.el (electric-pascal-equal):
3922 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3923 * xml.el (xml-substitute-special): Fix typos.
3924
7fb18e9e
GM
39252011-11-20 Glenn Morris <rgm@gnu.org>
3926
3927 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3928 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3929 Doc fixes.
3930 (rmail-decode-mime-charset): Mark as obsolete.
3931
3932 * mail/rmailsum.el (rmail-message-regexp-p-1):
3933 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3934 Before using mime functions, check they are set. (Bug#10077)
3935
d5a6b3ba
JL
39362011-11-19 Juri Linkov <juri@jurta.org>
3937
3938 * info.el (Info-finder-find-node): Use `package--builtins' instead
3939 of `package-alist'. Use node names formed by the pattern "Keyword "
3940 and the keyword name.
3941
e981b61f
AS
39422011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3943
1d00653d 3944 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 3945
3ffbc301
JL
39462011-11-19 Juri Linkov <juri@jurta.org>
3947
3948 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3949 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3950 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3951 `old-history', `old-history-forward'. Add let-binding
3952 `window-selected'. Remove calls to `kill-buffer',
3953 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3954 before calling `Info-find-node', so `Info-find-node-2' will reread
3955 the Info file. Restore window positions only when `window-selected'
3956 is non-nil.
3957
30c62133
JL
39582011-11-19 Juri Linkov <juri@jurta.org>
3959
3960 * isearch.el (isearch-lazy-highlight-new-loop):
3961 Remove condition `(not isearch-error)'. (Bug#9918)
3962
3963 * misearch.el (multi-isearch-search-fun): Add condition
3964 `(not bound)' to ignore lazy-highlighting search.
3965 Add the search-failed message "end of multi" when the end of
3966 multi-sequence is reached. Uncapitalize the search-failed
3967 message "Repeat for next buffer".
3968
3969 * info.el (Info-search): Add the search-failed message
3970 "end of the manual" when the end of the manual is reached
3971 in Isearch mode.
3972
645ca9cf
JL
39732011-11-19 Juri Linkov <juri@jurta.org>
3974
3975 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3976 Use non-destructive `remove' instead of `delete' because
3977 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3978 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3979
df754f66
JL
39802011-11-19 Juri Linkov <juri@jurta.org>
3981
3982 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3983 to nil instead of binding `search-ring' and `regexp-search-ring'.
3984 (Bug#9185)
3985
0e23d96a
EZ
39862011-11-19 Eli Zaretskii <eliz@gnu.org>
3987
3988 * simple.el (line-move): Force movement by logical lines for any
3989 hscrolled window, not only when auto-hscroll-mode is on.
3990 (line-move-visual): Update doc string to that effect. (Bug#10076)
3991
8a6ccb66
AS
39922011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3993
3994 * language/european.el (macintosh): Define as alias for mac-roman.
3995
49ae5b39
EZ
39962011-11-19 Eli Zaretskii <eliz@gnu.org>
3997
3998 * mail/rmailmm.el (rmail-mime-display-header)
3999 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4000 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4001 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4002 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4003 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4004 of a raw aref.
4005 (rmail-mime-entity-segment): To get past the tagline, move forward
4006 2 more lines, to account for the 2 empty lines that precede and
4007 follow the line with the buttons.
4008 (rmail-mime-update-tagline): Move one more line, to get past the
4009 empty line that follows the buttons in the tagline. (Bug#9520)
4010
c56cad4a
MR
40112011-11-19 Martin Rudalics <rudalics@gmx.at>
4012
4013 * window.el (window-max-delta-1, window-min-delta-1)
4014 (window-min-size-1, window-state-get-1, window-state-put-1)
4015 (window-state-put-2): Use "window--" prefix.
4016
cbe71af3
SM
40172011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4018
2ad52c60
SM
4019 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4020 (smie-warning-count): New var.
4021 (smie-set-prec2tab): Use it.
4022 (smie-bnf->prec2): Improve warnings. Add docstring.
4023 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4024 (smie-bnf--set-class): New function.
4025 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4026 corner case.
4027
6944dbc1
SM
4028 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4029 (compilation-error-properties, compilation-move-to-column):
4030 Handle compilation-first-column while in the target buffer.
4031
c400c4d7
SM
4032 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4033 Don't hardcode point-min==1.
4034
6dbe3e96
SM
4035 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4036 (eshell-rewrite-for-command): Remove workaround.
4037 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4038 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4039 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4040
cbe71af3
SM
4041 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4042
a8e1496d
GM
40432011-11-17 Glenn Morris <rgm@gnu.org>
4044
4045 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4046 Ignore buffer-local generated-autoload-file if it is the same
4047 as the global value. (Bug#10049)
4048
df85d315
JB
40492011-11-17 Juanma Barranquero <lekktu@gmail.com>
4050
4051 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4052 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4053 (reftex-toc-previous-heading, reftex-toc-max-level)
4054 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4055 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4056 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4057 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4058 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4059 (reftex-toc-rename-label, reftex-toc-visit-location)
4060 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4061 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4062 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4063 leaving "*toc*" only for references to the buffer.
4064
a0c2d0ae
MR
40652011-11-17 Martin Rudalics <rudalics@gmx.at>
4066
4067 * window.el (window-resize, delete-window, split-window):
4068 Replace window-splits by window-combination-resize.
1d00653d 4069 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 4070
35c0bac8
GM
40712011-11-17 Glenn Morris <rgm@gnu.org>
4072
4073 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4074 Make bash entry derive from sh entry, not shell entry.
4075
d0c8fc8a
MA
40762011-11-16 Michael Albinus <michael.albinus@gmx.de>
4077
d0c8fc8a
MA
4078 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4079 properties of linked files. (Bug#9879)
4080
7262a87c
MA
4081 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4082 local file name.
4083
7877f373
JB
40842011-11-16 Juanma Barranquero <lekktu@gmail.com>
4085
4086 * menu-bar.el (menu-bar-file-menu):
4087 * printing.el (pr-ps-utility):
4088 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4089 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4090 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4091 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4092 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4093 (icalendar--convert-cyclic-to-ical)
4094 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4095 (icalendar--convert-ical-to-diary)
4096 (icalendar--convert-recurring-to-diary)
4097 (icalendar--convert-non-recurring-all-day-to-diary)
4098 (icalendar-import-format-sample):
4099 * progmodes/idlw-shell.el (idlwave-shell-mode):
4100 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4101 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4102 (vhdl-ps-print-init): Fix typos.
4103
10649b82
KM
41042011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4105
9d0cfcd6
GM
4106 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4107 FSF and collapse date sequence, obscure author/maintainer email address
4108 better, remove extra version line, track relocation of author's webpage.
10649b82 4109
9d0cfcd6
GM
4110 * progmodes/python.el (python-pdbtrack-input-prompt)
4111 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4112 regular python pdb prompts. Adjustments shamelessly taken exactly as
4113 suggested in EmacsWiki page (tiny change):
4114 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 4115
58179cce
JB
41162011-11-16 Juanma Barranquero <lekktu@gmail.com>
4117
4118 * expand.el (expand-pos, expand-index, expand-point):
4119 Remove redundant info from docstring.
4120 (expand-add-abbrevs): Doc fix.
4121 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4122 (expand-sample-perl-mode-expand-list): Fix typos.
4123
4124 * net/dbus.el (dbus-event-member-name):
4125 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4126 * term/pc-win.el (msdos-create-frame-with-faces):
4127 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4128
b6f67890
MR
41292011-11-16 Martin Rudalics <rudalics@gmx.at>
4130
4131 * window.el (split-window, window-state-get-1)
4132 (window-state-put-1, window-state-put-2): Rename occurrences of
4133 window-nest to window-combination-limit.
1d00653d 4134 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 4135
ce7ddba0
CY
41362011-11-16 Chong Yidong <cyd@gnu.org>
4137
4138 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4139 regexp (Bug#10033).
4140
3ae704f4
SM
41412011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4142
4143 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4144 `completing-read' will remove *Completions* and will preserve
4145 current-buffer for us.
4146 (tmm-add-prompt): Users of *Completions* will always (re)set its
4147 major mode.
4148 (tmm-old-comp-map): Remove.
4149
6ad1cdde
GM
41502011-11-16 Glenn Morris <rgm@gnu.org>
4151
4152 * mail/rmailedit.el: Require rmailmm when compiling.
4153 (rmail-old-mime-state): New declaration.
4154 (rmail-edit-current-message): If editing a mime message,
4155 edit the "raw" message from the mbox buffer.
4156 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4157
d20faa20
GM
41582011-11-15 Glenn Morris <rgm@gnu.org>
4159
4160 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4161 which wasn't being used. Add optional arg to force given state.
4162 (rmail-mime): Add optional arg to force given state.
4163
c7015153
JB
41642011-11-15 Juanma Barranquero <lekktu@gmail.com>
4165
4166 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4167 * frame.el (display-mm-dimensions-alist):
4168 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4169 (outline-move-subtree-down):
4170 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4171 (newsticker--treeview-do-get-node):
4172 * net/quickurl.el (quickurl-list-buffer-name):
4173 * progmodes/dcl-mode.el (dcl-mode):
4174 * progmodes/gdb-mi.el (gdb-mapcar*):
4175 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4176
45261b50
GM
41772011-11-15 Glenn Morris <rgm@gnu.org>
4178
4179 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4180 in a boolean sense, so just make it a boolean, and fix the doc.
4181 (rmail-show-mime-function, rmail-mime-feature)
4182 (rmail-require-mime-maybe): Doc fixes.
4183 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4184
4185 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4186
0d26e0b6
JB
41872011-11-15 Juanma Barranquero <lekktu@gmail.com>
4188
4189 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4190 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4191 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4192 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4193
447f30f6
GM
41942011-11-15 Glenn Morris <rgm@gnu.org>
4195
672b871d
GM
4196 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4197 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4198 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4199 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4200 (rmail-mime, rmail-show-mime): Doc fixes.
4201
f6aa5bb1
GM
4202 * term/ns-win.el (mode-line-frame-identification):
4203 Leave it alone. (Bug#10051)
4204
947cd66b
GM
4205 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4206
447f30f6
GM
4207 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4208 Handle empty buffers. (Bug#9978)
4209
0b381c7e
JB
42102011-11-14 Juanma Barranquero <lekktu@gmail.com>
4211
4212 * international/mule.el (define-charset):
4213 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4214 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4215 * progmodes/verilog-mode.el (verilog-backward-token):
4216 * textmodes/ispell.el (lookup-words):
4217 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4218
71e027ac
GM
42192011-11-14 Glenn Morris <rgm@gnu.org>
4220
56632ce4
GM
4221 * progmodes/executable.el
4222 (executable-make-buffer-file-executable-if-script-p):
4223 Handle file-modes returning nil.
4224
40500957
GM
4225 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4226 message - not necessary, and causes problems. (Bug#9831)
4227
071c2340
GM
4228 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4229
d3cfca60
GM
4230 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4231
71e027ac
GM
4232 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4233 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4234 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4235
89d61221
MR
42362011-11-12 Martin Rudalics <rudalics@gmx.at>
4237
4238 * window.el (window-resize, delete-window): Use window-splits
4239 variable instead of function.
4240 (window-state-get-1, window-state-put-2, window-state-put):
4241 Don't deal with windows' splits status.
4242
98282f6f
GM
42432011-11-12 Glenn Morris <rgm@gnu.org>
4244
4245 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4246 (apropos-documentation): Doc fixes.
4247
40a8bdf6
JB
42482011-11-11 Juanma Barranquero <lekktu@gmail.com>
4249
4250 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4251 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4252
65bd19ff
SM
42532011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4254
4255 * electric.el (electric-indent-post-self-insert-function): Make it
4256 possible for a char to only indent in some circumstances.
4257 (electric-indent-mode): Simplify.
4258
54f9154c
MR
42592011-11-11 Martin Rudalics <rudalics@gmx.at>
4260
4261 * window.el (windows-with-parameter): Remove unused function.
4262 (windows-at-side): Rename to window-at-side-list.
4263 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
4264 (window-side-check, window-size-ignore, window-size-fixed-1)
4265 (window-in-direction-2): Prefix with "window--".
4266 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 4267
68cbc58b
GM
42682011-11-11 Glenn Morris <rgm@gnu.org>
4269
4270 * subr.el (eval-after-load): If FILE is already loaded,
4271 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4272
b2621720
GM
42732011-11-10 Glenn Morris <rgm@gnu.org>
4274
9a4de110
GM
4275 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4276 Call svn via vc-svn-command rather than vc-do-command.
4277 (vc-svn-command): Add --non-interactive. (Bug#9993)
4278 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4279
b2621720
GM
4280 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4281 Add toggle-read-only. (Bug#7292)
4282 * files.el (toggle-read-only): Mention that it should only
4283 be used interactively. (Bug#10006)
4284
1dce7193
SM
42852011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4286
d9ac1a1e
SM
4287 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4288 Adjust regexp for OCaml warnings.
4289
0c325082
SM
4290 * electric.el (electric-pair-post-self-insert-function): Let user
4291 turn it off buffer-locally (bug#9932).
4292
90132c14
SM
4293 * progmodes/python.el (python-beginning-of-statement):
4294 Rewrite (bug#2703).
4295
1dce7193
SM
4296 * progmodes/compile.el: Better handle TABs (bug#9749).
4297 (compilation-internal-error-properties)
4298 (compilation-next-error-function): Obey the target buffer's
4299 compilation-error-screen-columns.
4300
c4e7c63a
JB
43012011-11-09 Juanma Barranquero <lekktu@gmail.com>
4302
4303 * progmodes/meta-mode.el: Remove obsolete comments.
4304 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4305 Fix typos in docstrings.
4306
2cffd681
MR
43072011-11-09 Martin Rudalics <rudalics@gmx.at>
4308
4309 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 4310 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
4311 (window--resizable): New function. Make all callers of
4312 window-resizable call window--resizable instead.
4313 (window-resizable): Rewrite in terms of window--resizable.
4314
0edcba87
GM
43152011-11-08 Glenn Morris <rgm@gnu.org>
4316
4317 * progmodes/delphi.el (delphi-mode-syntax-table):
4318 Let define-derived-mode define a proper syntax table. (Bug#9994)
4319
4b0d61e3
SM
43202011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4321
4322 * window.el: Stay away from defsubst.
4323 (window-list-no-nils): Remove.
4324 (window-state-get-1, window-state-get): Use backquote instead.
4325
cd394be1 43262011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 4327
4b0d61e3 4328 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 4329 Fix incorrect use of default argument in `completing-read'.
4330
e1c2c6f2
MR
43312011-11-08 Martin Rudalics <rudalics@gmx.at>
4332
4333 * window.el (display-buffer-function, special-display-function):
4334 Mention display-buffer-record-window but do not mention
4335 help-setup parameter in doc-strings.
b3f4a882 4336 (window-min-delta): Fix doc-string typo.
e1c2c6f2 4337
105216ed
CY
43382011-11-08 Chong Yidong <cyd@gnu.org>
4339
4340 * window.el (window-total-height, window-total-width): Doc fix.
4341 (window-body-size): Move from C.
4342 (window-body-height, window-body-width): Move to C.
4343
0a9f9ab5
SM
43442011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4345
4346 * window.el: Make special-display like display-buffer-alist (bug#9532).
4347 (display-buffer--special-action): New function, morphed
4348 from display-buffer--special.
4349 (display-buffer): Use it to handle special-display-buffers at higher
4350 priority (just after display-buffer-alist).
4351 (display-buffer-fallback-action, display-buffer--other-frame-action)
4352 (pop-to-buffer-same-window): Remove display-buffer--special.
4353
a769dd15
GM
43542011-11-07 Glenn Morris <rgm@gnu.org>
4355
4356 * calendar/cal-menu.el (cal-menu-set-date-title):
4357 Do nothing if not in a calendar. (Bug#9976)
4358
05a61ee3
SM
43592011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4360
4361 * files.el (find-file): Always use selected-window.
4362
be7f5545
MR
43632011-11-07 Martin Rudalics <rudalics@gmx.at>
4364
4365 * window.el (window-combinations): Make WINDOW argument
4366 mandatory. Rewrite doc-string.
4367 (walk-window-subtree, window-atom-check, window-min-delta)
4368 (window-max-delta, window--resize-this-window)
4369 (window--resize-root-window-vertically, window-tree)
4370 (balance-windows, window-state-put): Rewrite doc-strings as to
4371 not mention the term "subwindow".
4372 (window--resize-subwindows-skip-p): Rename to
4373 window--resize-child-windows-skip-p.
4374 (window--resize-subwindows-normal): Rename to
4375 window--resize-child-windows-normal.
4376 (window--resize-subwindows): Rename to
4377 window--resize-child-windows.
4378 (window-or-subwindow-p): Rename to window--in-subtree-p.
4379
3c6702ef
ML
43802011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4381
4382 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4383 Ensure that mbox format messages end in two newlines (Bug#9974).
4384
49745b39
CY
43852011-11-06 Chong Yidong <cyd@gnu.org>
4386
4387 * window.el (window-combination-p): Function deleted; its
4388 side-effect is not used in any existing code.
4389 (window-combinations, window-combined-p): Call window-*-child
4390 directly.
4391
24300f5f
CY
43922011-11-05 Chong Yidong <cyd@gnu.org>
4393
4394 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
4395 (window-size-ignore, window-state-get): Callers changed.
4396 (window-normalize-window): Rename from window-normalize-any-window.
4397 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 4398 (window-normalize-live-window): Delete.
447f16b8
CY
4399 (window-combination-p, window-combined-p, window-combinations)
4400 (walk-window-subtree, window-atom-root, window-min-size)
4401 (window-sizable, window-sizable-p, window-size-fixed-p)
4402 (window-min-delta, window-max-delta, window-resizable)
4403 (window-resizable-p, window-full-height-p, window-full-width-p)
4404 (window-current-scroll-bars, window-point-1, set-window-point-1)
4405 (window-at-side-p, window-in-direction, window-resize)
4406 (adjust-window-trailing-edge, maximize-window, minimize-window)
4407 (window-deletable-p, delete-window, delete-other-windows)
4408 (record-window-buffer, unrecord-window-buffer)
4409 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4410 (quit-window, split-window, window-state-put)
4411 (set-window-text-height, fit-window-to-buffer)
4412 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 4413
89bd5ee1
EZ
44142011-11-04 Eli Zaretskii <eliz@gnu.org>
4415
53479029
EZ
4416 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4417 rfc2047-decode-string.
4418 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4419 warnings.
4420
89bd5ee1
EZ
4421 * window.el (window-body-height, window-body-width): Mention in
4422 the doc string that the return values are in frame's canonical
4423 units. (Bug#9949)
4424
bd17fdee
AM
44252011-11-03 Alan Mackenzie <acm@muc.de>
4426
4427 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4428 change in cc-engine.el.
4429
acc825c5
SM
44302011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4431
4432 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4433
1885e5b8
MR
44342011-11-02 Martin Rudalics <rudalics@gmx.at>
4435
4436 * window.el (quit-window): Call unrecord-window-buffer after
4437 showing another buffer in the window. (Bug#9937)
acc825c5 4438 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 4439
ebe06da9
JB
44402011-11-02 Juanma Barranquero <lekktu@gmail.com>
4441
4442 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4443 Accept status with more than 9 shelves. (Bug#9935)
4444 Reported by Colin D Bennett <colin@gibibit.com>.
4445
4ee88440
MR
44462011-11-01 Martin Rudalics <rudalics@gmx.at>
4447
4448 * help.el (with-help-window): Don't reference
4449 temp-buffer-show-specifiers in doc-string.
4450
08e1d82c
AS
44512011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4452
4453 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4454 menu-item.
4455
84bd6e9e
VJL
44562011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4457
4458 * whitespace.el: New version 13.2.2.
4459 (whitespace-newline-mode): Disable properly. Reported by Sarah
4460 <EmacsWiki>.
4461
dba0634a
UJ
44622011-10-30 Ulf Jasper <ulf.jasper@web.de>
4463
4464 * net/newst-treeview.el: Remove "Time-stamp".
4465 (newsticker--group-manage-orphan-feeds): Do not call
4466 newsticker--treeview-tree-update.
db22a3c2
JB
4467 (newsticker-treeview-update, newsticker-treeview):
4468 Call newsticker--treeview-tree-update if necessary.
dba0634a 4469
3d8daefe
MR
44702011-10-30 Martin Rudalics <rudalics@gmx.at>
4471
4472 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
4473 (window-iso-combinations): Remove "iso-" infix.
4474 Suggested by Chong Yidong.
3d8daefe
MR
4475 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4476 (window-max-delta-1, window-resize, window--resize-siblings)
4477 (window--resize-this-window, adjust-window-trailing-edge)
4478 (split-window, balance-windows-1)
4479 (shrink-window-if-larger-than-buffer):
4480 * calendar/calendar.el (calendar-generate-window):
db22a3c2 4481 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 4482
1bc4c3ae
SM
44832011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4484
4485 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4486 in place (bug#9907).
4487 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4488 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4489 (eshell-structure-basic-command, eshell-rewrite-while-command)
4490 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4491 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4492 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4493 (eshell-do-pipelines-synchronously, eshell-eval-command):
4494 Use backquotes and prefer setq to set.
4495 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4496 (eshell-macrop): Use functionp.
c1e2f5fa 4497 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 4498
30b65d9c
CY
44992011-10-30 Chong Yidong <cyd@gnu.org>
4500
4501 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4502 instead of set-mark (Bug#9810).
4503
2d197ffb
CY
45042011-10-30 Chong Yidong <cyd@gnu.org>
4505
4506 * window.el (split-window-below, split-window-right): Rename from
4507 split-window-above-each-other and split-window-side-by-side
4508 respectively. All callers changed.
4509 (split-window-sensibly, split-window-sensibly): Use them.
4510 (split-window-keep-point): Doc fix.
4511
4512 * isearch.el: Add isearch-scroll property to split-window-below
4513 and split-window-right.
4514
4515 * follow.el (follow-mode):
4516 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4517 * progmodes/ada-xref.el (ada-gdb-application):
4518 * emulation/vip.el (vip-buffer-in-two-windows):
4519 * image-dired.el (image-dired-dired-with-window-configuration):
4520 * dired-x.el (dired-do-find-marked-files):
4521 * dired.el (dired-pop-to-buffer):
4522 * bs.el (bs--show-with-configuration):
4523 * vc/emerge.el (emerge-setup-windows):
4524 * textmodes/two-column.el (2C-two-columns):
4525 * textmodes/reftex-toc.el (reftex-toc):
4526 * progmodes/gdb-mi.el (gdb-setup-windows):
4527 * progmodes/fortran.el (fortran-window-create):
4528 * net/newst-treeview.el (newsticker--treeview-window-init):
4529 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4530 * emulation/tpu-edt.el (tpu-gold-map):
4531 * emulation/crisp.el (crisp-mode-map):
4532 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4533
38bb2ca8
CY
45342011-10-29 Chong Yidong <cyd@gnu.org>
4535
aa4de341
CY
4536 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4537
e1eb5385
CY
4538 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4539
5d2ece3c
CY
4540 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4541 forged Ispell output (Bug#7904).
4542
38bb2ca8
CY
4543 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4544
d0af9f77
SM
45452011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4546
4547 * doc-view.el: Avoid ugly errors about not finding nil.
4548 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4549 (doc-view-dvipdf-program, doc-view-unoconv-program)
4550 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4551 Avoid nil or absolute file name as default value.
4552 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4553
52bedd34
AM
45542011-10-28 Alan Mackenzie <acm@muc.de>
4555
db22a3c2 4556 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 4557
7e43cfa5
AM
45582011-10-28 Alan Mackenzie <acm@muc.de>
4559
4560 Amend the handling of c-beginning/end-of-defun in nested declaration
4561 scopes.
4562
52bedd34
AM
4563 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4564 cc-langs.el. Change it to a defcustom.
7e43cfa5 4565
52bedd34
AM
4566 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4567 cc-vars.el.
7e43cfa5 4568
d0af9f77
SM
4569 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4570 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 4571
52bedd34 4572 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 4573 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
4574 (c-widen-to-enclosing-decl-scope): New function.
4575 (c-while-widening-to-decl-block): New macro.
4576 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4577 outward for defun boundaries, and correspondingly change symbol
4578 `respect-enclosure' to `go-outward'.
4579 (c-declaration-limits): Change algorithm to report only the "innermost"
4580 defun's boundaries.
4581
1a2ce9ee
DD
45822011-10-28 Deniz Dogan <deniz@dogan.se>
4583
4584 * net/rcirc.el (rcirc-mode): Use hard newlines.
4585
bc97a826
AM
45862011-10-28 Alan Mackenzie <acm@muc.de>
4587
4588 Amend to indent and fontify macros "which include their own semicolon"
4589 correctly, using the "virtual semicolon" mechanism.
4590
52bedd34 4591 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 4592
d0af9f77 4593 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 4594 Recode to scan one line at a time rather than having \n and \r
58179cce 4595 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 4596 (c-forward-label): Amend for virtual semicolons.
58179cce 4597 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 4598
52bedd34
AM
4599 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4600 of the new C macros.
bc97a826 4601
52bedd34 4602 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
4603 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4604 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
4605 (c-opt-cpp-macro-define): Make into a full language variable.
4606 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4607 AWK Mode (including \n, \r) removed, no longer needed.
4608
d0af9f77
SM
4609 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4610 Invoke c-make-macro-with-semi-re.
bc97a826 4611
52bedd34
AM
4612 * progmodes/cc-vars.el (c-macro-with-semi-re):
4613 (c-macro-names-with-semicolon): New variables.
58179cce 4614 (c-make-macro-with-semi-re): New function.
bc97a826 4615
7a6c0941
SM
46162011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4617
4618 * vc/log-edit.el: Fill empty field rather than adding new one.
4619 (log-edit-add-field): New function.
4620 (log-edit-insert-changelog): Use it.
4621
b0c4cdcf
ML
46222011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4623
4624 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4625
ee1f1da9
SM
46262011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4627
4628 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4629 (gdb--check-interpreter): New function.
4630 (gdb): Use it.
4631
51bc5f8b
GM
46322011-10-27 Glenn Morris <rgm@gnu.org>
4633
416a2c45
GM
4634 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4635 (least-positive-float, least-negative-float)
4636 (least-positive-normalized-float, least-negative-normalized-float)
4637 (float-epsilon, float-negative-epsilon):
4638 Remove unnecessary declarations.
4639
4640 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4641 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4642 (least-positive-float, least-negative-float)
4643 (least-positive-normalized-float, least-negative-normalized-float)
4644 (float-epsilon, float-negative-epsilon): Add doc-strings,
4645 based on those in cl.texi.
4646
51bc5f8b
GM
4647 * files.el (set-visited-file-name): If the major-mode changed,
4648 reload the local variables. (Bug#9796)
4649
15de15c6
CY
46502011-10-27 Chong Yidong <cyd@gnu.org>
4651
4652 * subr.el (change-major-mode-after-body-hook): New hook.
4653 (run-mode-hooks): Run it.
4654
ee1f1da9
SM
4655 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4656 Use change-major-mode-before-body-hook.
15de15c6
CY
4657
4658 * simple.el (fundamental-mode):
4659 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4660 change introducing fundamental-mode-hook.
4661
5430d399
JB
46622011-10-26 Juanma Barranquero <lekktu@gmail.com>
4663
acc825c5 4664 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 4665
ad74a69e
MA
46662011-10-26 Michael Albinus <michael.albinus@gmx.de>
4667
4668 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 4669 tramp.el explicitly. (Bug#7583)
ad74a69e 4670
71d4c2a5
SM
46712011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4672
4673 * progmodes/octave-mod.el:
4674 * progmodes/octave-inf.el: Update maintainer.
4675
b1f6fa26
CY
46762011-10-26 Chong Yidong <cyd@gnu.org>
4677
4678 * subr.el (with-wrapper-hook): Rewrite doc.
4679
3f04efd6
MA
46802011-10-25 Michael Albinus <michael.albinus@gmx.de>
4681
4682 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 4683 filenames "/method:foo:". (Bug#9793)
3f04efd6 4684
410488d3
SM
46852011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4686
4687 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4688 (bug#9865).
4689
c1ebb47e
GM
46902011-10-24 Glenn Morris <rgm@gnu.org>
4691
4692 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4693
7f5c46c7
MA
46942011-10-24 Michael Albinus <michael.albinus@gmx.de>
4695
4696 * notifications.el: Add the requirement of a running D-Bus session
4697 bus to the Commentary.
4698
db2440b6
JL
46992011-10-24 Juri Linkov <juri@jurta.org>
4700
4701 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4702 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4703 (Bug#9364)
4704
feecf435
JL
47052011-10-24 Juri Linkov <juri@jurta.org>
4706
4707 * info.el (Info-following-node-name-re): Add newline to the list
4708 of allowed characters for leading space. (Bug#9824)
4709
a3839de2
SM
47102011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4711
acc825c5
SM
4712 * progmodes/octave-inf.el (inferior-octave-mode-map):
4713 Fix C-c C-h binding.
a3839de2
SM
4714 * progmodes/octave-mod.el (octave-help): Remove.
4715
09388e76
MA
47162011-10-23 Michael Albinus <michael.albinus@gmx.de>
4717
4718 Sync with Tramp 2.2.3.
4719
4720 * net/tramp-cache.el (top): Pacify byte-compiler using
4721 `init-file-user' and `site-run-file'.
4722
4723 * net/trampver.el: Update release number.
4724
86c60681
CY
47252011-10-23 Chong Yidong <cyd@gnu.org>
4726
4727 * files.el (toggle-read-only): Remove obsolete comment about
4728 version control.
4729
4730 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4731 for toggle-read-only. Note that this hasn't called vc-next-action
4732 since 2008-05-02, though it wasn't documented at the time.
4733
a3839de2
SM
4734 * vc/ediff-init.el (ediff-toggle-read-only-function):
4735 Use toggle-read-only.
86c60681 4736
cd5495ff
AM
47372011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4738
4739 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4740 of c-parse-state.
4741
00b77525 4742 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 4743 correct faulty logical expression.
cd5495ff
AM
4744 (c-parse-state-state, c-record-parse-state-state):
4745 (c-replay-parse-state-state): New defvar/defuns.
4746 (c-debug-parse-state): Use new functions.
4747
42ee24ed
MR
47482011-10-22 Martin Rudalics <rudalics@gmx.at>
4749
4750 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 4751 last fix. Use window-in-direction correctly.
42ee24ed 4752
a7dee7e7
CY
47532011-10-21 Chong Yidong <cyd@gnu.org>
4754
4755 * progmodes/idlwave.el (idlwave-mode):
4756 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
4757 require-final-newline; that's done in prog-mode.
4758 Suggested by Stefan Monnier.
a7dee7e7 4759
e07b9a6d
MR
47602011-10-21 Martin Rudalics <rudalics@gmx.at>
4761
4762 * mouse.el (mouse-drag-window-above)
4763 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4764 (mouse-drag-mode-line-1, mouse-drag-header-line)
4765 (mouse-drag-vertical-line-rightward-window): Remove.
4766 (mouse-drag-line): New function.
4767 (mouse-drag-mode-line, mouse-drag-header-line)
4768 (mouse-drag-vertical-line): Call mouse-drag-line.
4769 * window.el (window-at-side-p, windows-at-side): New functions.
4770
7e1361d9
UM
47712011-10-21 Ulrich Mueller <ulm@gentoo.org>
4772
4773 * tar-mode.el (tar-grind-file-mode):
4774 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4775
30fcaf3a
CY
47762011-10-21 Chong Yidong <cyd@gnu.org>
4777
4778 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
4779 * progmodes/vera-mode.el (vera-mode):
4780 Use mode-require-final-newline.
30fcaf3a 4781
516eddb0
GM
47822011-10-20 Glenn Morris <rgm@gnu.org>
4783
db22a3c2 4784 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 4785
10d5f513
CS
47862011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4787
4788 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4789
ac6c8639
CY
47902011-10-20 Chong Yidong <cyd@gnu.org>
4791
4792 * emulation/cua-base.el (cua-mode):
4793 * mail/footnote.el (footnote-mode):
4794 * mail/mailabbrev.el (mail-abbrevs-mode):
4795 * net/xesam.el (xesam-minor-mode):
4796 * progmodes/bug-reference.el (bug-reference-mode):
4797 * progmodes/cap-words.el (capitalized-words-mode):
4798 * progmodes/compile.el (compilation-minor-mode)
4799 (compilation-shell-minor-mode):
4800 * progmodes/gud.el (gud-tooltip-mode):
4801 * progmodes/hideif.el (hide-ifdef-mode):
4802 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4803 * progmodes/subword.el (subword-mode):
4804 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4805 * progmodes/which-func.el (which-function-mode):
4806 * term/tvi970.el (tvi970-set-keypad-mode):
4807 * term/vt100.el (vt100-wide-mode):
4808 * textmodes/flyspell.el (flyspell-mode):
4809 * textmodes/ispell.el (ispell-minor-mode):
4810 * textmodes/nroff-mode.el (nroff-electric-mode):
4811 * textmodes/paragraphs.el (use-hard-newlines):
4812 * textmodes/refill.el (refill-mode):
4813 * textmodes/reftex.el (reftex-mode):
4814 * textmodes/rst.el (rst-minor-mode):
4815 * textmodes/sgml-mode.el (html-autoview-mode)
4816 (sgml-electric-tag-pair-mode):
4817 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4818 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4819 * emulation/crisp.el (crisp-mode):
4820 * emacs-lisp/eldoc.el (eldoc-mode):
4821 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4822 minor mode behavior.
4823
aa42ab43
JL
48242011-10-19 Juri Linkov <juri@jurta.org>
4825
4826 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4827 the list of hard-coded chars with escape-glyph face.
4828
89400f1d
SM
48292011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4830
4831 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4832
305c07f6
MA
48332011-10-19 Michael Albinus <michael.albinus@gmx.de>
4834
4835 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4836 running process.
4837
13754b54
GM
48382011-10-19 Glenn Morris <rgm@gnu.org>
4839
4840 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4841 Ignore ignored files. (Bug#9726)
4842
06e21633
CY
48432011-10-19 Chong Yidong <cyd@gnu.org>
4844
4845 Doc fix for minor modes, stating that an omitted argument enables
4846 the mode unconditionally when called from Lisp.
4847
4848 * abbrev.el (abbrev-mode):
4849 * allout.el (allout-mode):
4850 * autoinsert.el (auto-insert-mode):
4851 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4852 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4853 (global-auto-revert-mode):
4854 * battery.el (display-battery-mode):
4855 * composite.el (global-auto-composition-mode)
4856 (auto-composition-mode):
4857 * delsel.el (delete-selection-mode):
4858 * desktop.el (desktop-save-mode):
4859 * dired-x.el (dired-omit-mode):
4860 * dirtrack.el (dirtrack-mode):
4861 * doc-view.el (doc-view-minor-mode):
4862 * double.el (double-mode):
4863 * electric.el (electric-indent-mode, electric-pair-mode):
4864 * emacs-lock.el (emacs-lock-mode):
4865 * epa-hook.el (auto-encryption-mode):
4866 * follow.el (follow-mode):
4867 * font-core.el (font-lock-mode):
4868 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4869 * help.el (temp-buffer-resize-mode):
4870 * hilit-chg.el (highlight-changes-mode)
4871 (highlight-changes-visible-mode):
4872 * hi-lock.el (hi-lock-mode):
4873 * hl-line.el (hl-line-mode, global-hl-line-mode):
4874 * icomplete.el (icomplete-mode):
4875 * ido.el (ido-everywhere):
4876 * image-file.el (auto-image-file-mode):
4877 * image-mode.el (image-minor-mode):
4878 * iswitchb.el (iswitchb-mode):
4879 * jka-cmpr-hook.el (auto-compression-mode):
4880 * linum.el (linum-mode):
4881 * longlines.el (longlines-mode):
4882 * master.el (master-mode):
4883 * mb-depth.el (minibuffer-depth-indicate-mode):
4884 * menu-bar.el (menu-bar-mode):
4885 * minibuf-eldef.el (minibuffer-electric-default-mode):
4886 * mouse-sel.el (mouse-sel-mode):
4887 * msb.el (msb-mode):
4888 * mwheel.el (mouse-wheel-mode):
4889 * outline.el (outline-minor-mode):
4890 * paren.el (show-paren-mode):
4891 * recentf.el (recentf-mode):
4892 * reveal.el (reveal-mode, global-reveal-mode):
4893 * rfn-eshadow.el (file-name-shadow-mode):
4894 * ruler-mode.el (ruler-mode):
4895 * savehist.el (savehist-mode):
4896 * scroll-all.el (scroll-all-mode):
4897 * scroll-bar.el (scroll-bar-mode):
4898 * server.el (server-mode):
4899 * shell.el (shell-dirtrack-mode):
4900 * simple.el (auto-fill-mode, transient-mark-mode)
4901 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4902 (line-number-mode, column-number-mode, size-indication-mode)
4903 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4904 * strokes.el (strokes-mode):
4905 * time.el (display-time-mode):
4906 * t-mouse.el (gpm-mouse-mode):
4907 * tool-bar.el (tool-bar-mode):
4908 * tooltip.el (tooltip-mode):
4909 * type-break.el (type-break-mode-line-message-mode)
4910 (type-break-query-mode):
4911 * view.el (view-mode):
4912 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4913 (global-whitespace-mode, global-whitespace-newline-mode):
4914 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4915
a3839de2
SM
4916 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4917 Fix autogenerated docstring.
06e21633 4918
5214e501
JL
49192011-10-19 Juri Linkov <juri@jurta.org>
4920
4921 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4922 by checking environment variables "DESKTOP_SESSION" and
4923 "XDG_CURRENT_DESKTOP". (Bug#9779)
4924
195f8db9
JL
49252011-10-19 Juri Linkov <juri@jurta.org>
4926
4927 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4928 (browse-url-chromium-program, browse-url-chromium-arguments):
4929 New defcustoms.
4930 (browse-url-default-browser): Check for `browse-url-chromium' and
4931 call `browse-url-chromium-program'.
4932 (browse-url-chromium): New command. (Bug#9779)
4933
343a34ff
JB
49342011-10-18 Juanma Barranquero <lekktu@gmail.com>
4935
4936 * facemenu.el (list-colors-duplicates): On Windows, detect more
4937 duplicates by assuming that only colors matching "^System" are
4938 special "system colors". (Bug#9722)
4939
6978a151
SM
49402011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4941
4942 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4943 to distinguish the author from the committer.
4944
6a80b297
MA
49452011-10-18 Michael Albinus <michael.albinus@gmx.de>
4946
4947 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4948
b31a5677
JK
49492011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4950
4951 * international/mule.el (sgml-html-meta-auto-coding-function):
4952 Add support for detecting encoding in HTML5 specified only as
4953 <meta charset="UTF-8">. Implementation just makes http-equiv and
4954 content-type parts from HTML4 encoding string optional. (Bug#9716)
4955
80c6d77f
GM
49562011-10-18 Glenn Morris <rgm@gnu.org>
4957
4958 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4959
08b0fee8
CY
49602011-10-18 Chong Yidong <cyd@gnu.org>
4961
4962 * faces.el (cursor): Doc fix.
4963
67e729a5
CY
49642011-10-17 Chong Yidong <cyd@gnu.org>
4965
4966 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4967
343a34ff 49682011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
4969
4970 * dirtrack.el (dirtrack): Support shell buffers with path
4971 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4972
0bc06380
TZ
49732011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4974
4975 * json.el: Bump version to 1.3 and note change in History.
4976 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4977
8b79f3e0
SM
49782011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4979
5a7c536b
SM
4980 * comint.el (comint-insert-input, comint-send-input)
4981 (comint-get-old-input-default, comint-backward-matching-input)
4982 (comint-next-prompt): Use nil instead of `input' for field property of
4983 past user input (bug#114).
4984
96a8a0df
SM
4985 * minibuffer.el (completion--replace): Inherit surrounding properties
4986 (bug#114).
4987 (minibuffer-complete-and-exit): Use it.
4988
8b79f3e0
SM
4989 * comint.el (comint--table-subvert): Quote the all-completions output
4990 (bug#9160).
4991
b8f7ff0d
MR
49922011-10-17 Martin Rudalics <rudalics@gmx.at>
4993
8b79f3e0 4994 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 4995
b8f7ff0d 4996 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 4997 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
4998 entries and separate them from frame entries.
4999
c235b555
GM
50002011-10-15 Glenn Morris <rgm@gnu.org>
5001
5002 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5003 Doc fixes.
5004
6bbfa6e1
CY
50052011-10-15 Chong Yidong <cyd@stupidchicken.com>
5006
8b79f3e0
SM
5007 * net/network-stream.el (network-stream-open-starttls):
5008 Improve detection of failure due to lack of TLS support.
ec5c990d 5009
6bbfa6e1
CY
5010 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5011 putting the input text in front and in bold.
5012
98488977
SM
50132011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5014
3d1337be
SM
5015 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5016
ee0b45e4
SM
5017 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5018 empty buffer.
5019
98488977
SM
5020 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5021 unread-command-events rather than pushing yet-another event.
5022
186f4720
EZ
50232011-10-14 Eli Zaretskii <eliz@gnu.org>
5024
5025 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5026 the explanation of the possible choices. Make the options passed
5027 to completing-read shorter.
5028
8b7a997c
AM
50292011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5030
5031 * textmodes/flyspell.el (flyspell-large-region): Make sure
5032 extended character mode is used if defined (Bug#1339).
5033
12587bbb
EZ
50342011-10-13 Eli Zaretskii <eliz@gnu.org>
5035
5036 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
5037 character info for LRE, LRO, RLE, and RLO characters by appending
5038 an invisible PDF.
12587bbb 5039
bad41229
SM
50402011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5041
5042 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5043 even in case of error; add debug spec; simplify data flow.
5044 (with-timeout-handler): Remove.
5045
28dbc92f
MA
50462011-10-12 Michael Albinus <michael.albinus@gmx.de>
5047
5048 Fix Bug#6019, Bug#9315.
5049
5050 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5051 complete `buffer-file-name', the local file name part could look
5052 remotely (for example on VMS).
5053
5054 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5055 `tramp-run-real-handler'.
5056 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5057 already quoted by '"'.
5058
5059 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5060 Let `file-name-handler-alist' be nil, the local file name part
5061 could look remotely (for example on VMS).
5062
e1b0b23a
SM
50632011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5064
5065 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5066 from here...
5067 (flyspell-post-command-hook): ...to here.
5068
a120bde9
SM
50692011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5070
5071 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5072 if not needed.
5073 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5074 using completion. Protect against "slow" callers.
5075 Remove the "message hack".
5076
7ce7717b
JL
50772011-10-11 Juri Linkov <juri@jurta.org>
5078
5079 * isearch.el (isearch-lazy-highlight-word): New variable.
5080 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5081 Use it. (Bug#9727)
5082
c02ee9d6
GM
50832011-10-11 Glenn Morris <rgm@gnu.org>
5084
5085 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5086 like f90-previous-statement does.
5087
93e616fd 50882011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5089
1f190e73 5090 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
5091 only in interactive use, to avoid error.
5092
af7b6078
SM
50932011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5094
5095 * minibuffer.el (completion-file-name-table): Fix last change,
5096 i.e. ignore normal errors but not the other ones.
5097
0563dae9
MR
50982011-10-10 Martin Rudalics <rudalics@gmx.at>
5099
5100 * window.el (special-display-buffer-names)
5101 (special-display-regexps): Remove some remnants of earlier
5102 changes from doc-strings.
366ca7f3
MR
5103 (quit-windows-on): New function.
5104
5105 * vc/vc.el (vc-revert, vc-rollback):
5106 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5107 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 5108 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 5109
49677495
MR
51102011-10-09 Martin Rudalics <rudalics@gmx.at>
5111
5112 * window.el (frame-auto-hide-function): Add version tag.
5113 (Bug#9699)
5114
56f2d1e1
MA
51152011-10-09 Michael Albinus <michael.albinus@gmx.de>
5116
5117 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5118 condition.
5119
112a6592
LL
51202011-10-09 Leo Liu <sdl.web@gmail.com>
5121
5122 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5123 (Bug#9701)
5124
0812589b
GM
51252011-10-08 Glenn Morris <rgm@gnu.org>
5126
5127 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5128 before the first code statement zero indent. (Bug#9690)
5129
b2b0776e
CY
51302011-10-08 Chong Yidong <cyd@stupidchicken.com>
5131
5132 * simple.el (count-words-region): Always count in the region.
5133 Report the number of lines and characters too.
5134 (count-words): New command, which counts in the buffer if the
5135 region is inactive, as count-words-region used to.
5136 (count-words--message): New function. Handle plurals.
5137 (count-lines-region): Make it an alias for count-words-region.
5138
5139 * bindings.el (esc-map): Replace count-lines-region with
5140 count-words-region.
5141
c557cd6b
MR
51422011-10-08 Martin Rudalics <rudalics@gmx.at>
5143
5144 * window.el (window--delete): Delete dedicated frame
5145 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 5146 (switch-to-buffer): Fix doc-string typo.
c557cd6b 5147
61a57ef4 51482011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5149
3a7d293b 5150 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 5151
c3833279
CY
51522011-10-07 Chong Yidong <cyd@stupidchicken.com>
5153
5154 * bindings.el ([M-left],[M-right]): Bind to left-word and
5155 right-word respectively.
5156
21ce8245
GM
51572011-10-07 Glenn Morris <rgm@gnu.org>
5158
5159 * cus-start.el (debug-on-quit): Fix custom type.
5160
6d823bb2
LMI
51612011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5162
0181e193
LMI
5163 * subr.el (define-key-after): Clarify that the function is not
5164 useful for non-menu keymaps.
5165
6d823bb2
LMI
5166 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5167
8e3459ce 51682011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5169
21ce8245 5170 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 5171 in current minibuffer (Fix bug with recursive minibuffers).
5172
a1c2d21e
CY
51732011-10-06 Chong Yidong <cyd@stupidchicken.com>
5174
5175 * progmodes/gdb-mi.el (gdb): Doc fix.
5176
5a4cf282
MR
51772011-10-05 Martin Rudalics <rudalics@gmx.at>
5178
5179 * window.el (frame-auto-hide-function): New option replacing
5180 frame-auto-delete. Suggested by Stefan Monnier.
5181 (window--delete): Call frame-auto-hide-function instead of
5182 investigating frame-auto-delete.
c96111ea
MR
5183 (window-point-1, set-window-point-1): New functions.
5184 (window-in-direction, record-window-buffer, window-state-get-1)
5185 (display-buffer-record-window): Use window-point-1 instead of
5186 window-point.
5187 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 5188
9854542e
SM
51892011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5190
5191 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5192
8943cfb0
GM
51932011-10-05 Glenn Morris <rgm@gnu.org>
5194
5195 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5196 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5197
647ab967
LL
51982011-10-05 Leo Liu <sdl.web@gmail.com>
5199
5200 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5201 works with buffer object.
5202
3ddfbced
SM
52032011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5204
5205 * mpc.el (mpc-tool-bar-map): Add labels.
5206
bdfa5dd2
GM
52072011-10-04 Glenn Morris <rgm@gnu.org>
5208
5209 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5210
0e2070b5
MR
52112011-10-04 Martin Rudalics <rudalics@gmx.at>
5212
5213 * window.el (window--delete): New function.
5214 (frame-auto-delete): Resuscitate option.
5215 (bury-buffer, replace-buffer-in-windows)
5216 (quit-window): Rewrite using window--delete.
5217 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5218 Pass display-buffer-mark-dedicated to window--display-buffer-2
5219 (Bug#9639).
5220
3dc61a09
SM
52212011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5222
915a9b64
SM
5223 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5224 returns a list (bug#9554). Add remote file name completion.
5225 * comint.el (comint--table-subvert): Curry and get quote&unquote
5226 functions as arguments.
5227 (comint--complete-file-name-data): Adjust call accordingly.
5228 * pcomplete.el (pcomplete--table-subvert): Remove.
5229 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5230
3dc61a09
SM
5231 * minibuffer.el (completion-table-case-fold): Use currying.
5232 (completion--styles-type, completion--cycling-threshold-type):
5233 New constants.
5234 (completion-styles, completion-category-overrides)
5235 (completion-cycle-threshold): Use them.
5236 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5237 completion-table-case-fold.
5238
8ea0a993
SB
52392011-10-03 Stephen Berman <stephen.berman@gmx.net>
5240
5241 * minibuffer.el (completion-category-overrides): Fix type of styles
5242 and add more user friendly tags (bug#9660).
5243
8c24b7f6
SM
52442011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5245
5246 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5247 (mule-input-method-string): New widget.
5248 (default-input-method, language-info-custom-alist): Use it.
5249
428fe61a
SM
52502011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5251
32c1fffd
SM
5252 * pcomplete.el: Require comint.
5253 (pcomplete--common-suffix): Remove.
5254 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5255 (pcomplete--table-subvert): Sync with comint--table-subvert.
5256 (pcomplete--entries): Use comint-completion-file-name-table.
5257 * comint.el (comint-unquote-filename): Simplify.
5258 (comint-completion-file-name-table): New function (bug#9616).
5259 (comint--complete-file-name-data): Use it.
5260
428fe61a
SM
5261 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5262 (pcmpl-gnu-tar-buffer): Remove.
5263 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
5264 around. Make sure pcomplete-suffix-list is only changed temporarily.
5265 Don't look inside the tar's file if it's too large.
428fe61a 5266
04c52e2f
CY
52672011-10-01 Chong Yidong <cyd@stupidchicken.com>
5268
ce3cefcc
CY
5269 * cus-edit.el (custom-mode-map):
5270 * epa.el (epa-key-list-mode-map):
5271 * man.el (Man-mode-map):
5272 * startup.el (splash-screen-keymap):
5273 * simple.el (special-mode-map): Use scroll-up-command and
5274 scroll-down-command.
5275
5276 * progmodes/idlw-help.el (idlwave-help-mode-map):
5277 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5278 * net/newst-plainview.el (newsticker-mode-map):
5279 * emulation/ws-mode.el (wordstar-mode-map):
5280 * emulation/vi.el (vi-com-map):
5281 * calc/calc-graph.el (calc-graph-show-dumb):
5282 * term/sun.el (terminal-init-sun):
5283 * term/ns-win.el (global-map):
5284 * progmodes/grep.el (grep-mode-map):
5285 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5286 * mail/rmail.el (rmail-mode-map):
5287 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5288
04c52e2f
CY
5289 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5290 custom-safe-themes as special.
5291
79adf8c8
JD
52922011-10-01 Julien Danjou <julien@danjou.info>
5293
5294 * notifications.el (notifications-notify): Fix docstring.
5295
63bd50d3
PS
52962011-10-01 Per Starbäck <per@starback.se>
5297
5298 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5299
199e4c7e
MR
53002011-09-30 Martin Rudalics <rudalics@gmx.at>
5301
5302 * startup.el (command-line-1): Fix last fix by inserting
5303 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 5304 (Bug#9605) and (Bug#9636)
199e4c7e 5305
fe5f08dd
EZ
53062011-09-29 Eli Zaretskii <eliz@gnu.org>
5307
5308 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5309 window is hscrolled, move by logical lines. (Bug#9607)
5310 (line-move-visual): Update the doc string to the above effect.
5311
b5516bbd
MR
53122011-09-29 Martin Rudalics <rudalics@gmx.at>
5313
ccee00c0
MR
5314 * window.el (display-buffer-record-window): When WINDOW is the
5315 selected window use `point' instead of `window-point'. (Bug#9626)
5316
b5516bbd
MR
5317 * startup.el (command-line-1): Use insert-before-markers when
5318 inserting initial-scratch-message. (Bug#9605)
ccee00c0 5319
b5516bbd
MR
5320 * help.el (help-window): Remove variable.
5321
52aa0014
GM
53222011-09-29 Glenn Morris <rgm@gnu.org>
5323
5324 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5325
df9a7357
JB
53262011-09-29 Juanma Barranquero <lekktu@gmail.com>
5327
5328 * descr-text.el (describe-char-categories): Accept category
5329 descriptions more than one line long.
5330
a8406c20
SM
53312011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5332
88d9610c
SM
5333 * simple.el (delete-trailing-whitespace): Fix last change.
5334
a5daf810
SM
5335 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5336 Don't confuse "y => 3" as the beginning of a `y' operation.
5337
a8406c20
SM
5338 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5339 object has more than 4 slots (bug#9613).
5340
a239d4e9
JB
53412011-09-28 Juanma Barranquero <lekktu@gmail.com>
5342
5343 * subr.el (with-output-to-temp-buffer):
5344 * net/quickurl.el (quickurl, quickurl-browse-url):
5345 Fix typos in docstrings.
5346
693fbdb6
EZ
53472011-09-27 Eli Zaretskii <eliz@gnu.org>
5348
5349 * minibuffer.el (completion-styles)
5350 (completion-category-overrides): Cross reference each other in doc
5351 strings.
5352
8b457e28
GM
53532011-09-27 Glenn Morris <rgm@gnu.org>
5354
5355 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5356 to split-string. (Bug#9606)
5357
85a16208
LMI
53582011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5359
5360 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5361 (bug#9615).
5362
502f9ebd
CY
53632011-09-27 Chong Yidong <cyd@stupidchicken.com>
5364
5365 * emacs-lisp/package.el (list-packages): Fix echo area message.
5366
7690bdea
LL
53672011-09-27 Leo Liu <sdl.web@gmail.com>
5368
5369 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5370
e2ee6f30
MA
53712011-09-25 Michael Albinus <michael.albinus@gmx.de>
5372
5373 * net/dbus.el (dbus-unregister-object): Don't release services for
5374 registered signals. (Bug#9581)
5375
f3f98342
TZ
53762011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5377
5378 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5379 function that picks between cfengine 2 and 3 support
5380 automatically. Update docs accordingly.
5381
dd7aa8dd
KH
53822011-09-22 Kenichi Handa <handa@m17n.org>
5383
5384 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5385 ZERO.
5386 (indian-itrans-v5-table-for-tamil): New variable.
5387 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5388
3f2b07f8
KM
53892011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5390
5391 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5392 that's true if the current command involved collapsing of text.
5393 It's reset to false at the beginning of the next command.
5394 (allout-post-command-business): Move the cursor to the beginning
5395 of entry if the cursor is hidden and collapsing activity just
5396 happened.
5397
371d6a61
CY
53982011-09-24 Chong Yidong <cyd@stupidchicken.com>
5399
5400 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5401 tracking (Bug#9541).
5402
2ac2721a
UJ
54032011-09-24 Ulf Jasper <ulf.jasper@web.de>
5404
5405 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
5406 (newsticker-show-news): Automatically load html rendering package
5407 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5408 because w3m-fill-column is let-bound" and the error "Symbol's value
5409 as variable is void: w3m-fill-column".
2ac2721a 5410
fac7ae53
MA
54112011-09-24 Michael Albinus <michael.albinus@gmx.de>
5412
5413 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5414 Release services only if they are defined. (Bug#9581)
5415
e08b633b
RS
54162011-09-23 Richard Stallman <rms@gnu.org>
5417
e488d29c
RS
5418 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5419 distinguish start of paragraph from start of its text.
5420
19c38752
RS
5421 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5422
e08b633b
RS
5423 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5424 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5425 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5426
0a39f27e
AS
54272011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5428
5429 * international/mule-diag.el (mule-diag): Insert a newline after
5430 each fontset description.
5431
db4e950d
SM
54322011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5433
5434 * simple.el (delete-trailing-whitespace):
5435 Document last change; simplify.
5436
eca3f3ea
PW
54372011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5438
d68e189a
PW
5439 * simple.el (delete-trailing-whitespace): Also delete
5440 extra newlines at the end of the buffer.
5441
eca3f3ea
PW
5442 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5443 (picture-newline): Use forward-line so as to ignore fields.
5444
01c157cc
SM
54452011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5446
5447 * subr.el (with-wrapper-hook): Fix edebug spec.
5448
022de23e
LMI
54492011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5450
5451 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5452 (bug#4538).
5453
91683089
MA
54542011-09-23 Michael Albinus <michael.albinus@gmx.de>
5455
eca3f3ea
PW
5456 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5457 Fix nasty bug using wrong cached values.
91683089 5458
5bdd6fa4
AM
54592011-09-23 Alan Mackenzie <acm@muc.de>
5460
5461 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5462
97adfb97
CY
54632011-09-23 Chong Yidong <cyd@stupidchicken.com>
5464
5465 * window.el (pop-to-buffer): Ensure right window is selected if we
5466 chose another frame.
5467
d4ef2b50
EZ
54682011-09-22 Eli Zaretskii <eliz@gnu.org>
5469
5470 * simple.el (what-cursor-position): Use get-char-property-change
5471 and next-single-char-property-change, to be able to show display
5472 properties that come from overlays as well as text properties.
5473
72258fe5
CY
54742011-09-22 Chong Yidong <cyd@stupidchicken.com>
5475
5476 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5477
5478 * cmuscheme.el (run-scheme, switch-to-scheme):
5479 * cus-edit.el (customize-group, custom-buffer-create)
5480 (customize-browse):
5481 * info.el (info):
5482 * shell.el (shell):
5483 * mail/sendmail.el (mail):
5484 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5485
8f098516
RS
54862011-09-22 Richard Stallman <rms@gnu.org>
5487
5488 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5489 move back only to line beg, don't move back over blank lines.
5490
e74f1bb6
MA
54912011-09-22 Michael Albinus <michael.albinus@gmx.de>
5492
5493 * files.el (copy-directory): Set directory attributes only in case
5494 they could be retrieved from the source directory. (Bug#9565)
5495
bfeef8b6
DK
54962011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5497
5498 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5499 (hs-find-block-beginning, hs-hide-level-recursive):
5500 Ignore strings as well as comments. (Bug#9502)
5501
7e423bb8
AS
55022011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5503
5504 * progmodes/sql.el (sql-comint-postgres):
5505 Convert port number to a string. (Bug#9566)
5506
b4d72fcf
MR
55072011-09-22 Martin Rudalics <rudalics@gmx.at>
5508
5509 * window.el (quit-window): Undedicate window when switching to
5510 previous buffer. Reported by Thierry Volpiatto
5511 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
5512 (special-display-popup-frame): When popping up a new frame reset
5513 its previous buffers to nil. Simplify code.
b4d72fcf 5514
a7b88dc6
MA
55152011-09-21 Michael Albinus <michael.albinus@gmx.de>
5516
5517 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5518 and process filter, as done also in `shell-command'.
5519
cf4eacfd
MR
55202011-09-21 Martin Rudalics <rudalics@gmx.at>
5521
eca3f3ea 5522 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
5523 Call set-window-start with NOFORCE argument t.
5524 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
5525 (quit-window): Reword doc-string. Handle new format of
5526 quit-restore parameter. Don't delete window if it has a
5527 previous buffer we can show instead of the present one.
5528 (display-buffer-record-window): Rewrite using a new format for
5529 the quit-restore window parameter
5530 (special-display-popup-frame, display-buffer-same-window)
5531 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5532 (display-buffer-pop-up-window, display-buffer-use-some-window):
5533 Adapt symbol passed to display-buffer-record-window.
5534 * help.el (help-window-setup): Handle new format of quit-restore
5535 parameter.
5536
8d28cb95
SM
55372011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5538
94ab793f
SM
5539 * faces.el (face-list): Fix docstring (bug#9564).
5540
8d28cb95
SM
5541 * window.el (display-buffer--action-function-custom-type):
5542 Don't include internal functions in the Custom interface.
5543
3820edeb
JL
55442011-09-20 Juri Linkov <juri@jurta.org>
5545
5546 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5547 (Info-forward-node, Info-backward-node, Info-next-preorder)
5548 (Info-last-preorder): Use it. (Bug#9528)
5549
5147931d
JL
55502011-09-20 Juri Linkov <juri@jurta.org>
5551
5552 * info.el (Info-last-preorder): Visit last menu item only when
5553 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5554
cf499a1a
JD
55552011-09-20 Julien Danjou <julien@danjou.info>
5556
5557 * password-cache.el (password-cache-remove): Remove entries even if the
5558 value is nil, so that password with a nil value (negative caching) is
5559 possible to invalidate.
5560
f84e2fe2
LM
55612011-09-20 Lawrence Mitchell <wence@gmx.li>
5562
5563 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5564 all whitespace around breakpoint. (Bug#9553)
5565 (f90-find-breakpoint): Only break at whitespace inside a comment.
5566
78054a46
SM
55672011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5568
5569 * minibuffer.el (completion-file-name-table): Keep track of errors.
5570 (completion-table-with-predicate): Handle the case where pred1 is nil.
5571 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5572
345083b2
SM
55732011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5574
e24e27be
SM
5575 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5576 (debugger-return-value): Signal an error if the debugging context does
5577 not await any return value.
5578
345083b2
SM
5579 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5580 * image-mode.el (image-toggle-display-text)
5581 (image-toggle-display-image): Stay away from evil `intangible'.
5582
08d355e3
LL
55832011-09-19 Leo Liu <sdl.web@gmail.com>
5584
5585 * replace.el (occur-revert-arguments): Make it permanent-local.
5586 (occur-mode): Don't call font-lock-defontify.
5587
f01da43f
CY
55882011-09-19 Chong Yidong <cyd@stupidchicken.com>
5589
5590 * net/ldap.el (ldap-search-internal): Don't push empty search
5591 result (Bug#9508).
5592
b6072fa6
SM
55932011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5594
5595 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5596
443d6696
MA
55972011-09-19 Michael Albinus <michael.albinus@gmx.de>
5598
5599 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5600 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5601
7cc6e154
JL
56022011-09-18 Juri Linkov <juri@jurta.org>
5603
5604 * buff-menu.el (Buffer-menu-mode-map):
5605 * dired.el (dired-mode-map):
5606 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5607 (lisp-interaction-mode-map):
5608 * emacs-lisp/package.el (package-menu-mode-map):
5609 * epa.el (epa-key-list-mode-map):
5610 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5611 (menu-bar-options-menu):
5612 * outline.el (outline-mode-menu-bar-map):
5613 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5614 * vc/vc-dir.el (vc-dir-menu-map):
5615 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5616 Capitalize non-function content words in menu item strings.
5617
5618 * dired.el (dired-mode-map): Add menu item for
5619 `image-dired-dired-toggle-marked-thumbs'.
5620
80302a81
JL
56212011-09-18 Juri Linkov <juri@jurta.org>
5622
5623 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5624 to `isearch-case-fold-search' and restore its original value
5625 after the `isearch-mode' call.
5626
46c5cf66
JL
56272011-09-18 Juri Linkov <juri@jurta.org>
5628
5629 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5630 because `zgrep' returns 1 for successful matches (bug#9226).
5631
d18b513b
JL
56322011-09-18 Juri Linkov <juri@jurta.org>
5633
5634 * info.el (Info-extract-menu-node-name): Check the second match
5635 for empty string (second test-case of bug#9528).
5636 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5637 intermediate nodes to the history (first test-case of bug#9528).
5638
72753f87
JL
56392011-09-18 Juri Linkov <juri@jurta.org>
5640
5641 * info.el (Info-mode-syntax-table): New variable.
1154d12e 5642 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 5643
c9384295
JL
56442011-09-18 Juri Linkov <juri@jurta.org>
5645
1154d12e
JB
5646 * info.el (Info-file-supports-index-cookies):
5647 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5648 outputs one more line for long file names (bug#4142).
c9384295 5649
d473dce8
CY
56502011-09-18 Chong Yidong <cyd@stupidchicken.com>
5651
5652 * newcomment.el (comment-normalize-vars): If prompting for
5653 comment-start, set comment-start-skip too (Bug#8424).
5654
2176854d
JB
56552011-09-18 Johan Bockgård <bojohan@gnu.org>
5656
5657 * icomplete.el: Fix previous fix of Bug#5849.
5658 (icomplete-mode): Don't set completion-show-inline-help.
5659 (icomplete-minibuffer-setup): Set completion-show-inline-help
5660 locally during icompletion.
5661
3aace4e4
CY
56622011-09-18 Chong Yidong <cyd@stupidchicken.com>
5663
c940224f
CY
5664 * woman.el (woman2-process-escapes): Don't delete unrecognized
5665 escapes (Bug#7843).
5666
3aace4e4
CY
5667 * files.el (inhibit-first-line-modes-regexps): Add image files.
5668 (hack-local-variables-prop-line): Return nil for malformed
5669 prop-lines (Bug#9044).
5670
710dec63
MA
56712011-09-18 Michael Albinus <michael.albinus@gmx.de>
5672
5673 * net/tramp.el (top): Don't require 'shell.
5674 (tramp-methods): Fix docstring.
5675 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
5676 Return complete remote file name. Handle "smb" case.
5677 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
5678 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5679
5680 * net/tramp-compat.el (top): Require 'shell.
5681
5682 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5683 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5684 `tramp-current-host'.
5685 (tramp-get-remote-tmpdir): Remove.
5686
5687 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5688 `tramp-tmpdir' entries.
5689 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5690 (tramp-smb-handle-file-attributes): Ignore errors.
5691 (tramp-smb-wait-for-output): Check also for process end.
5692
5d5ac8ec
LMI
56932011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5694
5695 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5696 when sending QUIT (bug#9312).
5697
8c0f49f0
CY
56982011-09-17 Chong Yidong <cyd@stupidchicken.com>
5699
5700 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5701 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5702 occur-mode-display-occurrence.
5703 (occur-edit-mode): Add usage message.
5704 (occur-cease-edit): New command.
5705 (occur-after-change-function): Use text properties to find the
5706 position of the prefix text.
5707 (occur-engine): Set stickiness of prefix text properties.
5708
8f1383f7
GM
57092011-09-17 Glenn Morris <rgm@gnu.org>
5710
5711 * progmodes/etags.el (complete-tag):
5712 Fix call to completion-in-region. (Bug#9526)
5713
744ba0e3
JL
57142011-09-17 Juri Linkov <juri@jurta.org>
5715
5716 * textmodes/ispell.el (ispell-word): Add to the error message
5717 the word, ispell program name and current dictionary (bug#9121).
5718 (ispell-tex-arg-end): Capitalize "error" in the error message.
5719
d9bbf400
AS
57202011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5721
5722 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5723 check. (Bug#4251)
5724
8da11505
JL
57252011-09-17 Juri Linkov <juri@jurta.org>
5726
5727 * window.el (window-safe-min-height, window-safe-min-width):
5728 Fix typos (followup to bug#9522).
5729
a91adc7e
SJ
57302011-09-17 Sven Joachim <svenjoac@gmx.de>
5731
5732 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5733
064f328a
EZ
57342011-09-16 Eli Zaretskii <eliz@gnu.org>
5735
5736 * simple.el (line-move): If goal-column is set, move by logical
5737 lines, not by display lines. (Bug#971)
5738 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5739 to reflect the above change.
5740
e69df516
SM
57412011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5742
5743 * image.el (imagemagick-register-types): Use regexp-opt.
5744
cbb0f9ab
CY
57452011-09-15 Chong Yidong <cyd@stupidchicken.com>
5746
5747 * window.el (display-buffer-base-action): Rename from
5748 display-buffer-default-action. Make default value empty.
5749 (display-buffer-overriding-action): Convert to defvar.
5750 (display-buffer-fallback-action): New var.
5751
25322144
CY
57522011-09-15 Chong Yidong <cyd@stupidchicken.com>
5753
5754 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5755 declaration.
5756 (package--add-to-archive-contents): If there is a duplicate entry
5757 with an older version, remove it.
5758 (package-menu-mark-delete, package-menu-mark-install)
5759 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
5760 (package-menu-mark-obsolete-for-deletion):
5761 Use package-menu-get-status instead of a regexp search.
25322144
CY
5762 (package-menu-get-status): Use tabulated-list-entry.
5763 (package-menu-mark-upgrades): New command.
d770725a 5764 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
5765 (package-menu-execute): Do installation before deletion.
5766 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5767 instead of checking major-mode.
5768 (package-menu--find-upgrades): New function.
5769
7520339c
LMI
57702011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5771
5772 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5773 passwords in the log buffer.
65a046c4
LMI
5774 (smtpmail-process-filter): Update the process marker so that the
5775 "broken by peer" status message is inserted in the right place.
7520339c 5776
d3c30954
SM
57772011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5778
3fe48822
SM
5779 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5780 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5781 bibtex-completion-at-point-function.
5782 (bibtex-completion-at-point-function): Use them.
5783
1b8b3954
SM
5784 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5785
d3c30954
SM
5786 * mpc.el (mpc-constraints-tag-lookup): New function.
5787 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5788 also to browser "album|playlist".
5789
72779976
JL
57902011-09-14 Juri Linkov <juri@jurta.org>
5791
5792 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5793 (isearch-edit-string): Use length of `isearch-string' when
5794 `isearch-fail-pos' returns nil.
5795 (isearch-message): Remove duplicate code and call
5796 `isearch-fail-pos' with arg `t'.
5797
a0bf2bcd
CY
57982011-09-14 Chong Yidong <cyd@stupidchicken.com>
5799
17bb0a2d
CY
5800 * replace.el (occur-mode-goto-occurrence): Don't force using other
5801 window (Bug#9499).
5802
a0bf2bcd
CY
5803 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5804
f678e0b6
MR
58052011-09-14 Martin Rudalics <rudalics@gmx.at>
5806
5807 * window.el (display-buffer-window): Remove.
5808 (display-buffer-record-window): Use help-setup window parameter
5809 instead of variable display-buffer-window.
5810 (display-buffer-function, special-display-buffer-names)
5811 (special-display-function): Mention help-setup parameter instead
5812 of display-buffer-window in doc-string.
d3c30954
SM
5813 * help.el (help-window-setup): New argument help-window.
5814 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
5815 Reword some messages.
5816 (with-help-window): Pass window used for displaying the buffer
5817 to help-window-setup. Don't set display-buffer-window.
5818
8e39b2e8
GM
58192011-09-13 Glenn Morris <rgm@gnu.org>
5820
5821 * emacs-lisp/debug.el (debugger-make-xrefs):
5822 Preserve point. (Bug#9462)
5823
85e9c04b
CY
58242011-09-13 Chong Yidong <cyd@stupidchicken.com>
5825
5826 * window.el (window-deletable-p): Use next-frame.
5827
1b36ed6a
MR
58282011-09-13 Martin Rudalics <rudalics@gmx.at>
5829
5830 * window.el (window-auto-delete): Remove.
5831 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 5832 dedication and previous buffers.
1b36ed6a
MR
5833 (switch-to-prev-buffer): Don't delete window.
5834 (delete-windows-on): Delete a window's frame if and only if the
5835 window is dedicated.
5836 (replace-buffer-in-windows): Delete buffer's window or frame if
5837 and only if window is dedicated.
5838 (quit-window): Handle quit-restore as before last change.
4d61f28d 5839 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 5840
ef8ef9fb
CY
58412011-09-13 Chong Yidong <cyd@stupidchicken.com>
5842
5843 * window.el (window-deletable-p): Never delete the last frame on a
5844 given terminal.
5845
b2cba41e
GM
58462011-09-13 Glenn Morris <rgm@gnu.org>
5847
5848 * help.el (describe-key-briefly): Copy previous standard-output change.
5849
51553db6 58502011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
5851
5852 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5853
b7556719
GM
58542011-09-13 Glenn Morris <rgm@gnu.org>
5855
5856 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5857 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5858
64b51947
CY
58592011-09-12 Chong Yidong <cyd@stupidchicken.com>
5860
5861 * dired-aux.el (dired-mark-read-string): Don't return default
5862 value on empty input (Bug#9361).
5863 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5864 Omit initial minibuffer contents.
5865 (dired-do-chmod): Signal an error on empty input.
5866 (dired-mark-read-string): Don't return default on empty input.
5867
5868 * files.el (file-modes-symbolic-to-number): Doc fix.
5869
393a301e
SM
58702011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5871
5872 * international/mule-cmds.el (ucs-completions): Remove.
5873 (read-char-by-name): Use complete-with-action instead; add metadata.
5874
fa5660f9
CY
58752011-09-11 Chong Yidong <cyd@stupidchicken.com>
5876
5877 * window.el (display-buffer--action-function-custom-type)
5878 (display-buffer--action-custom-type): New vars.
5879 (display-buffer-alist, display-buffer-default-action)
5880 (display-buffer-overriding-action): Add defcustom types.
5881
4a592f66
CY
5882 * frame.el (delete-other-frames): Doc fix (Bug#276).
5883
73d56dbd
LMI
58842011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5885
5886 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5887
37ac18a3
CY
58882011-09-11 Chong Yidong <cyd@stupidchicken.com>
5889
5890 Change modes that used same-window-* vars to use switch-to-buffer.
5891
5892 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5893 Use switch-to-buffer.
5894
5895 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
5896 (customize-browse, custom-buffer-create-other-window):
5897 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
5898
5899 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5900 (Info-prev, Info-up, Info-speedbar-goto-node)
5901 (info-display-manual): Use switch-to-buffer.
5902 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5903
5904 * mail/sendmail.el (mail): Use switch-to-buffer.
5905 (mail-recover): Use switch-to-buffer-other-window.
5906
5907 * cmuscheme.el (run-scheme, switch-to-scheme):
5908 * ielm.el (ielm):
5909 * shell.el (shell):
5910 * net/rlogin.el (rlogin):
5911 * net/telnet.el (telnet, rsh):
5912 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5913
10195bd6
AS
59142011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5915
5916 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5917
b322f63a
LMI
59182011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5919
39d7fed6
LMI
5920 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5921 so don't mention it (bug#9301).
ba5a81f1 5922 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 5923
ee0e9f11
LMI
5924 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5925 match `x', `w32' and `ns', like the manual says (bug#9029).
5926
0b1c89c1 5927 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
5928 (process-kill-buffer-query-function): Mention the buffer name in
5929 the query.
0b1c89c1 5930
77549ea8
LMI
5931 * image-mode.el (image-next-line): The line parameter is mandatory
5932 (bug#9258).
5933
803ef892
LMI
5934 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5935 which can be useful (bug#9301).
5936
12980837
LMI
5937 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5938
91054f8f
LMI
5939 * subr.el (match-string): Mention that the current buffer should
5940 be the same as the search was done in (bug#9282).
5941
b322f63a
LMI
5942 * facemenu.el: Disable the remove-* commands if the mark isn't
5943 active (bug#9162).
5944
3199b96f
CY
59452011-09-10 Chong Yidong <cyd@stupidchicken.com>
5946
5947 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5948 of display-buffer.
5949 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5950
5951 * replace.el (occur-mode-goto-occurrence)
5952 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5953 and display-buffer.
5954
5955 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5956 display-buffer.
5957
5958 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5959 special-display and same-window variables.
5960 (mail-other-window): Use switch-to-buffer-other-window.
5961 (mail-other-frame): USe switch-to-buffer-other-frame.
5962
393a301e
SM
5963 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5964 Use display-buffer-other-frame.
3199b96f
CY
5965 (gdb-display-gdb-buffer): Use pop-to-buffer.
5966
5967 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5968
5969 * progmodes/python.el: Don't set same-window-buffer-names.
5970
5971 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5972
5973 * window.el (display-buffer-alist): Add *Python*.
5974
8319e0bf
CY
59752011-09-10 Chong Yidong <cyd@stupidchicken.com>
5976
5977 * window.el (display-buffer-alist): Add entry for buffers
5978 previously handled same-window-*.
5979 (display-buffer-alist, display-buffer-default-action)
5980 (display-buffer-overriding-action): Mark as risky.
5981 (display-buffer-alist): Document action function changes.
5982 (display-buffer--same-window-action)
5983 (display-buffer--other-frame-action): New variables.
5984 (switch-to-buffer, display-buffer-other-frame): Use them.
5985 (display-buffer): Rename reuse-frame entry to reusable-frames.
5986 (display-buffer-reuse-selected-window): Function deleted.
5987 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5988 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5989 (display-buffer-special): New function.
5990 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5991 display-buffer-reuse-or-pop-window. Split off special-display
5992 part into display-buffer-special.
5993 (display-buffer-use-some-window): Don't perform any special
5994 pop-up-frames handling.
5995 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 5996 (display-buffer--maybe-same-window): Rename from
0d3ff375 5997 display-buffer-maybe-same-window.
8319e0bf 5998
919a69aa
CY
5999 * info.el: Don't set same-window-regexps.
6000 (info-setup): New function.
6001 (info-other-window, info): Call it.
6002
6003 * cus-edit.el: Don't set same-window-regexps.
6004 (customize-group): New argument.
6005 (customize-group-other-window): Use it.
6006 (customize-face, customize-face-other-window): Likewise.
6007 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6008
8319e0bf
CY
6009 * net/rlogin.el:
6010 * net/telnet.el:
6011 * progmodes/gud.el: Don't set same-window-regexps.
6012
6013 * cmuscheme.el:
6014 * ielm.el:
6015 * shell.el:
6016 * mail/sendmail.el:
6017 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6018
25173000
JL
60192011-09-10 Juri Linkov <juri@jurta.org>
6020
6021 * isearch.el (isearch-edit-string): Remove obsolete mention of
6022 `C-w' (`isearch-yank-word-or-char') from docstring.
6023 (isearch-query-replace): Fix typo in docstring (bug#9466).
6024
056e44ef
JL
60252011-09-10 Juri Linkov <juri@jurta.org>
6026
6027 * paren.el (show-paren-function): Don't show escaped parens.
6028 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6029
c3760c17
EZ
60302011-09-10 Eli Zaretskii <eliz@gnu.org>
6031
6032 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6033 (mm-default-file-encoding): Remove autoload forms, they are
6034 replaced with autoload cookies in mml.el and mm-encode.el.
6035 (mail-add-attachment): New command.
6036 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6037 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6038 the doc string.
6039 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6040
fece895e
RT
60412011-09-10 Reuben Thomas <rrt@sc3d.org>
6042
e69df516
SM
6043 * simple.el (count-words-region): Use buffer if there's no region
6044 (bug#9429).
fece895e 6045
5e68ce4a
JL
60462011-09-09 Juri Linkov <juri@jurta.org>
6047
6048 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6049 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6050 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6051
0a6b9622
AM
60522011-09-09 Alan Mackenzie <acm@muc.de>
6053
6054 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6055 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6056
14a29deb
EZ
60572011-09-09 Eli Zaretskii <eliz@gnu.org>
6058
6059 Fix for Savannah bug#9392.
6060 * simple.el (mail-encode-mml): New defvar.
6061
6062 * mail/rmail.el (mail-encode-mml): Add a defvar.
6063 (rmail-enable-mime-composing): Default to t.
6064 (rmail-forward): Use MIME method of forwarding only if both
6065 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6066 Set mail-encode-mml non-nil if the MIME method was used.
6067
6068 * mail/sendmail.el (mml-to-mime): Add autoload form.
6069 (mail-encode-mml): Add a defvar.
6070 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6071 to nil.
6072 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6073 message through mml-to-mime, and reset mail-encode-mml to nil.
6074
28c45130
GM
60752011-09-09 Glenn Morris <rgm@gnu.org>
6076
6077 * woman.el (woman-if-body): When processing an .el block,
6078 do not delete the next .el block as well. (Bug#9447)
69f4b618 6079 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 6080
9b1c252e
MR
60812011-09-08 Martin Rudalics <rudalics@gmx.at>
6082
6083 * window.el (window-deletable-p): Make sure window is live before
6084 invoking window-prev-buffers.
6085
567457e3
LL
60862011-09-08 Leo Liu <sdl.web@gmail.com>
6087
6088 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6089
97f05794
JL
60902011-09-08 Juri Linkov <juri@jurta.org>
6091
6092 * progmodes/compile.el (compilation-environment): Make it
6093 a defcustom (bug#8340).
6094
8b0874b5
MR
60952011-09-08 Martin Rudalics <rudalics@gmx.at>
6096
6097 * window.el (frame-auto-delete): Rename to window-auto-delete.
6098 Make it control auto-deletion of windows and/or frames.
6099 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 6100 for deleting window/frame. (Bug#9419)
8b0874b5
MR
6101 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6102 Rewrite handling of case when window/frame can be deleted.
6103 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 6104 argument t. (Bug#9456)
8b0874b5 6105
4feb6e73
CY
61062011-09-07 Chong Yidong <cyd@stupidchicken.com>
6107
6108 * help-mode.el (help-mode): Restore autoload.
6109
91ab9c13
JL
61102011-09-07 Juri Linkov <juri@jurta.org>
6111
6112 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6113 `compilation-environment'. Set buffer-local
6114 `compilation-environment' to `thisenv' later after (funcall mode).
6115 (Bug#8340)
6116
6117 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6118 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6119 instead of replacing its value. (Bug#8340)
6120
0527e251
JL
61212011-09-07 Juri Linkov <juri@jurta.org>
6122
6123 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6124 based on text properties put by `grep-filter' instead of matching
6125 escape sequences.
6126 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6127 to the value of `grep-error-screen-columns' (bug#9438).
6128
249f792c
JL
61292011-09-07 Juri Linkov <juri@jurta.org>
6130
6131 * simple.el (next-error-highlight, next-error-highlight-no-select):
6132 Doc fix (bug#9432).
6133
ff7271b9
OT
61342011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6135
6136 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6137 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6138
183fc730
LL
61392011-09-07 Leo Liu <sdl.web@gmail.com>
6140
6141 * net/rcirc.el (rcirc-mode): Conditionally initialize
6142 rcirc-input-ring.
6143
77694924
SM
61442011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6145
6146 * emacs-lisp/find-func.el (find-function-C-source): Only set
6147 find-function-C-source-directory after checking that we found a source
6148 file there (bug#9440).
6149
d809b8eb
AM
61502011-09-06 Alan Mackenzie <acm@muc.de>
6151
6152 * isearch.el (isearch-other-meta-char): Wherever a key list is
6153 unread, "unread" the prefix arg, too. This fixes bug #8901.
6154
453de99f
OG
61552011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6156
6157 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6158
90439906
JL
61592011-09-05 Juri Linkov <juri@jurta.org>
6160
6161 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6162
f62bd846
JL
61632011-09-05 Juri Linkov <juri@jurta.org>
6164
6165 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6166 keeping point where processing of grep matches begins, and
6167 continue to delete remaining escape sequences from the same point.
6168 (grep-filter): Make leading zero optional in "0?1;31m" because
6169 git-grep emits "\033[1;31m" escape sequences unlike expected
6170 "\033[01;31m" as GNU Grep does (bug#9408).
6171 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6172
045820ec
JL
61732011-09-05 Juri Linkov <juri@jurta.org>
6174
6175 * subr.el (y-or-n-p): Capitalize "yes".
6176
f5e29b9b
MA
61772011-09-04 Michael Albinus <michael.albinus@gmx.de>
6178
6179 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6180 `tramp-cache-unload-hook' where appropriate.
6181 (tramp-methods): Rename `tramp-remote-sh' to
6182 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6183 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6184
6185 * net/tramp-sh.el (top): Don't require 'shell.
6186 (tramp-methods): Add `tramp-remote-shell' and
6187 `tramp-remote-shell-args' entries.
6188 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6189 (tramp-sh-handle-shell-command): Remove.
6190 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6191 Use `tramp-remote-shell'.
6192
2784c434
CY
61932011-09-03 Chong Yidong <cyd@stupidchicken.com>
6194
393a301e 6195 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
6196 (sendmail-query-once): Save directly to send-mail-function.
6197 Update message-send-mail-function too.
6198
6199 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6200
464cdf56
CS
62012011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6202
6203 * progmodes/python.el (python-mode-map): Use correct function to
6204 start python interpreter from menu-bar (as reported by Geert
6205 Kloosterman).
6206 (inferior-python-mode-map): Fix typo.
393a301e 6207 (python-shell-map): Remove.
464cdf56 6208
d37e5c87
DD
62092011-09-03 Deniz Dogan <deniz@dogan.se>
6210
6211 * net/rcirc.el (rcirc-print): Simplify code for
6212 rcirc-scroll-show-maximum-output. There is no need to walk
6213 through all windows to find the right one.
6214
f3ada0ee
CS
62152011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6216
6217 * help.el (help-return-method): Doc fix.
6218
1f3c99ca
MR
62192011-09-03 Martin Rudalics <rudalics@gmx.at>
6220
6221 * window.el (window-deletable-p): Don't return a non-nil value
6222 when there's a buffer that was shown in the window before.
6223 (Bug#9419)
393a301e
SM
6224 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6225 Set window's previous buffers to nil.
1f3c99ca 6226
a3cf097f
EZ
62272011-09-03 Eli Zaretskii <eliz@gnu.org>
6228
6229 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6230 newline before and after the tag line, so it doesn't interfere
6231 with determining the paragraph direction of bidirectional text.
6232
3d03de90
LL
62332011-09-03 Leo Liu <sdl.web@gmail.com>
6234
6235 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6236
c3313451
CY
62372011-09-02 Chong Yidong <cyd@stupidchicken.com>
6238
393a301e 6239 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
6240 (pop-to-buffer): Change interactive spec. Pass second argument
6241 directly to display-buffer.
6242 (display-buffer): Fix interactive spec. Use functionp to
6243 distinguish between a function and a list of functions.
6244
6245 * abbrev.el (edit-abbrevs):
6246 * arc-mode.el (archive-extract):
6247 * autoinsert.el (auto-insert):
6248 * bookmark.el (bookmark-bmenu-list):
6249 * files.el (find-file):
6250 * view.el (view-buffer):
6251 * progmodes/compile.el (compilation-goto-locus):
6252 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6253
89894cd8
CY
62542011-09-02 Chong Yidong <cyd@stupidchicken.com>
6255
6256 * window.el (display-buffer-alist): Doc fix.
6257 (display-buffer): Add docstring. Don't treat
6258 display-buffer-default specially.
6259 (display-buffer-reuse-selected-window)
6260 (display-buffer-same-window, display-buffer-maybe-same-window)
6261 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6262 (display-buffer-pop-up-window)
6263 (display-buffer-reuse-or-pop-window)
6264 (display-buffer-use-some-window): New functions.
6265 (display-buffer-default-action): Use them.
393a301e 6266 (display-buffer-default): Delete.
89894cd8
CY
6267 (pop-to-buffer-1): Fix choice of actions.
6268
ae0bc9fb
SM
62692011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6270
6271 * minibuffer.el (completion--insert-strings): Don't get confused by
6272 completion entries that end with an LF char.
6273
e9d90883
EZ
62742011-09-01 Eli Zaretskii <eliz@gnu.org>
6275
6276 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6277
437014c8
CY
62782011-09-01 Chong Yidong <cyd@stupidchicken.com>
6279
6280 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
6281 (display-buffer-same-window, display-buffer-other-window):
6282 New functions.
437014c8
CY
6283 (pop-to-buffer-1): New function. Use the above.
6284 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 6285 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
6286
6287 * view.el (view-buffer-other-window, view-buffer-other-frame):
6288 Just use pop-to-buffer.
6289
a5e063d5
TV
62902011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6291
6292 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6293
793d32bb
WH
62942011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6295
6296 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6297
d65e4c15
RS
62982011-08-31 Richard Stallman <rms@gnu.org>
6299
6300 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6301 of the separation of rmail-view-buffer from rmail-buffer.
6302 If you say no to "replace original", the decrypt is in the
6303 view buffer. If you say yes, the decrypt goes into the
6304 rmail buffer also.
6305
f818cd2a
MR
63062011-08-31 Martin Rudalics <rudalics@gmx.at>
6307
6308 * window.el (display-buffer-window): Rewrite doc-string.
6309 (display-buffer-record-window): New function.
6310 (display-buffer-macro-specifiers)
6311 (display-buffer-even-window-sizes, display-buffer-set-height)
6312 (display-buffer-set-width, display-buffer-in-window)
6313 (display-buffer-reuse-window, display-buffer-split-specifiers)
6314 (display-buffer-side-specifiers, display-buffer-split-window-1)
6315 (display-buffer-split-window, display-buffer-split-atom-window)
6316 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6317 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6318 (display-buffer-other-window-means-other-frame)
6319 (display-buffer-normalize-special)
6320 (display-buffer-normalize-default)
6321 (display-buffer-normalize-argument)
6322 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6323 (display-buffer-normalize-specifiers, display-buffer-frame)
6324 (display-buffer-same-window, display-buffer-same-frame)
6325 (display-buffer-other-window)
6326 (display-buffer-same-frame-other-window)
6327 (display-buffer-other-frame, pop-to-buffer-same-window)
6328 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6329 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6330 (switch-to-buffer-same-frame)
6331 (switch-to-buffer-other-window-same-frame)
6332 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6333 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6334 (display-buffer-alist-set): Remove.
6335 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
6336 (special-display-regexps, special-display-function):
6337 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
6338 parameter.
6339 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6340 (special-display-frame-alist, special-display-popup-frame)
6341 (same-window-buffer-names, same-window-regexps, same-window-p)
6342 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6343 (split-window-preferred-function, split-height-threshold)
6344 (split-width-threshold, window-splittable-p)
6345 (split-window-sensibly, window--try-to-split-window)
6346 (window--frame-usable-p, even-window-heights)
6347 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
6348 (window--display-buffer-2, display-buffer-other-frame):
6349 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
6350 (display-buffer-default, display-buffer-assq-regexp): New functions.
6351 (display-buffer-alist): Rewrite doc-string.
6352 (display-buffer-default-action)
6353 (display-buffer-overriding-action): New variables.
6354 (display-buffer, switch-to-buffer): Rewrite.
6355 (pop-to-buffer): Restore Emacs 23 behavior but use
6356 window-normalize-buffer-to-display.
6357 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6358 Restore Emacs 23 behavior but use
6359 window-normalize-buffer-to-switch-to.
6360 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
6361 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6362 Rewrite using Emacs 23 options.
f818cd2a 6363
5bc3b51d
MA
63642011-08-31 Michael Albinus <michael.albinus@gmx.de>
6365
6366 * net/tramp.el (tramp-root-regexp): Remove.
6367 (tramp-completion-file-name-regexp-unified)
6368 (tramp-completion-file-name-regexp-separate)
6369 (tramp-completion-file-name-regexp-url): Don't use leading volume
6370 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
6371 (tramp-drop-volume-letter): Simplify definition.
6372 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 6373
b1a4f8e1
SM
63742011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6375
6376 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6377 (bug#9356).
6378
5664fa7b
RT
63792011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6380
b1a4f8e1 6381 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 6382
9a45d6c3
JL
63832011-08-29 Juri Linkov <juri@jurta.org>
6384
6385 * isearch.el (isearch-done): Don't display message "Mark saved"
6386 when arg `edit' is non-nil to prevent its flicker in the echo area.
6387
fb87e0fb
CY
63882011-08-28 Chong Yidong <cyd@stupidchicken.com>
6389
6390 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6391 obsolete packages for deletion.
6392
09ac1c2a
CS
63932011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6394
6395 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 6396 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
6397 view-mode from help-mode.
6398 (help-xref-override-view-map): Remove.
6399 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6400 view-mode is not used anymore.
6401
7a1ff57f
CY
64022011-08-28 Chong Yidong <cyd@stupidchicken.com>
6403
6404 * server.el (server-port): Doc fix.
6405
b9696605
CY
6406 * cus-theme.el (custom-theme-choose-mode): Inherit from
6407 special-mode (Bug#9124).
6408 (custom-theme-choose-mode-map): Add special-mode to parent.
6409
ef8cdf8c
AM
64102011-08-28 Alan Mackenzie <acm@muc.de>
6411
6412 * progmodes/cc-fonts.el
6413 (c-make-font-lock-BO-decl-search-function): New function.
6414 (c-basic-matchers-after - "Fontify the clauses after various
6415 keywords"): Extract the three keyword lists for the 3 erroneous
6416 constructs from the list of four, and use the new function above
6417 in place of an old one.
6418
27de4e20
DD
64192011-08-28 Deniz Dogan <deniz@dogan.se>
6420
6421 * net/rcirc.el (rcirc-insert-prev-input)
6422 (rcirc-insert-next-input): Remove unused argument.
6423
356a3681
SM
64242011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6425
6426 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6427
3fc9b218
AM
64282011-08-27 Alan Mackenzie <acm@muc.de>
6429
6430 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6431 handle function pointer parameters properly.
6432
538a061c
MR
64332011-08-27 Martin Rudalics <rudalics@gmx.at>
6434
6435 * window.el (display-buffer-reuse-window): Fix case where
6436 selected window was reused with non-nil OTHER-WINDOW argument.
6437 (Bug#9381)
6438
35b1c40c
DD
64392011-08-27 Deniz Dogan <deniz@dogan.se>
6440
6441 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6442 oftc's NickServ messages.
6443
2f6a3e79
GM
64442011-08-27 Glenn Morris <rgm@gnu.org>
6445
6446 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6447
7254299e
CY
64482011-08-26 Chong Yidong <cyd@stupidchicken.com>
6449
6450 * emacs-lisp/package.el (package-install): Call package-initialize
6451 if called interactively.
6452
f8ccf167
LL
64532011-08-26 Leo Liu <sdl.web@gmail.com>
6454
6455 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6456
3e8cd5ce
JL
64572011-08-25 Juri Linkov <juri@jurta.org>
6458
6459 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6460 `search-whitespace-regexp' (bug#9364).
6461
93eb7113
JL
64622011-08-25 Juri Linkov <juri@jurta.org>
6463
6464 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6465 `regexp-search-ring' to their global values to protect from
6466 updating by `read-from-minibuffer' (bug#9185).
6467
f65d1611
JL
64682011-08-25 Juri Linkov <juri@jurta.org>
6469
6470 * textmodes/ispell.el (ispell-command-loop): Add newline
6471 at the end of the "Use option `i'..." line.
6472
f1cf7a31
JL
64732011-08-25 Juri Linkov <juri@jurta.org>
6474
6475 * battery.el (display-battery-mode): If `battery-status-function'
6476 or `battery-mode-line-format' is nil, display the message and set
6477 `display-battery-mode' to nil (bug#9363).
6478
0c95fcf7
EZ
64792011-08-25 Eli Zaretskii <eliz@gnu.org>
6480
6481 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6482 bidi-string-mark-left-to-right; they are unnecessary now.
6483
a2ebe600
DD
64842011-08-25 Deniz Dogan <deniz@dogan.se>
6485
6486 * net/quickurl.el: Documentation typo fixes.
6487
e4ed06f1
CY
64882011-08-25 Chong Yidong <cyd@stupidchicken.com>
6489
6490 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6491
e5f1c99e
GM
64922011-08-25 Glenn Morris <rgm@gnu.org>
6493
b2948976
GM
6494 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6495
e5f1c99e
GM
6496 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6497 (smtpmail-via-smtp): Handle nil response from smtp.
6498
f22f4808
JL
64992011-08-24 Juri Linkov <juri@jurta.org>
6500
6501 * proced.el (proced-marked): Inherit from `error' instead of
6502 `font-lock-warning-face'.
6503
6504 * ibuffer.el (ibuffer-marked-face): Change default face from
6505 `font-lock-warning-face' to `warning'.
6506 (ibuffer-deletion-face): Change default face from
6507 `font-lock-type-face' to `error'.
6508
6509 * battery.el (battery-update): Use the face `error' instead of
6510 `font-lock-warning-face' (bug#6117).
6511
6a93965e
JL
65122011-08-24 Juri Linkov <juri@jurta.org>
6513
6514 * faces.el (success): Change face color from "Green3" to
6515 "ForestGreen" on light background (bug#9353).
6516
1ed43b09
CY
65172011-08-24 Chong Yidong <cyd@stupidchicken.com>
6518
5664fa7b
RT
6519 * window.el (quit-window): Rename from quit-restore-window.
6520 Use same arglist as old quit-window.
1ed43b09
CY
6521 (frame-auto-delete): Doc fix.
6522
6523 * view.el (view-mode-exit): Use quit-window.
6524
11dcdbb2
JL
65252011-08-24 Juri Linkov <juri@jurta.org>
6526
6527 * isearch.el (isearch-ring-adjust1): Start visiting previous
6528 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6529 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6530 for empty search string (when the last search string is reused
6531 automatically) to adjust the isearch ring to the last element and
6532 prepare the correct index for further M-p commands (bug#9185).
6533
de62b4df
KH
65342011-08-24 Kenichi Handa <handa@m17n.org>
6535
6536 * international/ucs-normalize.el: If decomposition property of
6537 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6538 nil.
6539 (nfd, nfkd): Likewise.
6540
963b492b
SM
65412011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6542
6543 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6544 from process filters aren't reliably transmitted to the surrounding
6545 accept-process-output.
6546 (mpc-proc-check): New function.
6547 (mpc-proc-sync): Use it (bug#8293)
6548
93b6b5e1
SM
65492011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6550
6551 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6552 Add compatibility functions (bug#9313).
6553
bca633fb
EZ
65542011-08-23 Eli Zaretskii <eliz@gnu.org>
6555
b177498a
EZ
6556 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6557
6df6ae42 6558 * international/uni-bidi.el: Regenerate.
bca633fb 6559
0902a04e
KH
65602011-08-23 Kenichi Handa <handa@m17n.org>
6561
6562 * international/charprop.el:
6563 * international/uni-bidi.el:
6564 * international/uni-category.el:
6565 * international/uni-combining.el:
6566 * international/uni-comment.el:
6567 * international/uni-decimal.el:
6568 * international/uni-decomposition.el:
6569 * international/uni-digit.el:
6570 * international/uni-lowercase.el:
6571 * international/uni-mirrored.el:
6572 * international/uni-name.el:
6573 * international/uni-numeric.el:
6574 * international/uni-old-name.el:
6575 * international/uni-titlecase.el:
6576 * international/uni-uppercase.el: Regenerate.
6577
3bbf23bc
MR
65782011-08-23 Martin Rudalics <rudalics@gmx.at>
6579
6580 * help.el (help-window-setup): Fix message displayed when other
6581 window is reused. (Bug#9341)
6582
b3fd59bd
SM
65832011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6584
1802e444
SM
6585 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6586 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6587
b3fd59bd
SM
6588 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6589 Mark obsolete.
6590 * shell.el (shell-parse-pcomplete-arguments): New function.
6591 (shell-completion-vars): Use it instead (bug#9160).
6592
4eb61348
SM
65932011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6594
867cab74
SM
6595 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6596 strings and comments (bug#9333).
6597
4eb61348
SM
6598 * emacs-lisp/debug.el (debug-arglist): New function.
6599 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6600 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6601
262a1439
JL
66022011-08-22 Juri Linkov <juri@jurta.org>
6603
56ee679c
JL
6604 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6605 Revert regexp that highlights output switches to its old
6606 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6607
262a1439
JL
6608 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6609 to check for empty output (bug#9226).
6610
f13f86fb
CY
66112011-08-22 Chong Yidong <cyd@stupidchicken.com>
6612
6613 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6614 symbol-constituent as the default, as that stops font-lock from
6615 working properly (Bug#8843).
6616
c65c9622
LMI
66172011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6618
6619 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6620 `coding-system-for-*' around the process open call to avoid
6621 auth-source side effects.
e7f2c178 6622 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
6623 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6624 probe hangs.
c65c9622 6625
23a8a5ab
CY
66262011-08-21 Chong Yidong <cyd@stupidchicken.com>
6627
ff98b2dd
CY
6628 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6629
23a8a5ab
CY
6630 * emacs-lisp/find-func.el (find-function-noselect): New arg
6631 lisp-only.
6632
6633 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6634 signal an error for built-in functions (Bug#6664).
6635
f5e3c598
LMI
66362011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6637
6638 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6639 (smtpmail-try-auth-methods): Use it.
6640
a3f2468a
CY
66412011-08-21 Chong Yidong <cyd@stupidchicken.com>
6642
2c34e8da
CY
6643 * font-lock.el (font-lock-fontify-region)
6644 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6645 (font-lock-default-unfontify-buffer)
6646 (font-lock-default-fontify-region)
6647 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6648
b3fd59bd
SM
6649 * progmodes/compile.el (compilation-error-properties):
6650 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
6651 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6652 `ant' regexp.
ee31aabc 6653
a3f2468a
CY
6654 * net/browse-url.el (browse-url-firefox): Don't call
6655 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6656
8e999f70
GM
66572011-08-20 Glenn Morris <rgm@gnu.org>
6658
c21a496a
GM
6659 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6660
59ee0542
GM
6661 * tutorial.el (tutorial--default-keys): Update some default bindings.
6662
8e999f70
GM
6663 * files.el (hack-local-variables): Fully ignore case for "mode:".
6664
e3715033
AM
66652011-08-20 Alan Mackenzie <acm@muc.de>
6666
6667 Resolve invalid use of a regexp in regexp-opt.
6668
4d61f28d
JB
6669 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6670 detection for a java annotation.
e3715033 6671
4d61f28d 6672 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
6673 detection for a java annotation.
6674
4d61f28d
JB
6675 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6676 handling for java.
e3715033
AM
6677 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6678
04ed2e9c
CY
66792011-08-20 Chong Yidong <cyd@stupidchicken.com>
6680
6681 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6682 (Bug#9274).
6683
826cee64
AM
66842011-08-20 Alan Mackenzie <acm@muc.de>
6685
58179cce 6686 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
6687 such a construct. Mainly for when jit-lock etc. starts a chunk
6688 here.
6689
58179cce 6690 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 6691 variable.
58179cce 6692 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
6693 c-make-font-lock-search-function.
6694 (c-make-font-lock-search-function): Use the above function.
6695 (c-make-font-lock-context-search-function): New function.
6696 (c-cpp-matchers): Enhance the preprocessor expression case with
6697 the above function
6698 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6699 which takes an expression.
6700
6701 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6702
13009bd8
MR
67032011-08-20 Martin Rudalics <rudalics@gmx.at>
6704
6705 * window.el (display-buffer-reuse-window)
6706 (display-buffer-pop-up-window): Don't reuse or split a side
6707 window.
6708
9234ff7f
GM
67092011-08-19 Glenn Morris <rgm@gnu.org>
6710
6711 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 6712 Downcase "Mode:". (Bug#9331)
9234ff7f 6713
f635daa1
CY
67142011-08-18 Chong Yidong <cyd@stupidchicken.com>
6715
6716 * international/characters.el: Add L and R categories.
6717
6718 * subr.el (bidi-string-mark-left-to-right): Rename from
6719 string-mark-left-to-right. Use category search.
6720
6721 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6722
bc987f8b
JL
67232011-08-18 Juri Linkov <juri@jurta.org>
6724
6725 * faces.el (error, warning, success): New faces with definitions
6726 copied from old default values of `font-lock-warning-face',
6727 `compilation-warning', `compilation-info' (bug#6117).
6728
6729 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6730
6731 * progmodes/compile.el (compilation-error): Inherit from `error'.
6732 (compilation-warning): Inherit from `warning'.
6733 (compilation-info): Inherit from `success'.
6734
6735 * dired.el (dired-marked): Inherit from `warning'.
6736 (dired-flagged): Inherit from `error'.
6737
57173b96
LMI
67382011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6739
3e79eb87
LMI
6740 * mail/smtpmail.el (auth-source): Require to avoid problems with
6741 binding variables (bug#9298). Also clean up some unused
6742 autoloads.
6743
b3fd59bd
SM
6744 * net/network-stream.el (network-stream-open-starttls):
6745 Support using starttls.el without using gnutls-cli.
57173b96 6746
02b404de
JL
67472011-08-17 Juri Linkov <juri@jurta.org>
6748
6749 * progmodes/grep.el (rgrep): Handle the case when
6750 `grep-find-command' is a cons cell (bug#9278).
6751
8c9177f2
MR
67522011-08-17 Martin Rudalics <rudalics@gmx.at>
6753
6754 * window.el (display-buffer-pop-up-frame): Run frame creation
6755 function with BUFFER current (as special-display-popup-frame
6756 does). Reported by Drew Adams.
6757
3644a0ab
DU
67582011-08-17 Daiki Ueno <ueno@unixuser.org>
6759
6760 * epa-mail.el: Simplify GnuPG group expansion using
6761 epg-expand-group.
6762 (epa-mail-group-alist, epa-mail-group-modtime)
6763 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6764 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6765 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6766 Remove.
6767
5e617bc2 67682011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
6769
6770 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6771
9c4aeabf
AM
67722011-08-16 Alan Mackenzie <acm@muc.de>
6773
6774 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6775 Correct, to avoid the inside of macros.
6776
3a99bf64
RS
67772011-08-16 Richard Stallman <rms@gnu.org>
6778
04963aa8
RS
6779 * epa-mail.el: Handle GnuPG group definitions.
6780 (epa-mail-group-alist, epa-mail-group-modtime)
6781 (epa-mail-gnupg-conf-file): New variables.
6782 (epa-mail-parse-groups, epa-mail-sync-groups)
6783 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6784 (epa-mail-expand-recipients): New functions.
6785 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6786
177549d0
RS
6787 * mail/rmail.el (rmail-epa-decrypt): New command.
6788
fe38beef
RS
6789 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6790 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
6791 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6792 (epa-decrypt-armor-in-region): Make error message clearer.
6793
934eacb9
SM
67942011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6795
6796 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6797 and "a2b" to "ab" for `prefix'.
6798
d024fb4e
CY
67992011-08-14 Chong Yidong <cyd@stupidchicken.com>
6800
6801 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6802 filter groups.
de148fee
CY
6803 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6804 Fourquet (Bug#8804).
d024fb4e 6805
62f1ca49
JB
68062011-08-12 Juanma Barranquero <lekktu@gmail.com>
6807
6808 * startup.el (argi): Declare as global variable (bug#9275).
6809
9ccaaa4b
CY
68102011-08-12 Chong Yidong <cyd@stupidchicken.com>
6811
6812 * subr.el (string-mark-left-to-right): Search the entire string
6813 for RTL script, not just the terminating character. Doc fix.
6814
a3dae87a
SM
68152011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6816
6cd18349
SM
6817 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6818 New function.
6819 (js--regexp-literal, js-syntax-propertize-function): Remove.
6820 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6821 (js-mode-map): Don't rebind electric keys.
6822 (js-insert-and-indent): Remove.
6823 (js-mode): Setup electric-layout and electric-indent instead.
6824
a3dae87a
SM
6825 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6826
9d5cb631
DU
68272011-08-12 Daiki Ueno <ueno@unixuser.org>
6828
6829 * epa.el (epa-progress-callback-function): Fix the logic of
6830 displaying progress.
6831 * epa-file.el (epa-file-insert-file-contents): Make progress
6832 display more user-friendly.
6833 (epa-file-write-region): Ditto.
6834
3e26a4a2
CY
68352011-08-10 Chong Yidong <cyd@stupidchicken.com>
6836
6837 * subr.el (string-mark-left-to-right): New function.
6838
6839 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6840 Use string-mark-left-to-right.
6841 (list-buffers-noselect): Caller changed.
6842
a3dae87a
SM
6843 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6844 Use string-mark-left-to-right.
3e26a4a2
CY
6845 (tabulated-list-print): Recenter after moving point.
6846
ac8cf6e6
JL
68472011-08-10 Juri Linkov <juri@jurta.org>
6848
6849 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6850 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6851 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6852
8d96c9a4
CY
68532011-08-09 Chong Yidong <cyd@stupidchicken.com>
6854
6855 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6856 (Bug#7554).
6857
7be1c708 68582011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
6859
6860 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6861 character. (Bug#6594)
6862
37e11a63
CY
68632011-08-08 Chong Yidong <cyd@stupidchicken.com>
6864
839dde57
CY
6865 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6866 (image-dired--with-db-file): New macro.
6867 (image-dired-write-tags, image-dired-remove-tag)
6868 (image-dired-create-gallery-lists, image-dired-write-comments)
6869 (image-dired-get-comment, image-dired-mark-tagged-files)
6870 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6871 (image-dired-gallery-generate): Use insert-file-contents.
6872
37e11a63
CY
6873 * time.el (display-time-world-list, display-time-world-display):
6874 * time-stamp.el (time-stamp-string):
6875 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6876 set-time-zone-rule (Bug#7337).
6877
0b4946c4
DU
68782011-08-08 Daiki Ueno <ueno@unixuser.org>
6879
6880 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6881 (epg-error-to-string, epg-errors-to-string): New function.
6882 (epg-wait-for-completion): Reverse errors list.
6883 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6884 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6885 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6886 (epg-sign-keys, epg-generate-key-from-file)
6887 (epg-generate-key-from-string): Format errors by using
6888 epg-errors-to-string (bug#9255).
6889 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6890
75bfc667
JL
68912011-08-07 Juri Linkov <juri@jurta.org>
6892
6893 * faces.el (list-faces-display): Remove extra angle bracket
6894 from `help-mode-map'.
6895
6896 * info.el (Info-history-toc-nodes): Doc fix.
6897
6898 * longlines.el (longlines-mode): Doc fix.
6899
673e08bb
SM
69002011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6901
4640dd88
SM
6902 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6903 of statements and in a few more cases (bug#9183).
6904
673e08bb
SM
6905 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6906 New functions.
6907 (cl-transform-lambda): Use them (bug#9239).
6908
89b3f019
MR
69092011-08-05 Martin Rudalics <rudalics@gmx.at>
6910
6911 * window.el (display-buffer-same-window)
6912 (display-buffer-same-frame, display-buffer-other-window)
6913 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6914 (pop-to-buffer-other-window)
6915 (pop-to-buffer-same-frame-other-window)
6916 (pop-to-buffer-other-frame): Make them defuns.
6917 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6918
640c8776
SM
69192011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6920
6921 * subr.el (make-composed-keymap): Move from C. Change calling
6922 convention, and improve docstring to bring attention to a subtle point.
6923 * minibuffer.el (completing-read-default): Adjust accordingly.
6924
63648a95
MA
69252011-08-03 Michael Albinus <michael.albinus@gmx.de>
6926
6927 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6928 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6929
6930 * net/trampver.el: Update release number.
6931
b796c9b7
SM
69322011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6933
6934 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6935 "in" (bug#9190).
6936
2239d7d5
LMI
69372011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6938
e07dd7c3
LMI
6939 * mail/sendmail.el (sendmail-query-once): Restore the current
6940 buffer after querying (bug#9074).
6941
0e6a2bd7
LMI
6942 * dired.el (dired-flagged): Use different faces for marked and
6943 flagged files (bug#6117).
6944
ce887515
LMI
6945 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6946 (bug#4433).
6947
92f2affc
LMI
6948 * ido.el (ido-mode): Switch off the message if called
6949 non-interactively.
6950
57d5aff0
LMI
6951 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6952 before 587, since it appears that that's more likely to work for
6953 more people.
6954
98cd6c18 6955 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 6956 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
6957 exist.
6958
b96dec83
LMI
6959 * info.el: Remove the `Info-beginning-of-buffer' function
6960 (bug#8325).
6961
b796c9b7
SM
6962 * net/network-stream.el (network-stream-open-starttls):
6963 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 6964
d90e2ea0
MR
69652011-08-01 Martin Rudalics <rudalics@gmx.at>
6966
6967 * window.el (display-buffer-in-window): Don't set dedicated status
6968 of window here (Bug#9215).
6969 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6970 (display-buffer-pop-up-side-window)
b796c9b7 6971 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 6972
cca09170
SM
69732011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6974
6975 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6976 before binding generated-autoload-file.
6977
027b979c
DD
69782011-08-01 Deniz Dogan <deniz@dogan.se>
6979
6980 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6981
3c7ee4f3
MA
69822011-07-30 Michael Albinus <michael.albinus@gmx.de>
6983
6984 Sync with Tramp 2.2.2.
6985
6986 * net/trampver.el: Update release number.
6987
2cc8e51a
JL
69882011-07-30 Juri Linkov <juri@jurta.org>
6989
6990 * dired-aux.el (dired-touch-initial): Remove function.
6991 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6992 current time, and `default' to the last modification time of the
6993 current marked file (bug#6887).
6994
a514d856
JM
69952011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6996
6997 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 6998 numeric argument to read-number (bug#9163).
a514d856 6999
8a7eddd7
MA
70002011-07-27 Michael Albinus <michael.albinus@gmx.de>
7001
7002 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7003 connection process, it could be nil.
7004
1ddd96f5
LL
70052011-07-27 Leo Liu <sdl.web@gmail.com>
7006
7007 Simplify url handling in rcirc-mode.
7008
7009 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7010 (rcirc-browse-url-at-mouse): Remove.
7011 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7012
b248a85d
AM
70132011-07-26 Alan Mackenzie <acm@muc.de>
7014
7015 Fontify bitfield declarations properly.
7016
7017 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7018 (c-symbol-chars): Now exported as a lang variable.
7019 (c-not-primitive-type-keywords): New lang variable.
7020
7021 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7022 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 7023 parsed as a bitfield declaration.
b248a85d 7024
b796c9b7
SM
7025 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7026 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
7027 (c-punctuation-in): New function.
7028 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7029 declarations properly.
7030
68575ab0
UJ
70312011-07-26 Ulf Jasper <ulf.jasper@web.de>
7032
7033 * calendar/icalendar.el (icalendar--all-events): Take care of
7034 multiple vcalendars in a single file.
b796c9b7 7035 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 7036
0f0a88b9
DD
70372011-07-25 Deniz Dogan <deniz@dogan.se>
7038
7039 * image.el (insert-image): Clarifying docstring.
7040
0b3f36df
MA
70412011-07-24 Michael Albinus <michael.albinus@gmx.de>
7042
7043 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7044 `tramp-send-command-and-check' if there is no error.
7045 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7046
a9901f61
AM
70472011-07-22 Alan Mackenzie <acm@muc.de>
7048
7049 Prevent cc-langs.elc being loaded at run time.
7050
7051 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7052 cc-langs.
7053
4d61f28d 7054 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
7055 "(require 'cc-langs)". Quote a form so it will evaluate at
7056 (cc-mode's) compilation time.
7057
11d074b2
MA
70582011-07-22 Michael Albinus <michael.albinus@gmx.de>
7059
7060 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7061 loading. (Bug#9114)
7062
938b94c8
MR
70632011-07-21 Martin Rudalics <rudalics@gmx.at>
7064
7065 * window.el (display-buffer-pop-up-window)
7066 (display-buffer-pop-up-side-window)
7067 (display-buffer-in-side-window): Call display-buffer-set-height
7068 and display-buffer-set-width after setting the new window's
b796c9b7 7069 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 7070
bfa4f190
SS
70712011-07-20 Sam Steingold <sds@gnu.org>
7072
7073 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7074 (etags-tags-included-tables): Call `convert-standard-filename' on
7075 the file names contained in TAGS so that windows Emacs can handle
7076 TAGS files created by cygwin ctags.
7077
8ca42262
LMI
70782011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7079
7080 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7081 which apparently didn't work.
7082
5db2afd2 70832011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 7084
5db2afd2
RW
7085 * proced.el (proced-send-signal): For *Marked Processes* buffer
7086 put point at beginning of buffer.
7087
92e15d10
SB
70882011-07-19 Stephen Berman <stephen.berman@gmx.net>
7089
7090 * proced.el (proced-format): Make header lines align with the text
7091 (bug#1779).
7092
1bfd59e5
LMI
70932011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7094
7095 * view.el (view-buffer): Allow running in `special' modes if we're
7096 visiting a file (bug#8615).
7097
f5aae37c
MR
70982011-07-19 Martin Rudalics <rudalics@gmx.at>
7099
7100 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
7101 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7102 New functions.
f5aae37c
MR
7103 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7104 more accurately.
7105
bf2c1571
AM
71062011-07-18 Alan Mackenzie <acm@muc.de>
7107
7108 Fontify declarators properly when, e.g., a jit-lock chunk begins
7109 inside a declaration.
7110
7111 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7112
b796c9b7
SM
7113 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7114 New function.
bf2c1571
AM
7115 (c-complex-decl-matchers): Insert reference to
7116 c-font-lock-enclosing-decls.
7117
7118 * progmodes/cc-engine.el (c-backward-single-comment):
7119 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7120 to nil around calls to (forward-comment -1).
7121
4e190b80
LMI
71222011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7123
12dc863d
LMI
7124 * image.el (put-image): Doc typo fix.
7125
a762e966
LMI
7126 * progmodes/etags.el (tags-search): Doc typo fix.
7127
4e190b80
LMI
7128 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7129 password if we get errors 550 to 554.
7130
f019fb21
LMI
71312011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7132
b796c9b7 7133 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 7134
81746738
LMI
7135 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7136 indentation character (bug#6380).
7137
3ee3a1b5
LMI
7138 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7139
c82f64de
LMI
7140 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7141 to clarify what the problem is (bug#4291).
7142
f019fb21
LMI
7143 * simple.el (current-kill): Clarify what
7144 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
7145 (auto-fill-mode): Document `auto-fill-function' in relation to
7146 `auto-fill-mode' (bug#2470).
f019fb21 7147
0794775d
LM
71482011-07-16 Lawrence Mitchell <wence@gmx.li>
7149
7150 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7151 method if slot is read-only (bug#9035).
7152
be39b8cc
MR
71532011-07-16 Martin Rudalics <rudalics@gmx.at>
7154
b796c9b7 7155 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 7156 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
7157 selected before, see discussion of (Bug#8615), (Bug#6954).
7158 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 7159
6ccf7859
GM
71602011-07-15 Glenn Morris <rgm@gnu.org>
7161
7162 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 7163 Respect help-form.
6ccf7859 7164
87e86684
LM
71652011-07-09 Lawrence Mitchell <wence@gmx.li>
7166
7167 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7168 (gnutls-negotiate): Use it.
7169
d6066239
LMI
71702011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7171
b796c9b7
SM
7172 * net/gnutls.el (gnutls-negotiate):
7173 Upcase `gnutls-algorithm-priority'.
d6066239 7174
bd23ebc0
GM
71752011-07-15 Glenn Morris <rgm@gnu.org>
7176
c65bca65
GM
7177 * jka-compr.el (jka-compr-verbose): Move from here...
7178 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7179 Add missing :version tag.
7180 * info.el: No need to require jka-compr when compiling.
bd23ebc0 7181
478615cc
LMI
71822011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7183
7b41decb
LMI
7184 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7185 (gnutls-negotiate): Use it.
7186
dbc44fcd
LMI
7187 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7188
06789f97
LMI
7189 * info.el (Info-beginning-of-buffer): New command.
7190 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7191 announcing `b' as the key (bug#8325).
ab896c37 7192 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 7193
c39da690
LMI
7194 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7195
3aa5f34b
LMI
7196 * international/mule-cmds.el
7197 (describe-specified-language-support): Make the error message
7198 clearer (bug#8905).
7199
4bf0979f
LMI
7200 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7201
478615cc
LMI
7202 * isearch.el (isearch-barrier): Add a doc string, since it's
7203 mentioned in a function doc string (bug#8678).
7204
75c68aa1
MR
72052011-07-15 Martin Rudalics <rudalics@gmx.at>
7206
7207 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7208 buffer argument (Bug#9083) and self-identifying label argument.
7209
a7c33da2
GM
72102011-07-15 Glenn Morris <rgm@gnu.org>
7211
7212 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7213
2f5c6024
LMI
72142011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7215
7216 * man.el (Man-fontify-manpage): Fix message when formatting the
7217 man page (bug#7929).
7218
0bb23927 72192011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
7220
7221 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7222 argument LRM; if non-nil, append an invisible LRM character to the
7223 buffer name.
7224 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7225 last argument non-nil, when formatting buffer names.
0bb23927
EZ
7226 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7227 paragraph direction.
cce4b0a7 7228
621ef9ab
LMI
72292011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7230
d1583c48
LMI
7231 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7232 the man page name (bug#7929).
7233
6a57fb5f
LMI
7234 * image.el (put-image): Mention the `put-image' overlay property
7235 (bug#7834).
7236
d7956b14
LMI
7237 * scroll-bar.el (set-scroll-bar-mode): Mention that
7238 `scroll-bar-mode' lists the values (bug#7772).
7239
5b2d4a66
LMI
7240 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7241 command (bug#7729).
7242
7509a874
LMI
7243 * rect.el (apply-on-rectangle): Return the point after the last
7244 operation.
7245 (string-rectangle): Go to the point after the last operation
7246 (bug#7522).
7247
4fe74b19
LMI
7248 * printing.el (pr-toggle-region): Clarify the documentation
7249 slightly (bug#7493).
7250
b796c9b7
SM
7251 * time.el (display-time-update):
7252 Allow `display-time-mail-function' to return nil (bug#7158).
7253 Fix suggested by Detlev Zundel.
ab283561 7254
fc233c9d
LMI
7255 * vc/diff.el (diff): Clarify the order the file names are read
7256 (bug#7111).
7257
43f5740b
LMI
7258 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7259 the doc string (bug#7015).
7260
f2182a76
LMI
7261 * font-lock.el (font-lock-maximum-decoration): Mention what
7262 numeric levels mean (bug#6935).
7263
621ef9ab
LMI
7264 * startup.el (initial-buffer-choice): Don't mention the `none'
7265 selection, which is against policy.
7266
adc47434
MR
72672011-07-14 Martin Rudalics <rudalics@gmx.at>
7268
b796c9b7
SM
7269 * window.el (display-buffer-normalize-special):
7270 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 7271
7e5bfb8f
EZ
72722011-07-14 Eli Zaretskii <eliz@gnu.org>
7273
7274 * subr.el (version<, version<=, version=): Mention "-CVS" and
7275 "-12345" alpha version numbers.
7276
27fa387a
CY
72772011-07-14 Chong Yidong <cyd@stupidchicken.com>
7278
7279 * bindings.el: Add advertised binding for set-mark-command
7280 (Bug#5772).
7281
8bdfa064
CY
72822011-07-14 Chong Yidong <cyd@stupidchicken.com>
7283
7284 * bindings.el (mode-line-other-buffer):
7285 * bookmark.el (bookmark-bmenu-2-window):
7286 * bs.el (bs-cycle-next, bs-cycle-previous):
7287 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7288 switch-to-buffer.
7289
7290 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 7291 Delete.
8bdfa064 7292
5eba16a3
JB
72932011-07-14 Juanma Barranquero <lekktu@gmail.com>
7294
7295 * follow.el (follow-debug-message, follow-redisplay):
7296 * jka-cmpr-hook.el (with-auto-compression-mode):
7297 Fix typos in docstrings.
7298
15853710
LMI
72992011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7300
a28e4607
LMI
7301 * subr.el (with-silent-modifications): Clarify somewhat what the
7302 macro inhibits (bug#6525).
7303
15853710
LMI
7304 * simple.el (eval-expression): Note what it does if called
7305 interactively (bug#6495).
7306
bee0fcef
CY
73072011-07-13 Chong Yidong <cyd@stupidchicken.com>
7308
b796c9b7
SM
7309 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7310 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
7311
7312 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7313 Remove switch-to-buffer.
7314
58274504
LMI
73152011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7316
bd2fcc8d
LMI
7317 * files.el (make-directory): Clarify that an error will be raised
7318 if there's an error (bug#6397).
7319
0f04b32c
LMI
7320 * startup.el (initial-buffer-choice): Add `none' as a choice
7321 (bug#6234).
7322
465c5fc8
LMI
7323 * subr.el (add-hook): Clarify section about buffer-local hooks
7324 (bug#6218).
7325
58274504
LMI
7326 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7327
bead9a43
JB
73282011-07-13 Juanma Barranquero <lekktu@gmail.com>
7329
7330 * tabify.el (untabify): Preserve the current column so that point
7331 doesn't move (bug#6032).
7332
3af98a7b
LMI
73332011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7334
b796c9b7
SM
7335 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7336 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 7337
6240145a
GM
73382011-07-13 Glenn Morris <rgm@gnu.org>
7339
7340 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7341 (dired-insert-directory): Give a message the first time
7342 if ls is found not to support --dired.
7343
1d8c2ccc
LMI
73442011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7345
7346 * simple.el (toggle-truncate-lines): Clarify what is toggled
7347 (bug#5580). Text by Drew Adams.
7348
5fc4038e
CY
73492011-07-13 Chong Yidong <cyd@stupidchicken.com>
7350
7351 * simple.el (blink-matching-open): Make the error message from the
7352 last change less verbose.
7353
bf6012e5
DN
73542011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7355
7356 * font-lock.el (font-lock-comment-face): Use the high contrast
7357 "yellow" color for font-lock-comment-face on low color terminals
7358 using a dark background color (bug#4221).
7359
343c3b5a
LMI
73602011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7361
7e9505c5
LMI
7362 * dired.el (dired-insert-set-properties): Make the doc string
7363 reflect what it does now (bug#5325).
7364
c26fdcf5
LMI
7365 * simple.el (blink-matching-open): Say that we were unable to find
7366 the match within the limit, if we're limited (bug#5122).
7367
bb388cc5
LMI
7368 * international/mule-cmds.el (prefer-coding-system): Add an
7369 example (bug#4869).
7370
343c3b5a
LMI
7371 * progmodes/etags.el (tags-search): Document `file-list-form'
7372 (bug#4731).
7373
2a517d45
LM
73742011-07-13 Lawrence Mitchell <wence@gmx.li>
7375
7376 * net/browse-url.el (browse-url-default-browser)
7377 (browse-url-browser-function): Make the default browser choice a
7378 bit more logical (bug#4300). Also clean up the doc string.
7379
b6c78ef2
JB
73802011-07-13 Juanma Barranquero <lekktu@gmail.com>
7381
7382 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7383 binary endings (bug#4440).
7384
1c4dd947
LMI
73852011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7386
a2014063
LMI
7387 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7388 which can be pretty annoying (bug#8971).
7389
9c9c2d88
LMI
7390 * jka-compr.el (jka-compr-verbose): New variable, and use
7391 throughout (bug#8971).
7392
1c4dd947
LMI
7393 * info.el (Info-find-file): Fall back on the installation
7394 directory if we can't find the info node anywhere else.
7395
a1c9f41b
SO
73962011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7397
7398 * vc/vc.el (vc-revert-file):
7399 Don't set file time-stamp in the past. (Bug#5181)
7400
536f3d36
LMI
74012011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7402
7152b011
LMI
7403 * files.el (after-find-file): Give a better error message when
7404 trying to find a symlink that points to a file that doesn't exist
7405 (bug#4398).
7406
536f3d36
LMI
7407 * progmodes/cc-vars.el: Remove (probably) misleading comment
7408 (bug#4396).
7409
460c0fba
JB
74102011-07-12 Johan Bockgård <bojohan@gnu.org>
7411
7412 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7413
7a6bda45
CY
74142011-07-12 Chong Yidong <cyd@stupidchicken.com>
7415
7416 * mouse-sel.el: Hack restoring functionality, while keeping
7417 compatibility with 2010-07-03 changes to mouse selection.
7418 (mouse-sel-primary-overlay): New var.
7419 (mouse-sel-selection-alist): Use it.
7420 (mouse-sel-mode): Doc fix; remove points that are default features
7421 of mouse.el.
7422
c79598ef
JB
74232011-07-12 Johan Bockgård <bojohan@gnu.org>
7424
7425 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7426 Fix previous fix (bug#2490).
7427
ff8be6ef
RW
74282011-07-12 Roland Winkler <winkler@gnu.org>
7429
b796c9b7
SM
7430 * textmodes/bibtex.el (bibtex-initialize):
7431 Use pop-to-buffer-same-window.
ff8be6ef
RW
7432 (bibtex-search-entries): Fix interactive call.
7433
296ba3ee
LMI
74342011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7435
f5242a02 7436 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
7437 Fontise bytecomp Error lines more correctly (bug#2490).
7438 Fix suggested by Johan Bockgård.
f5242a02 7439
296ba3ee
LMI
7440 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7441
7442 * dired-x.el (dired-guess-default): Use `delete-dups'.
7443
f69fd0d2
CY
74442011-07-12 Chong Yidong <cyd@stupidchicken.com>
7445
7446 * dired.el (dired-mark-prompt):
7447 * dired-aux.el (dired-read-shell-command): Doc fix.
7448
eab5dc07
LMI
74492011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7450
b796c9b7
SM
7451 * mail/sendmail.el (sendmail-query-once):
7452 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
7453 emacs -Q.
7454
7455 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7456
eab5dc07
LMI
7457 * cus-edit.el (custom-file): Take an optional no-error variable.
7458 (customize-save-variable): Set the variable, and give a warning if
7459 running under "emacs -q".
7460
a1e65d42
JB
74612011-07-11 Juanma Barranquero <lekktu@gmail.com>
7462
7463 * loadhist.el (unload-feature-special-hooks):
7464 Add `auto-coding-functions', `fill-nobreak-predicate' and
7465 `find-directory-functions' (bug#5327).
7466
1d52da10
LMI
74672011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7468
be958f1d
LMI
7469 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7470
5bedb26c
LMI
7471 * cus-edit.el (custom-guess-name-alist): -alist variables should
7472 use the `alist' type (bug#3120). Suggested by Drew Adams.
7473
1d52da10
LMI
7474 * printing.el: Add documentation to all the `pr-toggle-' commands.
7475
cd394be1 74762011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
7477
7478 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7479 backends where it makes sense (bug#2623).
7480
dcc88d8a
LMI
74812011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7482
c3de9feb
LMI
7483 * dired-x.el (dired-guess-default): Remove duplicate shell command
7484 entries (bug#2028).
8a93078b 7485 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 7486 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 7487
dcc88d8a
LMI
7488 * subr.el (remove-duplicates): New conveniency function.
7489
505e3645
LMI
74902011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7491
7492 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7493 (bug#1526).
7494
74952011-07-10 Martin Rudalics <rudalics@gmx.at>
7496
7497 * window.el (display-buffer-normalize-default): Don't invert
7498 meaning of even-window-heights. Reported by Eli Zaretskii
7499 <eliz@gnu.org>.
7500
455e4fa1
BR
75012011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7502
7503 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7504
8e0bc3e9
CY
75052011-07-10 Chong Yidong <cyd@stupidchicken.com>
7506
7507 * window.el (display-buffer): Fix arguments to
7508 display-buffer-reuse-window in last change.
7509
fa7c3228
CY
7510 * faces.el (link): Use a less saturated blue on light backgrounds.
7511
7512 * startup.el (fancy-startup-text, fancy-about-text)
7513 (fancy-startup-tail): Use font-lock faces, for background safety.
7514
c0a7f300
BN
75152011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7516
b796c9b7
SM
7517 * emulation/viper-cmd.el (viper-change-state-to-vi):
7518 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 7519
4dc2a129
MR
75202011-07-09 Martin Rudalics <rudalics@gmx.at>
7521
7522 * window.el (display-buffer-default-specifiers): Remove.
7523 (display-buffer-macro-specifiers): Remove default specifiers.
7524 (display-buffer-alist): Default to nil.
b796c9b7 7525 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
7526 (display-buffer-pop-up-window): Allow splitting internal
7527 windows. Check whether a live window was created.
7528 (display-buffer-other-window-means-other-frame)
7529 (display-buffer-normalize-arguments): Rename to
7530 display-buffer-normalize-argument and rewrite. Set the
7531 other-window specifier.
7532 (display-buffer-normalize-special): New function.
7533 (display-buffer-normalize-options): Rename to
7534 display-buffer-normalize-default and rewrite.
7535 (display-buffer-normalize-options-inhibit): Remove.
7536 (display-buffer-normalize-specifiers): Rewrite.
7537 (display-buffer): Process other-window specifier and call
7538 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7539 more faithfully.
b796c9b7 7540 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 7541 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
7542 (display-buffer-in-window, display-buffer-alist-set):
7543 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
7544 <tassilo@member.fsf.org>.
7545
2d43b8c9
LL
75462011-07-09 Leo Liu <sdl.web@gmail.com>
7547
7548 * register.el (insert-register): Restore accidental change on
7549 2011-06-26. (Bug#9028)
7550
7f9b7c53
GM
75512011-07-09 Glenn Morris <rgm@gnu.org>
7552
7553 * subr.el (remq): Handle the empty list. (Bug#9024)
7554
f042cfd8
AS
75552011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7556
7557 * mail/sendmail.el (send-mail-function): No longer delay custom
7558 initialization.
7559 * custom.el (custom-initialize-delay): Doc fix.
7560
856b2f11
SM
75612011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7562
7563 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7564
afae1d68
MA
75652011-07-08 Michael Albinus <michael.albinus@gmx.de>
7566
7567 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7568 human-friendly prompt.
7569
0757af94
SM
75702011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7571
7572 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7573 provided by a particular plugin.
7574
d760b731
LMI
75752011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7576
7577 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7578 save customizations (with "emacs -Q"), just set the variable
7579 instead of erroring out.
7580
7581 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7582
cd79ce90
JL
75832011-07-08 Juri Linkov <juri@jurta.org>
7584
7585 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7586 (archive-zip-update-case): Use 7z if found by `executable-find'.
7587 The order of searching the available programs is the same as in
7588 `archive-zip-extract' (bug#8968).
7589
14cc04aa
CY
75902011-07-07 Chong Yidong <cyd@stupidchicken.com>
7591
7592 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7593 (menu-bar-options-menu): Tweak descriptions.
7594
0a1848ec
LMI
75952011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7596
7597 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7598 menu items into verb phrases (bug#1421). Also refill to fit under
7599 80 columns.
7600
f5bd0689
CY
76012011-07-07 Chong Yidong <cyd@stupidchicken.com>
7602
538e85c6
CY
7603 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7604 (Info-read-node-name): Doc fix (Bug#1084).
7605
f5bd0689
CY
7606 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7607 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7608 (end-of-sexp, beginning-of-sexp)
7609 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7610 (forward-symbol, forward-same-syntax, word-at-point)
7611 (sentence-at-point): Doc fix (Bug#1144).
7612
56ec5115
LMI
76132011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7614
f3f8e37f
LMI
7615 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7616 should cover it (bug#1281).
7617
0757af94 7618 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 7619
e9fce1ac 7620 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
7621 negotiation fails, then possibly try again with a non-encrypted
7622 connection (bug#9017).
7623
56ec5115
LMI
7624 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7625 be used.
7626
c2f9aec8
RS
76272011-07-07 Richard Stallman <rms@gnu.org>
7628
7629 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7630 property, and handle its changed format.
7631 Look for the correct line number.
7632 Use file's line contents (but not past first =) to find
7633 correct line in message.
7634
ef7b981d 76352011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
7636
7637 * international/characters.el (build-unicode-category-table):
7638 Delete it.
0757af94 7639 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 7640
0757af94 7641 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
7642 to src/chartab.c.
7643 (get-char-code-property): Call unicode-property-table-internal to
7644 load a file. Call get-unicode-property-internal where necessary.
7645 (put-char-code-property): Call unicode-property-table-internal to
7646 load a file. Call put-unicode-property-internal where necessary.
7647 put-unicode-property-internal where necessary.
0757af94
SM
7648 (char-code-property-description):
7649 Call unicode-property-table-internal to load a file.
c805dec0
KH
7650
7651 * international/charprop.el:
7652 * international/uni-bidi.el:
7653 * international/uni-category.el:
7654 * international/uni-combining.el:
7655 * international/uni-comment.el:
7656 * international/uni-decimal.el:
7657 * international/uni-decomposition.el:
7658 * international/uni-digit.el:
7659 * international/uni-lowercase.el:
7660 * international/uni-mirrored.el:
7661 * international/uni-name.el:
7662 * international/uni-numeric.el:
7663 * international/uni-old-name.el:
7664 * international/uni-titlecase.el:
7665 * international/uni-uppercase.el: Regenerate.
7666
7667 * loadup.el: Load international/charprop.el before
7668 international/characters.
7669
e14b388a
CY
76702011-07-07 Chong Yidong <cyd@stupidchicken.com>
7671
7672 * window.el (next-buffer, previous-buffer): Signal an error if
7673 called from a minibuffer window.
7674
7675 * bindings.el: Revert 2011-07-04 change.
7676
354cf0ba
RS
76772011-07-06 Richard Stallman <rms@gnu.org>
7678
7679 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7680 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7681 Treat markers like ints.
7682 (rmail-mime-entity): Doc fix.
7683
a48868a7
LMI
76842011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7685
4906cd3d
LMI
7686 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7687 defcustom again for backwards compatibility.
7688
e0457abe
LMI
7689 * simple.el (shell-command-on-region): Fill.
7690
d67f7e1f
LMI
7691 * dired-aux.el (dired-kill-line): Add a doc string.
7692
fe204702
LMI
7693 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7694 to "\\sw\\|\\s_" (bug#358).
7695
a48868a7
LMI
7696 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7697 (dired-unmark-backward): Ditto.
7698 (dired-flag-backup-files): Ditto.
7699
7700 * dired-x.el (dired-mark-sexp): Ditto.
7701
aa8a705c
RS
77022011-07-06 Richard Stallman <rms@gnu.org>
7703
7704 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7705 (rmail-mime-entity): New arg TRUNCATED.
7706 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7707 New functions.
7708 (rmail-mime-save): Warn if entity is truncated.
7709 (rmail-mime-toggle-hidden): Likewise, for showing.
7710 (rmail-mime-process-multipart): Record when an entity is truncated.
7711
a9a936b9
RS
7712 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7713 if ENTITY is a string.
7714
1f2b92cb
LMI
77152011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7716
f4f73198 7717 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
7718 of faces when `M-C-x'-ing their definitions (bug#8378).
7719 Also clean up the code slightly.
f4f73198 7720
12b16734 7721 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 7722 because that makes the colors go away.
12b16734 7723
f0691d22
LMI
7724 * mail/sendmail.el (send-mail-function): Change the default to
7725 `sendmail-query-once'.
9e87df06 7726 (sendmail-query-once): Add an autoload cookie.
f0691d22 7727
1f2b92cb
LMI
7728 * net/network-stream.el (network-stream-open-starttls): Try using
7729 a plain connection even if the server offered STARTTLS, and we
7730 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7731 capability. This should make smtpmail.el work in slightly more
7732 configurations.
7733
1cdd2a1b
MA
77342011-07-06 Michael Albinus <michael.albinus@gmx.de>
7735
7736 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7737 New defun.
7738 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7739
fbcc67e2
MM
77402011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7741
7742 * progmodes/sql.el: Version 3.0
0757af94 7743 (sql-product-alist): Add product :completion-object,
fbcc67e2 7744 :completion-column, and :statement attributes.
0757af94 7745 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 7746 (sql-mode-syntax-table): Mark all punctuation.
0757af94 7747 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
7748 ansi keywords.
7749 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 7750 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
7751 (sql-oracle-show-reserved-words): New function for development.
7752 (sql-product-font-lock): Simplify for source code buffers.
7753 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7754 New functions.
7755 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
7756 (sql-mode-map): Add statement movement functions.
7757 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7758 New variable.
fbcc67e2
MM
7759 (sql-statement-regexp, sql-beginning-of-statement)
7760 (sql-end-of-statement, sql-signum): New functions.
0757af94 7761 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
7762 (sql-show-sqli-buffer): Bug fix.
7763 (sql-interactive-mode): Store connection data as buffer local.
0757af94 7764 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
7765 with sql-interactive-mode.
7766 (sql-save-connection): Save buffer local settings.
0757af94 7767 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
7768 (sql-product-interactive): Bug fix.
7769 (sql-preoutput-hold): New variable.
7770 (sql-interactive-remove-continuation-prompt): Bug fixes.
7771 (sql-debug-redirect): New variable.
7772 (sql-str-literal): New function.
7773 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 7774 Redesign.
fbcc67e2
MM
7775 (sql-oracle-save-settings, sql-oracle-restore-settings)
7776 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7777 (sql-completion-object, sql-completion-column)
7778 (sql-completion-sqlbuf): New variables.
7779 (sql-build-completions-1, sql-build-completions)
7780 (sql-try-completion): New functions.
7781 (sql-read-table-name): Use them.
7782 (sql-contains-names): New buffer local variable.
7783 (sql-list-all, sql-list-table): Use it.
7784 (sql-oracle-completion-types): New variable.
7785 (sql-oracle-completion-object, sql-sqlite-completion-object)
7786 (sql-postgres-completion-object): New functions.
7787
d4eaeab1
GM
77882011-07-06 Glenn Morris <rgm@gnu.org>
7789
7790 * window.el (pop-to-buffer): Doc fix.
7791
322b7dab 77922011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
7793
7794 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7795
322b7dab 77962011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 7797
322b7dab 7798 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 7799
322b7dab 7800 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 7801
605dd5bf
CY
78022011-07-05 Chong Yidong <cyd@stupidchicken.com>
7803
7804 * button.el (button): Inherit from link face. Suggested by Dan
7805 Nicolaescu.
7806
7dbfa719
SM
78072011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7808
3db614b0
SM
7809 * progmodes/gdb-mi.el: Fit in 80 columns.
7810 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7811 switch-to-buffer.
7812
7dbfa719
SM
7813 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7814 if imenu is simply not configured (bug#8941).
7815
919d884a
KM
78162011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7817
7818 * allout.el (allout-post-undo-hook): New allout outline-change
7819 event hook to signal undo activity.
7820 (allout-post-command-business): Run allout-post-undo-hook if an
7821 undo just occurred.
7dbfa719
SM
7822 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7823 * allout-widgets.el (allout-widgets-after-undo-function):
7824 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
7825 in the vicinity of an undo.
7826 (allout-widgets-mode): Include allout-widgets-after-undo-function
7827 on the new allout-post-undo-hook.
7828
450a0f09
SM
78292011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7830
7831 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7832 Let define-derived-mode define it.
7833 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7834 cycles of abbrev-table inheritance (bug#8998).
7835
2de69e00
RW
78362011-07-05 Roland Winkler <winkler@gnu.org>
7837
7838 * textmodes/bibtex.el: Add support for biblatex.
7839 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7840 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7841 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7842 (bibtex-entry-alist, bibtex-field-alist): New variables.
7843 (bibtex-entry-field-alist): Obsolete alias for
7844 bibtex-BibTeX-entry-alist.
7845 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7846 (bibtex-set-dialect): New command.
7847 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
7848 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7849 Bind via bibtex-set-dialect.
2de69e00
RW
7850 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7851 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7852 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7853 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7854 Define via bibtex-set-dialect.
450a0f09
SM
7855 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7856 Obey bibtex-no-opt-remove-re.
2de69e00
RW
7857 (bibtex-vec-push, bibtex-vec-incr): New functions.
7858 (bibtex-format-entry, bibtex-field-list)
7859 (bibtex-print-help-message, bibtex-validate)
7860 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7861
2dcdbdd9
SM
78622011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7863
7864 * progmodes/compile.el (compilation-goto-locus):
7865 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7866 * bs.el (bs-cycle-next, bs-cycle-previous):
7867 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7868 * bindings.el (mode-line-other-buffer):
7869 * autoinsert.el (auto-insert):
7870 * arc-mode.el (archive-extract):
7871 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7872
b27640fe
JB
78732011-07-05 Juanma Barranquero <lekktu@gmail.com>
7874
7875 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7876 Fix check of `emacs-lock-unlockable-modes'.
7877 Coerce true values of `emacs-lock--try-unlocking' to t.
7878
53bbe3ad
JB
78792011-07-05 Juanma Barranquero <lekktu@gmail.com>
7880
7881 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7882 * emacs-lock.el: New file.
7883
1d3cdbc7
JD
78842011-07-05 Julien Danjou <julien@danjou.info>
7885
7886 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7887 than `boundp' to check if face is set.
7888
9173deec
JB
78892011-07-05 Juanma Barranquero <lekktu@gmail.com>
7890
7891 * register.el (registerv-make):
7892 * window.el (window-min-height): Fix typos in docstrings.
7893
869795d6
JD
78942011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7895
9173deec 7896 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
7897 Update doc string.
7898
b768cdcd
JB
78992011-07-04 Juanma Barranquero <lekktu@gmail.com>
7900
7901 * server.el (server-execute): Catch quit and call
7902 `server-return-error' to pass the error back to emacsclient and
7903 close the connection (bug#8942).
7904
13aa217b
KM
79052011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7906
7907 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7908 insecure exception for current topic. Also note that auto-saves
7909 are handled differently.
7910
7911 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7912 State variables for tracking auto-save inhibition situation.
7913
7914 (allout-write-contents-hook-handler): Rename from
7915 'allout-write-file-hook-handler', and describe how it depends on
7916 write-contents-functions sensitivity to non-nil value to prevent
7917 file write.
7918
7919 (allout-auto-save-hook-handler): Remove. auto-save does not check
7920 this in individual buffers, only in the starting buffer, so this
7921 is not the right way for us to inhibit auto-save in a buffer
7922 according to its condition.
7923
7924 (allout-mode): Use new allout-write-contents-hook-handler, and
7925 only with write-contents-functions. Remove auto-save provisions -
7926 they're implemented elsewhere.
7927
7928 (allout-before-change-handler): If undo is in progress, note that
7929 for attention of allout-post-command-business.
7930
7931 (allout-post-command-business): If the command we're following was
7932 an undo, check for change in the status of encrypted items and
7933 adjust auto-save inhibitions accordingly.
7934
7935 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7936 according to whether there are or aren't any plain-text topics
7937 pending encryption.
7938
2dcdbdd9 7939 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
7940 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7941 if there are plain-text topics pending encryption.
13aa217b
KM
7942
7943 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7944 buffer-saved-size and some allout state to not inhibit auto-saves
7945 if there are no longer any plain-text topics pending encryption.
7946
0757af94
SM
7947 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7948 No longer provide for exemption of the current topic.
13aa217b 7949
ac89b32c
JL
79502011-07-04 Juri Linkov <juri@jurta.org>
7951
7952 Add 7z operations to delete and save changed members (bug#8968).
7953 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7954 New defcustoms.
7955 (archive-7z-write-file-member): New function.
7956 (archive-7z-summarize): Fix the number of dashes in the
7957 listing output.
7958
8fa39615
SM
79592011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7960
7961 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7962 (bug#8958).
7963
2f11b3f1
CY
79642011-07-04 Chong Yidong <cyd@stupidchicken.com>
7965
d66fef2b
CY
7966 * bindings.el: Ignore next-buffer and previous-buffer in
7967 minibuffer-local-map.
7968
2f11b3f1
CY
7969 * font-lock.el (font-lock-builtin-face): Change light background
7970 color to dark slate blue (Bug#6693).
7971
f932a347
WD
79722011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7973
7974 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7975
c8af70e1
SM
79762011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7977
7978 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7979 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7980 Add switch-to-buffer.
7981
f158badc
LMI
79822011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7983
7984 * isearch.el (isearch-search-fun-function): Clarify further the
7985 meaning of the function returned.
7986
6d95bd46
MA
79872011-07-04 Michael Albinus <michael.albinus@gmx.de>
7988
7989 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7990
7991 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7992 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7993 Use it.
7994 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7995 `tramp-default-remote-path' does not exist.
7996 (tramp-send-command-and-read): New optional argument NOERROR.
7997 (tramp-open-connection-setup-interactive-shell)
7998 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7999 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8000 (tramp-process-sentinel): Flush also process' connection property.
8001 (tramp-sh-handle-start-file-process): Do not set process
8002 sentinel. It is done now ...
8003 (tramp-maybe-open-connection): ... here. (Bug#8929)
8004
909e6b67
MK
80052011-07-04 MON KEY <monkey@sandpframing.com>
8006
8007 * play/animate.el (animate-string): Doc fixes and allow changing
8008 the buffer name (bug#5417).
8009
80102011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8011
c8af70e1 8012 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 8013
f34755dc
PE
80142011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8015
396cec72
PE
8016 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8017 This is simpler and helps future-proof the code.
8018 (timer-until): Use time-subtract and float-time.
08235028 8019 (timer--time-less-p): Use time-less-p.
f34755dc 8020
56e6cc31
JB
80212011-07-04 Juanma Barranquero <lekktu@gmail.com>
8022
3abb79e5
JB
8023 * type-break.el (timep): Use the value of `float-time' to avoid a
8024 byte-compiler warning.
8025
56e6cc31
JB
8026 * server.el (server-eval-and-print): Return any result, even nil.
8027
7b9430b4
PE
80282011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8029
8030 * type-break.el: Accept time formats that the builtins accept.
8031 (timep, type-break-time-difference): Accept any format that
8032 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8033 This is simpler and helps future-proof the code.
8034 (type-break-time-difference): Round rather than ignoring
8035 subseconds components.
8036
3034e9e7
LMI
80372011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8038
8039 * info.el (Info-apropos-matches): Make non-interactive, since it
8040 doesn't seem to do anything useful as a command (bug#8829).
8041
1485f4c0
CY
80422011-07-03 Chong Yidong <cyd@stupidchicken.com>
8043
8044 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 8045 Move from faces.el.
1485f4c0
CY
8046 (frame-default-terminal-background): New function.
8047
8048 * custom.el (custom-push-theme): Don't record faces in `changed'
8049 theme; this doesn't work correctly for per-frame face settings.
8050 (disable-theme): Use face-set-after-frame-default to reset faces.
8051 (custom--frame-color-default): New function.
8052
9fa3dd45
LMI
80532011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8054
c8af70e1 8055 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
8056 (bug#8769).
8057
6cbbc20c
KR
80582011-03-29 Kevin Ryde <user42@zip.com.au>
8059
8060 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8061 `perl-Test2' extend to match possible "fail #N" rep count
8062 (bug#8377).
8063
c7f98048
LMI
80642011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8065
65676592
LMI
8066 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8067 `smtpmail-via-smtp' now returns the error instead of nil.
8068
c7f98048
LMI
8069 * isearch.el (isearch-search-fun-function): Clarify the doc string
8070 (bug#8101).
8071
56e6cc31 80722011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
8073
8074 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8075 unnecessary spaces (bug#8987).
8076
2b216704
LMI
80772011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8078
8079 * net/network-stream.el (open-network-stream): Use the
8080 :end-of-capability command thoughout.
8081
80822011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8083
8084 * net/network-stream.el (open-network-stream): Add the
8085 :end-of-capability command parameter, used by pop3.el.
8086
36adf6ce
LMI
80872011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8088
1ca0da0e
LMI
8089 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8090
fc00f69c
LMI
8091 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8092 for list)" (bug#6475).
8093
28fd8759 8094 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 8095 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
8096 an error (bug#6297).
8097
0dd8b6da
LMI
8098 * man.el (Man-reference-regexp): Allow matching possible
8099 word-wrapped references (bug#6289).
8100
ce1438d6
LMI
8101 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8102 for consistency with the other vc buffers (bug#6197).
8103 (vc-checkin): Ditto.
8104
8105 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8106
36adf6ce
LMI
8107 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8108
e83cc1f7
LMI
81092011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8110
8a20ca4c
LMI
8111 * custom.el (defcustom): Clarify that :set is only used in the
8112 Customize user interface (bug#6089).
8113
83319045
LMI
8114 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8115 associated with a file, refuse to run instead of erroring out
8116 (bug#6084).
8117
a8392169
LMI
8118 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8119 the doc string, since it appears that using `fill-column' always
8120 controls the width (bug#7845).
8121
e83cc1f7
LMI
8122 * simple.el (shell-command-on-region): Say where the error output
8123 went if `shell-command-default-error-buffer' is set (bug#6857).
8124
e47ca23b
KM
81252011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8126
8127 * allout.el (allout-yank-processing): Adjust cursor position for
8128 backwards-deleted space.
8129
8130 (allout-rebullet-heading): Register changes with
8131 allout-exposure-changed-hook, so the modified topic is properly
8132 decorated.
8133
5cf56143
LMI
81342011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8135
08549772
LMI
8136 * minibuffer.el (completion-in-region): Document PREDICATE
8137 (bug#7136).
8138
48e96771
LMI
8139 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8140 of keyword/argument pairs (bug#6904).
8141
c8af70e1
SM
8142 * replace.el (multi-occur):
8143 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 8144
e17d05e2
LMI
81452011-07-02 Drew Adams <drew.adams@oracle.com>
8146
8147 * dired.el (dired-mark-if): Make the message about whether it's
8148 marking or unmarking clearer (bug#8523).
8149
063b0e45
LMI
81502011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8151
8152 * disp-table.el (display-table-print-array): New function.
8153 (describe-display-table): Use it to print the vectors more pretty
8154 (Bug#8859).
8155
28545e04
MR
81562011-07-02 Martin Rudalics <rudalics@gmx.at>
8157
8158 * window.el (window-state-get-1): Don't assign clone numbers.
8159 Add clone-of item to list of window parameters.
8160 (window-state-put-2): Don't process clone numbers.
8161 (display-buffer-alist): Fix doc-string.
8162
3349e122
SM
81632011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8164
8165 * subr.el (remq): Don't allocate if it's not needed.
8166 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8167 (keymap--merge-bindings): New functions.
8168 (keymap-canonicalize): Use them to refine the canonicalization.
8169 * minibuffer.el (minibuffer-local-completion-map)
8170 (minibuffer-local-must-match-map): Move initialization from C.
8171 (minibuffer-local-filename-completion-map): Move initialization from C;
8172 don't inherit from anything here.
8173 (minibuffer-local-filename-must-match-map): Make obsolete.
8174 (completing-read-default): Use make-composed-keymap to combine
8175 minibuffer-local-filename-completion-map with either
8176 minibuffer-local-must-match-map or
8177 minibuffer-local-filename-completion-map.
8178
d224ac83
GM
81792011-07-01 Glenn Morris <rgm@gnu.org>
8180
3de63bf8
GM
8181 * type-break.el (type-break-time-sum): Use dolist.
8182
d224ac83
GM
8183 * textmodes/flyspell.el (flyspell-word-search-backward):
8184 Replace CL function.
8185
1a1e3f32
SM
81862011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8187
fe3f64d5
SM
8188 * mouse.el (mouse--strip-first-event): New function.
8189 (function-key-map): Use it to map fringe clicks to normal clicks
8190 by default.
8191
eb604e34
SM
8192 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8193 (vc-bzr-revision-completion-table): Add support for annotate and date.
8194
1a1e3f32
SM
8195 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8196 inherit from parent.
8197
5bd35902
LMI
81982011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8199
ace6c69c 8200 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 8201 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 8202
191e2bed
LMI
8203 * dired.el (dired-mode): Fix up the doc string as suggested by
8204 Drew Adams (bug#8817).
8205
5bd35902
LMI
8206 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8207 cookie, since the manual says that it should be possible to add
8208 this function to `find-file-hook' (bug#8709).
8209
eee8207a
TZ
82102011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8211
8212 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8213 here. Noted Ted Zlatanov as the maintainer.
8214 (cfengine-common-settings, cfengine-common-syntax): New functions
8215 to set up common things between `cfengine-mode' and
8216 `cfengine3-mode'.
8217 (cfengine3-mode): New mode.
8218 (cfengine3-defuns cfengine3-defuns-regex
8219 (cfengine3-class-selector-regex cfengine3-category-regex)
8220 (cfengine3-vartypes cfengine3-font-lock-keywords)
8221 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 8222 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 8223
36b148cf
MA
82242011-07-01 Michael Albinus <michael.albinus@gmx.de>
8225
8226 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8227
8228 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8229
0bf4ba9a
MR
82302011-07-01 Martin Rudalics <rudalics@gmx.at>
8231
8232 * window.el (same-window-buffer-names, same-window-regexps)
8233 (same-window-p, special-display-frame-alist)
8234 (special-display-popup-frame, special-display-function)
8235 (special-display-buffer-names, special-display-regexps)
8236 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8237 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8238 (split-window-preferred-function, split-height-threshold)
8239 (split-width-threshold, even-window-heights)
8240 (display-buffer-mark-dedicated, window-splittable-p)
8241 (split-window-sensibly, window-safely-shrinkable-p):
8242 Un-obsolete.
8243 (display-buffer): Don't spread args with function specifier
8244 because special-display-popup-frame won't like it.
8245
35837f51
PE
82462011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8247
d0672f86
PE
8248 Time-stamp simplifications and fixes.
8249 These improve accuracy slightly, and future-proof the code
8250 against some potential changes to current-time format.
8251
b9444d97
PE
8252 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8253 by using time-since and float-time.
8254
0ef923dc
PE
8255 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8256 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8257 + NNN microseconds".
8258
2f81380d
PE
8259 * type-break.el (type-break-time-sum): Rewrite using time-add.
8260
845b5c3e
PE
8261 * play/hanoi.el (hanoi-current-time-float): Remove.
8262 All uses replaced by float-time.
8263
ee6f1be0
PE
8264 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8265 This yields a more-accurate answer.
8266 (rng-time-to-float): Remove; no longer needed.
8267
fe955043
PE
8268 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8269
5777162a
PE
8270 * calendar/timeclock.el (timeclock-seconds-to-time):
8271 Defalias to seconds-to-time, since they're the same thing.
8272
3103f8b6 8273 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 8274 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
8275 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8276
0e61a35f
SM
82772011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8278
8279 * window.el (bury-buffer): Don't iconify the only frame.
8280 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8281 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8282
ddd63a1e
CY
82832011-07-01 Chong Yidong <cyd@stupidchicken.com>
8284
0e61a35f
SM
8285 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8286 Add mouse-yank-primary.
ddd63a1e 8287
055f4923
TZ
82882011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8289
8290 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8291
6a2fb145
SM
82922011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8293
8294 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8295 (find-library-name): Use it to find relative load names when provided
8296 absolute file name (bug#8803).
8297
fd4983f2
LMI
82982011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8299
887d14ad
LMI
8300 * textmodes/flyspell.el (flyspell-word): Consider words that
8301 differ only in case as potential doublons (bug#5687).
8302
c53dc7fc
LMI
8303 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8304 Remove two rather uninteresting debugging-like messages to make
8305 debbugs.el more silent.
8306
fd4983f2
LMI
8307 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8308 a password-like phrase.
8309
7a71b18d 83102011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
8311
8312 * progmodes/cc-guess.el: New file.
8313
6a2fb145 8314 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
8315
8316 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8317 derived from `c-basic-common-init'.
8318
8319 * progmodes/cc-mode.el (top-level): Require cc-guess.
8320 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8321
1fa280a3
LM
83222011-06-30 Lawrence Mitchell <wence@gmx.li>
8323
8324 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8325
e6597158
AM
83262011-06-30 Alan Mackenzie <acm@muc.de>
8327
1fa280a3
LM
8328 * progmodes/cc-engine.el (c-guess-continued-construct):
8329 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
8330 lock is disabled. Name this case as "CASE G".
8331
68ba37fb
KM
83322011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8333
8334 * allout.el (allout-yank-processing): Fix injection of extra space
8335 between bullet and non-whitespace character in first topic when
8336 pasting, ensuring that the actual spacing in the pasted topic
8337 following the bullet char is preserved. This extra space was
8338 causing pasted encrypted topics to get a decrypted status even
8339 when the content was actually still encrypted. Now the decryption
8340 status from before the paste is preserved.
8341
8342 (allout-flag-region): Set all allout overlays so they evaporate
8343 when reduced to zero length (evanescent), to prevent overlay
8344 leakage.
8345
887a0b34
GM
83462011-06-30 Glenn Morris <rgm@gnu.org>
8347
94b9acce
GM
8348 * w32-fns.el (w32-charset-info-alist): Declare.
8349
1d9b46d4
GM
8350 * find-dired.el (find-grep-options): Simplify.
8351
cc232200
GM
8352 * term/ns-win.el (ns-set-resource): Declare.
8353
28e77c46
GM
8354 * ses.el (row, col): Declare dynamic variables honestly.
8355
887a0b34
GM
8356 * textmodes/reftex-parse.el (index-tags): Declare.
8357
658d8eb8
CY
83582011-06-30 Chong Yidong <cyd@stupidchicken.com>
8359
8360 * cus-edit.el (customize-push-and-save): New function.
8361
8362 * files.el (hack-local-variables-confirm): Use it.
8363
1fa280a3
LM
8364 * custom.el (load-theme): New arg NO-CONFIRM.
8365 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
8366 (custom-enabled-themes): Doc fix.
8367
8368 * cus-theme.el (customize-create-theme)
8369 (custom-theme-merge-theme): Callers to load-theme changed.
8370
bb617717
LMI
83712011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8372
d61bdd5d
LMI
8373 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8374 short URLs have at least one dot in them (bug #7614).
8375
bb617717
LMI
8376 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8377 nil, because using a pty is apparently too slow (bug #895).
8378
2f31f37a
LMI
83792011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8380
8381 * mail/sendmail.el (sendmail-query-once): New function.
8382 (sendmail-query-once-function): New variable.
8383
3076b24e
GM
83842011-06-29 Glenn Morris <rgm@gnu.org>
8385
faf2a174
GM
8386 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8387
3076b24e
GM
8388 * ses.el (top-level): Require cl when compiling.
8389 (ses-set-localvars): Fix error statement.
8390 Call it at compile time to silence a storm of warnings.
8391
5386012d
MR
83922011-06-29 Martin Rudalics <rudalics@gmx.at>
8393
8394 * window.el (normalize-live-buffer): Rename to
8395 window-normalize-buffer.
8396 (normalize-live-frame): Rename to window-normalize-frame.
8397 (normalize-any-window): Rename to window-normalize-any-window.
8398 (normalize-live-window): Rename to window-normalize-live-window.
8399 (make-window-atom): Rename to window-make-atom.
8400 (window-resize-reset): Rename to window--resize-reset.
8401 (window-resize-reset-1): Rename to window--resize-reset-1.
8402 (resize-mini-window): Rename to window--resize-mini-window.
8403 (resize-subwindows-skip-p): Rename to
8404 window--resize-subwindows-skip-p.
8405 (resize-subwindows-normal): Rename to
8406 window--resize-subwindows-normal.
8407 (resize-subwindows): Rename to window--resize-subwindows.
8408 (resize-other-windows): Rename to window--resize-siblings.
8409 (resize-this-window): Rename to window--resize-this-window.
8410 (resize-root-window): Rename to window--resize-root-window.
8411 (resize-root-window-vertically): Rename to
8412 window--resize-root-window-vertically.
8413 (normalize-buffer-to-display): Rename to
8414 window-normalize-buffer-to-display.
8415 (normalize-buffer-to-switch-to): Rename to
8416 window-normalize-buffer-to-switch-to.
8417 Correspondingly update all callers of the functions listed
8418 above.
8419 (display-buffer-alist, display-buffer-normalize-arguments)
8420 (display-buffer-normalize-options, display-buffer)
8421 (display-buffer-alist-set): Use "function" instead of
8422 "fun-with-args".
8423
1176868d
CY
84242011-06-28 Chong Yidong <cyd@stupidchicken.com>
8425
8426 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8427 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8428 debbugs.gnu.org. Mention acknowledgment email.
8429
20a7a65f
LMI
84302011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8431
8432 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8433 buffer multibyteness, since it shouldn't matter.
8434
5f45cca5
MR
84352011-06-28 Martin Rudalics <rudalics@gmx.at>
8436
8437 * window.el (display-buffer-in-side-window): Handle dedicated
8438 windows as in display-buffer-reuse-window.
8439 (display-buffer-normalize-alist): Use value of override
8440 specifier.
8441 (display-buffer-normalize-specifiers): Use value of
8442 other-window-means-other-frame specifier.
8443 (display-buffer-alist): Rewrite some texts in widgets.
8444 (display-buffer): Spread arguments when calling function
8445 specified by fun-with-args.
8446
ad85fe1f
DD
84472011-06-28 Deniz Dogan <deniz@dogan.se>
8448
1fa280a3
LM
8449 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8450 Unnest `let'.
da68c4c8 8451
ad85fe1f
DD
8452 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8453 selectors (Bug#5732).
ec49bd31 8454 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 8455
a08cc025
JA
84562011-06-27 Jari Aalto <jari.aalto@cante.net>
8457
8458 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8459 (eshell-ls-date-format): New defcustom.
8460 (eshell-ls-file): Use it.
8461
e2b551c5
SM
84622011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8463
8464 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8465
8982b231
KY
84662011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8467
8468 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8469 (ange-ftp-make-tmp-name): New arg.
8470 (ange-ftp-file-local-copy): Use it.
8471
36c9fa27
J
84722011-06-27 Jambunathan K <kjambunathan@gmail.com>
8473
8474 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8475 no-conversion (Bug#8870).
8476
d68443dc
MR
84772011-06-27 Martin Rudalics <rudalics@gmx.at>
8478
8479 * window.el (window-right, window-left, window-child)
8480 (window-child-count, window-last-child)
8481 (window-iso-combination-p, walk-window-tree-1)
8482 (window-atom-check-1, window-tree-1, delete-window)
8483 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8484 new naming conventions - window-vchild, window-hchild,
8485 window-next and window-prev are now called window-top-child,
8486 window-left-child, window-next-sibling and window-prev-sibling
8487 respectively.
d615d6d2
MR
8488 (resize-window-reset): Rename to window-resize-reset.
8489 (resize-window-reset-1): Rename to window-resize-reset-1.
8490 (resize-window): Rename to window-resize.
8491 (window-min-height, window-min-width)
8492 (resize-mini-window, resize-this-window, resize-root-window)
8493 (resize-root-window-vertically, adjust-window-trailing-edge)
8494 (enlarge-window, shrink-window, maximize-window)
8495 (minimize-window, delete-window, quit-restore-window)
8496 (split-window, balance-windows, balance-windows-area-adjust)
8497 (balance-windows-area, window-state-put-2)
8498 (display-buffer-even-window-sizes, display-buffer-set-height)
8499 (display-buffer-set-width, set-window-text-height)
8500 (fit-window-to-buffer): Rename all "resize-window" prefixed
8501 calls to use the "window-resize" prefix convention.
8502 (display-buffer-alist): Fix symbol for label specifier.
8503 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8504 corresponding specifier.
8505 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 8506
b6458526
VB
85072011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8508
8509 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8510 convention.
8511 (ses-call-printer): Does not pass an empty string to formatter when the
8512 cell is empty to keep from barking printer Calc math-format-value.
8513
d31fd9ac
RS
85142011-06-27 Richard Stallman <rms@gnu.org>
8515
43d5bf84
RS
8516 * battery.el (battery-mode-line-limit): New variable.
8517 (battery-update): Handle it.
8518
d31fd9ac
RS
8519 * mail/rmailmm.el (rmail-mime-process-multipart):
8520 Handle truncated messages.
8521
819a6054
GM
85222011-06-27 Glenn Morris <rgm@gnu.org>
8523
8524 * progmodes/flymake.el (flymake-err-line-patterns):
8525 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8526
cedc73f2
VB
85272011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8528
819a6054 8529 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
8530 (ses--clean-!, ses--clean-_): New functions.
8531 (ses-range): Add configurability of readout order, and conversion
8532 to Calc vector.
8533
5e5d49b6
VB
8534 * ses.el (ses-repair-cell-reference-all): New function.
8535 (ses-cell-symbol): Set macro as safe, so that it can be used in
8536 formulas.
8537
56e6cc31 8538 * ses.el: Update cycle detection algorithm.
90ca8b49 8539 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 8540 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
8541 (ses-set-localvars): New function.
8542 (ses-make-cell): Add property-list as a cell element.
8543 (ses-cell-property-get-fun, ses-cell-property-get)
8544 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
8545 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8546 New functions.
90ca8b49
VB
8547 (ses-cell-property-set, ses-cell-property-pop)
8548 (ses-cell-property-get-handle): New macro.
8549 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8550 New aliases, used for code readability.
8551 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8552 cycle detection.
8553 (ses-self-reference-early-detection): New defcustom.
fac916bf 8554 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
8555 (ses-mode): Use ses-set-localvars.
8556 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8557 before lauching the update processing.
8558 (ses-initialize-Dijkstra-attempt): New function.
8559 (ses-recalculate-cell): Update for cycle detection based on
8560 Dijkstra algorithm.
8561
2bb63e81
VB
8562 * ses.el: Fix commenting and indenting convention.
8563
c9d29fb8
SM
85642011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8565
8566 * bs.el (bs-cycle-next): Complete last change.
8567
d8e4b68b
JB
85682011-06-27 Drew Adams <drew.adams@oracle.com>
8569
8570 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8571
40098786
LMI
85722011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8573
c9d29fb8
SM
8574 * net/network-stream.el (network-stream-open-starttls):
8575 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
8576 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8577
40098786
LMI
8578 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8579 to binary to possibly avoid line encoding issues on Windows (among
8580 other things).
8581
468d09d4
LMI
85822011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8583
8584 * net/network-stream.el (open-network-stream): Return an :error
8585 saying what the problem was, if possible.
8586
8587 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8588 server.
8589
8590 * net/network-stream.el (network-stream-open-starttls): If we
8591 wanted to use STARTTLS, and the server offered it, but we weren't
8592 able to because we had no STARTTLS support, then close the connection.
8593 (open-network-stream): Return an :error element, if present.
8594
16f07dd7
CY
85952011-06-26 Chong Yidong <cyd@stupidchicken.com>
8596
88821ca0
CY
8597 * hl-line.el (hl-line-sticky-flag): Doc fix.
8598 (global-hl-line-sticky-flag): New option (Bug#8323).
8599 (global-hl-line-highlight): Obey it.
8600
16f07dd7
CY
8601 * vc/vc.el (vc-revert-show-diff): Default to t.
8602
6b5ccddf
KM
86032011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8604
c9d29fb8
SM
8605 * allout-widgets.el (allout-widgets-post-command-business):
8606 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
8607 undecorated when an isearch is continued past, and isearch
8608 automatically collapses them. This leads to "widget leaks", where
8609 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
8610 hidden widgets can slow down cursor travel, substantially.
8611 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
8612 so we're doing without this nicety.
8613
8614 (allout-widgets-tally-string): Don't try to do a hash-table-count
8615 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8616 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8617 *Messages* when allout-widgets-maintain-tally is t.
8618
355f2e07
MR
86192011-06-26 Martin Rudalics <rudalics@gmx.at>
8620
8621 * window.el (display-buffer-normalize-argument): Rename to
8622 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
8623 LABEL argument. Respect special-display-function when popping up
8624 a new frame. Fix code searching for a window showing the buffer
8625 on another frame.
c9d29fb8
SM
8626 (display-buffer-normalize-specifiers):
8627 Call display-buffer-normalize-arguments.
355f2e07
MR
8628 (display-buffer-in-window): Don't undedicate the window if its
8629 buffer remains the same.
8630 Reported by Drew Adams <drew.adams@oracle.com>.
8631 (display-buffer-alist): Add choice for same-window macro
8632 specfier.
8633 (display-buffer): Mention special meaning of LABEL argument in
8634 doc-string. Fix quoting. Don't pop up a new frame even as
8635 fallback.
8636
7ca8fc42
JB
86372011-06-26 Juanma Barranquero <lekktu@gmail.com>
8638
8639 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8640 avoid deleting the current window in some cases (bug#8911).
8641
bc312254
AS
86422011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8643
8644 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8645 (Bug#8934)
8646
2db18f3f
LMI
86472011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8648
c9d29fb8
SM
8649 * net/network-stream.el (network-stream-open-starttls):
8650 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
8651 (network-stream-open-tls): Ditto.
8652
6302e0d3
LL
86532011-06-26 Leo Liu <sdl.web@gmail.com>
8654
8655 * register.el (registerv): New struct.
8656 (registerv-make): New function.
c9d29fb8
SM
8657 (jump-to-register, describe-register-1, insert-register):
8658 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
8659 struct. (Bug#8415)
8660
5fdd4046
CY
86612011-06-26 Chong Yidong <cyd@stupidchicken.com>
8662
2afef60a
CY
8663 * vc/vc.el (vc-revert-show-diff): New defcustom.
8664 (vc-diff-internal): New arg specifying diff buffer.
8665 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8666 reuse an existing *vc-diff* buffer (Bug#8927).
8667
5fdd4046
CY
8668 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8669
e93db24a
GM
86702011-06-26 Glenn Morris <rgm@gnu.org>
8671
8672 * progmodes/f90.el (f90-critical-indent): New option.
8673 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8674 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8675 (f90-mode): Doc fix.
8676 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8677 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8678 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8679 (f90-match-end): Handle block, critical.
8680
eefff499
GM
86812011-06-25 Glenn Morris <rgm@gnu.org>
8682
f6ba4cc9
GM
8683 * calendar/diary-lib.el (diary-included-files): Doc fix.
8684 (diary-include-files): New function, extracted from
8685 diary-include-other-diary-files and diary-mark-included-diary-files.
8686 (diary-include-other-diary-files, diary-mark-included-diary-files):
8687 Just call diary-include-files.
8688 (diary-mark-entries): Reset diary-included-files on first call.
8689
16712304
GM
8690 * calendar/diary-lib.el (diary-mark-entries)
8691 (diary-mark-included-diary-files):
8692 Visit included diary-files in temp buffers.
8693
5d8e0d43
GM
8694 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8695 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8696 (f90-start-block-re, f90-imenu-generic-expression)
8697 (f90-looking-at-program-block-start, f90-no-block-limit):
8698 Add support for submodules.
8699
ccf7a5d5
GM
8700 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8701 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 8702
11fdef7d 87032011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
8704
8705 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8706 buffer-file-type before setting its value, to avoid disastrous
eefff499 8707 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 8708
74f53697
JB
87092011-06-25 Juanma Barranquero <lekktu@gmail.com>
8710
8711 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8712
8713 * ses.el (ses-unload-function):
8714 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8715
8716 * proced.el (proced-unload-function):
8717 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8718
18a4ce5e
AR
87192011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8720
8721 * server.el (server-create-window-system-frame): Add parameters arg.
8722 (server-process-filter): Doc fix. Handle frame-parameters.
8723
519d22cc
JB
87242011-06-25 Juanma Barranquero <lekktu@gmail.com>
8725
8726 Fix bug#8730, bug#8781.
8727
8728 * loadhist.el (unload--set-major-mode): New function.
8729 (unload-feature): Use it.
8730
8731 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8732 (python-unload-function): New function.
8733
c206f5b0
SM
87342011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8735
8736 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8737
f9ad64f3
GS
87382011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8739
8740 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8741 the candidates list.
8742
7d0da90e
JB
87432011-06-24 Juanma Barranquero <lekktu@gmail.com>
8744
8745 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8746
14b4e83d
RS
87472011-06-23 Richard Stallman <rms@gnu.org>
8748
8749 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8750 (rmail-variables): Set next-error-move-function.
8751 (rmail-what-message): Take argument POS.
8752 (rmail-next-error-move): New function.
8753
273d2baf
SM
87542011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8755
8756 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8757 messages for adjacent non-terminals.
8758
56c2cc9a
RS
87592011-06-23 Richard Stallman <rms@gnu.org>
8760
8761 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 8762 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
8763 (rmail-start-mail): Don't specify use of rmail-mail-return;
8764 that's done by mail-bury now.
8765 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 8766
d59eb518
MA
87672011-06-23 Michael Albinus <michael.albinus@gmx.de>
8768
8769 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8770 SIZE is a number.
8771
02cfc6d6
MR
87722011-06-23 Martin Rudalics <rudalics@gmx.at>
8773
8774 * window.el (get-lru-window, get-mru-window)
8775 (get-largest-window): Never return a minibuffer window.
8776 (display-buffer-pop-up-window): Fix a bug that could lead to
8777 reusing the minibuffer window.
8778 (display-buffer): Pass original specifier argument to
8779 display-buffer-function instead of the normalized one.
8780 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8781
4e323265
LL
87822011-06-22 Leo Liu <sdl.web@gmail.com>
8783
8784 * minibuffer.el (completing-read-function)
8785 (completing-read-default): Move from minibuf.c
8786
7a70468f
RS
87872011-06-22 Richard Stallman <rms@gnu.org>
8788
50718fc2
RS
8789 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8790 to Rmail even if not started by a special Rmail command.
8791
7a70468f
RS
8792 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8793 Copy the buffer currently showing just one message.
8794
297dde5a
RW
87952011-06-22 Roland Winkler <winkler@gnu.org>
8796
8797 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8798 (bibtex-clean-entry): First delete the old key so that a
8799 customized algorithm for generating the new key does not get
8800 confused by the old key.
8801 (bibtex-url): Obey regexp of first step.
8802 (bibtex-search-entries): Do not use add-to-list with local
8803 list-var.
8804
97bb1093
LMI
88052011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8806
8807 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8808 stored a user name, then query for the password first, instead of
8809 waiting for SMTP to give an error message and the trying again.
8810
1c0f1a19
JD
88112011-06-22 Lawrence Mitchell <wence@gmx.li>
8812
8813 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8814 BUFFER in call-process.
8815
396f7c9d
LMI
88162011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8817
8818 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8819 QUIT twice.
ddb7ffee
LMI
8820 (smtpmail-try-auth-methods): Require user name and password from
8821 auth-source.
396f7c9d 8822
8998d1b3
MR
88232011-06-22 Martin Rudalics <rudalics@gmx.at>
8824
8825 * window.el (display-buffer-default-specifiers)
8826 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8827 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 8828 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
8829
8830 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8831 (special-display-frame-alist, special-display-popup-frame):
8832 Remove duplicate declarations. These are now in window.el.
8833
4ea31e07
LMI
88342011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8835
c9d29fb8
SM
8836 * mail/smtpmail.el (smtpmail-via-smtp):
8837 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
8838 server supports it. SMTP servers that support STARTTLS commonly
8839 require it.
8840
8841 * net/network-stream.el (network-stream-open-starttls): Support
8842 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 8843 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 8844
95f41d9a
LMI
8845 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8846 upgrades with `open-network-stream', and rely solely on
8847 auth-source for all credentials. Big changes throughout the file,
8848 but in particular:
c9d29fb8
SM
8849 (smtpmail-auth-credentials): Remove.
8850 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
8851 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8852 MAIL FROM, too.
95f41d9a 8853
c9d29fb8
SM
8854 * net/network-stream.el (network-stream-open-starttls):
8855 Provide support for client certificates both for external and built-in
4ea31e07
LMI
8856 STARTTLS.
8857 (auth-source): Require.
8858 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
8859 (network-stream-certificate): Change cert-cert to cert and
8860 cert-key to key.
4ea31e07 8861
065ec2c7
MA
88622011-06-21 Michael Albinus <michael.albinus@gmx.de>
8863
8864 * net/tramp-cache.el (top): Don't load the persistency file when
8865 "emacs -Q" has been called.
8866
cd93b359
DR
88672011-06-21 Tim Harper <timcharper@gmail.com>
8868
d8e4b68b
JB
8869 * term/ns-win.el (ns-initialize-window-system):
8870 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
8871 resource to NO as it is not yet supported by the NS port.
8872
ae9c0411
JB
88732011-06-21 Juanma Barranquero <lekktu@gmail.com>
8874
8875 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8876 (list-dynamic-libraries): ...not here.
8877
7f3f739f
LL
88782011-06-21 Leo Liu <sdl.web@gmail.com>
8879
8880 * subr.el (sha1): Implement sha1 using secure-hash.
8881
327c8fb1
MR
88822011-06-21 Martin Rudalics <rudalics@gmx.at>
8883
8884 * window.el (display-buffer-alist): In default value do not
8885 enforce searching a window on any but the selected frame.
8886 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8887 (display-buffer-select-window): Remove function.
8888 (display-buffer-in-window): When a window on another frame gets
8889 reused, do not select it any more but just raise its frame if
8890 necessary (Bug#8851) and (Bug#8856).
8891 (display-buffer-normalize-options): Handle pop-up-frames related
8892 options more faithfully.
8893 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8894 window if it is on another frame.
c9d29fb8
SM
8895 (display-buffer-alist, display-buffer-default-specifiers):
8896 Don't make new frame unsplittable by default.
9e9de014
MR
8897 (display-buffer-normalize-argument): Fix doc-string typo and use
8898 'same-frame-other-window instead of 'other-window when associating
8899 with display-buffer-macro-specifiers.
327c8fb1 8900
7cf3f556
VB
89012011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8902
8903 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8904 New functions.
8905 (5x5-mode-map, 5x5-mode-menu): Bind them.
8906 (5x5-draw-grid): Tweak the solver's rendering.
8907
60a406cf
SM
89082011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8909
8910 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8911 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8912
d8e4b68b 89132011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
8914
8915 * menu-bar.el: Use function variable instead of switch-to-buffer.
8916 (menu-bar-select-buffer-function): New variable.
60a406cf 8917 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 8918
478d6f95
SM
89192011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8920
8921 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8922 variable's status.
8923
ca530739
JD
89242011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8925
8926 * x-dnd.el (x-dnd-version-from-flags)
8927 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8928 and long as number (Bug#8899).
8929 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8930
bcd70d97
SM
89312011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8932
60a406cf 8933 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
8934 (completion-try-completion, completion-all-completions): Compute the
8935 metadata argument if it's missing; make it optional (bug#8795).
8936
60a406cf 8937 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
8938 (widget-complete): Use new :completion-function property.
8939 (widget-completions-at-point): New function.
8940 (default): Use :completion-function instead of :complete.
60a406cf
SM
8941 (widget-default-completions): Rename from widget-default-complete;
8942 Rewrite.
bcd70d97
SM
8943 (widget-string-complete, widget-file-complete, widget-color-complete):
8944 Remove functions.
8945 (file, symbol, function, variable, coding-system, color):
8946 * international/mule-cmds.el (default-input-method, charset)
8947 (language-info-custom-alist):
8948 * cus-edit.el (face): Use new property :completions.
8949
8950 * progmodes/pascal.el (pascal-completions-at-point): New function.
8951 (pascal-mode): Use it.
8952 (pascal-mode-map): Use completion-at-point.
8953 (pascal-toggle-completions): Make obsolete.
8954 (pascal-complete-word, pascal-show-completions):
8955 * progmodes/octave-mod.el (octave-complete-symbol):
8956 Redefine as obsolete alias.
8957 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8958 Signal absence of completion info for old Octave,
8959 (inferior-octave-complete): Redefine as obsolete alias.
8960 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8961 (meta-completions-at-point): Rename from meta-complete-symbol and
8962 adapt it for use on completion-at-point-functions.
8963 (meta-common-mode): Use it.
8964 (meta-looking-at-backward, meta-match-buffer): Remove.
8965 (meta-complete-symbol): Redefine as obsolete alias.
8966 (meta-common-mode-map): Use completion-at-point.
8967 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8968 (makefile-mode-map): Use completion-at-point.
8969 (makefile-completions-at-point): Rename from makefile-complete and
8970 adapt it for use on completion-at-point-functions.
8971 (makefile-mode): Use it.
8972 (makefile-complete): Redefine as obsolete alias.
8973
aebf69c8
DD
89742011-06-20 Deniz Dogan <deniz@dogan.se>
8975
8976 * net/rcirc.el: Delete trailing whitespaces once and for all.
8977
bfbbb27d
DC
89782011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8979
8980 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8981
d264a46b
CY
89822011-06-19 Chong Yidong <cyd@stupidchicken.com>
8983
4ca009e5
CY
8984 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8985
d264a46b
CY
8986 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8987
fbf5b3ce
MR
89882011-06-19 Martin Rudalics <rudalics@gmx.at>
8989
8990 * window.el (display-buffer-other-window-means-other-frame):
8991 Call display-buffer-normalize-alist.
8992 (display-buffer-normalize-specifiers-1): Rename to
8993 display-buffer-normalize-argument. New argument other-frame.
8994 Rewrite.
8995 (display-buffer-normalize-specifiers-2): Rename to
8996 display-buffer-normalize-options.
8997 (display-buffer-normalize-alist-1): New function.
8998 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
8999 display-buffer-normalize-alist.
9000 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
9001 (display-buffer-normalize-options-inhibit): New variable.
9002 (display-buffer-normalize-specifiers): Rewrite calling
9003 display-buffer-normalize-alist,
9004 display-buffer-normalize-argument, and
9005 display-buffer-normalize-options. Don't call the latter if
9006 display-buffer-normalize-options-inhibit is non-nil.
9007 (frame-auto-delete): New option.
9008 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
9009 (window-list-no-nils, window-state-ignored-parameters)
9010 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
9011 (window-state-put-1, window-state-put-2, window-state-put):
9012 New functions.
9a028c23
MR
9013 (display-buffer-normalize-options): Move special-display-p group
9014 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 9015
6d10d800
CY
90162011-06-18 Chong Yidong <cyd@stupidchicken.com>
9017
6420d28b
CY
9018 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9019 groups (Bug#8776).
9020 (rx-submatch-n): New function.
9021 (rx): Document it.
9022
ddb8b596
CY
9023 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9024 (Bug#8768).
9025
9026 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9027
77080289
CY
9028 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9029
61dfb316
CY
9030 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9031 anytime existing face settings are present (Bug#8889).
9032
6d10d800
CY
9033 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9034 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9035 Remove unused argument.
9036
be3fb2b8
MR
90372011-06-18 Martin Rudalics <rudalics@gmx.at>
9038
bcd70d97
SM
9039 * window.el (display-buffer-default-specifiers):
9040 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
9041 pop-up-window-min-width, and another reuse-window specifier
9042 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
9043 (display-buffer-normalize-specifiers-2):
9044 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
9045 pop-up-windows is unset. Add a reuse-window specifier for the
9046 case popping up a new window fails.
9047 (special-display-popup-frame): Remove double quoting.
28dec25a 9048 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 9049
1c6d8c76
SM
90502011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9051
9052 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9053 according to comint-completion-addsuffix.
9054
9055 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9056 (pcomplete-suffix-list): Mark as obsolete.
9057 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9058 pcomplete-seen in the closure.
9059 (pcomplete-comint-setup): Setup completion-at-point as well.
9060 (pcomplete--entries): New function.
9061 (pcomplete--env-regexp): New var.
9062 (pcomplete-entries): Rewrite to work with partial-completion and
9063 without relying on pcomplete-suffix-list.
9064 (pcomplete-pare-list): Remove, unused.
9065
25aef8b8
MR
90662011-06-17 Martin Rudalics <rudalics@gmx.at>
9067
9068 * window.el (display-buffer-alist): Set pop-up-window-min-height
9069 and pop-up-window-min-width in default value. Reported by
9070 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9071 other-window-means-other-frame.
9072 (display-buffer-macro-specifiers): Comment out entry for
9073 other-window specifier.
9074 (display-buffer-other-window-means-other-frame): New function.
9075 (display-buffer-normalize-specifiers-1): New arguments
9076 buffer-name and label. Treat other-window case specially.
9077 (display-buffer-normalize-specifiers-2): Treat other-window case
9078 specially.
9079 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
9080 (display-buffer-normalize-specifiers):
9081 Call display-buffer-normalize-specifiers-3.
25aef8b8 9082
dbad4f69
MR
90832011-06-17 Martin Rudalics <rudalics@gmx.at>
9084
9085 * window.el (same-window-p): Fix two typos introduced when
9086 adding with-no-warnings.
d1067961
MR
9087 (display-buffer-normalize-specifiers-1): Don't check
9088 pop-up-frames for 'unset initialization.
9089 (display-buffer-normalize-specifiers-2): Major rewrite using
9090 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9091 (pop-up-frames, display-buffer-reuse-frames)
9092 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9093 Suggested by David Engster <deng@randomsample.de>.
9094 (even-window-heights): Initialize to 'unset.
9095 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
9096 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9097 other window case.
dbad4f69 9098
9b9c9e3a
MR
90992011-06-16 Martin Rudalics <rudalics@gmx.at>
9100
bcd70d97
SM
9101 * window.el (display-buffer-normalize-specifiers-1):
9102 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 9103 second argument of display-buffer (Bug#8865).
981d5c09
MR
9104 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9105 (switch-to-buffer-other-window-same-frame)
9106 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9107 Adams (Bug#8875).
9c2755e9
MR
9108 (display-buffer): Don't check noninteractive when calling
9109 display-buffer-pop-up-frame.
9110 (display-buffer-pop-up-frame): Never pop up a frame in
9111 noninteractive mode (Bug#8857).
67222e1d
MR
9112 (enlarge-window, shrink-window): Don't report an error when the
9113 window can't be resized as requested (Bug#8862).
9b9c9e3a 9114
2b75be67
SM
91152011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9116
9ffdd3ba
SM
9117 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9118
cb581a67
SM
9119 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9120
2b75be67
SM
9121 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9122
8c0e3589
AM
91232011-06-15 Alan Mackenzie <acm@muc.de>
9124
cb581a67
SM
9125 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9126 for declarators, disable knr checking to speed up for normal files.
9127 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 9128
b96e6cde
LMI
91292011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9130
4bba86e6
LMI
9131 * net/network-stream.el (open-network-stream): Add the keyword
9132 :always-query-capabilities for the case where you want to force a
9133 `plain' network connection, but the protocol still requires the
9134 capabilitiy command (i.e., SMTP and EHLO).
9135
2b75be67 9136 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
9137 consistency with other `-live-p' functions.
9138
efdcdbf8
SM
91392011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9140
9141 * window.el (same-window-buffer-names, same-window-regexps)
9142 (special-display-frame-alist, special-display-popup-frame)
9143 (special-display-function, special-display-buffer-names)
9144 (special-display-regexps, pop-up-frame-alist)
9145 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9146 (pop-up-windows, split-window-preferred-function)
9147 (split-height-threshold, split-width-threshold, even-window-heights)
9148 (display-buffer-mark-dedicated): Don't encourage the use of
9149 display-buffer-alist from Elisp code.
9150
c5cde042
DN
91512011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9152
9153 * progmodes/python.el (python-mode): Derive from prog-mode.
9154 * progmodes/ps-mode.el (ps-mode):
9155 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 9156 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
9157 * progmodes/ld-script.el (ld-script-mode): Likewise.
9158
baa1c9ab
MR
91592011-06-15 Martin Rudalics <rudalics@gmx.at>
9160
9161 * window.el (display-buffer-alist): Trim default value to avoid
9162 popping up a new frame (Bug#8857) or reusing an arbitrary window
9163 on another frame.
9164 (display-buffer): Do not fall back on popping up a new frame in
9165 batch mode (Bug#8857).
9166
c5dd5a51
CY
91672011-06-14 Chong Yidong <cyd@stupidchicken.com>
9168
9169 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9170 (custom-theme-summary): New function.
9171 (customize-themes): Use it.
9172
d647b7c4
GM
91732011-06-13 Glenn Morris <rgm@gnu.org>
9174
9175 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9176
9481c002
MR
91772011-06-13 Martin Rudalics <rudalics@gmx.at>
9178
357f93d2
MR
9179 * help.el (help-window): Remove variable.
9180 (help-window-point-marker, temp-buffer-max-height)
9181 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9182 (help-print-return-message): Don't set help-window.
9183 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9184 (help-window-setup-finish): Remove.
9185 (help-window-display-message, help-window-setup)
9186 (with-help-window): Major rewrite based on new
9187 display-buffer-window variable.
9188
9189 * help-mode.el (help-mode-finish): Remove help-window related
9190 code.
9191
9192 * view.el (view-exits-all-viewing-windows): Remove reference to
9193 view-return-to-alist in doc-string.
9194 (view-return-to-alist): Make obsolete.
9195 (view-buffer): Call pop-to-buffer-same-window and remove
9196 undo-window code.
9197 (view-buffer-other-window): Call pop-to-buffer-other-window and
9198 simplify code. Ignore second argument.
9199 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9200 simplify code. Ignore second argument.
9201 (view-return-to-alist-update): Make obsolete.
9202 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9203 Rewrite using quit-restore window parameters.
2b75be67
SM
9204 (view-mode-exit): Rename second argument to EXIT-ONLY.
9205 Rewrite using quit-restore-window.
357f93d2
MR
9206 (View-exit, View-exit-and-edit, View-leave, View-quit)
9207 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9208 appropriate arguments.
9209 (view-end-message): Use quit-restore window parameter.
9210
9481c002
MR
9211 * window.el (display-buffer-function): Rewrite doc-string.
9212 (display-buffer-window, display-buffer-alist): New variables.
9213 (display-buffer-split-specifiers)
9214 (display-buffer-side-specifiers)
9215 (display-buffer-macro-specifiers): New constants.
9216 (display-buffer-even-window-sizes, display-buffer-set-height)
9217 (display-buffer-set-width, display-buffer-select-window)
9218 (display-buffer-in-window, display-buffer-reuse-window)
9219 (display-buffer-split-window-1, display-buffer-split-window)
9220 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9221 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9222 (display-buffer-in-side-window, normalize-buffer-to-display)
9223 (display-buffer-normalize-specifiers-1)
9224 (display-buffer-normalize-specifiers-2)
2b75be67
SM
9225 (display-buffer-normalize-specifiers, display-buffer-frame):
9226 New functions.
9481c002
MR
9227 (display-buffer): Major rewrite.
9228 (display-buffer-other-window, display-buffer-other-frame)
9229 (pop-to-buffer, switch-to-buffer-other-window)
9230 (switch-to-buffer-other-frame): Rewrite.
9231 (display-buffer-same-window, display-buffer-same-frame)
9232 (display-buffer-same-frame-other-window)
9233 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9234 (pop-to-buffer-other-window)
9235 (pop-to-buffer-same-frame-other-window)
9236 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9237 (switch-to-buffer-other-window-same-frame): New functions.
9238 (same-window-p, special-display-p): Rewrite disabling warnings.
9239 Make obsolete.
9240 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9241 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9242 Make obsolete
9243 (same-window-buffer-names, same-window-regexps)
9244 (special-display-frame-alist, special-display-popup-frame)
9245 (special-display-function, special-display-buffer-names)
9246 (special-display-regexps, pop-up-frame-alist)
9247 (pop-up-frame-function, split-window-preferred-function)
9248 (split-height-threshold, split-width-threshold)
9249 (even-window-heights): Make obsolete.
9250
9db51aca
GM
92512011-06-12 Glenn Morris <rgm@gnu.org>
9252
9253 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 9254 Misc simplifications.
9db51aca 9255
39cffb44
MR
92562011-06-12 Martin Rudalics <rudalics@gmx.at>
9257
9258 * window.el (window-safely-shrinkable-p): Restore function which
9259 was inadvertently removed in change from 2011-06-11. Declare as
9260 obsolete.
9261
2b75be67
SM
9262 * calendar/calendar.el (calendar-generate-window):
9263 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
9264 window-safely-shrinkable-p.
9265
a8955be7
GM
92662011-06-12 Glenn Morris <rgm@gnu.org>
9267
9268 * progmodes/fortran.el (fortran-mode-syntax-table):
9269 * progmodes/f90.el (f90-mode-syntax-table):
9270 Set % to punctuation. (Bug#8820)
9271 (f90-find-tag-default): Remove, no longer needed.
9272
f0d4059d
DC
92732011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9274
9275 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9276
1100a63c
CY
92772011-06-11 Chong Yidong <cyd@stupidchicken.com>
9278
9279 * image.el (image-animated-p): Return animation delay in seconds.
9280 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9281 (image-animate-timeout): Remove DELAY argument. Don't assume
9282 every subimage has the same delay; get it from image-animated-p.
9283 (image-animate): Caller changed.
9284
def722bf
MA
92852011-06-11 Michael Albinus <michael.albinus@gmx.de>
9286
9287 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9288 to ignored backtrace functions.
9289
0a2bb1a9
GM
92902011-06-11 Glenn Morris <rgm@gnu.org>
9291
9292 * calendar/appt.el (appt-disp-window-function): Doc fix.
9293 (appt-check): Handle overlapping appointments. (Bug#8337)
9294
6198ccd0
MR
92952011-06-11 Martin Rudalics <rudalics@gmx.at>
9296
9297 * window.el (window-tree-1, window-tree): New functions, moving
9298 the latter to window.el.
9299 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9300 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9301 (bw-refresh-edges): Remove.
9302 (balance-windows-1, balance-windows-2): New functions.
9303 (balance-windows): Rewrite in terms of window tree functions,
9304 balance-windows-1 and balance-windows-2.
9305 (bw-adjust-window): Remove.
9306 (balance-windows-area-adjust): New function with functionality of
9307 bw-adjust-window but using resize-window.
2b75be67
SM
9308 (set-window-text-height): Rewrite doc-string.
9309 Use normalize-live-window and resize-window.
9310 (enlarge-window-horizontally, shrink-window-horizontally):
9311 Rename argument to DELTA.
6198ccd0
MR
9312 (window-buffer-height): New function.
9313 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9314 Rewrite using new window resize routines.
2b75be67
SM
9315 (kill-buffer-and-window, mouse-autoselect-window-select):
9316 Use ignore-errors instead of condition-case.
6198ccd0
MR
9317 (quit-window): Call delete-frame instead of delete-windows-on
9318 for the only buffer on frame.
9319
9397e56f
MR
93202011-06-10 Martin Rudalics <rudalics@gmx.at>
9321
9322 * loadup.el (top-level): Load window before files for the sake
9323 of replace-buffer-in-windows.
9324
9325 * files.el (read-buffer-to-switch)
9326 (switch-to-buffer-other-window)
2b75be67
SM
9327 (switch-to-buffer-other-frame, display-buffer-other-frame):
9328 Move to window.el.
9397e56f
MR
9329
9330 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9331 (previous-buffer): Move to window.el.
9332
9333 * bindings.el (unbury-buffer): Move to window.el.
9334
9335 * window.el (delete-other-windows-vertically): Move after
9336 definition of delete-other-windows.
9337 (other-window, delete-windows-on, replace-buffer-in-windows):
9338 Move here from window.c.
9339 (record-window-buffer, unrecord-window-buffer)
9340 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9341 (switch-to-next-buffer): New functions.
9342 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9343 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
9344 (previous-buffer): Move here from simple.el.
9345 Call switch-to-prev-buffer.
9397e56f
MR
9346 (bury-buffer): Move here from buffer.c. Switch to previous
9347 buffer when window cannot be deleted.
9348 (unbury-buffer): Move here from bindings.el.
9349 (ctl-x-map): Move binding for other-window from window.c to
9350 here.
9351 (read-buffer-to-switch, switch-to-buffer-other-window)
9352 (switch-to-buffer-other-frame): Move here from files.el.
9353 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
9354 (switch-to-buffer): Move here from buffer.c.
9355 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 9356
562dd5e9
MR
93572011-06-10 Martin Rudalics <rudalics@gmx.at>
9358
9359 * window.el (window-min-height, window-min-width): Move here
9360 from window.c. Add defcustoms and rewrite doc-strings.
9361 (resize-mini-window, resize-window): New functions.
9362 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9363 Move here from window.c.
9364 (maximize-window, minimize-window): New functions.
9365 (delete-window, delete-other-windows, split-window): Move here
9366 from window.c.
9367 (window-split-min-size): New function.
9368 (split-window-keep-point): Mention split-window-above-each-other
9369 instead of split-window-vertically.
2b75be67 9370 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
9371 Rename split-window-vertically to split-window-above-each-other
9372 and provide defalias for old definition.
9373 (split-window-side-by-side, split-window-horizontally):
9374 Rename split-window-horizontally to split-window-side-by-side
9375 and provide defalias for the old definition.
562dd5e9
MR
9376 (ctl-x-map): Move bindings for delete-window,
9377 delete-other-windows and enlarge-window here from window.c.
9378 Replace bindings for split-window-vertically and
9379 split-window-horizontally by bindings for
9380 split-window-above-each-other and split-window-side-by-side.
9381
9382 * cus-start.el (all): Remove entries for window-min-height and
9383 window-min-width. Add entries for window-splits and
9384 window-nest.
9385
f0da764a
GM
93862011-06-09 Glenn Morris <rgm@gnu.org>
9387
80675c21
GM
9388 * calendar/appt.el (appt-mode-line): New function.
9389 (appt-check, appt-disp-window): Use it.
9390
f0da764a
GM
9391 * files.el (hack-one-local-variable-eval-safep):
9392 Allow minor-modes with explicit +/-1 arguments.
9393
59f623b7
TZ
93942011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9395
9396 * term/xterm.el (xterm): Add defgroup.
9397 (xterm-extra-capabilities): Add defcustom to supply known xterm
9398 capabilities, skip querying them, or query them (default).
9399 (terminal-init-xterm): Use it.
9400 (terminal-init-xterm-modify-other-keys): New function to set up
9401 modifyOtherKeys support to simplify `terminal-init-xterm'.
9402
9aab8e0d
MR
94032011-06-09 Martin Rudalics <rudalics@gmx.at>
9404
9405 * window.el (resize-window-reset, resize-window-reset-1)
9406 (resize-subwindows-skip-p, resize-subwindows-normal)
9407 (resize-subwindows, resize-other-windows, resize-this-window)
9408 (resize-root-window, resize-root-window-vertically)
9409 (window-deletable-p, window-or-subwindow-p)
9410 (frame-root-window-p): New functions.
9411
e8b08aee
GM
94122011-06-09 Glenn Morris <rgm@gnu.org>
9413
9414 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9415 (ange-ftp-get-files): Use it.
9416
254c37a5
AK
94172011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9418
9419 * mail/sendmail.el (mail-recover-1, mail-recover):
9420 * files.el (recover-file, recover-session):
9421 Handle dired-listing-switches not being just a single short option.
9422
35d7dbd3
GM
94232011-06-09 Glenn Morris <rgm@gnu.org>
9424
9425 * calendar/appt.el (appt-display-message, appt-disp-window):
9426 Handle lists of appointments.
9427
387522b2
MR
94282011-06-08 Martin Rudalics <rudalics@gmx.at>
9429
2b75be67
SM
9430 * window.el (one-window-p): Move down in code.
9431 Rewrite doc-string.
9432 (window-current-scroll-bars): Rewrite doc-string.
9433 Normalize live window argument.
387522b2
MR
9434 (walk-windows, get-window-with-predicate, count-windows):
9435 Rewrite doc-string. Use window-list-1.
9436 (window-in-direction-2, window-in-direction, get-mru-window):
9437 New functions.
9438
d8e4b68b 94392011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
9440
9441 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9442 Doc fix (Bug#8713).
9443
94442011-06-08 Chong Yidong <cyd@stupidchicken.com>
9445
9446 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9447
94482011-06-08 Juanma Barranquero <lekktu@gmail.com>
9449
9450 * loadhist.el (unload-feature-special-hooks):
9451 Add `comint-output-filter-functions'.
9452
0de12c52
IK
94532011-06-08 Ivan Kanis <gnu@kanis.fr>
9454
9455 * calendar/appt.el (appt-check): Move some initializations into the let.
9456
f3d1777e
MR
94572011-06-08 Martin Rudalics <rudalics@gmx.at>
9458
9459 * window.el (window-height): Defalias to window-total-height.
9460 (window-width): Defalias to window-body-width.
9461
18af70d0
CY
94622011-06-07 Chong Yidong <cyd@stupidchicken.com>
9463
9464 * image-mode.el (image-toggle-animation): New command.
9465 (image-mode-map): Bind it to RET.
9466 (image-mode): Update message.
9467 (image-toggle-display-image): Avoid a spurious cache flush.
9468 (image-transform-rotation): Doc fix.
9469 (image-transform-properties): Return quickly in the normal case.
9470 (image-animate-loop): Rename from image-animate-max-time.
9471
2b75be67 9472 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
9473 (create-animated-image): Remove unnecessary function.
9474 (image-animate): Rename from image-animate-start. New arg.
2b75be67 9475 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
9476 (image-animate-timer): Use car-safe.
9477 (image-animate-timeout): Rename argument.
9478
190b47e6
MR
94792011-06-07 Martin Rudalics <rudalics@gmx.at>
9480
9481 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
9482 window.c. Rename first argument to ALL-FRAMES.
9483 Rephrase doc-strings.
9484 (get-buffer-window-list): Rewrite using window-list-1.
9485 Rephrase doc-string.
a1511caf
MR
9486 (window-safe-min-height, window-safe-min-width): New constants.
9487 (window-size-ignore, window-min-size, window-min-size-1)
9488 (window-sizable, window-sizable-p, window-size-fixed-1)
9489 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9490 (window-max-delta-1, window-max-delta, window-resizable)
9491 (window-resizable-p, window-total-height, window-total-width)
9492 (window-body-width): New functions.
9493 (window-full-height-p, window-full-width-p): Rewrite using
9494 window-total-size.
9495 (window-body-height): Rewrite using window-body-size.
190b47e6 9496
85cc1f11
MR
94972011-06-06 Martin Rudalics <rudalics@gmx.at>
9498
9499 * window.el (window-right, window-left, window-child)
9500 (window-child-count, window-last-child, window-any-p)
9501 (normalize-live-buffer, normalize-live-frame)
9502 (normalize-any-window, normalize-live-window)
9503 (window-iso-combination-p, window-iso-combined-p)
9504 (window-iso-combinations)
9505 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9506 (windows-with-parameter, window-with-parameter)
9507 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
9508 (window-atom-check, window-side-check, window-check):
9509 New functions.
85cc1f11
MR
9510 (ignore-window-parameters, window-sides, window-sides-vertical)
9511 (window-sides-slots): New variables.
9512 (window-size-fixed): Move down in code. Minor doc-string fix.
9513
e7156492
AS
95142011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9515
9516 * comint.el (comint-dynamic-complete-as-filename)
9517 (comint-dynamic-complete-filename): Correctly call
9518 completion-in-region.
9519
7e821d0d
DD
95202011-06-05 Deniz Dogan <deniz@dogan.se>
9521
9522 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9523 in last change.
9524
ac09b8a1
DD
95252011-06-05 Deniz Dogan <deniz@dogan.se>
9526
9527 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9528 (rcirc): Use it to prompt for encryption.
9529
34699b85
RW
95302011-06-05 Roland Winkler <winkler@gnu.org>
9531
9532 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9533 (bibtex-search-entries): New command bound to C-c C-a.
9534 (bibtex-display-entries): New function.
9535
004dedd3
RW
95362011-06-05 Roland Winkler <winkler@gnu.org>
9537
9538 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9539 (bibtex-insert-kill): After yanking insert newline if necessary.
9540 (bibtex-initialize): Call bibtex-string-files-init only once.
9541 (bibtex-mode): Do not call easy-menu-add.
9542 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9543 (bibtex-yank): Set arg properly if nil.
9544
022fe7ce
RW
95452011-06-05 Roland Winkler <winkler@gnu.org>
9546
2b75be67
SM
9547 * textmodes/bibtex.el (bibtex-search-entry-globally):
9548 New variable.
022fe7ce
RW
9549 (bibtex-search-entry): Use it.
9550
b7c3692a
RW
95512011-06-05 Roland Winkler <winkler@gnu.org>
9552
9553 * textmodes/bibtex.el (bibtex-entry-format): New option
9554 sort-fields.
9555 (bibtex-format-entry, bibtex-reformat): Honor this option.
9556 (bibtex-parse-entry): Return fields in proper order.
9557
8eda563d
JB
95582011-06-05 Juanma Barranquero <lekktu@gmail.com>
9559
9560 * doc-view.el (doc-view-remove-if): Move computation of result out
9561 of `dolist' to silence misleading lexical-binding warning.
9562
7dbe3dbc
CY
95632011-06-04 Chong Yidong <cyd@stupidchicken.com>
9564
9565 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9566 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9567
0c33dd17
MA
95682011-06-04 Michael Albinus <michael.albinus@gmx.de>
9569
9570 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9571 "SunOS 5.10".
9572
f8f91c2b
MA
95732011-06-04 Michael Albinus <michael.albinus@gmx.de>
9574
9575 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9576 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9577 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9578 (tramp-parse-putty):
9579 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9580 (tramp-completion-function-alist-ssh)
9581 (tramp-completion-function-alist-telnet)
9582 (tramp-completion-function-alist-su)
9583 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9584 cookie.
9585
9586 * net/tramp-ftp.el:
9587 * net/tramp-sh.el:
9588 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9589 load "tramp.el" `tramp-set-completion-function'.
9590
e17d9003
SM
95912011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9592
9593 * shell.el: Require and use pcomplete.
9594 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9595 (shell-completion-vars): Set pcomplete-default-completion-function.
9596
6c4cab03
DD
95972011-06-04 Deniz Dogan <deniz@dogan.se>
9598
9599 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9600 `memq' (Bug#8799).
9601
ea9fafe0
SM
96022011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9603
9604 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9605
b3e945d3
JB
96062011-06-02 Juanma Barranquero <lekktu@gmail.com>
9607
9608 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9609 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9610 * vc/log-view.el (log-view-beginning-of-defun):
9611 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9612 (smerge-refine-forward, smerge-refine-chopup-region):
9613 Silence warning for unused `dotimes' counter variables.
9614
7d520089
SM
96152011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9616
9617 * net/tramp.el (tramp-with-progress-reporter): Rename from
9618 with-progress-reporter. Use `declare'.
9619 * net/tramp-smb.el:
9620 * net/tramp-sh.el:
9621 * net/tramp-gvfs.el: Update all uses.
9622
a1c2400f
JB
96232011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9624
9625 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9626 buffer isn't killed before making it current.
9627
2403c841
SM
96282011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9629
9630 Silence various byte-compiler warnings.
9631 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9632 `access-type' and new obsolescence format.
9633 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9634 new format.
9635 (byte-compile-check-variable): New `access-type' argument.
9636 Only warn if the access-type is obsolete.
9637 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9638 (byte-compile-variable-set): Adjust callers.
9639 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9640 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9641 setting it as obsolete.
9642 * simple.el (minibuffer-completing-symbol):
9643 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9644 access as obsolete.
9645 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9646 obsolete yet.
9647 * international/quail.el (quail-mouse-choose-completion): Remove unused
9648 code referring to obsolete var.
9649 (quail-choose-completion-string): Remove.
9650 * server.el (server-clients-with, server-kill-buffer-query-function)
9651 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9652 * proced.el (proced-send-signal):
9653 * emacs-lisp/lisp.el (lisp-complete-symbol):
9654 Replace completion-annotate-function with completion-extra-properties.
9655
2462470b
SM
96562011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9657
fb5b2591
SM
9658 * simple.el (goto-line): Use read-number.
9659 (overriding-map-is-bound): Remove.
9660 (saved-overriding-map): Change default.
9661 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9662 Take the map as argument.
9663 (universal-argument, negative-argument, digit-argument): Use it.
9664 (restore-overriding-map): Adjust.
9665 (do-auto-fill): Use fill-forward-paragraph.
9666 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9667
fd6fa53f
SM
9668 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9669 (minibuffer-inactive-mode): New major mode.
9670 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9671 the *Messages* buffer" hack.
9672 (mouse-popup-menubar): Don't burp if the event is a normal key.
9673
2462470b
SM
9674 Miscellaneous tweaks.
9675 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9676 lexical scoping as in subr.el's dolist and dotimes.
9677 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9678 Silence compiler warning.
9679 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9680 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9681 * international/ccl.el (ccl-compile): Trivial simplification.
9682 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9683 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9684 `printflag' argument.
9685 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9686 Purecopy the whole obsolescence data.
9687
108bf785
LL
96882011-06-01 Leo Liu <sdl.web@gmail.com>
9689
9690 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9691 improve doc-string as suggested by Marco Pessotto
9692 <melmothx@gmail.com>.
9693 (rcirc-print): Fix last change.
9694
30a23501
SM
96952011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9696
9697 * minibuffer.el (complete-with-action): Return nil for the metadata and
9698 boundaries of non-functional tables.
9699 (completion-table-dynamic): Return nil for the metadata.
9700 (completion-table-with-terminator): Add default case, using
9701 complete-with-action.
9702 (completion--metadata): New function.
9703 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9704 to try and avoid pathological performance problems.
9705 (completion--embedded-envvar-table): Return `category' metadata.
9706
bcd54f83
LMI
97072011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9708
9709 * subr.el (process-alive-p): New tiny convenience function.
9710
e227544d
SM
97112011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9712
9713 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9714 content but also its previous major mode.
9715
e8296fdc
HE
97162011-05-31 Helmut Eller <eller.helmut@gmail.com>
9717
4d61f28d 9718 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
9719 *Backtrace* buffer when we exit with C-M-c.
9720
620c53a6
SM
97212011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9722
9723 * minibuffer.el: Add metadata method to completion tables.
9724 (completion-category-overrides): New defcustom.
9725 (completion-metadata, completion--field-metadata)
9726 (completion-metadata-get, completion--styles)
9727 (completion--cycle-threshold): New functions.
9728 (completion-try-completion, completion-all-completions):
9729 Add `metadata' argument to choose completion-styles.
9730 (completion--do-completion): Use metadata to choose cycling.
9731 (completion-all-sorted-completions): Use metadata for sorting.
9732 Remove :completion-cycle-penalty which is not needed any more.
9733 (completion--try-word-completion): Add `metadata' argument.
9734 (minibuffer-completion-help): Check metadata for annotation function
9735 and sorting.
9736 (completion-file-name-table): Return `category' metadata.
9737 (minibuffer-completing-file-name): Make obsolete.
9738 * simple.el (minibuffer-completing-symbol): Make obsolete.
9739 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9740 completion-try-completion.
9741
1257e755
SM
97422011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9743
9744 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9745
3767e706
LL
97462011-05-30 Leo Liu <sdl.web@gmail.com>
9747
9748 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
9749 (rcirc-print): Decode all incoming messages (bug#8744).
9750 (rcirc-decode-coding-system): Allow value nil for automatic coding
9751 system detection.
3767e706 9752
d1a5d56a
GM
97532011-06-01 Glenn Morris <rgm@gnu.org>
9754
9755 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9756
e8cbec34
CY
97572011-05-29 Chong Yidong <cyd@stupidchicken.com>
9758
9759 * image.el (image-animate-max-time): Allow nil and t values.
9760 Default to nil.
9761 (create-animated-image): Doc fix.
9762 (image-animate-start): Remove second arg; just use
9763 image-animate-max-time.
9764 (image-animate-timeout): Doc fix. Args changed.
9765
9766 * image-mode.el (image-toggle-display-image): Ensure that the
9767 image spec passed to the animate timer is the same object as in
58179cce 9768 the buffer's display property (Bug#6981).
e8cbec34
CY
9769 (image-transform-properties): Doc fix.
9770
9771 * image.el (image-animate-max-time): Default to nil.
9772
159daf87
MR
97732011-05-29 Martin Rudalics <rudalics@gmx.at>
9774
9775 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9776 entire buffer list (Bug#8184).
9777
d66c4c7c
CY
97782011-05-29 Chong Yidong <cyd@stupidchicken.com>
9779
9780 * image.el (imagemagick-types-inhibit)
9781 (imagemagick-register-types): Doc fix.
9782
80aec780
DD
97832011-05-29 Deniz Dogan <deniz@dogan.se>
9784
9785 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9786 default.
9787
1dd3c2d9
CY
97882011-05-29 Chong Yidong <cyd@stupidchicken.com>
9789
9790 * select.el: Don't perform clipboard-manager saving in hooks;
9791 leave the hooks empty.
9792
60e56523
LL
97932011-05-28 Leo Liu <sdl.web@gmail.com>
9794
9795 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9796 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9797 (occur-edit-mode): New major mode (Bug#8463).
9798 (occur-after-change-function): New function.
9799 (occur-engine): Give Occur tags a read-only property.
9800
2b1e1a22
KR
98012011-05-28 Kevin Ryde <user42@zip.com.au>
9802
9803 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9804
5d344e88
CY
98052011-05-28 Chong Yidong <cyd@stupidchicken.com>
9806
8e6ca83d
CY
9807 * bindings.el (help-echo): Make the initial non-indicator dash
9808 empty on graphical terminals (Bug#7295).
9809
5d344e88
CY
9810 * files.el (auto-mode-alist): Move config rule after the
9811 in-stripping one (Bug#8547).
9812
bfbbace7
CY
9813 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9814
fbeba6e2
CY
9815 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9816 setting (Bug#8740).
9817
60ed8c72
AA
98182011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9819
4ac619f0
AA
9820 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9821 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9822 (Bug#8539).
60ed8c72 9823
23db196e
CY
98242011-05-28 Chong Yidong <cyd@stupidchicken.com>
9825
9826 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9827
5012f24c
DK
98282011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9829
9830 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9831 (hs-hide-block-at-point, hs-find-block-beginning)
9832 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9833 (Bug#8279).
9834
6a639b16
GM
98352011-05-28 Glenn Morris <rgm@gnu.org>
9836
9837 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9838
d43eaf2c
CY
98392011-05-28 Chong Yidong <cyd@stupidchicken.com>
9840
5199bde1
CY
9841 * help-fns.el (describe-function-1): If the function is a derived
9842 major mode, print the parent mode.
9843
d43eaf2c
CY
9844 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9845 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9846
423428a8
SM
98472011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9848
0ff8e1ba 9849 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 9850 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
9851 * progmodes/etags.el (tags-completion-at-point-function):
9852 * info-look.el (info-lookup-completions-at-point): Mark as
9853 non-exclusive.
9854 (info-complete): Adjust accordingly.
9855
423428a8
SM
9856 * info-look.el: Convert to lexical-binding and completion-at-point.
9857 (info-lookup-completions-at-point): New function.
9858 (info-complete): Use it and completion-in-region.
9859
b74aa22b
DA
98602011-05-28 Drew Adams <drew.adams@oracle.com>
9861
9862 * isearch.el: Let M-e start with point at the first mismatched char.
9863 (isearch-fail-pos): New function.
9864 (isearch-edit-string): Use it.
9865
66e2e71d
DK
98662011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9867
9868 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9869
b1890b0f 98702011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
9871
9872 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9873 traversal functions for avl-trees.
9874 (avl-tree--stack): New struct.
9875 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9876 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
9877 (avl-tree--do-enter): Add optional `updatefun' arg.
9878 Change return value.
eb95d01d 9879 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
9880 (avl-tree--do-delete): Add `test' and `nilflag' args.
9881 Change return value.
eb95d01d
TC
9882 (avl-tree-member): Add optional `nilflag'
9883 (avl-tree-member-p): New function.
9884 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9885 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9886 (avl-tree-stack-empty-p): New functions.
9887
3769ddcf
TC
9888 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9889 avl-tree--del-balance1 and make it work both ways.
9890 (avl-tree--del-balance2): Remove.
9891 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9892 make it work both ways.
9893 (avl-tree--enter-balance2): Remove.
9894 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9895 New macros.
9896 (avl-tree--mapc, avl-tree-map): Add direction argument.
9897
eb95d01d 98982011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
9899
9900 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9901
a9f737ee
CY
99022011-05-27 Chong Yidong <cyd@stupidchicken.com>
9903
9904 * select.el: Support clipboard managers with built-in function
9905 x-clipboard-manager-save, via delete-frame-functions and
9906 kill-emacs-hook.
9907 (xselect-convert-to-targets): Add MULTIPLE target to list.
9908 (xselect-convert-to-save-targets): New function.
9909
c92a1e54
KH
99102011-05-27 Kenichi Handa <handa@m17n.org>
9911
9912 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9913 let-binding rfc2047-encode-encoded-words to nil.
9914
e145f188
GM
99152011-05-27 Glenn Morris <rgm@gnu.org>
9916
5ec8a862
GM
9917 * mail/emacsbug.el: Don't require url-util.
9918
4b29d9fb
GM
9919 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9920
e145f188
GM
9921 * files.el (set-auto-mode):
9922 Also respect mode: entries at the end of the file. (Bug#8586)
9923
7d15102b
GM
99242011-05-26 Glenn Morris <rgm@gnu.org>
9925
98f593b8
GM
9926 * files.el (hack-local-variables-prop-line, hack-local-variables):
9927 Downcase mode names, as seems to be traditional.
27b48e63 9928 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 9929
7d15102b
GM
9930 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9931 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9932
51d5b4ec
JD
99332011-05-25 Julien Danjou <julien@danjou.info>
9934
9935 * textmodes/rst.el (rst-define-level-faces): Do not define face
9936 symbol if it is already defined.
9937
91513f63
VB
99382011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9939
9940 * play/5x5.el (5x5-new-game, 5x5-randomize):
9941 Reset 5x5-solver-output to nil when a new grid is cast.
9942 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9943 these debugging traces, as defmacro breaks the compiled code.
9944
4d90d6d0
DK
99452011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9946
9947 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9948
e1b90ef6
LL
99492011-05-24 Leo Liu <sdl.web@gmail.com>
9950
9951 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9952 (vc-bzr-sha1): Adapt.
9953
d8e4b68b 9954 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
9955
9956 * bindings.el: Provide sha1 feature.
9957
db0406bb 99582011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
9959
9960 * mail/sendmail.el: Require `rfc2047'.
9961 (mail-insert-from-field): Do not perform RFC2047 encoding.
9962 (mail-encode-header): New function.
9963 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
9964 buffer to the return value of select-message-coding-system.
9965 Call mail-encode-header.
b8d747b9
KH
9966
9967 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9968
db0406bb 99692011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 9970
4d90d6d0
DK
9971 * mail/supercite.el (sc-default-cite-frame):
9972 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 9973
eb8a5e9b
GM
99742011-05-24 Glenn Morris <rgm@gnu.org>
9975
f8630703
GM
9976 * progmodes/python.el (brm-menu): Declare.
9977
8831bbed
GM
9978 * emulation/viper.el (viper-set-hooks): Declare.
9979
eb8a5e9b
GM
9980 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9981 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9982 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9983 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9984 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9985 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9986
a2a25d24
SM
99872011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9988
9989 Add an :exit-function for completion-at-point.
9990
9991 * minibuffer.el (completion--done): New fun.
9992 (completion--do-completion): Use it. New arg `expect-exact'.
9993 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9994 since completion--do-completion does it for us now.
9995 (minibuffer-force-complete): Use completion--done and
9996 completion--replace. Handle sole-completion case with more care.
9997 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9998 (completion-extra-properties): New var.
9999 (completion-annotate-function): Make obsolete.
10000 (minibuffer-completion-help): Adjust accordingly.
10001 Use completion-list-insert-choice-function.
10002 (completion-at-point, completion-help-at-point):
10003 Bind completion-extra-properties.
10004 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10005 * simple.el (completion-list-insert-choice-function): New var.
10006 (completion-setup-function): Preserve it.
10007 (choose-completion): Pay attention to it, shuffle the code a bit.
10008 (choose-completion-string): New arg `insert-function'.
10009
10010 * textmodes/bibtex.el: Convert to lexical binding.
10011 (bibtex-mode-map): Use completion-at-point.
10012 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10013 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10014 (bibtex-complete): Define as obsolete alias.
10015 (bibtex-complete-internal): Remove.
10016 (bibtex-format-entry): Remove unused sub-group in regexp.
10017 * shell.el (shell--command-completion-data)
10018 (shell-environment-variable-completion):
10019 * pcomplete.el (pcomplete-completions-at-point):
10020 * comint.el (comint--complete-file-name-data): Use :exit-function
10021 instead of completion-table-with-terminator so it also works for
10022 choose-completion.
10023
e44e373d
SM
100242011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10025
4f91a816
SM
10026 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10027
782fc819
SM
10028 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10029 (bug#8710).
10030
e44e373d
SM
10031 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10032
381987c3
KM
100332011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10034
10035 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10036 customization variable and implement: If non-nil, auto-fill will
10037 be inhibited while on topic's header line.
10038
b776bc70
VB
100392011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10040
10041 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 10042 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
10043 always have a solution in grid size = 5 cases.
10044 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10045 (5x5-solver-output, 5x5-log-buffer): New vars.
10046 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10047 Make these variables buffer local to achieve 5x5 multi-session-ness.
10048 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10049 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10050 (5x5-solve-suggest): New funs.
10051 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10052 randomize a grid so that we ensure that there is always a solution.
10053 (5x5-make-random-grid): Allow other movement than flipping.
10054
7de88b6e
KR
100552011-05-23 Kevin Ryde <user42@zip.com.au>
10056
10057 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 10058 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
10059 advice and passes PREDICATE.
10060
b1ef1257
SM
100612011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10062
bbca48fe
SM
10063 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10064 byte-compile-lambda if it's actually a lambda.
10065
b1ef1257
SM
10066 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10067 Fix function quoting. Use backquote better.
10068
92a9cc65
YS
100692011-05-22 Yuanle Song <sylecn@gmail.com>
10070
10071 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10072 matching (Bug#8516).
10073
f0fb8059
JA
100742011-01-22 Jari Aalto <jari.aalto@cante.net>
10075
10076 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10077 different face (Bug#8178).
10078
d5b44c93
CY
100792011-05-22 Chong Yidong <cyd@stupidchicken.com>
10080
10081 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10082 defface (Bug#8144).
10083
79106a44
SM
100842011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10085
9c848d8a
SM
10086 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10087 funcall as well (bug#8712). Warn when performing those conversions.
10088 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10089
79106a44
SM
10090 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10091
88dfa756
GM
100922011-05-22 Glenn Morris <rgm@gnu.org>
10093
10094 * files.el (hack-local-variables-prop-line): Small simplifications.
10095 (hack-local-variables, hack-local-variables-prop-line):
10096 If MODE-ONLY, return the mode, rather than just `t'.
10097
b7cf2c79
SM
100982011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10099
10100 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10101
3f1a8558
GM
101022011-05-21 Glenn Morris <rgm@gnu.org>
10103
7e4ccca3
GM
10104 * files.el (hack-local-variables-prop-line, hack-local-variables):
10105 If only interested in the mode, don't bother doing the other stuff.
10106
637d46ca
GM
10107 * image-mode.el (image-after-revert-hook):
10108 Redraw all frames on which the image is visible. (Bug#8567)
10109
973d955b
GM
10110 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10111
3f1a8558
GM
10112 * wid-edit.el (widget-checklist-match-inline):
10113 Fix 2011-04-19 change. (Bug#8649)
10114
96479927
SM
101152011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10116
1dcf791f
SM
10117 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10118 Also allow singlespace after single-letter capitals followed by a dot.
10119
96479927
SM
10120 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10121 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10122
35fd0881
N
101232011-05-20 Nix <nix@esperi.org.uk>
10124
10125 * files.el (basic-save-buffer-2):
10126 Fix handling of break-hardlink-on-save with non-existent files.
10127
82745640
DD
101282011-05-19 Deniz Dogan <deniz@dogan.se>
10129
10130 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 10131 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 10132
4a720484
GM
101332011-05-19 Glenn Morris <rgm@gnu.org>
10134
d1f21341
GM
10135 * progmodes/f90.el (f90-type-def-re):
10136 Handle "type, bind(c)". (Bug#8691)
10137
4a720484
GM
10138 * emacs-lisp/autoload.el (batch-update-autoloads):
10139 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10140
2fb0a219
MA
101412011-05-18 Michael Albinus <michael.albinus@gmx.de>
10142
10143 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10144 property for the correct connection in case of multihops.
10145
e565dd37
GM
101462011-05-18 Glenn Morris <rgm@gnu.org>
10147
c2571358 10148 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
10149 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10150
e565dd37
GM
10151 Rationalize calendar handling of day and month abbrev-arrays.
10152 * calendar/calendar.el (calendar-customized-p): New function.
10153 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10154 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10155 Add :set function.
10156 (calendar-abbrev-length, calendar-day-abbrev-array)
10157 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10158 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10159 Elements may no longer be nil.
10160 (calendar-day-name, calendar-month-name):
10161 Update for changed nature of abbrev arrays.
10162 * calendar/diary-lib.el (diary-name-pattern):
10163 Update for changed nature of abbrev arrays.
10164 (diary-mark-entries-1): Update calendar-make-alist calls.
10165 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10166 * calendar/cal-html.el (cal-html-day-abbrev-array):
10167 Simply inherit from calendar-day-abbrev-array.
10168
1d99a745
SM
101692011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10170
10171 * progmodes/grep.el (grep-mode): Disable default
10172 compilation-directory-matcher setting (bug#8684).
10173
7c1d9aa0
MA
101742011-05-17 Michael Albinus <michael.albinus@gmx.de>
10175
10176 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10177 instead of "head" and "tail". There were problems with SunOS 5.9,
10178 and it performs better.
10179
3952e9d8
GM
101802011-05-17 Glenn Morris <rgm@gnu.org>
10181
2dd12e7f
GM
10182 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10183
e4157b9c
GM
10184 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10185 Replace obsolete function.
10186
8e249bbd
GM
10187 * shell.el (pcomplete-parse-arguments-function): Declare.
10188
3952e9d8
GM
10189 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10190 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10191 (appt-check): Doc fixes.
10192 (appt-disp-window-function, appt-delete-window-function):
10193 Remove needless special case in custom :type.
10194 (appt-display-count): Default to 0, not nil.
10195 (appt-check): Reset appt-display-count to 0, not nil.
10196
c71a0d48 101972011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 10198
c71a0d48
GM
10199 * progmodes/python.el (python-font-lock-keywords):
10200 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 10201
31d55be9
SM
102022011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10203
10204 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10205
3bfacb2f
KR
102062011-05-16 Kevin Ryde <user42@zip.com.au>
10207
10208 * info-look.el (makefile-automake-mode): New setups, looking in
10209 automake manual, then makefile-mode.
10210 (makefile-mode): Remove automake manual, have it just in
10211 makefile-automake-mode since there's various things different or
10212 not relevant to plain make.
10213 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10214 believe a hypothetical automake-mode would go to makefile-mode,
10215 not the other way around.
10216
c8e83751
CY
102172011-05-15 Chong Yidong <cyd@stupidchicken.com>
10218
5e9e35cd
CY
10219 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10220 hunk-end tags (Bug#8672).
10221
c8e83751
CY
10222 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10223 vc-annotate-show-diff-revision-at-line (Bug#8671).
10224
50b23e5a
GM
102252011-05-14 Glenn Morris <rgm@gnu.org>
10226
7210a739
GM
10227 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10228 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
10229 (change-log-font-lock-keywords): Also handle multiple author lines
10230 with leading tabs. (Bug#8644)
7210a739 10231
4691905a
GM
10232 * calendar/appt.el (appt-check): Rename some local variables.
10233 Some simplification/reordering.
10234
50b23e5a
GM
10235 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10236 (feedmail-sendmail-f-doesnt-sell-me-out)
10237 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10238 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10239 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
10240 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10241 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
10242 (feedmail-binmail-gnulinuxish-template):
10243 Rename from feedmail-binmail-linuxish-template.
10244 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10245 Use insert-buffer-substring.
10246
215cda7c
BC
102472011-05-14 Bill Carpenter <bill@carpenter.org>
10248
10249 * mail/feedmail.el (feedmail-patch-level): Increase.
10250 (feedmail-debug): New custom group.
10251 (feedmail-confirm-outgoing-timeout)
10252 (feedmail-sendmail-f-doesnt-sell-me-out)
10253 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10254 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10255 (feedmail-sender-line, feedmail-from-line)
10256 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 10257 (feedmail-spray-this-address)
215cda7c
BC
10258 (feedmail-spray-address-fiddle-plex-list)
10259 (feedmail-queue-use-send-time-for-date)
10260 (feedmail-queue-use-send-time-for-message-id)
10261 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10262 (feedmail-buffer-eating-function):
10263 Doc fixes.
10264 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10265 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10266 (feedmail-message-action-scroll-down): New functions.
10267 (feedmail-queue-directory, feedmail-queue-draft-directory):
10268 Use expand-file-name.
10269 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10270 Remove C-v help entry.
10271 (feedmail-queue-buffer-file-name): New variable.
10272 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10273 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10274 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10275 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10276 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10277 (feedmail-message-action-toggle-spray)
10278 (feedmail-run-the-queue-no-prompts)
10279 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10280 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10281 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10282 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10283 (feedmail-envelope-deducer, feedmail-fiddle-from)
10284 (feedmail-fiddle-sender, feedmail-default-date-generator)
10285 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10286 (feedmail-fiddle-spray-address)
10287 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10288 (feedmail-fiddle-list-of-fiddle-plexes)
10289 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10290 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10291 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10292 Change default. Doc fix.
10293 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10294 (feedmail-binmail-linuxish-template): New constant.
10295 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10296 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10297 (feedmail-send-it): Add debug call.
10298 Use feedmail-queue-buffer-file-name, and
10299 feedmail-send-it-immediately-wrapper.
10300 (feedmail-message-action-send): Add debug call.
10301 Use feedmail-send-it-immediately-wrapper.
10302 (feedmail-queue-express-to-queue): Add debug call.
10303 Run feedmail-queue-express-hook.
10304 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10305 (feedmail-message-action-help-blat):
10306 Rename from feedmail-queue-send-edit-prompt-help-first.
10307 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10308 Check line-endings. Handle errors better.
10309 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10310 Doc fix. Add debug call.
10311 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10312 Use feedmail-queue-send-edit-prompt-inner.
10313 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10314 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10315 from feedmail-queue-send-edit-prompt.
10316 (feedmail-queue-send-edit-prompt-help)
10317 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10318 (feedmail-tidy-up-slug): Add debug call.
10319 Respect feedmail-queue-slug-suspect-regexp.
10320 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10321 (feedmail-dump-message-to-queue): Add debug call.
10322 Expand queue-directory.
10323 (feedmail-dump-message-to-queue): Change message slightly.
10324 Use feedmail-say-chatter.
10325 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10326 (feedmail-send-it-immediately-wrapper): New function.
10327 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10328 Insert empty string rather than newline. Handle full-frame case.
10329 Use catch/throw. Use feedmail-say-chatter.
10330 (feedmail-fiddle-from): Try mail-host-address.
10331 (feedmail-default-message-id-generator): Doc fix.
10332 Bind system-time-locale. Handle missing end.
10333 (feedmail-fiddle-x-mailer): Add debug call.
10334 Handle feedmail-x-mailer-line being nil.
10335 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10336 Add debug call. Use buffer-substring-no-properties.
10337 (feedmail-say-debug, feedmail-say-chatter): New functions.
10338 (feedmail-find-eoh): Give an explicit error.
10339
42c7e61e
UJ
103402011-05-13 Ulf Jasper <ulf.jasper@web.de>
10341
c2571358 10342 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 10343 family from helvetica to sans.
c2571358 10344 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10345 etc/images/newsticker.
10346
c2571358 10347 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
10348 family from helvetica to sans.
10349
10350 * net/newst-plainview.el (newsticker-new-item-face)
10351 (newsticker-old-item-face, newsticker-immortal-item-face)
10352 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 10353 (newsticker-statistics-face): Change default family from
42c7e61e 10354 helvetica to sans.
c2571358 10355 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10356 etc/images/newsticker.
10357
10358 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10359 (newsticker--process-auto-mark-filter-match): : Tell user about
10360 auto-marking.
10361
8497a297
DV
103622011-05-13 Didier Verna <didier@xemacs.org>
10363
10364 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
10365 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10366 TODO entries.
8497a297
DV
10367 (lisp-lambda-list-keyword-parameter-indentation)
10368 (lisp-lambda-list-keyword-parameter-alignment)
10369 (lisp-lambda-list-keyword-alignment): New customizable user options.
10370 (lisp-indent-defun-method): Improve docstring.
10371 (extended-loop-p): Fix comment.
10372 (lisp-indent-lambda-list-keywords-regexp): New variable.
10373 (lisp-indent-lambda-list): New function.
10374 (lisp-indent-259): Use it.
10375 (lisp-indent-defmethod): Support for more than one
10376 method qualifier and properly indent methods lambda-lists.
10377 (defgeneric): Provide a missing common-lisp-indent-function property.
10378
f278f87f
SM
103792011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10380
10381 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10382 bounds for the empty string (bug#8667).
10383
5233edd7
GM
103842011-05-13 Glenn Morris <rgm@gnu.org>
10385
5237a44f
GM
10386 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10387
8340026c 10388 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 10389 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 10390
5233edd7 10391 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 10392 (appt-time-msg-list): Doc fix.
a5464014 10393 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 10394
92d10796
AS
103952011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10396
10397 * progmodes/ld-script.el (ld-script-keywords)
10398 (ld-script-builtins): Update keywords list.
10399
914a0ae1
SM
104002011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10401
c89be45f
SM
10402 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10403
914a0ae1
SM
10404 * shell.el (shell-completion-vars): New function.
10405 (shell-mode):
10406 * simple.el (read-shell-command): Use it.
10407 (blink-matching-open): No need for " [...]" in minibuffer-message.
10408
98dc3df3
GM
104092011-05-12 Glenn Morris <rgm@gnu.org>
10410
10411 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10412 (appt-check): Simplify.
10413
d2fc7e3d 104142011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 10415
4d61f28d 10416 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
10417 literal "/dev/null".
10418
d2fc7e3d 104192011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
10420
10421 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10422 Fix typo.
10423
d2fc7e3d 104242011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 10425
3f254caa
SM
10426 * progmodes/which-func.el (which-function):
10427 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
10428 which might not be defined (Bug#8260).
10429
d45885f7
GM
104302011-05-12 Glenn Morris <rgm@gnu.org>
10431
10432 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10433 Let byte-compile-initial-macro-environment always take precedence.
10434
488086f4
SM
104352011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10436
10437 * net/rcirc.el: Add support for SSL/TLS connections.
10438 (rcirc-server-alist): New field `encryption'.
10439 (rcirc): Check `encryption' settings.
10440 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10441 Merge make-local-variable into `set'.
10442 (rcirc--connection-open-p): New function.
10443 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10444 the process is not a network process (e.g. running gnutls-cli).
10445 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10446 Make rcirc-(en|de)code-coding-system local here.
10447 (rcirc-mode): Merge make-local-variable into `set'.
10448 (rcirc-parent-buffer): Make permanent buffer-local.
10449 (rcirc-multiline-minor-mode): Don't do it here.
10450 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10451 there's no server buffer.
10452
7d3b9d44
GM
104532011-05-11 Glenn Morris <rgm@gnu.org>
10454
f64049c6
GM
10455 * newcomment.el (comment-kill): Prefix "unused" local.
10456
93c9df73
GM
10457 * term/w32console.el (get-screen-color): Declare.
10458
7d3b9d44
GM
10459 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10460 Handle symbol elements of byte-compile-initial-macro-environment.
10461
9e2dd53f
LL
104622011-05-10 Leo Liu <sdl.web@gmail.com>
10463
488086f4
SM
10464 * bookmark.el (bookmark-bmenu-mode-map):
10465 Bind bookmark-bmenu-search to `/'.
8b340240 10466
9e2dd53f 10467 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
10468 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10469 (Footnote-unicode): New function.
10470 (footnote-style-alist): Add unicode style to the list.
10471 (footnote-style): Doc fix.
9e2dd53f 10472
79b70037
GM
104732011-05-10 Jim Meyering <meyering@redhat.com>
10474
10475 Fix doubled-word typos.
10476 * international/quail.el (quail-insert-kbd-layout): and and -> and
10477 * kermit.el: and and -> and
10478 * net/ldap.el (ldap-search-internal): to to -> to
10479 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10480 * progmodes/js.el (js-mode): and and -> and
10481 * textmodes/artist.el (artist-move-to-xy): at at -> at
10482 (artist-draw-region-trim-line-endings): if if -> if
10483 And Safetyc -> Safety.
10484 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10485
b8f82dc1 104862011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 10487 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
10488
10489 * files.el (hack-one-local-variable-eval-safep):
10490 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10491
4f99f44b
GM
104922011-05-10 Glenn Morris <rgm@gnu.org>
10493
10494 * calendar/diary-lib.el (diary-list-entries-hook)
10495 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10496 (diary-nongregorian-marking-hook, diary-list-entries)
10497 (diary-include-other-diary-files, diary-mark-entries)
10498 (diary-mark-included-diary-files): Doc fixes.
10499
84f29e6b
JB
105002011-05-09 Juanma Barranquero <lekktu@gmail.com>
10501
10502 * misc.el: Require tabulated-list.el during compilation.
10503
9bedd73a
CY
105042011-05-09 Chong Yidong <cyd@stupidchicken.com>
10505
488086f4
SM
10506 * progmodes/compile.el (compilation-start):
10507 Run compilation-filter-hook for the async case too.
9bedd73a
CY
10508 (compilation-filter-hook): Doc fix.
10509
797c735c
DD
105102011-05-09 Deniz Dogan <deniz@dogan.se>
10511
10512 * wdired.el: Remove outdated installation comment. Fix usage
10513 comment.
10514
5f4b1dfe
JB
105152011-05-09 Juanma Barranquero <lekktu@gmail.com>
10516
10517 * misc.el: Implement new command `list-dynamic-libraries'.
10518 (list-dynamic-libraries--loaded-only-p): New variable.
10519 (list-dynamic-libraries--refresh): New function.
10520 (list-dynamic-libraries): New command.
10521
4c44026c
CY
105222011-05-09 Chong Yidong <cyd@stupidchicken.com>
10523
488086f4
SM
10524 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10525 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
10526 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10527 higher priority to avoid clobbering by gnu.
10528
027f966d
CY
105292011-05-08 Chong Yidong <cyd@stupidchicken.com>
10530
10531 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10532 if the face has existing theme settings (Bug#8454).
10533
085f5d7d
CY
105342011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10535
488086f4
SM
10536 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10537 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 10538
2a86a00c
RS
10539 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10540 special file names `.' and `..' (Bug#8259).
10541
d9c54a06
CY
105422011-05-08 Chong Yidong <cyd@stupidchicken.com>
10543
488086f4
SM
10544 * progmodes/grep.el (grep-mode-font-lock-keywords):
10545 Remove buffer-changing entries.
d9c54a06
CY
10546 (grep-filter): New function.
10547 (grep-mode): Add it to compilation-filter-hook.
10548
10549 * progmodes/compile.el (compilation-filter-hook)
10550 (compilation-filter-start): New defvars.
10551 (compilation-filter): Call compilation-filter-hook prior to
10552 updating the process mark.
10553
c4662635
SM
105542011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10555
10556 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10557
b0512a1d
EZ
105582011-05-07 Eli Zaretskii <eliz@gnu.org>
10559
605c9376
EZ
10560 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10561 mailclient-send-it even if window-system is nil. (Bug#8595)
10562
c4662635
SM
10563 * term/w32console.el (terminal-init-w32console):
10564 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
10565 background-mode. (Bug#8597)
10566
d1dc2cc2
SM
105672011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10568
10569 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10570 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10571 New functions.
10572 (defgeneric, eieio--defmethod): Use them.
10573 (eieio-defgeneric): Remove.
10574 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10575
915d1300
GM
105762011-05-07 Glenn Morris <rgm@gnu.org>
10577
a3961c3e
GM
10578 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10579 Use let rather than let*.
10580 (timeclock-find-discrep): Remove unused local.
10581
314347b9
GM
10582 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10583
915d1300
GM
10584 * calendar/appt.el (appt-time-msg-list): Doc fix.
10585
275b59b0
NF
105862011-05-06 Noah Friedman <friedman@splode.com>
10587
10588 * apropos.el (apropos-print-doc): Only use
10589 emacs-lisp-docstring-fill-column when it is bound to an integer,
10590 per that variable's documentation.
10591
6c19f744
SM
105922011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10593
10594 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 10595 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 10596
60f884b2
GM
105972011-05-06 Glenn Morris <rgm@gnu.org>
10598
5006e634
GM
10599 * calendar/appt.el (appt-message-warning-time): Doc fix.
10600 (appt-warning-time-regexp): New option.
10601 (appt-make-list): Respect appt-message-warning-time.
10602
548d0a63
GM
10603 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10604 New options.
10605 (diary-add-to-list): Strip comments from the displayed string.
10606 (diary-mode): Set comment-start and comment-end.
10607
60f884b2
GM
10608 * vc/diff-mode.el (smerge-refine-subst): Declare.
10609 (diff-refine-hunk): Don't require smerge-mode when compiling.
10610
989681bb
JB
106112011-05-06 Juanma Barranquero <lekktu@gmail.com>
10612
10613 * simple.el (list-processes): Return nil as the docstring says.
10614
a6bc05e1
MA
106152011-05-05 Michael Albinus <michael.albinus@gmx.de>
10616
10617 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10618 to "".
10619 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10620 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10621 determining of binary transfer. (Bug#7383)
10622
23c22e9a
MA
106232011-05-05 Michael Albinus <michael.albinus@gmx.de>
10624
c4662635
SM
10625 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10626 Fix port computation bug. (Bug#8618)
23c22e9a 10627
0bff894f
GM
106282011-05-05 Glenn Morris <rgm@gnu.org>
10629
b8296902
GM
10630 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10631
1f522ce8
GM
10632 * simple.el (shell-dynamic-complete-functions)
10633 (comint-dynamic-complete-functions): Declare.
10634
cf5bee67
GM
10635 * net/network-stream.el (gnutls-negotiate):
10636 * simple.el (tabulated-list-print): Fix declarations.
10637
10638 * progmodes/gud.el (syntax-symbol, syntax-point):
10639 Remove unnecessary and incorrect declarations.
10640
0bff894f
GM
10641 * emacs-lisp/check-declare.el (check-declare-scan):
10642 Handle byte-compile-initial-macro-environment in bytecomp.el
10643
9869b3ae
SM
106442011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10645
10646 Fix earlier half-done eieio-defmethod change (bug#8338).
10647 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10648 Streamline and change calling convention.
10649 (defmethod): Adjust accordingly and simplify.
10650 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10651 new eieio--defmethod.
10652 (slot-boundp): Minor CSE simplification.
10653
9c1d5ac5
MZ
106542011-05-05 Milan Zamazal <pdm@zamazal.org>
10655
10656 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10657 (glasses-make-readable): Use glasses-separate-capital-groups.
10658
455c834e
JB
106592011-05-05 Juanma Barranquero <lekktu@gmail.com>
10660
10661 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10662 (warning-series): Doc fix.
10663 (display-warning): Don't try to create the buffer if we just found it.
10664
9ed7c8cb
CY
106652011-05-04 Chong Yidong <cyd@stupidchicken.com>
10666
10667 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10668 (autoload-find-generated-file): New function.
10669 (generate-file-autoloads): Bind generated-autoload-file to
10670 buffer-file-name.
9869b3ae
SM
10671 (update-file-autoloads, update-directory-autoloads):
10672 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
10673 output file (Bug#7989).
10674 (batch-update-autoloads): Doc fix.
10675
0898ca10
JB
106762011-05-04 Juanma Barranquero <lekktu@gmail.com>
10677
10678 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10679
31dfb76c
GM
106802011-05-04 Glenn Morris <rgm@gnu.org>
10681
f330b642
GM
10682 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10683 function, so it follows changes in calendar-date-style.
10684 (diary-fancy-date-matcher): New function.
10685 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10686 (diary-fancy-font-lock-fontify-region-function):
10687 Use diary-fancy-date-pattern as a function.
10688
31dfb76c
GM
10689 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10690 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10691
48e79d6a
TZ
106922011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10693
10694 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10695 instead of positional arguments. Allow :keylist and :crlfiles
10696 arguments.
10697 (open-gnutls-stream): Call it.
10698
10699 * net/network-stream.el (network-stream-open-starttls): Adjust to
10700 call `gnutls-negotiate' with :process and :hostname arguments.
10701
dd5a5ee0
SM
107022011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10703
ef80fc09
SM
10704 * minibuffer.el (completion--message): New function.
10705 (completion--do-completion, minibuffer-complete)
10706 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10707 (completion--do-completion): Don't ignore completion-auto-help when in
10708 icomplete-mode.
10709
dd5a5ee0
SM
10710 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10711 internal encoding (e.g. tibetan zero is not whitespace).
10712 (global-whitespace-mode): Prefer save-current-buffer.
10713 (whitespace-trailing-regexp): Remove useless save-match-data.
10714 (whitespace-empty-at-bob-regexp): Minor simplification.
10715
b7d22a83
CY
107162011-05-03 Chong Yidong <cyd@stupidchicken.com>
10717
10718 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10719
5192af46
AM
107202011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10721
10722 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 10723 Use `concat' to create string for insertion.
5192af46 10724
5767d190
SM
107252011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10726
10727 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10728 Avoid open-line which runs post-self-insert-hook.
10729 (bibtex-fill-entry): Remove unused `end' var.
10730
bf242939
AM
107312011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10732
5767d190
SM
10733 * textmodes/ispell.el (ispell-add-per-file-word-list):
10734 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 10735
25666126
LL
107362011-05-03 Leo Liu <sdl.web@gmail.com>
10737
10738 * isearch.el (isearch-yank-pop): New command.
5767d190 10739 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
10740 (isearch-forward): Mention it.
10741
52d3c2d0
SM
107422011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10743
1bcace58
SM
10744 * simple.el (minibuffer-complete-shell-command): Remove.
10745 (minibuffer-local-shell-command-map): Use completion-at-point.
10746 (read-shell-command): Setup completion vars here instead.
10747 (read-expression-map): Bind TAB to symbol completion.
10748
52d3c2d0
SM
10749 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10750 error directly rather via storing it into `results'.
10751
35813471
LL
107522011-05-02 Leo Liu <sdl.web@gmail.com>
10753
10754 * vc/diff.el: Fix description.
10755
e793a940
LMI
107562011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10757
10758 * server.el (server-eval-at): New function.
10759
8de66e05
LMI
107602011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10761
10762 * net/network-stream.el (open-network-stream): Take a :nowait
10763 parameter and pass it on to `make-network-process'.
10764 (network-stream-open-plain): Ditto.
10765
dcb79f20
AS
107662011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10767
10768 * faces.el (face-spec-set-match-display): Don't match toolkit
10769 options on terminal frames.
10770
14a7fbd8
SM
107712011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10772
7eabc1be
SM
10773 * progmodes/pascal.el: Use lexical binding.
10774 (pascal-mode-map): Remove author preferences.
10775
14a7fbd8
SM
10776 * pcomplete.el (pcomplete-std-complete): Don't abuse
10777 completion-at-point.
10778
50f84510
JB
107792011-04-28 Juanma Barranquero <lekktu@gmail.com>
10780
6e087a44
JB
10781 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10782 removing code that has been dead since 1991 or so.
10783
50f84510
JB
10784 * startup.el (command-line): When warning about "_emacs", use a
10785 delayed warning to allow the user to filter it out.
10786
0ba690bd
DD
107872011-04-28 Deniz Dogan <deniz@dogan.se>
10788
10789 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10790 user has not joined.
10791
08abfaad
SM
107922011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10793
10794 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10795 aren't any completions at point.
10796
638f053a
JB
107972011-04-28 Juanma Barranquero <lekktu@gmail.com>
10798
10799 * subr.el (display-delayed-warnings): New function.
10800 (delayed-warnings-hook): New variable.
10801
8fff8daa
SM
108022011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10803
08abfaad
SM
10804 * minibuffer.el (completion-at-point, completion-help-at-point):
10805 Don't presume that a given completion-at-point-function will always
10806 use the same calling convention.
10807
8fff8daa
SM
10808 * pcomplete.el (pcomplete-completions-at-point):
10809 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10810 pcomplete-seen is non-nil.
10811 (pcomplete-comint-setup): Also recognize the new comint/shell
10812 completion functions.
10813 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10814 pcomplete-seen is non-nil.
10815
841a1577 108162011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 10817
841a1577 10818 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 10819 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 10820 the first character in the entry. This allows for code to add its
211ec907
UJ
10821 own uid to the entry.
10822 (icalendar--convert-float-to-ical): Add export of
10823 `diary-float'-entries save for those with the optional DAY
10824 argument.
10825
2a782793
DC
108262011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10827
10828 * subr.el (shell-quote-argument): Use alternate escaping strategy
10829 when we spot a variable reference in a string.
10830
0438ce91
DC
108312011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10832
10833 * cus-start.el (all): Define customization for debug-on-event.
10834
841a1577 108352011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
10836
10837 * subr.el (shell-quote-argument): Escape correctly under Windows.
10838
d090ed6c
SM
108392011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10840
10841 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10842
bfd31217
MA
108432011-04-25 Michael Albinus <michael.albinus@gmx.de>
10844
d090ed6c
SM
10845 * net/tramp.el (tramp-process-actions): Add POS argument.
10846 Delete region between POS and (pos).
bfd31217 10847
d090ed6c
SM
10848 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10849 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
10850 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10851
10852 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10853 position in `tramp-process-actions' call.
10854
10855 * net/trampver.el: Update release number.
10856
e92f3bd3
SM
108572011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10858
850256b5
SM
10859 * custom.el (defcustom): Obey lexical-binding.
10860
e92f3bd3
SM
10861 Fix octave-inf completion problems reported by Alexander Klimov.
10862 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10863 Inherit from octave-mode-syntax-table.
10864 (inferior-octave-mode): Set info-lookup-mode.
10865 (inferior-octave-completion-at-point): New function.
10866 (inferior-octave-complete): Use it and completion-in-region.
10867 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10868 comint-filename-completion.
10869 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10870 symbol elements which shouldn't be word elements.
10871 (octave-font-lock-keywords, octave-beginning-of-defun)
10872 (octave-function-header-regexp): Adjust regexps accordingly.
10873 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10874
cd22b309
JB
108752011-04-25 Juanma Barranquero <lekktu@gmail.com>
10876
10877 * net/gnutls.el (gnutls-errorp): Declare before first use.
10878
8b492194
TZ
108792011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10880
10881 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10882 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 10883 default trustfile exists before going to use it. Add missing
5a5fa834 10884 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
10885 Reported by Claudio Bley <claudio.bley@gmail.com>.
10886 (open-gnutls-stream): Add usage example.
10887
10888 * net/network-stream.el (network-stream-open-starttls): Give host
10889 parameter to `gnutls-negotiate'.
10890 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 10891 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 10892
841a1577 108932011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 10894
cd22b309
JB
10895 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10896 Use correct match group (bug#8438).
05842630 10897
3ba7869c
CY
108982011-04-24 Chong Yidong <cyd@stupidchicken.com>
10899
512e3ae1
CY
10900 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10901 (package-menu--generate): New arg specifying packages to show.
10902 (package-menu-refresh, package-menu-execute, list-packages):
10903 Callers changed.
10904 (package-show-package-list): New function, replacing deleted
10905 package--list-packages (renamed because it is non-internal).
10906
10907 * finder.el (finder-list-matches): Use package-show-package-list
10908 instead of deleted package--list-packages.
10909
e92f3bd3
SM
10910 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10911 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
10912 (vc-annotate-mode-map): Bind it to RET.
10913
7031be6d
UR
109142011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10915
10916 * progmodes/etags.el (next-file): Don't use set-buffer to change
10917 buffers (Bug#8478).
10918
4ef177aa
CY
109192011-04-24 Chong Yidong <cyd@stupidchicken.com>
10920
c8d173eb
CY
10921 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10922
4ef177aa
CY
10923 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10924 (apropos-accumulator): Doc fix.
10925 (apropos-function, apropos-macro, apropos-command)
10926 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10927 (apropos-plist): Add face property.
10928 (apropos-symbols-internal): Fix indentation.
10929 (apropos-print): Simplify help, and recognize apropos-multi-type.
10930 (apropos-print-doc): Use button-type-get to extract the button's
10931 face property. Fill docstring (Bug#8352).
10932
4ffd0d6b 109332011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
10934
10935 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10936
c6c32125 10937 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 10938 (mpuz-mode-map): Use mapc.
c6c32125
JB
10939 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10940 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10941 Fix typos in docstrings.
10942
58d468b4
JB
10943 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10944 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10945
6470c3c6
JB
10946 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10947
4ffd0d6b 109482011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
10949
10950 * minibuffer.el (completion--do-completion): Avoid the "Next char
10951 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10952
3ad8bad0
CY
10953 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10954 mouse-2 into unread-command-events, it is interpreted correctly.
10955
71d73c9c 10956 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 10957 (image-toggle-display): Doc fix.
71d73c9c 10958
841a1577 109592011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 10960
4ffd0d6b
GM
10961 * textmodes/page.el (what-page): Use line-number-at-pos to
10962 calculate line number (Bug#6825).
6e1dbaa9 10963
c2fb1b60
JB
109642011-04-22 Juanma Barranquero <lekktu@gmail.com>
10965
10966 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10967 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10968 Pass argument NO-DEFAULT to `find-tag-interactive'.
10969
e02f48d7
JB
109702011-04-22 Juanma Barranquero <lekktu@gmail.com>
10971
10972 Lexical-binding cleanup.
10973
10974 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10975 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10976 * progmodes/ada-prj.el (ada-prj-initialize-values)
10977 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10978 (ada-prj-show-value):
10979 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10980 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10981 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10982 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10983 * progmodes/bug-reference.el (bug-reference-push-button):
10984 * progmodes/fortran.el (fortran-line-length):
10985 * progmodes/glasses.el (glasses-change):
10986 * progmodes/octave-mod.el (octave-fill-paragraph):
10987 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10988 (python-pdbtrack-grub-for-buffer, python-sentinel):
10989 * progmodes/sql.el (sql-save-connection):
10990 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10991 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10992 Mark unused parameters.
10993
10994 * progmodes/compile.el (compilation--flush-directory-cache)
10995 (compilation--flush-parse, compile-internal): Mark unused parameters.
10996 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10997 (compilation-next-error-function): Remove unused variable `timestamp'.
10998
10999 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11000 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11001
11002 * progmodes/dcl-mode.el (dcl-end-of-command):
11003 Remove unused variable `start'.
11004 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11005 (dcl-option-value-basic, dcl-option-value-offset)
11006 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11007 Mark unused parameters.
11008 (dcl-save-local-variable): Remove unused variable `val'.
11009 (mode): Declare.
11010
11011 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11012 Mark unused parameters.
11013 (delphi-ignore-changes): Move before first use.
11014 (delphi-charset-token-at): Remove unused variable `start'.
11015 (delphi-else-start): Remove unused variable `if-count'.
11016 (delphi-comment-block-start, delphi-comment-block-end):
11017 Remove unused variable `kind'.
11018 (delphi-indent-line): Remove unused variable `new-point'.
11019
11020 * progmodes/ebrowse.el (ebrowse-files-list)
11021 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11022 Mark unused parameters. Don't quote `lambda'.
11023 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11024 Don't quote `lambda'.
11025 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11026 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11027 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11028 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11029 Use `ignore-errors'.
11030 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11031 (ebrowse-view/find-file-and-search-pattern)
11032 (ebrowse-view/find-member-declaration/definition):
11033 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11034 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11035 Rename parameter PREFIX-ARG to PREFIX.
11036 (ebrowse-tags-read-name): Remove unused variables `start' and
11037 `member-info'.
11038 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11039 to `tags-file'.
11040
11041 * progmodes/etags.el (local-find-tag-hook): Declare.
11042 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11043 Mark unused parameters.
11044
11045 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11046 (executable-interpret): Mark unused parameter.
11047
11048 * progmodes/flymake.el (flymake-process-sentinel)
11049 (flymake-after-change-function)
11050 (flymake-create-temp-with-folder-structure)
11051 (flymake-get-include-dirs-dot): Mark unused parameters.
11052 (flymake-safe-delete-directory): Remove unused variable `err'.
11053
11054 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11055 (speedbar-timer-fn, speedbar-line-text)
11056 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11057 (speedbar-center-buffer-smartly): Declare functions.
11058 (gdb-find-watch-expression): Remove unused variable `array'.
11059 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11060 (gdb-starting): Mark unused parameters.
11061 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11062 (gdb-table-string): Remove unused variable `res'.
11063 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11064 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11065 (gdb-display-buffer): Remove unused variable `cur-size'.
11066
11067 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11068 allow lexical-binding compilation.
11069 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11070 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11071 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11072 Mark unused parameters.
11073 (gud-gdb-marker-filter): Remove unused variable `match'.
11074 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11075 lambda expressions and funcall them, instead of using `fset'.
11076
11077 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11078 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11079
11080 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11081 variable `header-beg'; use `let'.
11082
11083 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11084 `restart', `last-sexp' and `at-do'.
11085
11086 * progmodes/js.el (js--debug): Mark unused parameter.
11087 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11088 (js--splice-into-items): Remove unused variable `item'.
11089 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11090
11091 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11092 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11093 (makefile-complete): Remove unused variable `try'.
11094 (makefile-fill-paragraph, makefile-match-function-end):
11095 Mark unused parameters.
11096
11097 * progmodes/octave-inf.el (inferior-octave-complete):
11098 Remove unused variable `proc'.
11099 (inferior-octave-output-digest): Mark unused parameter.
11100
11101 * progmodes/perl-mode.el (perl-calculate-indent):
11102 Remove unused variable `err'.
11103
11104 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11105 (prolog-indent-line): Mark unused parameters.
11106 (prolog-indent-line): Remove unused variable `beg'.
11107
11108 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11109 (reporter-dont-compact-list): Declare.
11110
11111 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11112 Remove unused variable `char'.
11113 (sh-debug): Mark unused parameter.
11114 (sh-get-indent-info): Remove unused variable `start'.
11115 (sh-calculate-indent): Remove unused variable `var'.
11116
11117 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11118 (simula-electric-keyword): Remove unused variable `null'.
11119 (simula-search-backward, simula-search-forward): Remove unused
11120 variables `begin' and `end'.
11121
11122 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11123 Remove unused variable `pos'.
11124 (vera-electric-tab, vera-comment-uncomment-region):
11125 Mark unused parameters.
11126 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11127
7ede3b65
CY
111282011-04-22 Chong Yidong <cyd@stupidchicken.com>
11129
11130 * emacs-lisp/package.el (package--builtins, package-alist)
11131 (package-load-descriptor, package-built-in-p, package-activate)
11132 (define-package, package-installed-p)
11133 (package-compute-transaction, package-buffer-info)
11134 (package--push): Doc fix. Distinguish more clearly between
11135 version strings and version lists.
11136
121656e9
JB
111372011-04-21 Juanma Barranquero <lekktu@gmail.com>
11138
11139 Lexical-binding cleanup.
11140
11141 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11142 (5x5-make-mutate-best):
11143 * play/fortune.el (fortune-in-buffer):
11144 * play/gomoku.el (gomoku-init-display):
11145 * play/solitaire.el (solitaire, solitaire-do-check):
11146 * play/tetris.el (tetris-default-update-speed-function):
11147 Mark unused parameters.
11148
11149 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11150 (bubbles--shift): Remove unused variable `char-org'.
11151 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11152 (bubbles--show-images): Remove unused variable `char'.
11153
11154 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11155 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11156 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11157 (decipher-analyze-buffer): Use ?\s.
11158 (decipher-make-checkpoint): Remove unused variable `mapping'.
11159
11160 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11161
11162 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11163 Remove unused variable `result'; use `let'.
11164
11165 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11166 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11167 (gametree-children-shown-p, gametree-compute-reduced-score):
11168 Use `ignore-errors'.
11169
11170 * play/handwrite.el (ps-lpr-switches): Declare.
11171 (handwrite): Remove unused variables `pmin' and `lastp'.
11172
11173 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11174
11175 * play/landmark.el (landmark-init-display)
11176 (landmark-update-naught-weights): Mark unused parameters.
11177 (landmark-y): Remove unused variable `noise'. Simplify.
11178 (landmark-human-plays): Remove unused variable `score'.
11179
11180 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11181 (mpuz-try-proposal): Remove unused variable `game'.
11182
11183 * play/zone.el (life-patterns): Declare.
11184
80f499c7
JB
111852011-04-20 Juanma Barranquero <lekktu@gmail.com>
11186
11187 * vc/vc.el (ediff-vc-internal): Declare function.
11188
024ff170
SM
111892011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11190
c0a193ea
SM
11191 * shell.el: Use lexical-binding and std completion UI.
11192 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11193 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11194 comint-preoutput-filter-functions rather than on
11195 comint-output-filter-functions.
11196 (shell-command-completion, shell--command-completion-data)
11197 (shell-filename-completion, shell-environment-variable-completion)
11198 (shell-c-a-p-replace-by-expanded-directory): New functions.
11199 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11200 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11201 (shell-dynamic-complete-environment-variable): Use them.
11202 (shell-dynamic-complete-as-environment-variable)
11203 (shell-dynamic-complete-as-command): Remove.
11204 (shell-match-partial-variable): Match past point.
11205 * comint.el: Clean up use of completion-at-point-functions.
11206 (comint-completion-at-point): New function.
11207 (comint-mode): Use it completion-at-point-functions.
11208 (comint-dynamic-complete): Make it obsolete.
11209 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11210 (comint-c-a-p-replace-by-expanded-history): New function.
11211 (comint-dynamic-complete-functions)
11212 (comint-replace-by-expanded-history): Use it.
11213 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11214 termination strings. Try harder to avoid second try-completion.
11215 (completion-in-region-mode-map): Disable bindings that don't work yet.
11216
2dbaa080
SM
11217 * comint.el: Use lexical-binding. Require CL.
11218 (comint-dynamic-complete-functions): Use comint-filename-completion.
11219 (comint-completion-addsuffix): Tweak custom type.
11220 (comint-filename-completion, comint--common-suffix)
11221 (comint--common-quoted-suffix, comint--table-subvert)
11222 (comint--complete-file-name-data): New functions.
11223 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11224 (comint-dynamic-list-filename-completions): Use them.
11225 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 11226
2dbaa080
SM
11227 * minibuffer.el (completion-in-region-mode):
11228 Keep completion-in-region-mode--predicate global.
11229 (completion-in-region--postch):
11230 Assume completion-in-region-mode--predicate is not null.
11231
c79a6f38
SM
11232 * progmodes/flymake.el (flymake-start-syntax-check-process):
11233 Obey `dir'. Simplify.
11234
024ff170
SM
11235 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11236 we're in VC after all.
11237
1c6c854e
CS
112382011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11239
11240 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 11241 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
11242 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11243
bed7f140
SM
112442011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11245
332e62ab
SM
11246 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11247 add sanity check.
11248
bed7f140
SM
11249 * obsolete/erc-hecomplete.el: Make obsolete.
11250 * obsolete/: Standardize obsolescence info in the header.
11251
f195c582
GM
112522011-04-20 Glenn Morris <rgm@gnu.org>
11253
11254 * calendar/solar.el (solar-horizontal-coordinates):
11255 Use the longitude argument rather than `calendar-longitude'.
11256 (solar-date-next-longitude): Remove unused locals.
11257
cb79b8c0
VJL
112582011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11259
11260 * whitespace.el: New version 13.2.1.
11261
112622011-04-20 felix <EmacsWiki> (tiny change)
11263
d8e4b68b 11264 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
11265 switching between major modes on a file.
11266
602ea69d
SM
112672011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11268
11269 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11270 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11271 multi-line comments as well.
11272
06b60517
JB
112732011-04-19 Juanma Barranquero <lekktu@gmail.com>
11274
11275 Lexical-binding cleanup.
11276
11277 * arc-mode.el (archive-mode-revert):
11278 * cmuscheme.el (scheme-interactively-start-process):
11279 * custom.el (custom-initialize-delay):
11280 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11281 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11282 * emacs-lock.el (emacs-lock-clear-sentinel):
11283 * ezimage.el (defezimage):
11284 * follow.el (follow-avoid-tail-recenter):
11285 * fringe.el (set-fringe-mode-1):
11286 * generic-x.el (bat-generic-mode-compile):
11287 * help-mode.el (help-info-variable, help-do-xref)
11288 (help-mode-revert-buffer):
11289 * help.el (view-emacs-todo):
11290 * iswitchb.el (iswitchb-completion-help):
11291 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11292 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11293 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11294 * locate.el (locate-update):
11295 * longlines.el (longlines-encode-region)
11296 (longlines-after-change-function):
11297 * outline.el (outline-isearch-open-invisible):
11298 * ps-def.el (declare-function, charset-dimension, char-width)
11299 (encode-char):
11300 * ps-mule.el (ps-mule-plot-string):
11301 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11302 (recentf-edit-list-select, recentf-edit-list-validate)
11303 (recentf-open-files-action):
11304 * rect.el (delete-whitespace-rectangle-line)
11305 (rectangle-number-line-callback):
11306 * register.el (window-configuration-to-register)
11307 (frame-configuration-to-register):
11308 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11309 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11310 (xselect-convert-to-targets, xselect-convert-to-delete)
11311 (xselect-convert-to-filename, xselect-convert-to-charpos)
11312 (xselect-convert-to-lineno, xselect-convert-to-colno)
11313 (xselect-convert-to-os, xselect-convert-to-host)
11314 (xselect-convert-to-user, xselect-convert-to-class)
11315 (xselect-convert-to-name, xselect-convert-to-integer)
11316 (xselect-convert-to-atom, xselect-convert-to-identity):
11317 * subr.el (declare, ignore, process-kill-without-query)
11318 (text-clone-maintain):
11319 * terminal.el (te-get-char, te-tic-sentinel):
11320 * tool-bar.el (tool-bar-make-keymap):
11321 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11322 * type-break.el (type-break-mode, type-break-noninteractive-query):
11323 * view.el (View-back-to-mark):
11324 * wid-browse.el (widget-browse-action, widget-browse-widget)
11325 (widget-browse-widgets, widget-browse-sexp):
11326 * widget.el (define-widget-keywords):
11327 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11328 Mark unused parameters.
11329
11330 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11331 (align-areas): Remove unused variable `look'.
11332 (align-region): Remove unused variables `real-end' and `pos-list'.
11333
11334 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11335
11336 * bindings.el (mode-line-modified, mode-line-remote):
11337 Mark unused parameters.
11338 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11339
11340 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11341 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11342
11343 * comint.el (comint-history-isearch-pop-state)
11344 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11345 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11346 (comint-substitute-in-file-name): Doc fix.
11347
11348 * completion.el (cmpl-statistics-block): Mark unused parameter.
11349 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11350 (save-completions-to-file, load-completions-from-file):
11351 Remove unused local variable `e'.
11352
11353 * composite.el (compose-chars): Remove unused variable `len'.
11354 (lgstring-insert-glyph): Remove unused variable `g'.
11355 (compose-glyph-string): Remove unused variables `ascent',
11356 `descent', `lbearing' and `rbearing'.
11357 (compose-glyph-string-relative): Remove unused variables
11358 `lbearing', `rbearing' and `wadjust'.
11359 (compose-gstring-for-graphic): Remove unused variables `header',
11360 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11361 (compose-gstring-for-terminal): Remove unused variables `header'
11362 and `nchars'. Use `let', not `let*'.
11363
11364 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11365 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11366 (Custom-buffer-done, custom-buffer-create-internal)
11367 (custom-browse-visibility-action, custom-browse-group-tag-action)
11368 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11369 (widget-magic-mouse-down-action, custom-toggle-parent)
11370 (custom-add-parent-links, custom-toggle-hide-variable)
11371 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11372 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11373 (custom-face-menu-create, custom-variable-menu-create, get)
11374 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11375 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11376 (customize-apropos): Remove unused variable `tests'.
11377 (custom-group-value-create): Remove unused variable `hidden-p'.
11378 (sort-fold-case): Declare.
11379
11380 * cus-theme.el (custom-reset-standard-faces-list)
11381 (custom-reset-standard-variables-list): Declare.
11382 (customize-create-theme, custom-theme-revert, custom-theme-write)
11383 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11384 Mark unused parameters.
11385
11386 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11387
11388 * delim-col.el (delimit-columns-max): Move defvar before first use.
11389
11390 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 11391 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
11392
11393 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11394 (auto-insert): Declare.
11395 (desktop-restore-file-buffer): Rename desktop-* parameters;
11396 mark unused ones.
11397 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11398 (desktop-buffer): Rename desktop-* parameters.
11399
11400 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11401 (dframe-reposition-frame-xemacs, dframe-help-echo)
11402 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11403 Mark unused parameters.
11404
11405 * dired-aux.el (backup-extract-version-start, overwrite-query)
11406 (overwrite-backup-query, rename-regexp-query)
11407 (rename-non-directory-query): Declare.
11408 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11409 (dired-add-entry): Remove unused variable `orig-file-name'.
11410 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11411 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11412 `dired-copy-preserve-time' directly.
11413 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11414 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11415
11416 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11417 (dired-virtual-revert, dired-make-relative-symlink):
11418 Mark unused parameters.
11419 (manual-program): Declare.
11420 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11421 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11422 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11423
11424 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11425
11426 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11427
11428 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11429 Declare.
11430
11431 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11432
11433 * electric.el (Electric-command-loop): Rename parameter
11434 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11435
11436 * expand.el (expand-in-literal): Remove unused variable `here'.
11437
11438 * facemenu.el (facemenu-add-new-color):
11439 Remove unused variable `docstring'.
11440
11441 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11442 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11443 (face-attr-construct): Mark unused parameter. Doc fix.
11444 (read-color): Remove unused variable `hex-string'.
11445
11446 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11447 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11448 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11449 (display-buffer-other-frame): Remove unused variable `old-window'.
11450 (kill-buffer-hook): Declare.
11451 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11452 Mark unused parameters.
11453 (after-find-file): Pass 1 to `auto-save-mode', not t.
11454
11455 * files-x.el (auto-insert): Declare.
11456 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11457
11458 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 11459 variable `buf'. Mark unused parameter.
06b60517
JB
11460 (find-lisp-insert-directory): Mark unused parameter.
11461
11462 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11463 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11464 (format-common-tail): Remove, unused.
11465 (format-deannotate-region): Remove unused variable `loc'.
11466 (format-annotate-region): Remove unused variable `p'.
11467 (format-annotate-single-property-change): Remove unused variables
11468 `default' and `tail'.
11469
11470 * forms.el (read-file-filter): Declare.
11471 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11472
11473 * frame.el (frame-creation-function-alist): Mark unused parameter.
11474 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11475
11476 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11477 Remove unused parameters.
11478 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11479 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11480
11481 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11482 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11483 (hfy-prepare-tag-map): Mark unused parameters.
11484 (htmlfontify-buffer): Use `called-interactively-p'.
11485
11486 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11487 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11488 (ibuffer-do-occur): Mark unused parameters.
11489 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11490 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11491
11492 * ibuffer.el: Don't quote `lambda'.
11493 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11494 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11495 Mark unused parameters.
11496
11497 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11498 (ido-completing-read): Mark unused parameters.
11499 (ido-copy-current-word): Mark unused parameters;
11500 remove unused variable `name'.
11501 (ido-sort-merged-list): Remove unused parameter `dirs'.
11502
11503 * ielm.el (ielm-input-sender): Mark unused parameter.
11504 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11505 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11506 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11507 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11508 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11509
11510 * image-dired.el (image-dired-display-thumbs): Remove unused
11511 variables `curr-file' and `count'.
11512 (image-dired-remove-tag): Remove unused variable `start'.
11513 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11514 variable `curr-file'
11515 (image-dired-rotate-original): Remove unused variable `temp-file'.
11516 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11517 Remove unused variable `file'.
11518 (image-dired-gallery-generate): Remove unused variable `curr'.
11519 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11520
11521 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11522
11523 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11524
11525 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11526
11527 * isearch.el (minibuffer-history-symbol): Declare.
11528 (isearch-edit-string): Remove unused variable `err'.
11529 (isearch-message-prefix, isearch-message-suffix):
11530 Mark unused parameters.
11531
11532 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11533
11534 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11535
11536 * makesum.el (double-column): Remove unused variable `cnt'.
11537
11538 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11539 (ido-ignore-item-temp-list): Declare.
11540
11541 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11542 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11543 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11544 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11545 `mouse-col-delta'.
11546
11547 * mouse-sel.el (mouse-extend-internal):
11548 Remove unused variable `orig-window-frame'.
11549
11550 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11551 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11552 Move declarations before first use.
11553 (pcomplete-opt): Mark unused parameters; doc fix.
11554
11555 * proced.el (proced-revert): Mark unused parameter.
11556 (proced-send-signal): Remove unused variable `err'.
11557
11558 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11559 Rename parameter PREFIX-ARG to ARG.
11560 (ps-basic-plot-string, ps-basic-plot-whitespace):
11561 Mark unused parameters.
11562
11563 * replace.el (replace-count): Define.
11564 (occur-revert-function): Mark unused parameters.
11565 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11566 (isearch-case-fold-search, isearch-string): Declare.
11567 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11568 bind `case-fold-search'. Remove unused variables `beg' and `end',
11569 and simplify.
11570 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11571 COUNT and bind `replace-count'.
11572 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11573 to COUNT.
11574
11575 * savehist.el (print-readably, print-string-length): Declare.
11576
11577 * shadowfile.el (shadow-expand-cluster-in-file-name):
11578 Remove unused variable `cluster'.
11579 (shadow-copy-file): Remove unused variable `i'.
11580 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11581 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11582 (shadow-define-literal-group, shadow-define-regexp-group)
11583 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11584
11585 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11586 (shell): Use `called-interactively-p'.
11587 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11588
11589 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11590 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11591 (delete-backward-char): Remove unused variable `ocol'.
11592 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11593 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11594 (event-apply-hyper-modifier, event-apply-shift-modifier)
11595 (event-apply-control-modifier, event-apply-meta-modifier):
11596 Mark unused parameters.
11597 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11598 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11599
11600 * speedbar.el (speedbar-ignored-directory-expressions)
11601 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11602 (speedbar-find-file, speedbar-dir-follow)
11603 (speedbar-directory-buttons-follow, speedbar-tag-find)
11604 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11605 (speedbar-buffers-line-directory, speedbar-buffer-click):
11606 Mark unused parameters.
11607 (speedbar-tag-file): Remove unused variable `mode'.
11608 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11609
11610 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11611
11612 * talk.el (talk): Remove unused variable `display'.
11613
11614 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11615 (tar-write-region-annotate): Mark unused parameter.
11616
11617 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11618 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11619 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11620 warning by another.
11621
11622 * time-stamp.el (time-stamp-string-preprocess):
11623 Remove unused variable `require-padding'.
11624
11625 * tree-widget.el (widget-glyph-enable): Declare.
11626 (tree-widget-action): Mark unused parameter.
11627
11628 * w32-fns.el (x-get-selection): Mark unused parameter.
11629 (autoload-make-program, generated-autoload-file): Declare.
11630
11631 * wdired.el (wdired-revert): Mark unused parameters.
11632 (wdired-xcase-word): Remove unused variable `err'.
11633
11634 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11635 (whitespace-help-scroll): Remove unused variable `data-help'.
11636
11637 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11638 (widget-image-insert, widget-after-change, default)
11639 (widget-default-format-handler, widget-default-notify)
11640 (widget-default-prompt-value, widget-info-link-action)
11641 (widget-url-link-action, widget-function-link-action)
11642 (widget-variable-link-action, widget-file-link-action)
11643 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11644 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11645 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11646 (widget-insert-button-action, widget-delete-button-action, visibility)
11647 (widget-documentation-link-action, widget-documentation-string-action)
11648 (widget-const-prompt-value, widget-regexp-match, symbol)
11649 (widget-coding-system-prompt-value)
11650 (widget-key-sequence-value-to-external, sexp)
11651 (widget-sexp-value-to-internal, character, vector, cons)
11652 (widget-choice-prompt-value, widget-boolean-prompt-value)
11653 (widget-color--choose-action): Mark unused parameters.
11654 (widget-item-match-inline, widget-choice-match-inline)
11655 (widget-checklist-match, widget-checklist-match-inline)
11656 (widget-group-match): Rename parameter VALUES to VALS.
11657 (widget-field-value-set): Remove unused variable `size'.
11658 (widget-color-action): Remove unused variables `value' and `start'.
11659
11660 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 11661 variable `dir'. Doc fix.
06b60517
JB
11662 (windmove-find-other-window): Don't pass it.
11663
11664 * window.el (count-windows): Mark unused parameter.
11665 (bw-adjust-window): Remove unused variable `err'.
11666
11667 * woman.el (woman-file-name): Remove unused variable `default'.
11668 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11669 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11670 (global-font-lock-mode): Declare.
11671 (woman-decode-region): Mark unused parameter.
11672 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11673
11674 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11675 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11676 (x-dnd-handle-moz-url): Remove unused variable `title'.
11677 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11678
11679 * xml.el (xml-parse-tag, xml-parse-attlist):
11680 Remove unused variable `pos'.
11681
bc4f7f3d
GM
116822011-04-19 Glenn Morris <rgm@gnu.org>
11683
11684 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11685 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11686 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11687 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11688 * calendar/cal-html.el (cal-html-insert-minical):
11689 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11690 (calendar-mark-date-pattern):
11691 Prefix "unused" locals.
11692
11693 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11694 optional argument `style'.
11695
11696 * calendar/appt.el (appt-make-list):
11697 * calendar/cal-china.el (calendar-chinese-date-string):
11698 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11699 (diary-hebrew-yahrzeit):
11700 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11701 * calendar/calendar.el (calendar-generate-window):
11702 * calendar/time-date.el (time-to-days):
11703 Remove unused local variables.
11704
16a43933
CY
117052011-04-18 Chong Yidong <cyd@stupidchicken.com>
11706
11707 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11708 glyphless-char-display table.
11709 (tabulated-list-glyphless-char-display): New var.
11710
7eed1860
SS
117112011-04-18 Sam Steingold <sds@gnu.org>
11712
11713 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11714 to acknowledgments.
11715
4d2d1ccd
GM
117162011-04-17 Glenn Morris <rgm@gnu.org>
11717
11718 * calendar/diary-lib.el (diary-sexp-entry):
11719 * calendar/holidays.el (holiday-sexp):
11720 Set debug-on-error rather than the removed stack-trace-on-error.
11721
239da61d
GM
117222011-04-16 Glenn Morris <rgm@gnu.org>
11723
11724 * progmodes/f90.el: Use lexical-binding.
11725 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11726
8b05752a
SM
117272011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11728
daca8ba5
SM
11729 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11730 (mail-mode): Setup mailalias completion here instead.
11731 * mail/mailalias.el: Use lexical-binding.
11732 (pattern, mailalias-done): Declare dynamic.
11733 (mail-completion-at-point-function): New function, from mail-complete.
11734 (mail-complete): Use it.
11735 (mail-completion-expand): New function.
11736 (mail-get-names): Use it.
11737 (mail-directory, mail-directory-process, mail-directory-stream):
11738 Don't use `pattern' for lexically bound arg.
11739
6f542485
SM
11740 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11741
037e7c3f
SM
11742 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11743 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11744 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11745
8b05752a
SM
11746 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11747 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11748 (byte-interactive-p): Define them again, for use when inlining
11749 old code.
11750
49093f60
JB
117512011-04-15 Juanma Barranquero <lekktu@gmail.com>
11752
11753 * loadup.el: Use `string-to-number', not `string-to-int'.
11754
b5b8e7de
SM
117552011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11756
11757 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11758 gud-gdb-complete-command.
11759 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11760 (gud-gdb-completion-at-point): New function.
11761 (gud-gdb-completions): Remove.
11762
f42efeb5
MA
117632011-04-14 Michael Albinus <michael.albinus@gmx.de>
11764
49093f60
JB
11765 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11766 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11767 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11768 whether `executable-find' is bound.
f42efeb5
MA
11769
11770 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11771
e240cc21
SM
117722011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11773
11774 * minibuffer.el (completion-in-region-mode-predicate)
11775 (completion-in-region-mode--predicate): New vars.
11776 (completion-in-region, completion-in-region--postch)
11777 (completion-in-region-mode): Use them.
11778 (completion--capf-wrapper): Also return the hook function.
11779 (completion-at-point, completion-help-at-point):
11780 Adjust and provide a predicate.
c2bd2ab0
SM
11781
11782 Preserve arg names for advice of subr and lexical functions (bug#8457).
11783 * help-fns.el (help-function-arglist): Consolidate the subr and
11784 new-byte-code cases. Add argument `preserve-names' to extract names
11785 from the docstring when needed.
11786 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11787 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11788 (ad-arglist): Use help-function-arglist's new arg.
11789 (ad-definition-type): Use cond.
11790
c183f693
JB
117912011-04-13 Juanma Barranquero <lekktu@gmail.com>
11792
06641a47
JB
11793 * autorevert.el (auto-revert-handler):
11794 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11795 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11796 Don't quote lambda.
11797
c183f693
JB
11798 * image-mode.el (image-transform-set-scale):
11799 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11800
1e3b6001
G
118012011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11802
11803 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 11804 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
11805 Upgrades via gnutls-cli are too slow to be done opportunistically.
11806
2d6af8dd
JB
118072011-04-12 Juanma Barranquero <lekktu@gmail.com>
11808
11809 * dframe.el (dframe-current-frame): Remove spurious quote.
11810
c0749a51
GM
118112011-04-12 Glenn Morris <rgm@gnu.org>
11812
088d0d61
GM
11813 * calendar/cal-tex.el (cal-tex-end-document):
11814 Try to automatically use latin1 input if needed.
11815
c0749a51
GM
11816 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11817 Don't try to cons a mark onto an empty element.
11818
5c90fde0
LL
118192011-04-11 Leo Liu <sdl.web@gmail.com>
11820
11821 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11822 buffers.
11823 (ido-kill-buffer-at-head): Support killing virtual buffers.
11824
369e974d
CY
118252011-04-10 Chong Yidong <cyd@stupidchicken.com>
11826
11827 * minibuffer.el (completion-show-inline-help): New var.
11828 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
11829 (minibuffer-force-complete, minibuffer-complete-word):
11830 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
11831
11832 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11833 to avoid interference from inline help (Bug#5849).
11834
37f1c930
LL
118352011-04-10 Leo Liu <sdl.web@gmail.com>
11836
099c39a4
JB
11837 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11838 Fix typo.
37f1c930 11839
a32d4040
CY
118402011-04-09 Chong Yidong <cyd@stupidchicken.com>
11841
11842 * image-mode.el (image-toggle-display-image): Signal an error if
11843 not in Image mode.
11844 (image-transform-mode, image-transform-resize)
11845 (image-transform-set-rotation): Doc fix.
daca8ba5 11846 (image-transform-set-resize): Delete.
a32d4040
CY
11847 (image-transform-set-scale, image-transform-fit-to-height)
11848 (image-transform-fit-to-width): Handle image-toggle-display-image
11849 and image-transform-resize directly.
11850
099c39a4 118512011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
11852
11853 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
11854 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11855 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
11856 (doc-view-mode-map): Add bindings for the new functions.
11857
099c39a4 118582011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 11859
4d61f28d 11860 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
11861 Fix typo in docstring.
11862
3726838a
EZ
118632011-04-08 Eli Zaretskii <eliz@gnu.org>
11864
04f33f1e
EZ
11865 * files.el (file-size-human-readable): Produce one digit after
11866 decimal, like "ls -lh" does.
11867
11868 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11869 the file size representation.
11870
3726838a
EZ
11871 * simple.el (list-processes): If async subprocesses are not
11872 available, error out with a clear error message.
11873
cbb59342
CY
118742011-04-08 Chong Yidong <cyd@stupidchicken.com>
11875
11876 * help.el (help-form-show): New function, to be called from C.
11877 Put help-form output in a buffer named differently than *Help*.
11878
e3971c44
EZ
118792011-04-08 Eli Zaretskii <eliz@gnu.org>
11880
11881 * files.el (file-size-human-readable): New function.
11882
11883 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11884 computing the representation inline. Don't require `cl'.
11885
12544bbe
GM
118862011-04-08 Glenn Morris <rgm@gnu.org>
11887
a1de6c6a
GM
11888 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11889
3c4671f4
GM
11890 * net/browse-url.el (browse-url-firefox):
11891 Test system-type, not system-configuration.
11892
b605679c
GM
11893 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11894 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11895 Use log-edit-empty-buffer-p. (Bug#7598)
11896
56442f0c
GM
11897 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11898 (rlogin-mode-map): Initialize in the defvar.
11899 (rlogin): Use ignore-errors.
11900
12544bbe
GM
11901 * replace.el (occur-mode-map): Some fixes for menu items.
11902
eb237b0f
AH
119032011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11904
11905 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11906
7d668f2c
CY
119072011-04-06 Chong Yidong <cyd@stupidchicken.com>
11908
e67a13ab
CY
11909 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11910 issuing unused warnings.
11911
11912 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11913 macro directly.
11914
7d668f2c
CY
11915 * simple.el: Lisp reimplement of list-processes. Based on an
11916 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11917 (process-menu-mode): New major mode.
11918 (list-processes--refresh, list-processes):
11919 (process-menu-visit-buffer): New functions.
11920
11921 * files.el (save-buffers-kill-emacs): Don't assume any return
11922 value of list-processes, which is undocumented anyway.
11923
a83ec3c9
CY
119242011-04-06 Chong Yidong <cyd@stupidchicken.com>
11925
11926 * emacs-lisp/tabulated-list.el: New file.
11927
e91a96fe
CY
11928 * emacs-lisp/package.el: Use Tabulated List mode.
11929 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11930 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11931 table format using Tabulated List mode variables.
11932 (package--push): New macro, replacing package-list-maybe-add.
11933 (package-menu--generate): Use package--push. Renamed from
11934 package--generate-package-list.
11935 (package-menu-refresh, list-packages): Use it.
daca8ba5 11936 (package-menu--print-info): Rename from package-print-package.
e91a96fe 11937 Return insertion data instead of inserting it directly.
099c39a4
JB
11938 (package-menu-describe-package, package-menu-execute):
11939 Use tabulated-list-get-id.
e91a96fe
CY
11940 (package-menu-mark-delete, package-menu-mark-install)
11941 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
11942 (package-menu-mark-obsolete-for-deletion):
11943 Use tabulated-list-put-tag.
e91a96fe
CY
11944 (package--list-packages, package-menu-revert)
11945 (package-menu-get-package, package-menu-get-version)
11946 (package-menu-sort-by-column): Functions deleted.
11947 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11948 (package-menu--status-predicate, package-menu--version-predicate)
11949 (package-menu--name-predicate)
11950 (package-menu--description-predicate): Handle arguments in the
11951 Tabulated List format.
11952 (package-list-packages-no-fetch): Call list-packages.
11953
3e214b50
JB
119542011-04-06 Juanma Barranquero <lekktu@gmail.com>
11955
11956 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 11957 (after-find-file): Don't bind it.
3e214b50
JB
11958 (revert-buffer-in-progress-p): New variable.
11959 (revert-buffer): Bind it.
11960 Pass nil for `after-find-file-from-revert-buffer'.
11961
11962 * saveplace.el (save-place-find-file-hook): Use new variable
11963 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11964
3f0f1700
GM
119652011-04-06 Glenn Morris <rgm@gnu.org>
11966
c0274801
GM
11967 * Makefile.in (AUTOGEN_VCS): New variable.
11968 (autoloads): Use $AUTOGEN_VCS.
11969
3f0f1700
GM
11970 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11971 * calendar/calendar.el (calendar-mode-map):
11972 Check for toolkit scroll bars. (Bug#8305)
11973
41ea9e48
CY
119742011-04-05 Chong Yidong <cyd@stupidchicken.com>
11975
11976 * minibuffer.el (completion-in-region--postch)
11977 (completion-in-region-mode): Remove unnecessary messages.
11978
6194c800
JB
119792011-04-05 Juanma Barranquero <lekktu@gmail.com>
11980
33256f14
JB
11981 * font-lock.el (font-lock-refresh-defaults):
11982 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11983 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11984
6194c800
JB
11985 * info.el (Info-directory-list, Info-read-node-name-2)
11986 (Info-split-parameter-string): Doc fixes.
11987 (Info-virtual-nodes): Reflow docstring.
11988 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11989 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11990 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11991 Fix typos in docstrings.
11992 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11993 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11994 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11995 (Info-restore-desktop-buffer): Mark unused parameters.
11996 (Info-directory-find-file, Info-directory-find-node)
11997 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11998 (Info-virtual-index-find-node, Info-apropos-find-file)
11999 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 12000 Mark unused parameters; fix typos in docstrings.
6194c800
JB
12001 (Info-virtual-index): Remove unused local variable `nodename'.
12002
b87a8200 120032011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 12004
b87a8200
DD
12005 * net/rcirc.el: Update my e-mail address.
12006 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 12007
3b2ff876
CY
120082011-04-05 Chong Yidong <cyd@stupidchicken.com>
12009
12010 * startup.el (command-line): Save the cursor's theme-face
12011 directly, instead of using face-override-spec.
12012
12013 * custom.el (load-theme): Minor optimization in assigning faces.
12014
8d17e7ca
JB
120152011-04-04 Juanma Barranquero <lekktu@gmail.com>
12016
12017 * help-fns.el (describe-variable): Complete all variables having
12018 documentation, including keywords.
12019 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12020
2fbc1934
JB
120212011-04-04 Juanma Barranquero <lekktu@gmail.com>
12022
12023 Convert to lexical-binding.
12024
12025 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12026 (bs--get-marked-string, bs--get-modified-string)
12027 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12028 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12029 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12030
12031 * ehelp.el (electric-help-execute-extended)
12032 (electric-help-ctrl-x-prefix):
12033 * hexl.el (hexl-revert-buffer-function):
12034 * linum.el (linum-after-change, linum-after-scroll):
12035 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12036
12037 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12038
74f50695
DU
120392011-04-04 Daiki Ueno <ueno@unixuser.org>
12040
12041 * epa-dired.el:
12042 * epa-mail.el:
12043 * epa-hook.el:
12044 * epa-file.el:
12045 * epa.el:
12046 * epg.el: Use lexical binding.
12047
c11325f7
CY
120482011-04-03 Chong Yidong <cyd@stupidchicken.com>
12049
0d9e9a12
CY
12050 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12051
c11325f7 12052 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
12053 dictionary case for flyspell-mark-duplications-exceptions.
12054 Use regexp matching for languages.
c11325f7
CY
12055 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12056 default dictionary (Bug#7926).
12057
da91b5f2
CY
120582011-04-02 Chong Yidong <cyd@stupidchicken.com>
12059
099c39a4
JB
12060 * emacs-lisp/package.el (package--with-work-buffer):
12061 Recognize https URLs.
da91b5f2 12062
099c39a4
JB
12063 * net/network-stream.el: Move from gnus/proto-stream.el.
12064 Change prefix to network-stream throughout.
da91b5f2
CY
12065 (open-protocol-stream): Merge into open-network-stream, leaving
12066 open-protocol-stream as an alias. Handle nil BUFFER args.
12067
12068 * subr.el (open-network-stream): Move to net/network-stream.el.
12069
afa8e9f6
GM
120702011-04-02 Glenn Morris <rgm@gnu.org>
12071
1d2e369d
GM
12072 * find-dired.el (find-exec-terminator): New option.
12073 (find-ls-option): Test for -ls support.
12074 (find-ls-subdir-switches): Test for -b in find-ls-option.
12075 (find-dired, find-grep-dired): Doc fixes.
12076 (find-dired): Use find-exec-terminator.
12077
8abb7da8 12078 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
12079 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12080 (find-name-arg): Remove purecopy.
8abb7da8 12081
f3ca7378
GM
12082 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12083 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12084 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12085 accordingly. Don't add the null-device if not needed.
12086
afa8e9f6
GM
12087 * files.el (save-some-buffers): Doc fix.
12088
35eae264
EZ
120892011-04-02 Eli Zaretskii <eliz@gnu.org>
12090
12091 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12092
26b51db5
JB
120932011-04-01 Juanma Barranquero <lekktu@gmail.com>
12094
12095 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12096 Use `dolist' rather than `mapcar'.
12097
7200d79c
SM
120982011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12099
03408648 12100 Add lexical binding.
7200d79c 12101
03408648
SM
12102 * subr.el (apply-partially): Use new closures rather than CL.
12103 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12104 (dolist, dotimes): Use slightly different expansion for lexical code.
12105 (functionp): Move to C.
12106 (letrec): New macro.
12107 (with-wrapper-hook): Use it and apply-partially instead of CL.
12108 (eval-after-load): Preserve lexical-binding.
12109 (save-window-excursion, with-output-to-temp-buffer): Turn them
12110 into macros.
7200d79c 12111
03408648
SM
12112 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12113
12114 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12115 than the arglist.
12116 (help-add-fundoc-usage): Don't add `Not documented'.
12117 (help-function-arglist): Handle closures, subroutines, and new
12118 byte-code-functions.
12119 (help-make-usage): Remove leading underscores.
12120 (describe-function-1): Handle closures.
12121 (describe-variable): Use special-variable-p for completion.
12122
12123 * files.el (lexical-binding): Declare safe.
f488fb65 12124
03408648
SM
12125 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12126 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12127 (pcase): Add `let' pattern.
12128 Change memoization so it actually works.
12129 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12130 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12131 <let>: New case.
f488fb65 12132
03408648
SM
12133 * emacs-lisp/macroexp.el: Use lexical binding.
12134 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12135 Don't convert ' to #' without checking that it's indeed quoting
12136 a lambda.
12137
12138 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 12139 Use eval-sexp-add-defvars.
03408648
SM
12140 (eval-sexp-add-defvars): New fun.
12141
12142 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12143
12144 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12145 Don't autoload.
12146 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12147 than the internal `byte-compile-lambda'.
12148 (defmethod): Don't hide code under quotes.
12149 (eieio-defmethod): New `code' argument.
12150
12151 * emacs-lisp/eieio-comp.el: Remove.
12152
12153 * emacs-lisp/edebug.el (edebug-eval-defun)
12154 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12155 (edebug-toggle): Avoid `eval'.
12156
12157 * emacs-lisp/disass.el (disassemble-internal): Handle new
12158 `closure' objects.
12159 (disassemble-1): Handle new byte codes.
12160
12161 * emacs-lisp/cl.el (pushnew): Silence warning.
12162
12163 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12164 (cl-byte-compile-throw): Remove.
12165 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12166
12167 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12168 closures.
12169
12170 * emacs-lisp/cconv.el: New file.
12171
12172 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12173 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12174 (byte-compile-initial-macro-environment):
12175 Handle declare-function here.
12176 (byte-compile--lexical-environment): New var.
12177 (byte-stack-ref, byte-stack-set, byte-discardN)
12178 (byte-discardN-preserve-tos): New lap codes.
12179 (byte-interactive-p): Don't use any more.
12180 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12181 New macros.
12182 (byte-compile-lapcode): Use them and handle new lap codes.
12183 (byte-compile-obsolete): Remove.
12184 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12185 (byte-compile-arglist-warn): Check late def of inlinable funs.
12186 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12187 since they should have been expanded by now.
12188 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12189 (byte-compile-from-buffer): Remove unused second arg.
12190 (byte-compile-preprocess): New function.
12191 (byte-compile-toplevel-file-form): New function to distinguish
12192 file-form calls from outside from file-form calls from hunk-handlers.
12193 (byte-compile-file-form): Simplify.
12194 (byte-compile-file-form-defsubst): Remove.
12195 (byte-compile-file-form-defmumble): Simplify now that
12196 byte-compile-lambda always returns a byte-code-function.
12197 (byte-compile): Preprocess.
12198 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12199 Remove, not used any more.
12200 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12201 (byte-compile-make-args-desc): New funs.
12202 (byte-compile-lambda): Handle lexical functions. Always return
12203 a byte-code-function.
12204 (byte-compile-reserved-constants): New var, to make up room for
12205 closed-over variables.
12206 (byte-compile-constants-vector): Obey it.
12207 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12208 (byte-compile-macroexpand-declare-function): New function.
12209 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12210 byte-code-functions.
12211 (byte-compile-form): Check obsolescence here.
12212 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12213 (byte-compile-variable-ref): Remove.
12214 (byte-compile-dynamic-variable-op): New fun.
12215 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12216 (byte-compile-variable-set): New funs.
12217 (byte-compile-discard): Add 2 args.
12218 (byte-compile-stack-ref, byte-compile-stack-set)
12219 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12220 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12221 macroexpand-all instead.
12222 (byte-compile-quote-form): Remove.
12223 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12224 (byte-compile-bind, byte-compile-unbind): New funs.
12225 (byte-compile-let): Handle let* and lexical binding.
12226 (byte-compile-let*): Remove.
12227 (byte-compile-catch, byte-compile-unwind-protect)
12228 (byte-compile-track-mouse, byte-compile-condition-case):
12229 Handle a new :fun-body form, used for lexical scoping.
12230 (byte-compile-save-window-excursion)
12231 (byte-compile-with-output-to-temp-buffer): Remove.
12232 (byte-compile-defun): Simplify.
12233 (byte-compile-stack-adjustment): New fun.
12234 (byte-compile-out): Use it.
12235 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12236
12237 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12238 handler any more.
12239
12240 * emacs-lisp/byte-opt.el: Use lexical binding.
12241 (byte-inline-lapcode): Remove (to bytecomp).
12242 (byte-compile-inline-expand): Pay attention to inlining to/from
12243 lexically bound code.
12244 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12245 any more.
12246 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12247 any more and don't call compiler-macros.
12248 (byte-compile-splice-in-already-compiled-code): Remove.
12249 (byte-code): Don't inline any more.
12250 (disassemble-offset): Receive `bytes' as argument rather than via
12251 dynamic scoping.
12252 (byte-compile-tag-number): Declare before first use.
12253 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12254 `return' even if make-spliceable.
12255 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12256 obsolete interactive-p.
12257 (byte-optimize-lapcode): Optimize new lap-codes.
12258 Don't trip up on new form of `byte-constant' lap code.
12259
12260 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12261
12262 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12263
12264 * custom.el (custom-initialize-default, custom-declare-variable):
12265 Use `defvar'.
12266
12267 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12268 New variables.
12269 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12270 (COMPILE_FIRST): Add macroexp and cconv.
12271 * makefile.w32-in: Mirror changes in Makefile.in.
12272
12273 * vc/cvs-status.el:
12274 * vc/diff-mode.el:
12275 * vc/log-edit.el:
12276 * vc/log-view.el:
12277 * vc/smerge-mode.el:
12278 * textmodes/bibtex-style.el:
12279 * textmodes/css.el:
12280 * startup.el:
12281 * uniquify.el:
da91b5f2
CY
12282 * minibuffer.el:
12283 * newcomment.el:
12284 * reveal.el:
12285 * server.el:
12286 * mpc.el:
12287 * emacs-lisp/smie.el:
12288 * doc-view.el:
12289 * dired.el:
03408648
SM
12290 * abbrev.el: Use lexical binding.
12291
0f0c1f27
EZ
122922011-04-01 Eli Zaretskii <eliz@gnu.org>
12293
12294 * info.el (info-display-manual): New function.
12295
c82b2579
SM
122962011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12297
12298 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12299
221ddf68
TH
123002011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12301
12302 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 12303 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 12304
cba6e77e
GM
123052011-03-31 Glenn Morris <rgm@gnu.org>
12306
e040639f
GM
12307 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12308
cba6e77e
GM
12309 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12310
6d0f1c9e
CS
123112011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12312
12313 * progmodes/python.el (python-default-interpreter)
12314 (python-python-command-args, python-jython-command-args)
12315 (python-which-shell, python-which-args, python-which-bufname)
12316 (python-file-queue, python-comint-output-filter-function)
12317 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12318 variables and functions.
12319
3e2d70fd
SM
123202011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12321
12322 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12323 (completion-in-region-mode): New minor mode.
12324 (completion-in-region): Use it.
12325 (completion-in-region--data, completion-in-region-mode-map): New vars.
12326 (completion-in-region--postch): New function.
12327 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12328 New vars.
12329 (completion--capf-wrapper): New function.
12330 (completion-at-point): Use it to track well-behavedness of
12331 hook functions.
12332 (completion-help-at-point): New command.
12333
f3e4086c
JM
123342011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12335
12336 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12337 syntax class to search for whitespace on a single line
12338 (Message-ID: <4D938140.4030905@redhat.com>).
12339
eb7ffc14
LL
123402011-03-30 Leo Liu <sdl.web@gmail.com>
12341
12342 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12343 New commands.
12344 (edit-abbrevs-map): Bind them here.
12345 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12346
d806ab68
KM
123472011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12348
12349 * allout.el (allout-hide-by-annotation, allout-flag-region):
12350 Reduce possibility of overlay leakage by making them volatile.
12351
12352 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12353 hash is not shared between buffers. Mode initialization is
12354 responsible for giving it a useful starting value.
12355 (allout-item-span): Reduce possibility of overlay leakage by
12356 making them volatile.
12357 (allout-widgets-count-buttons-in-region): Add diagnostic function
12358 for tracking down button overlay leaks.
12359
ea622834
LL
123602011-03-29 Leo Liu <sdl.web@gmail.com>
12361
12362 * ido.el (ido-read-internal): Use the default history var
12363 minibuffer-history if no HISTORY is specified.
12364
b62f8267
G
123652011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12366
03408648
SM
12367 * net/imap.el (imap-shell-open, imap-process-connection-type):
12368 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
12369 Kerberos, SSL, other subprocesses.
12370
947b6566
LL
123712011-03-28 Leo Liu <sdl.web@gmail.com>
12372
12373 * abbrev.el (abbrev-table-empty-p): New function.
12374 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12375 nonempty ones. (Bug#5937)
12376
5ffb62aa
JD
123772011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12378
12379 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12380
7a097943
LL
123812011-03-27 Leo Liu <sdl.web@gmail.com>
12382
12383 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12384 for foreground and background colors.
12385 (ansi-color-make-color-map): Adapt.
12386
c5b40130
LL
123872011-03-25 Leo Liu <sdl.web@gmail.com>
12388
1f48f7d2
LL
12389 * midnight.el (midnight-time-float): Remove. Note it calculates
12390 the microsecond component incorrectly and seconds-to-time does the
12391 same job.
625897ec 12392 Remove redundant (require 'timer).
1f48f7d2 12393
c5b40130
LL
12394 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12395 (ido-completions): Remove unused arguments. (Bug#8329)
12396
d86d2721
SM
123972011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12398
12399 * minibuffer.el (completion--flush-all-sorted-completions):
12400 Remove itself from hook.
12401 (completion-at-point): Let the functions perform the completion
12402 immediately and return nil or t.
12403 * comint.el (comint-dynamic-complete-functions): Now identical to
12404 completion-at-point-functions.
12405 (comint-dynamic-list-input-ring): Remove unused var `index'.
12406 (comint--match-partial-filename, comint--unquote&expand-filename):
12407 New funs, split from comint-match-partial-filename.
12408 (comint-dynamic-complete): Use completion-at-point.
12409 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12410
e8974c48
DA
124112011-03-24 Drew Adams <drew.adams@oracle.com>
12412
12413 * thingatpt.el: Support `defun'.
12414
def71b5e
LL
124152011-03-23 Leo Liu <sdl.web@gmail.com>
12416
cb5af48e
LL
12417 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12418
def71b5e
LL
12419 * help-mode.el (help-mode-finish): Tweak regexp.
12420
927c53e7
GM
124212011-03-23 Glenn Morris <rgm@gnu.org>
12422
18d05bed
GM
12423 * eshell/esh-opt.el (eshell-eval-using-options):
12424 Do not bind unused local variable `eshell-option-stub'.
12425
927c53e7
GM
12426 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12427
9d0da923
JB
124282011-03-22 Juanma Barranquero <lekktu@gmail.com>
12429
12430 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12431 keymap variable in `with-no-warnings' to avoid a warning when the
12432 keymap has been already `defconst'ed.
12433
4b978a67
LL
124342011-03-22 Leo Liu <sdl.web@gmail.com>
12435
12436 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12437 encode all chars in abbrevs; otherwise use emacs-mule or
12438 utf-8-emacs. (Bug#8308)
12439
5fd62452
JB
124402011-03-22 Juanma Barranquero <lekktu@gmail.com>
12441
0b1596c6
JB
12442 * simple.el (backward-delete-char-untabify):
12443 Avoid warning about using `delete-backward-char'.
12444
5fd62452
JB
12445 * image.el (image-type-file-name-regexps): Make it variable.
12446 `imagemagick-register-types' modifies it, and the user may want
12447 to add new extensions for known image types.
12448 (imagemagick-register-types): Throw error if not using ImageMagick.
12449
0b4e93f1
LL
124502011-03-22 Leo Liu <sdl.web@gmail.com>
12451
12452 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12453 located before rcirc-prompt-end-marker.
12454 (rcirc-complete): Error if point is not after rcirc prompt.
12455 Handle the case when table is nil.
9882e214 12456 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 12457
fccee4ab
CY
124582011-03-22 Chong Yidong <cyd@stupidchicken.com>
12459
12460 * custom.el (custom--inhibit-theme-enable): Make it affect only
12461 custom-theme-set-variables and custom-theme-set-faces.
12462 (provide-theme): Ignore custom--inhibit-theme-enable.
12463 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12464 (custom-enabling-themes): Delete variable.
d86d2721
SM
12465 (enable-theme): Accept only loaded themes as arguments.
12466 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
12467 (custom-enabled-themes): Forbid themes from setting this.
12468 Eliminate use of custom-enabling-themes.
12469 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 12470
af896da6
LL
124712011-03-21 Leo Liu <sdl.web@gmail.com>
12472
12473 * ido.el (ido-read-internal): Add ido-selected to history instead
12474 of user input.
12475
78f64af0
SM
124762011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12477
12478 * subr.el (deferred-action-list, deferred-action-function):
12479 Mark obsolete.
12480
b16ac1ec
LL
124812011-03-21 Leo Liu <sdl.web@gmail.com>
12482
810f7698
LL
12483 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12484 change on 2011-02-13 (bug#8309).
12485
b16ac1ec
LL
12486 * minibuffer.el (read-file-name-function): Change default value.
12487 (read-file-name--defaults): Rename from read-file-name-defaults.
12488 (read-file-name-default): Rename from read-file-name.
12489 (read-file-name): Call read-file-name-function.
12490
4e05e67e
GM
124912011-03-21 Glenn Morris <rgm@gnu.org>
12492
12493 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12494 Doc fixes.
12495
4359915b
CY
124962011-03-21 Chong Yidong <cyd@stupidchicken.com>
12497
12498 * cus-theme.el: Add missing provide statement.
12499 (customize-create-theme): Extract theme value correctly.
12500 (custom-theme-visit-theme): Autoload.
12501 (customize-create-theme): Prompt before inserting default faces.
12502
1fe275ee
JB
125032011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12504
12505 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12506 units and musical notes.
12507
cd394be1 125082011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
12509
12510 * ido.el (ido-read-internal): Use completing-read-default.
12511 (ido-completing-read): Fix compatibility with completing-read.
12512
7d476bde
CO
125132011-03-20 Christian Ohler <ohler@gnu.org>
12514
12515 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12516 (ert-delete-all-tests): Use `called-interactively-p' rather than
12517 `interactive-p'.
12518 (ert--make-xrefs-region): Respect END.
12519
fe0fb33e
CY
125202011-03-19 Chong Yidong <cyd@stupidchicken.com>
12521
ff854b0b
CY
12522 * dired-aux.el (dired-create-directory): Signal an error if the
12523 directory already exists (Bug#8246).
12524
fe0fb33e
CY
12525 * facemenu.el (list-colors-display): Call list-faces-display
12526 inside with-help-window.
12527 (list-colors-print): Use display property to align the final
12528 column, instead of checking window-width.
12529
576bce32
EZ
125302011-03-19 Eli Zaretskii <eliz@gnu.org>
12531
4d61f28d 12532 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
12533 windows-nt systems.
12534 (emerge-protect-metachars): Quote correctly for ms-dos and
12535 windows-nt systems.
12536
89c41d68 125372011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
12538
12539 * info.el (info-initialize): Replace all uses of `:' with
12540 path-separator for compatibility with non-Unix systems.
12541 Cache quoting of path-separator. (Bug#8258)
12542
b14e3e21 125432011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
12544
12545 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12546 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12547 (mouse-avoidance-mode): Fix typos in docstrings.
12548
4525ce3e
CY
125492011-03-19 Chong Yidong <cyd@stupidchicken.com>
12550
12551 * startup.el (package-subdirectory-regexp): Move from package.el.
12552 Omit \\` and \\', and let callers add them.
12553
12554 * emacs-lisp/package.el (package-strip-version)
12555 (package-load-all-descriptors): Add \\` and \\' to
12556 package-subdirectory-regexp before using it.
12557 (package-untar-buffer): New arg DIR; ensure that file untars only
12558 into this expected directory. Remove superfluous delete-region.
12559 (package-unpack): Caller changed.
12560 (package-tar-file-info): Use package-subdirectory-regexp.
12561
a904a09a 125622011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 12563
a904a09a
SM
12564 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12565 diff-mode-shared-map (bug#8284).
12566 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
12567
125682011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12569
12570 * calendar/time-date.el (format-seconds): Use assoc instead of
12571 assoc-string, since assoc-string doesn't exist in XEmacs.
12572
171fc304
JB
125732011-03-17 Juanma Barranquero <lekktu@gmail.com>
12574
12575 * custom.el (custom-known-themes): Reflow docstring.
12576 (custom-theme-load-path): Fix typo in docstring.
12577 (load-theme): Fix typo in error message.
12578 (custom-available-themes, custom-variable-theme-value):
12579 Use `let', not `let*'.
12580
d71990a1
JB
125812011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12582
12583 * calc/README: Mention inclusion of musical notes.
12584
12585 * calc/calc-units.el (calc-lu-quant): Rename from
12586 `calc-logunits-quantity'.
12587 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12588 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12589 (calc-db): Rename from `calc-dblevel'.
12590 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12591 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12592 (calc-np): Rename from `calc-nplevel'.
12593 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12594 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12595 (calc-lu-plus): Rename from `calc-logunits-add'.
12596 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12597 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12598 (calc-lu-minus): Rename from `calc-logunits-sub'.
12599 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12600 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12601 (calc-lu-times): Rename from `calc-logunits-mul'.
12602 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12603 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12604 (calc-lu-divide): Rename from `calc-logunits-div'.
12605 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12606 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12607
12608 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12609 functions being autoloaded.
12610
12611 * calc/calc.el (calc-lu-power-reference): Rename from
12612 `calc-logunits-power-reference'.
12613 (calc-lu-field-reference): Rename from
12614 `calc-logunits-field-reference'.
12615
7a71b18d
GM
12616 * calc/calc-help.el (calc-l-prefix-help):
12617 Mention musical note functions.
d71990a1 12618
40c2934b
SM
126192011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12620
12621 * minibuffer.el (completion-all-sorted-completions):
12622 Use :completion-cycle-penalty text property if present.
12623
b0911414
KM
126242011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12625
12626 * allout.el (allout-yank-processing): Adjust for new rebulleting
12627 regime so bullet being yanked is used without prompting the user
12628 for a choice.
12629
8a05b668
JB
126302011-03-16 Juanma Barranquero <lekktu@gmail.com>
12631
12632 * startup.el (command-line): Warn the user that _emacs is deprecated.
12633
5ba5fb81
JB
126342011-03-16 Juanma Barranquero <lekktu@gmail.com>
12635
12636 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12637 (delphi-verbose, delphi-comment-face, delphi-string-face)
12638 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12639 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12640 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12641 (delphi-new-comment-line, delphi-font-lock-defaults)
12642 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12643 Fix typos in docstrings.
12644
2dab465b
KM
126452011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12646
5ba5fb81 12647 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
12648 Invert the roles of character and string values for INSTEAD, so a
12649 string is used for the more common case of a defaulting prompt.
12650
0adf5618
SM
126512011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12652
12653 * progmodes/ruby-mode.el (ruby-backward-sexp):
12654 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12655 * play/gamegrid.el (gamegrid-make-face):
12656 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12657 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12658 * notifications.el (notifications-notify):
12659 * net/xesam.el (xesam-search-engines):
12660 * net/quickurl.el (quickurl-list-insert):
12661 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12662
d72700e5
CY
126632011-03-15 Chong Yidong <cyd@stupidchicken.com>
12664
12665 * startup.el (command-line): Update package subdirectory regexp.
12666
49c5410a
SM
126672011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12668
c6eee9aa
SM
12669 * allout.el (allout-abbreviate-flattened-numbering)
12670 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12671
49c5410a
SM
12672 * subr.el (read-char-choice): Only show the cursor after the prompt,
12673 not after the answer.
12674
047b2bb9
KR
126752011-03-15 Kevin Ryde <user42@zip.com.au>
12676
12677 * help-fns.el (variable-at-point): Skip leading quotes, if any
12678 (bug#8253).
12679
0a57d256
SM
126802011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12681
12682 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12683 warning message.
12684
77c992bc
MA
126852011-03-14 Michael Albinus <michael.albinus@gmx.de>
12686
12687 * shell.el (shell): When called interactively, offer to change the
12688 shell file name on remote hosts.
12689
eebc475d
TZ
126902011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12691
12692 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12693 integration for LDAP parameters. The host, base, user or binddn,
12694 and secret tokens can be specified in a netrc file, for instance.
12695 This is optional because an `auth-source' parameter must be
12696 specified in the search attributes.
12697
9d05d1ba
JB
126982011-03-13 Juanma Barranquero <lekktu@gmail.com>
12699
12700 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12701
09d9db2c
GM
127022011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12703
12704 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12705 into declaration. Remove redundant and harmful binding.
12706
127072011-03-12 Eli Zaretskii <eliz@gnu.org>
12708
12709 * files.el (file-ownership-preserved-p): Pass `integer' as an
12710 explicit 2nd argument to `file-attributes'. If the file's owner
12711 is the Administrators group on Windows, and the current user is
12712 Administrator, consider that a match.
12713
12714 * server.el (server-ensure-safe-dir): Consider server directory
12715 safe on MS-Windows if its owner is the Administrators group while
12716 the current Emacs user is Administrator. Use `=' to compare
12717 numerical UIDs, since they could be integers or floats.
12718
219bd536
JB
127192011-03-12 Juanma Barranquero <lekktu@gmail.com>
12720
12721 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12722
f3afd36b
MA
127232011-03-12 Michael Albinus <michael.albinus@gmx.de>
12724
12725 Sync with Tramp 2.2.1.
12726
12727 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12728
12729 * net/trampver.el: Update release number.
12730
3aaaa6f1
SM
127312011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12732
94642599
SM
12733 * progmodes/compile.el (compilation--previous-directory): Fix up
12734 various nil/dead-marker mismatches (bug#8014).
12735 (compilation-directory-properties, compilation-error-properties):
12736 Don't call it at a position past the one we're about to change.
12737
3aaaa6f1
SM
12738 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12739 Disable obsolescence warnings in the file that declares it.
12740
14239447
KM
127412011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12742
099c39a4
JB
12743 * allout-widgets.el (allout-widgets-tally):
12744 Initialize allout-widgets-tally as a hash table rather than nil to
12745 prevent mode-line redisplay warnings. Also, clarify the module
12746 description and fix a comment typo.
14239447 12747
135e287c
JB
127482011-03-11 Juanma Barranquero <lekktu@gmail.com>
12749
12750 * help-fns.el (describe-variable): Don't complete keywords.
12751 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12752
ffbf300e
CY
127532011-03-10 Chong Yidong <cyd@stupidchicken.com>
12754
ba08b241
CY
12755 * emacs-lisp/package.el (package-version-join): Impose a standard
12756 string representation for pre/alpha/beta version lists.
12757 (package-unpack-single): Standardize the directory name by passing
12758 it through package-version-join.
12759 (package-strip-rcs-id): Accept any version string that does not
12760 signal an error in version-to-list.
ffbf300e 12761
f346fd6b
MA
127622011-03-10 Michael Albinus <michael.albinus@gmx.de>
12763
12764 * simple.el (delete-trailing-whitespace): Return nil for the
12765 benefit of `write-file-functions'.
12766
ccb55d27
GM
127672011-03-10 Glenn Morris <rgm@gnu.org>
12768
5ceaac0c
GM
12769 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12770
02da65ff
GM
12771 * vc/vc-git.el (vc-git-program): New option.
12772 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12773 (vc-git--call): Use it.
12774
b2f603cc
GM
12775 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12776
5772caab
GM
12777 * cus-edit.el (Custom-newline): If no button at point, look
12778 for a subgroup button at start-of-line. (Bug#2298)
12779
ccb55d27
GM
12780 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12781
ec6ecaed
JD
127822011-03-10 Julien Danjou <julien@danjou.info>
12783
12784 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12785 `cursor-type' is nil.
12786
9d5aa01d
JB
127872011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12788
12789 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12790
b6a5875b
KM
127912011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12792
7a71b18d 12793 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
12794 preserves the existing header prefix, rebulleting it if necessary,
12795 rather than replacing it. This is necessary for proper operation
12796 of cooperative addons like allout-widgets.
1154d12e
JB
12797 (allout-make-topic-prefix, allout-rebullet-heading):
12798 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12799 value as alternate bullet to be used, instead of prompting the user
12800 for a bullet character.
b6a5875b 12801
ee545c35
MA
128022011-03-09 Michael Albinus <michael.albinus@gmx.de>
12803
d86d2721
SM
12804 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12805 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
12806 `tramp-default-port'.
12807
c47971d7
DD
128082011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12809
12810 * net/rcirc.el (rcirc-handler-001): Remove useless
12811 with-rcirc-process-buffer.
12812 (rcirc-check-auth-status): Swap arguments to string-match.
12813
13522cb4
GM
128142011-03-09 Glenn Morris <rgm@gnu.org>
12815
0be6f4f1
GM
12816 * shell.el (shell-mode):
12817 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12818
13522cb4
GM
12819 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12820 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12821
515de2e3
CY
128222011-03-08 Chong Yidong <cyd@stupidchicken.com>
12823
12824 * emacs-lisp/package.el (package-refresh-contents)
12825 (package-menu-execute): Use condition-case-no-debug.
12826
b511b994
MA
128272011-03-08 Michael Albinus <michael.albinus@gmx.de>
12828
12829 * simple.el (shell-command-to-string): Use `process-file'.
12830
12831 * emacs-lisp/package.el (package-tar-file-info): Handle also
12832 remote files.
12833
d86d2721
SM
12834 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12835 Use `equal' for upload base check.
b511b994 12836
25bbfb31
AM
128372011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12838
12839 * textmodes/texinfo.el (texinfo-environments):
12840 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12841
be996521
GM
128422011-03-08 Glenn Morris <rgm@gnu.org>
12843
e9c8529f
GM
12844 * cus-start.el (cursor-in-non-selected-windows):
12845 Fix :set quoting oddness. (Bug#8192)
12846
be996521
GM
12847 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12848 in some setf expressions. (Bug#2159)
12849
2bb5649e
CY
128502011-03-08 Chong Yidong <cyd@stupidchicken.com>
12851
12852 * custom.el (custom-available-themes): Return themes in
12853 alphabetical order.
12854
33383987 12855See ChangeLog.15 for earlier changes.
e3d51b27
MR
12856
12857;; Local Variables:
12858;; coding: utf-8
e3d51b27
MR
12859;; End:
12860
acaf905b 12861 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
12862
12863 This file is part of GNU Emacs.
12864
12865 GNU Emacs is free software: you can redistribute it and/or modify
12866 it under the terms of the GNU General Public License as published by
12867 the Free Software Foundation, either version 3 of the License, or
12868 (at your option) any later version.
12869
12870 GNU Emacs is distributed in the hope that it will be useful,
12871 but WITHOUT ANY WARRANTY; without even the implied warranty of
12872 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12873 GNU General Public License for more details.
12874
12875 You should have received a copy of the GNU General Public License
12876 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.